Releases: Fresh-Advance/array-validator
Releases · Fresh-Advance/array-validator
v2.2.0
v2.1.0
v2.0.0
Added
- A possibility to more precisely specify the list of fields for a rule.
Changed
- Changed the way how to configure the validator
- Validation state is not saved in Validator object anymore
isValid
method renamed tovalidate
, which always return errors array- Vendor renamed to fresh-advance
- Improved readme with installation instructions and new way to configure
- All rule constructors now takes more strict and intuitive parameters
First stable release
Tested for a while, stable version.
Implemented rules:
- Required
- Expression
- Equals
- Callback
- Length
- Filter