This repository has been 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
GpsPoint
validator for validating GPS coordinates. - #47 adds two new classes,
Zend\Validator\Isbn\Isbn10
andIsbn13
; 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\Isbn
now instantiates the appropriate one and invokes it. - #46 updates
Zend\Validator\Db\AbstractDb
to implementZend\Db\Adapter\AdapterAwareInterface
, by composingZend\Db\Adapter\AdapterAwareTrait
.
Deprecated
- Nothing.
Removed
- #55 removes some checks for
safe_mode
within theMimeType
validator, assafe_mode
became 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_INCLUSIVE
validation 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
Barcode
validator to cast empty options passed to the constructor to an empty array, fixing type mismatch errors. - #54 fixes the IP address detection in the
Hostname
validator to ensure that IPv6 is detected correctly. - #56 updates the regexes used by the
IP
validator when comparing ipv4 addresses to ensure a literal.
is tested between network segments.