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

zend-validator 2.13.0

Latest
Compare
Choose a tag to compare
@weierophinney weierophinney released this 28 Dec 04:07
· 2 commits to master since this release
release-2.13.0

Added

  • #275 adds a new strict option to Zend\Validator\Date; when true, the value being validated must both be a date AND in the same format as provided via the format option.

  • #264 adds Zend\Validator\UndisclosedPassword, which can be used to determine if a password has been exposed in a known data breach as reported on the Have I Been Pwned? website. Documentation

  • #266 adds a new option to the File\Extension and File\ExcludeExtension validators, allowNonExistentFile. When set to true, the validators will continue validating the extension of the filename given even if the file does not exist. The default is false, to preserve backwards compatibility with previous versions.

Changed

  • #264 bumps the minimum supported PHP version to 7.1.0.

  • #279 updates the magic.mime file used for file validations.

Deprecated

  • Nothing.

Removed

  • #264 removes support for PHP versions prior to 7.1.0.

Fixed

  • Nothing.