Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.44 KB

CHANGELOG.md

File metadata and controls

46 lines (28 loc) · 1.44 KB

3.0.0

  • Simplified the API (ie: less options to create rules)
  • Expanded the ability to set custom error messages per selector (eg: "address.city.required")

2.3.0

  • Removed 5.* support

2.2.0

  • added Upload\Required rule
  • fixed upload validators when the upload was not successful

2.0.0

  • added the data_selector:label feature
  • implemented default rule messages in the RuleFactory class. This way, if you have a custom error message for the required fields, you don't have to provide it to all the required fields, just set it up once in the RuleFactory
  • implemented a way to allow validation rule options to be passed as CSV (eg: '100,200' instead of 'min=200&max=200')

1.2.4

  • added PHP7 to Travis CI
  • fixed bug with validating non-required elements (issue #17)

1.2.2

  • fixed bug with the 'between' validator (pull request #16)
  • added support for PHP 5.3 (tests fail but due to the short array syntax, not the inherent code in the library)
  • improved documentation on how to use complex validators (ie: that have dependencies)

1.2.1

  • fixed bug with the required rule not working properly on empty strings

1.2.0

  • improved the code base on Scrutinizer CI suggestions
  • removed the ValidatableTrait trait

1.1.0

  • Added HHVM to Travis CI
  • Renamed Validator* classes into Rule* classes (breaking change if you used custom rule classes)
  • Renamed ValidatorFactory to RuleFactory (breaking change)