Skip to content

Releases: Fresh-Advance/array-validator

v2.2.0

06 Feb 20:49
f4adc66
Compare
Choose a tag to compare

Added

  • More test cases
  • PHP8 supported

v2.1.0

03 Feb 12:19
b10f471
Compare
Choose a tag to compare

A public GitHub release was forgotten. In 2.1 several new simple rules were added.

Added

  • InArray rule
  • Min rule
  • Max rule
  • Range rule

Feel free to offer your ideas for new rules and report any found issues.

v2.0.0

21 Dec 22:07
dec39d8
Compare
Choose a tag to compare

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

First stable release

24 May 20:22
Compare
Choose a tag to compare

Tested for a while, stable version.

Implemented rules:

  • Required
  • Expression
  • Equals
  • Callback
  • Length
  • Filter