Skip to content

Latest commit

 

History

History
79 lines (59 loc) · 4.62 KB

CHANGELOG.md

File metadata and controls

79 lines (59 loc) · 4.62 KB

Change Log

2.7.0

2.6.1

2.6.0

  • #132 Add support for nested keys in validation rules.
  • #132 Create validations object once per class instead of every instance

2.5.0

  • #122 Blueprints/validator-test: Fix typo in _filesPath() method @Turbo87
  • #127 DS Error validator. See docs here

2.4.1

  • #119 Fix for Dependent keys containing @each only work one level deep warnings in Ember Canary - 2.5
  • #124 Validate on runs validation on all attributes @kat3kasper

2.4.0

  • #112 Support validations via inheritance
  • #116 Support relational validators (has-many and belongs-to) in plain Ember Objects
  • #117 Move caches out of the prototype and into the instance

2.3.0

  • #106 Ability to enable/disable validations. See documentation here

2.2.1

  • #103 Fixed debounced validation issue

2.2.0

  • #92 Debounced Validation
  • #96 Expose options property for attribute validations which contains a hash of built options grouped by validator type

2.1.2

  • #78 Migrate to owners over container for Ember >= 2.3.0-beta.1 support

2.1.1

  • #64 Allow blank in number validator
  • #65 Handle ember-data promise proxy based instances in presence

2.1.0

  • #59 Add enumerable list of all error objects
  • #62 Number validator

2.0.1

  • #53 Support v-get inside element note attribute strings

2.0.0

  • Renamed attributeDescription to description
  • I18n support (currently Ember-Intl & Ember-I18n)
  • Added hooks in both Message base and validator base
  • Validation options can also be function that are called before validate
  • #27 Declare custom dependent keys in validators (both custom and predefined)
  • #30 MomentJS is now only required if you want to use the date validator and is no longer a forced dependency
  • #33 Removed Ember.String.fmt dependency
  • #38 Default options in validation declarations

Upgrade Notes

Please checkout the upgrading documentation for more details.

1.1.0

  • v-get helper

Upgrade Notes

When upgrading, you will need to run ember install ember-cp-validations again or run the generator ember g ember-cp-validations after upping the version in package.json.

1.0.2

  • Fixed an issue where if a result was undefined or null, it would update the validation result to false but would continue to go down the chain on get

1.0.1

  • BREAKING CHANGE - confirmation rework - issue
  • isInvalid helper - issue
  • fixed lodash error - issue

1.0.0

  • Initial Release