Skip to content

Releases: aurelia/validation

aurelia-validation v0.2.8

20 Aug 23:23
Compare
Choose a tag to compare

chore(prepare-release) Prepared release 0.2.8

This release includes a ton of community commits (new languages, JSPM version updates, better memory usage, and more). There's more community pull requests waiting and open bugs, but people are really waiting for the JSPM version updates, hence the release with only a select number of community commits included.
I'm sorry I haven't had a lot of time to manage this project better lately, but very grateful for having such an active community!

0.2.8 (2015-08-20)

Bug Fixes

Features

aurelia-validation v0.2.7

10 Jul 01:00
Compare
Choose a tag to compare

0.2.7

Update to latest releases

Bug Fixes

Features

aurelia-validation v0.2.6

28 Jun 19:49
Compare
Choose a tag to compare

0.2.6 (2015-06-28)

Bug Fixes

  • jspm: Fixes config.js fork issue (20c3f5d0, closes #63)
  • validation-group: clean up of path observer subscriptions on validation group destroy (2187489a)

Features

  • i18n:
    • add resource for language bg-BG (99fbbaa8)
    • add resource for language zh-CN (299065d2)
  • treatAllPropertiesAsMandatory: now supports 'isMandatory' by default. (45699688)

aurelia-validation v0.2.5

10 Jun 16:50
Compare
Choose a tag to compare

This release uses the latest major versions of the aurelia library dependencies.

0.2.5 (2015-06-10)

Bug Fixes

  • ValidateCustomAttributeViewStrategyBase: ValidateCustomAttributeViewStrategyBase is not exported (cfca0142)

Features

  • containsNoSpaces: containsNoSpaces checks for a value not containing a single whitespace character (518bb3b6, closes #57)
  • isURL: isURL checks for a value being a valid URL (5499ab6f, closes #56)

aurelia-validation v0.2.4

02 May 00:45
Compare
Choose a tag to compare

Release 0.2.4 is a small release which introduced support setting up validation using BreezeJS or @ensure decorator syntax

0.2.4 (2015-05-01)

Bug Fixes

Features

aurelia-validation v0.2.3

26 Apr 20:24
Compare
Choose a tag to compare

0.2.3 (2015-04-26)

A small feature release.

Bug Fixes

Features

  • breeze:
  • clear: validation.result.clear() resets validation result (5c5deafb, closes #44)

aurelia-validation v0.2.2

16 Apr 22:28
Compare
Choose a tag to compare

Bug Fixes

  • withMessage: withMessage after isNotEmpty() (69e27af5, closes #43)

Features

  • I18N: added es-MX (edab3939)
  • i18n: added resource for language es-MX (55f65257)

aurelia-validation v0.2.1

15 Apr 01:15
Compare
Choose a tag to compare

This is the next major release of the 'aurelia-validation'.
Lots of features were added, lots of bugs were fixed, lot's of APIs were changed.

To migrate

  • checkAll() no longer exists. Call .validate(). This returns a promise that wil fulfil when valid, reject when invalid
  • validations were renamed
    • notEmpty() => isNotEmpty()
    • between(minimumValue, maximumValue) => isBetween()
    • betweenLength(minimumLength, maximumLength) => hasLengthBetween() / hasLengthBetweenorEqualTo()
    • email() => isEmail()
    • equals(otherValue, otherValueLabel) => isEqualTo()
    • in(collection) => isIn()
    • isAlpha() => containsOnlyLetters() / containsOnlyAlpha()
    • new: containsOnlyAlphaOrWhiteSpace()
    • new: containsOnly()
    • isAlphanumeric() => containsOnlyAlphanumerics()
    • isAlphanumericOrWhitespace() => containsOnlyAlphanumericsOrWhitespace()
    • isDigit() => containsOnlyDigits()
    • isStrongPassword(minimumComplexityLevel)
    • isNumeric() => isNumber()
    • minLength(minimumLength) => hasMinLength()
    • minimum(minimumValue) => isGreaterThan() / isGreaterThanOrEqualTo()
    • matches(regex)
    • maxLength(maximumLength) => hasMaxLength()
    • maximum(maximumValue) => isLessThan() / isLessThanOrEqualTo()
    • notEquals(otherValue, otherValueLabel) => isNotEqualTo()
    • passes(customFunction, threshold)
    • passesRule(validationRule)
    • withMessage(message)

Bug Fixes

  • API: API is inconsistent (cc7b407c, closes #20)
  • I18N: fixed number formatting (8e946418)
  • config:
    • config should be a singleton (42e4b4c4)
    • config should be a singleton (c1125852)
  • email: add a better email validation (9e45f82d)
  • install: invalid install logic (d9d59fab)
  • locale:
    • locales are not being loaded (e6261e59)
    • locales are not being loaded (b83833c9)
  • nl-BE: small typo (2cce4e5b)
  • onValidate: onValidate broke fluent api (b40954c7)
  • onvalidate: ability to omit properties (d3a79d47)
  • package:
    • NPM package did not have index.js (3657e9a0, closes #22)
    • NPM package did not have index.js (a5ad3dd9, closes #22)
  • timing: Promises that finish late are not supported correctly (d32dd93f, closes #27)
  • trim: values are no longer trimmed before validation (e567cb8e, closes #32)

Features

  • async: validation is now running promises (5e713096, closes #3)
  • config: Allow runtime configuration (8c9fefaf, closes #8, #21, #34)
  • debouncer: debouncer blocks continuously changing values (fb577d0c)
  • isValidating: isValidating is true while validating (d5cd18c0)
  • onValidate: callback for async validation on the entire subject (1f828849, closes #25)
  • validateAttachedBehavior: show 'success' for properties with no validation rules (8c53d77f, closes #17)
  • viewStrategy: Allows different view strategy to be plugged (938ac37f, closes #6)

aurelia-validation v0.1.2

26 Mar 22:59
Compare
Choose a tag to compare

#aurelia-validation v0.1.2
This release updates the dependencies, 'aurelia-binding' and 'aurelia-validation' to their latest versions. It also loads the plugin using the new 'globalizeResource()' API in the latest version of 'aurelia-framework' .

Bug Fixes

  • email: add a better email validation (9e45f82

Features

  • validateAttachedBehavior: show 'success' for properties with no validation rules (8c53d77, closes #17

aurelia-validation v0.1.1

25 Mar 01:58
Compare
Choose a tag to compare

This is the initial release of the validation library.