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\IpRangesinIprule: addgetIpRanges()method and deprecategetRanges(),getNetworks(),isAllowed()methods; - use
NEGATION_CHARACTERconstant fromnetwork-utilitiespackage inIpHandlerinstead of declaring its own constant.