Skip to content

Releases: squirrelphp/validator-cascade

v3.3

Choose a tag to compare

@iquito iquito released this 29 Nov 12:08
Require PHP 8.4, allow Symfony 8 + streamline configuration

Make Cascade attribute repeatable

Choose a tag to compare

@iquito iquito released this 16 Jan 10:36

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

Support Symfony 7

Choose a tag to compare

@iquito iquito released this 01 Dec 09:10

Otherwise nothing about the functionality changed.

Support Symfony v6 with PHP8 minimum

Choose a tag to compare

@iquito iquito released this 16 Dec 20:50
  • 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

Choose a tag to compare

@iquito iquito released this 16 Dec 18:29
8da0650

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

PHP8 attributes support

Choose a tag to compare

@iquito iquito released this 19 Dec 11:07

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

Choose a tag to compare

@iquito iquito released this 17 Nov 18:31

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

v1.1

Choose a tag to compare

@iquito iquito released this 29 Nov 14:56
Allow Symfony 5 and switch to composer-bin-plugin

First official release

Choose a tag to compare

@iquito iquito released this 09 Aug 17:44

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