This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
Releases: zendframework/zend-form
Releases · zendframework/zend-form
zend-form 2.10.0
zend-form 2.9.2
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
zend-form 2.9.1
Added
- #85 adds support for the zend-code 3.0 series (retaining support for the 2.* series).
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #119 fixes the order in which the default initializers are injected into the
FormElementManager
, ensuring that the initializer injecting a factory into aFormFactoryAware
instance is triggered before the initializer that callsinit()
, and also that the initializer callinginit()
is always triggered last. - #106 updates behavior around binding collection values to a fieldset or form such that if the collection is not part of the current validation group, its value will not be overwritten with an empty set.
zend-form 2.9.0
Added
- #57 adds new elements,
FormSearch
andFormTel
, which map to theFormSearch
andFormTel
view helpers.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Updates the composer suggestions list to remove those that were redundant, and to add explicit constraints and reasons for each listed (e.g., zend-code is required for annotations support).
zend-form 2.8.4
Added
- #74 adds an alias for the
FormTextarea
view helper that is referenced in the documentation.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #77 updates
Zend\Form\View\HelperConfig
to improve performance when running under zend-servicemanager v3. - #19 provides a thorough fix for an issue when removing all items in a collection associated with a form. Prior to this release, values that existed in the collection persisted when a form submission intended to remove them.
zend-form 2.8.3
Added
- #70 adds and publishes the documentation to https://zendframework.github.io/zend-form/
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #69 fixes aliases in the
FormElementManager
polyfill for zend-servicemanager v2 to ensure they are canonicalized correctly.
zend-form 2.8.2
Added
- #60 adds an alias from
Zend\Form\FormElementManager
toFormElementManager
in theConfigProvider
. - #67 adds polyfills for the
FormElementManager
to vary its definitions based on the major version of zend-servicemanager in use.FormElementManagerFactory
was updated to return the specific polyfill version, and an autoload rule was added to alias the class to the correct polyfill version. The polyfills were necessary to ensure that invokable classes are mapped to the newElementFactory
introduced in the 2.7 series, thus ensuring instantiation is performed correctly.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #65 fixes instantiation of
Zend\Form\FormElementManager
to ensure that the default initializers,injectFactory()
andcallElementInit()
are registered as the first and last initializers, respectively, during construction, restoring the pre-2.7 behavior. - #67 fixes the behavior of
Factory::create()
to the pre-2.7.1 behavior of not passing creation options when retrieving an instance from theFormElementManager
. This ensures that options are not passed to Element/Fieldset/Form instances until after they are fully initialized, ensuring that all dependencies are present.
zend-form 2.8.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #59 fixes the
Module::init()
method to properly receive aModuleManager
instance, and not expect aModuleEvent
.
zend-form 2.8.0
Added
- #53 adds
Zend\Form\FormElementManagerFactory
, for creating and returning instances ofZend\Form\FormElementManager
. This factory was ported from zend-mvc, and will replace it for version 3 of that component. - #53 adds
Zend\Form\Annotation\AnnotationBuilderFactory
, for creating and returning instances ofZend\Form\Annotation\AnnotationBuilder
. This factory was ported from zend-mvc, and will replace it for version 3 of that component. - #53 exposes the package as a config-provider and ZF component, by adding:
ConfigProvider
, which maps theFormElementsManager
andFormAnnotationBuilder
servies previously provided by zend-mvc; the form abstract factory as previously registered by zend-mvc; and all view helper configuration.Module
, which maps services and view helpers per theConfigProvider
, and provides configuration to the zend-modulemanagerServiceLocator
in order for modules to provide form and form element configuration.
Deprecated
- #53 deprecates
Zend\Form\View\HelperConfig
; the functionality is made obsolete byConfigProvider
. It now consumes the latter in order to provide view helper configuration.
Removed
- Nothing.
Fixed
- Nothing.
zend-form 2.7.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #24 ensures that when
Zend\Form\Form::getInputFilter()
when lazy-creates anInputFilter
instance, it is populated with theInputFilterFactory
present in its ownFormFactory
. This ensures that any custom inputs, input filters, validators, or filters are available to the new instance. - #38 removes the arbitrary restriction of only the "labelledby" and "describedby" aria attributes on form element view helpers; any aria attribute is now allowed.
- #45 fixes the behavior in
Zend\Form\Factory::create()
when pulling elements from the form element manager; it now will pass specifications provided for the given element when calling the manager'sget()
method.