@weierophinney weierophinney released this Dec 13, 2018

Assets 2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #167 fixes the combination of marking an ArrayInput required, and passing an
    empty array for validation; it now correctly detects these as invalid.

@weierophinney weierophinney released this May 14, 2018 · 13 commits to master since this release

Assets 2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #163 adds code to BaseInputFilter::populate() to detect non-iterable,
    non-null values passed as a value for a composed input filter. Previously, these would trigger
    an exception; they now instead result in an empty array being used to populate the
    input filter, which will generally result in invalidation without causing an
    exception.

  • #162 fixes incorrect abstract service factory registration in ConfigProvideras per
    the latest documentation. In particular, it ensures that the InputFilterAbstractFactory
    is registered under the input_filters configuration instead of the
    dependencies configuration.

@weierophinney weierophinney released this Jan 22, 2018 · 43 commits to master since this release

Assets 2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #160 adds zend-servicemanager as a direct requirement, rather than a suggestion. The package has not worked without it since #67 was merged for the 2.6.1 release.

  • #161 fixes an issue whereby an input filter receiving a null value to setData() would raise an exception, instead of being treated as an empty data set.

@weierophinney weierophinney released this Dec 4, 2017 · 58 commits to master since this release

Assets 2

Added

  • #135 adds Zend\InputFilter\OptionalInputFilter, which allows defining optional sets of data. This acts like a standard input filter, but is considered valid if no data, null data, or empty data sets are provided to it; if a non-empty data set is provided, it will run normal validations.

  • #142 adds support for PHP 7.2.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #142 removes support for HHVM.

Fixed

  • Nothing.

@weierophinney weierophinney released this Dec 4, 2017 · 94 commits to master since this release

Assets 2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #156 fixes an issue introduced in 2.7.5 whereby the filter and validator chains composed in inputs pulled from the InputFilterPluginManager were not receiving the default filter and validator plugin manager instances. A solution was created that preserves the original behavior as well as the bugfix that created the regression.

@weierophinney weierophinney released this Nov 7, 2017 · 113 commits to master since this release

Assets 2

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #151 fixes an issue in Factory::createInput() introduced in #2 whereby an input pulled from the input filter manager would be injected with the default filter and validator chains, overwriting any chains that were set during instantiation and/or init(). They are now never overwritten.

  • #149 fixes an issue with how error messages for collection input field items were reported; previously, as soon as one item in the collection failed, the same validation message was propagated to all other items. This is now resolved.

  • #131 fixes a regression introduced in version 2.2.6 within BaseInputFilter::setValidatorGroup() whereby it began emitting exceptions if a given input was not an input filter. This raises issues when mixing input filters and inputs in the same validator group specification, as you will generally provide the input names as keys instead of values. The patch provide ensures both styles work going forwards.

Jul 13, 2017
zend-inputfilter 2.4.13
Jun 19, 2017
zend-inputfilter 2.4.12

@weierophinney weierophinney released this May 18, 2017 · 129 commits to master since this release

Assets 2

Added

  • Nothing.

Changes

  • #122 maps the Zend\InputFilter\InputFilterPluginManager service to Zend\InputFilter\InputFilterPluginManagerFactory, and adds an alias from InputFitlerPluginManager to the fully qualified class name. This change allows you to request the service using either the original short name, or the fully qualified class name.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #137 fixes how the InputFilterPluginManagerFactory factory initializes the plugin manager instance, ensuring it is injecting the relevant configuration from the config service and thus seeding it with configured input filter services. This means that the input_filters configuration will now be honored in non-zend-mvc contexts.
Dec 19, 2016
zend-inputfilter 2.4.11