Skip to content

Releases: squirrelphp/validator-cascade

v3.3

29 Nov 12:08

Choose a tag to compare

Require PHP 8.4, allow Symfony 8 + streamline configuration

Make Cascade attribute repeatable

16 Jan 10:36

Choose a tag to compare

That opens up new ways of using it that have since come up.

Support Symfony 7

01 Dec 09:10

Choose a tag to compare

Otherwise nothing about the functionality changed.

Support Symfony v6 with PHP8 minimum

16 Dec 20:50

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

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

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

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

Choose a tag to compare

Allow Symfony 5 and switch to composer-bin-plugin

First official release

09 Aug 17:44

Choose a tag to compare

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