[news] Yii Validator 1.2


Yii Validator package was updated with the following enhancements and fixes:

  • added debug collector for yiisoft/yii-debug;
  • added $escape parameter to methods Result::getAttributeErrorMessagesIndexedByPath() and Result::getErrorMessagesIndexedByPath() that allow change or disable symbol which will be escaped in value path elements;
  • added OneOf rule;
  • minor refactoring of EmailHandler::validate() method;
  • added more specific psalm type for "skip on empty" callable;
  • $isAttributeMissing parameter of empty conditions (NeverEmpty, WhenEmpty, WhenMissing, WhenNull) is made optional;
  • disabled escaping of asterisk char in value path returned by Error::getValuePath(true).