- added the
data_selector:label
feature - implemented default rule messages in the
RuleFactory
class. This way, if you have a custom error message for therequired
fields, you don't have to provide it to all the required fields, just set it up once in theRuleFactory
- implemented a way to allow validation rule options to be passed as CSV (eg: '100,200' instead of 'min=200&max=200')
- added PHP7 to Travis CI
- fixed bug with validating non-required elements (issue #17)
- 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)
- fixed bug with the required rule not working properly on empty strings
- improved the code base on Scrutinizer CI suggestions
- removed the ValidatableTrait trait
- 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)