Version 2.2 of Yii Validator package has been released. Here is the list of changes included in the new version:
- Add
stopOnErrorparameter toEachrule - Change PHP constraint in
composer.jsonto~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 - Bump
yiisoft/stringsversion to^2.6 - Minor refactoring with PHP 8.1 features usage
- Fix hook processing for nested objects that implement
PostValidationHookInterfacewhenNestedrule with specified rules is used - Fix russian translation of error message for
FilledAtLeastrule - Fix bug in
Emailrule in edge case when enabled IDN, check DNS and used custom pattern - Fix
URLhandler for PHP 8.4 when value is empty string