Skip to content

v2.0.0

Choose a tag to compare

@Sieg Sieg released this 21 Dec 22:07
· 14 commits to master since this release
dec39d8

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 to validate, 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