Skip to content

Releases: squirrelphp/validator-cascade

Support Symfony 7

01 Dec 09:10
Compare
Choose a tag to compare

Otherwise nothing about the functionality changed.

Support Symfony v6 with PHP8 minimum

16 Dec 20:50
Compare
Choose a tag to compare
  • 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 $groups and $trigger (before there was an $options argument first, which was never really necessary)

Support Symfony caching

16 Dec 18:29
8da0650
Compare
Choose a tag to compare

Implementing pull request #1 . Probably the last release supporting Symfony 5.x and PHP 7.4.

PHP8 attributes support

19 Dec 11:07
Compare
Choose a tag to compare

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

17 Nov 18:31
Compare
Choose a tag to compare

Preparation for PHP8, so the version constraint is changed to allow versions above 7.x.

v1.1

29 Nov 14:56
Compare
Choose a tag to compare
Allow Symfony 5 and switch to composer-bin-plugin

First official release

09 Aug 17:44
Compare
Choose a tag to compare

Relatively simple implemention of the Cascade functionality, replacing the Valid constraint in Symfony Validator.