This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
Releases: zendframework/zend-inputfilter
Releases · zendframework/zend-inputfilter
zend-inputfilter 2.7.4
Added
- Nothing.
Changes
- #122 maps the
Zend\InputFilter\InputFilterPluginManager
service toZend\InputFilter\InputFilterPluginManagerFactory
, and adds an alias fromInputFitlerPluginManager
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 theconfig
service and thus seeding it with configured input filter services. This means that theinput_filters
configuration will now be honored in non-zend-mvc contexts.
release-2.7.3: zend-inputfilter 2.7.3
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #115 fixes retrieval of unknown fields when using a
CollectionInputFilter
. Previously, it returned all fields in the collection, not just the unknown fields, which was a different behavior from all other input filters. Now it will return only the unknown fields for each collection. - #108 fixes the
InputFilterPluginManager::populateFactory()
method to restore behavior from prior to the 2.7 series; specifically, previously it would inject itself as the plugin manager to input filter factories when under zend-servicemanager v2; it now will do so again. - #116 fixes the behavior of
CollectionInputFilter::setData()
. Prior to this release, it would validate whether the data represented a collection (i.e., it was an array or traversable) and whether individual items in the collection were data sets (i.e., arrays or traversables) only duringisValid()
and/orgetUnknown()
calls, raising exceptions during runtime. These should have been considered invalid arguments when the data was provided; they now are. As such,setData()
now raisesZend\InputFilter\Exception\InvalidArgumentException
for invalid data, ensuring thatisValid()
andgetUnknown()
only ever operate on usable collections and collection sets. - #118 fixes aggregation of error messages when validating collections to ensure only the error messages specific to a given datum are presented.
zend-inputfilter 2.7.2
Added
- #105 adds and publishes the documentation to https://zendframework.github.io/zend-inputfilter
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #110 fixes an issue with
InputFilterAbstractServiceFactory
whereby it was not working when the provided container is not a plugin manager, but rather the application container.
zend-inputfilter 2.7.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #104 fixes the
Module::init()
method to properly receive aModuleManager
instance, and not expect aModuleEvent
.
zend-inputfilter 2.7.0
Added
- #3 updates the
InputFilterAbstractServiceFactory
to inject the created input filter factory with theInputFilterManager
service, ensuring that the generated factory can pull named input filters and inputs from the container as needed. - #100 adds a number of classes, in order to better allow usage as a standalone component:
InputFilterPluginManagerFactory
, ported from zend-mvc, allows creating and returning anInputFilterPluginManager
.ConfigProvider
maps theInputFilterManager
service to the above factory, and enables theInputFilterAbstractServiceFactory
.Module
does the same asConfigProvider
, within a zend-mvc context, and also registers a specification with the zend-modulemanagerServiceListener
to allow modules to configure the input filter plugin manager.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-inputfilter 2.6.1
Added
- #68 adds support for using either named keys or a
name
element in input filter specs parsed by theInputFilterAbstractServiceFactory
.
Deprecated
- Nothing.
Removed
- Nothing.