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.9.2

20 Jul 16:46
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #180 fixes how Zend\Validator\File\MimeType "closes" the open FileInfo handle for the file being validated, using unset() instead of finfo_close(); this resolves a segfault that occurs on older PHP versions.
  • #174 fixes how Zend\Validator\Between handles two situations: (1) when a non-numeric value is validated against numeric min/max values, and (2) when a numeric value is validated against non-numeric min/max values. Previously, these incorrectly validated as true; now they are marked invalid.

zend-validator 2.9.1

17 May 22:08
Compare
Choose a tag to compare

Added

  • Nothing.

Changes

  • #154 updates the CreditCard validator to allow 19 digit Discover card values, and 13 and 19 digit Visa card values, which are now allowed (see https://en.wikipedia.org/wiki/Payment_card_number).
  • #162 updates the Hostname validator to support .hr (Croatia) IDN domains.
  • #163 updates the Iban validator to support Belarus.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #168 fixes how the ValidatorPluginManagerFactory factory initializes the plugin manager instance, ensuring it is injecting the relevant configuration from the config service and thus seeding it with configured validator services. This means that the validators configuration will now be honored in non-zend-mvc contexts.

zend-validator 2.9.0

17 Mar 10:32
release-2.9.0
Compare
Choose a tag to compare

Added

  • #78 added %length% as an optional message variable in StringLength validator

Deprecated

  • Nothing.

Removed

  • #151 dropped php 5.5 support

Fixed

  • #147
    #148 adds further "suggest" clauses in composer.json, since some dependencies are not always required, and may lead to runtime failures.
  • #66 fixed EmailAddress validator applying IDNA conversion to local part
  • #88 fixed NotEmpty validator incorrectly applying types bitmaps
  • #150 fixed Hostname validator not allowing some characters in .dk IDN

zend-validator 2.8.2

29 Jan 17:30
release-2.8.2
Compare
Choose a tag to compare

Added

  • #110 adds new
    Mastercard 2-series BINs

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #81 registers the
    Uuid validator into ValidatorPluginManager.
  • Updated hostname TLDs.

zend-validator 2.8.1

23 Jun 13:48
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #92 adds message templates to the ExcludeMimeType validator, to allow differentiating validation error messages from the MimeType validator.

zend-validator 2.8.0

16 May 13:42
Compare
Choose a tag to compare

Added

  • #58 adds a new Uuid validator, capable of validating if Versions 1-5 UUIDs are well-formed.
  • #64 ports Zend\ModuleManager\Feature\ValidatorProviderInterface to Zend\Validator\ValidatorProviderInterface, and updates the Module::init() to typehint against the new interface instead of the one from zend-modulemanager. Applications targeting zend-mvc v3 can start updating their code to implement the new interface, or simply duck-type against it.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-validator 2.7.3

16 May 12:53
Compare
Choose a tag to compare

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-validator 2.7.2

18 Apr 17:30
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #65 fixes the Module::init() method to properly receive a ModuleManager instance, and not expect a ModuleEvent.

zend-validator 2.7.1

06 Apr 15:47
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • This release updates the TLD list to the latest version from the IANA.

zend-validator 2.7.0

06 Apr 15:36
Compare
Choose a tag to compare

Added

  • #63 exposes the package as a ZF component and/or generic configuration provider, by adding the following:
    • ValidatorPluginManagerFactory, which can be consumed by container-interop / zend-servicemanager to create and return a ValidatorPluginManager instance.
    • ConfigProvider, which maps the service ValidatorManager to the above factory.
    • Module, which does the same as ConfigProvider, but specifically for zend-mvc applications. It also provices a specification to Zend\ModuleManager\Listener\ServiceListener to allow modules to provide validator configuration.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.