Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Releases: zendframework/zend-validator

zend-validator 2.6.0

17 Feb 18:09
Compare
Choose a tag to compare

Added

  • #18 adds a GpsPoint validator for validating GPS coordinates.
  • #47 adds two new classes, Zend\Validator\Isbn\Isbn10 and Isbn13; 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 implement Zend\Db\Adapter\AdapterAwareInterface, by composing Zend\Db\Adapter\AdapterAwareTrait.

Deprecated

  • Nothing.

Removed

  • #55 removes some checks for safe_mode within the MimeType validator, as safe_mode became obsolete starting with PHP 5.4.

Fixed

  • #45 fixes aliases mapping the deprecated Float and Int validators to their Is* counterparts.
  • #49 #50, and #51 update the code to be forwards-compatible with zend-servicemanager and zend-stdlib v3.
  • #56 fixes the regex in the Ip validator to escape . characters used as IP delimiters.

zend-validator 2.5.4

17 Feb 17:17
Compare
Choose a tag to compare

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.