Version 2.2 of Yii Validator package has been released. Here is the list of changes included in the new version:
- Add
stopOnError
parameter toEach
rule - Change PHP constraint in
composer.json
to~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
- Bump
yiisoft/strings
version to^2.6
- Minor refactoring with PHP 8.1 features usage
- Fix hook processing for nested objects that implement
PostValidationHookInterface
whenNested
rule with specified rules is used - Fix russian translation of error message for
FilledAtLeast
rule - Fix bug in
Email
rule in edge case when enabled IDN, check DNS and used custom pattern - Fix
URL
handler for PHP 8.4 when value is empty string