Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Releases: zendframework/zend-form

zend-form 2.10.0

23 Feb 16:13
release-2.10.0
Compare
Choose a tag to compare

Added

  • #115 adds translatable
    HTML attributes to the abstract view helper.
  • #116 adds the InputFilterFactory
    dependency to the constructor.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #139 adds support for
    ReCaptcha version 2 though zend-captcha 2.7.1.

zend-form 2.9.2

22 Sep 15:59
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #122 fixes collection binding following successful validation. The fix introduced in #106, while it corrected the behavior around binding a collection that was not re-submitted, broke behavior around binding submitted collections. #122 corrects the issue, retaining the fix from #106.

zend-form 2.9.1

14 Sep 17:50
Compare
Choose a tag to compare

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 a FormFactoryAware instance is triggered before the initializer that calls init(), and also that the initializer calling init() 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

07 Jun 18:25
Compare
Choose a tag to compare

Added

  • #57 adds new elements, FormSearch and FormTel, which map to the FormSearch and FormTel 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

07 Jun 18:25
Compare
Choose a tag to compare

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

03 May 15:19
Compare
Choose a tag to compare

Added

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

01 May 20:39
Compare
Choose a tag to compare

Added

  • #60 adds an alias from Zend\Form\FormElementManager to FormElementManager in the ConfigProvider.
  • #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 new ElementFactory 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() and callElementInit() 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 the FormElementManager. 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

18 Apr 18:30
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

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

zend-form 2.8.0

18 Apr 18:31
Compare
Choose a tag to compare

Added

  • #53 adds Zend\Form\FormElementManagerFactory, for creating and returning instances of Zend\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 of Zend\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 the FormElementsManager and FormAnnotationBuilder 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 the ConfigProvider, and provides configuration to the zend-modulemanager ServiceLocator in order for modules to provide form and form element configuration.

Deprecated

  • #53 deprecates Zend\Form\View\HelperConfig; the functionality is made obsolete by ConfigProvider. It now consumes the latter in order to provide view helper configuration.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-form 2.7.1

07 Apr 22:24
Compare
Choose a tag to compare

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #24 ensures that when Zend\Form\Form::getInputFilter() when lazy-creates an InputFilter instance, it is populated with the InputFilterFactory present in its own FormFactory. 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's get() method.