This repository was archived by the owner on Jan 31, 2020. It is now read-only.
Tags: zendframework/zend-validator
Tags
zendframework/zend-validator 2.13.0 Added ----- - [#275](#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](#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?](https://www.haveibeenpwned.com) website. [Documentation](https://docs.zendframework.com/zend-validator/validators/undisclosed-password/) - [#266](#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](#264) bumps the minimum supported PHP version to 7.1.0. - [#279](#279) updates the `magic.mime` file used for file validations. Deprecated ---------- - Nothing. Removed ------- - [#264](#264) removes support for PHP versions prior to 7.1.0. Fixed ----- - Nothing.
zend-validator 2.12.2 Added ----- - Nothing. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#277](#277) fixes `File\Hash` validator in case when the file hash contains only digits. - [#277](#277) fixes `File\Hash` validator to match hash with the given hashing algorithm.
zend-validator 2.12.1 Added ----- - Nothing. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#272](#272) changes curly braces in array and string offset access to square brackets in order to prevent issues under the upcoming PHP 7.4 release. - [#231](#231) fixes validation of input hashes in `Zend\Validator\File\Hash` validator when provided as array. Only string hashes are allowed. If different type is provided `Zend\Validator\Exception\InvalidArgumentException` is thrown.
zend-validator 2.12.0 Added ----- - [#250](#250) adds support for PHP 7.3. Changed ------- - [#251](#251) updates the logic of each of the various `Zend\Validator\File` validators to allow validating against PSR-7 `UploadedFileInterface` instances, expanding the support originally provided in version 2.11.0. Deprecated ---------- - Nothing. Removed ------- - [#250](#250) removes support for zend-stdlib v2 releases. Fixed ----- - Nothing.
zend-validator 2.11.1 Added ----- - [#249](#249) adds support in the hostname validator for the `.rs` TLD. Changed ------- - [#253](#253) updates the list of allowed characters for a `DE` domain name to match those published by IDN. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#256](#256) fixes hostname validation when omitting the TLD from verification, ensuring validation of the domain segment considers all URI criteria.
zend-validator 2.11.0 Added ----- - [#237](#237) adds support for the [PSR-7 UploadedFileInterface](https://www.php-fig.org/psr/psr-7/#uploadedfileinterface) to each of the `Upload` and `UploadFile` validators. - [#220](#220) adds image/webp to the list of known image types for the `IsImage` validator. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - Nothing.
zend-validator 2.10.3 Added ----- - Nothing. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#241](#241) has the `Hostname` validator return an invalid result early when an empty domain segment is detected. - [#232](#232) updates the `Hostname` validator to allow underscores in subdomains. - [#218](#218) fixes a precision issue with the `Step` validator.
zend-validator 2.10.2 Added ----- - [#202](#202) adds the ability to use custom constant types in extensions of `Zend\Validator\CreditCard`, fixing an issue where users were unable to add new brands as they are created. - [#203](#203) adds support for the new Russian bank card "Mir". - [#204](#204) adds support to the IBAN validator for performing SEPA validation against Croatia and San Marino. - [#209](#209) adds documentation for the `Explode` validator. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#195](#195) adds missing `GpsPoint` validator entries to the `ValidatorPluginManager`, ensuring they may be retrieved from it correctly. - [#212](#212) updates the `CSRF` validator to automatically mark any non-string values as invalid, preventing errors such as array to string conversion.
zend-validator 2.10.1 Added ----- - Nothing. Changed ------- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [#194](#194) modifies the `EmailAddress` validator to omit the `INTL_IDNA_VARIANT_UTS46` flag to `idn_to_utf8()` if the constant is not defined, fixing an issue on systems using pre-2012 releases of libicu.
zend-validator 2.10.0 Added ----- - [#175](#175) adds support for PHP 7.2 (conditionally, as PHP 7.2 is currently in beta1). - [#157](#157) adds a new validator, `IsCountable`, which allows validating: - if a value is countable - if a countable value exactly matches a configured count - if a countable value is greater than a configured minimum count - if a countable value is less than a configured maximum count - if a countable value is between configured minimum and maximum counts Changed ------- - [#169](#169) modifies how the various `File` validators check for readable files. Previously, they used `stream_resolve_include_path`, which led to false negative checks when the files did not exist within an `include_path` (which is often the case within a web application). These now use `is_readable()` instead. - [#185](#185) updates the zend-session requirement (during development, and in the suggestions) to 2.8+, to ensure compatibility with the upcoming PHP 7.2 release. - [#187](#187) updates the `Between` validator to **require** that both a `min` and a `max` value are provided to the constructor, and that both are of the same type (both integer/float values and/or both string values). This fixes issues that could previously occur when one or the other was not set, but means an exception will now be raised during instantiation (versus runtime during `isValid()`). - [#188](#188) updates the `ConfigProvider` to alias the service name `ValidatorManager` to the class `Zend\Validator\ValidatorPluginManager`, and now maps the the latter class to the `ValidatorPluginManagerFactory`. Previously, we mapped the service name directly to the factory. Usage should not change for anybody at this point. Deprecated ---------- - Nothing. Removed ------- - [#175](#175) removes support for HHVM. Fixed ----- - [#160](#160) fixes how the `EmailAddress` validator handles the local part of an address, allowing it to support unicode.
PreviousNext