- Run ember-cli-update
- Upgrade dependencies
- Fix whole number constraint option not matching some numbers with zeros
- Add whole number constraint option
- Run ember-cli-update
- Upgrade dependencies
- Allow building message tokens from properties in the object's prototype
- Ensure message functions receive the object context
- Avoid clashes of message tokens by prefixing options with underscore
- Change import path for
collateErrors
andflattenErrors
from@zestia/ember-validation/utils
, to just@zestia/ember-validation
- Makes internationalisation possible by exposing
setMessageFn
, andmessageFor
- Changes the signature of the message function
- Update
@zestia
scoped packages
- Re-release of 4.4.0 but published to GH Packages instead of NPM
- Run
ember-cli-update
- Ember Auto Import 2x
- Upgrade dependencies
- Run ember-cli-update
- Add support for async constraints
- Upgrade dependencies
- Support record arrays
- Add Embroider support
- Upgrade dependencies
- Upgrade dependencies
- Upgrade dependencies
- Run ember-cli-update
- Upgrade dependencies
- Use named imports to retain tree shaking (Issue)
- Upgrade dependencies
- Upgrade dependencies
- Does not throw if validation fails.
This is to avoid using the error for flow control, and will make testing in Ember apps easier. Background information available here.
- Upgrade dependencies
- Upgrade dependencies
- Capitalise first letter of validation error messages
- Upgrade dependencies
- Migrate away from moment.js for date validation to date-fns
- Private functions that backed the constraints are no longer exposed
- Drops support for reverse parsing in custom validation messages. Previously, with moment
L
would be converted to the corresponding localised structure for exampleDD/MM/YYYY
. Whereas with date-fnsP
(L
's equivalent) will not be converted.
- Upgrade dependencies
- Upgrade dependencies
- Fix min/max length constraints converting
null
andundefined
into strings.
- Upgrade dependencies
- Upgrade dependencies
- Upgrade dependencies
- Upgrade dependencies
- Upgrade dependencies
- Upgrade dependencies
- Allow negative numbers
- Upgrade dependencies
- Breaking change: Constraints should now be a function that returns an object, rather than just an object.
- Introduce ability to validate an array of objects
- Upgrade dependencies
- Fix min and max length with numbers
- Upgrade dependencies
- Upgrade ember-cli
- Make greater and lesser than constraints be optional
- Upgrade ember-cli
- Fix travis builds
- Fix dependencies
- Lint everything
- Use
rsvp
- Make sure arrays are resolved
- Coerce to an array when expecting an array of things to validate