[news] Yii Validator 2.1


Version 2.1 of Yii Validator package has been released. Here is the list of changes included in the new version:

  • merge rules from PHP attributes with rules provided via getRules() method;
  • use Yiisoft\NetworkUtilities\IpRanges in Ip rule: add getIpRanges() method and deprecate getRanges(), getNetworks(), isAllowed() methods;
  • use NEGATION_CHARACTER constant from network-utilities package in IpHandler instead of declaring its own constant.