Releases: squirrelphp/validator-cascade
Releases · squirrelphp/validator-cascade
v3.3
Make Cascade attribute repeatable
That opens up new ways of using it that have since come up.
Support Symfony 7
Otherwise nothing about the functionality changed.
Support Symfony v6 with PHP8 minimum
- Remove all annotation support because of the PHP8 minimum
- Improve tests to be more thorough and plausible
- Update documentation
- Change Cascade attribute to only have the two arguments
$groupsand$trigger(before there was an$optionsargument first, which was never really necessary)
Support Symfony caching
Implementing pull request #1 . Probably the last release supporting Symfony 5.x and PHP 7.4.
PHP8 attributes support
Using attributes is recommended when using PHP8 now and is supported as of version 2.0. Minimum PHP version is now 7.4, minimum Symfony version is 5.x. The only (intentional) BC break is:
- "trigger" cannot be a string anymore, it has to be an array, otherwise a type error will occur
Relax PHP constraint
Preparation for PHP8, so the version constraint is changed to allow versions above 7.x.
v1.1
First official release
Relatively simple implemention of the Cascade functionality, replacing the Valid constraint in Symfony Validator.