This repository was archived by the owner on Jan 31, 2020. It is now read-only.
Releases: zendframework/zend-validator
Releases · zendframework/zend-validator
zend-validator 2.6.0
Added
- #18 adds a
GpsPointvalidator for validating GPS coordinates. - #47 adds two new classes,
Zend\Validator\Isbn\Isbn10andIsbn13; these classes are the result of an extract class refactoring, and contain the logic specific to calcualting the checksum for each ISBN style.Zend\Validator\Isbnnow instantiates the appropriate one and invokes it. - #46 updates
Zend\Validator\Db\AbstractDbto implementZend\Db\Adapter\AdapterAwareInterface, by composingZend\Db\Adapter\AdapterAwareTrait.
Deprecated
- Nothing.
Removed
- #55 removes some checks for
safe_modewithin theMimeTypevalidator, assafe_modebecame obsolete starting with PHP 5.4.
Fixed
zend-validator 2.5.4
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #44 corrects the grammar on the
NOT_GREATER_INCLUSIVEvalidation error message. - #45 adds normalized aliases for the i18n isfloat/isint validators.
- Updates the hostname validator regexes per the canonical service on which they are based.
- #52 updates the
Barcodevalidator to cast empty options passed to the constructor to an empty array, fixing type mismatch errors. - #54 fixes the IP address detection in the
Hostnamevalidator to ensure that IPv6 is detected correctly. - #56 updates the regexes used by the
IPvalidator when comparing ipv4 addresses to ensure a literal.is tested between network segments.