Added
-
#275 adds a new
strict
option toZend\Validator\Date
; whentrue
, the value being validated must both be a date AND in the same format as provided via theformat
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
andFile\ExcludeExtension
validators,allowNonExistentFile
. When set totrue
, the validators will continue validating the extension of the filename given even if the file does not exist. The default isfalse
, 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.