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

zend-validator 2.6.0

Choose a tag to compare

@weierophinney weierophinney released this 17 Feb 18:09
· 646 commits to master since this release

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.