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

Tags: zendframework/zend-form

Tags

release-2.14.3

Toggle release-2.14.3's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-form 2.14.3

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#235](#235) fixes PHP 7.4 compatibility.

release-2.14.2

Toggle release-2.14.2's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-form 2.14.2

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#232](#232) fixes validating `$creationOption`
  of `Zend\Form\ElementFactory`. Allowed values are: array, Traversable or null.
  If invalid value provided exception will be thrown.

- [#234](#234) registers `Search` and `Tel` form elements
  within `Zend\Form\FormElementManager` plugin manager.

release-2.14.1

Toggle release-2.14.1's commit message
zend-form 2.14.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#230](#230) fixes the "`__clone` method called on non-object" error that happens when
  the `$targetElement` is `null` within a `Collection` instance. It now properly
  sets the data to an empty array in such circumstances.

release-2.14.0

Toggle release-2.14.0's commit message
zend-form 2.14.0

Added
-----

- [#228](#228) adds support for PHP 7.3.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- [#228](#228) removes support for zend-stdlib v2 releases.

Fixed
-----

- Nothing.

release-2.13.0

Toggle release-2.13.0's commit message
zend-form 2.13.0

Added
-----

- [#224](#224) adds support for zend-hydrator v3 releases, while keeping support for
  versions 1 and 2.

- [#211](#211) adds support for the HTML5 `minlength` attribute in all form elements
  that support it.

- [#217](#217) adds `Zend\Form\View\HelperTrait`, which can be used to provide IDE
  autocompletion for view helpers provided by zend-form. See
  https://docs.zendframework.com/zend-form/view-helpers/#ide-auto-completion-in-templates
  for more information.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

release-2.12.1

Toggle release-2.12.1's commit message
zend-form 2.12.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#218](#218) ensures object values of select elements can be rendered without error.

- [#216](#216) fixes an issue when performing data binding and a fieldset has no mapped
  input elements, casting `null` values to empty arrays to ensure they can be
  passed to an input filter.

- [#207](#207) fixes the return value annotation for the `Fieldset::get()` method to
  indicate it can also return a `FieldsetInterface` instance.

release-2.12.0

Toggle release-2.12.0's commit message
zend-form 2.12.0

Added
-----

- [#194](#194) adds the ability to whitelist additional HTML attributes for use with a view helper,
  as well as attribute prefixes. These can be enabled via the following:

  ```php
  $helper->addValidAttribute('attribute-name');
  $helper->addValidAttributePrefix('prefix-');
  ```

- [#188](#188) adds a new method to the `FormElementErrors` view helper, `setTranslateMessages(bool $flag)`.
  By default, the helper continues to translate error messages (if a translator
  is present), as introduced in 2.11.0. However, using this method, you can
  disable translation, which may be necessary to prevent double translation
  and/or to reduce logs from missed translation lookups. Because the method
  implements a fluent interface, you may do so in one line:

  ```php
  echo $this->formElementErrors()->setTranslateMessages(false);
  ```

  Note: you will need to reset the value afterwards if you want translations to occur
  in later invocations.

Changed
-------

- [#193](#193) modifies how attributes are escaped. If zend-espaper raises an exception
  for an invalid attribute value, helpers will now catch the exception, and use
  a blank value for the attribute. This prevents 500 errors from being raised
  for such pages.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

release-2.11.0

Toggle release-2.11.0's commit message
zend-form 2.11.0

Added
-----

- [#104](#104) adds the ability
  for the `FormElementErrors` view helper to translate validation error messages
  using the composed translator and text domain instances.

- [#171](#171),
  [#186](#186), and
  [#187](#187) add support for
  PHP 7.2.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- [#171](#171) removes support
  for HHVM.

- [#186](#186) removes support
  for PHP 5.5.

Fixed
-----

- [#162](#162) fixes an issue
  with hydration when a form has called `setWrapElements(true)`, ensuring that
  binding values in a fieldset will correctly identify the elements in the
  provided data.

- [#172](#172) fixes the
  `DateTime` element such that it no longer attempts to use its
  `DATETIME_FORMAT` constant, but, rather, the value of the `$format` property,
  when representing the element; this change allows developers to override the
  format, which was the original intention.

- [#178](#178) loosens the checks
  in `Zend\Form\Element\DateTime::getValue()` to check against PHP's `DateTimeInterface` (vs
  `DateTime`) when retrieving the value; this fixes edge cases where it was
  instead returning the format for `DateTimeImmutable` values.

release-2.4.13

Toggle release-2.4.13's commit message
zend-form 2.4.13

release-2.4.12

Toggle release-2.4.12's commit message
zend-form 2.4.12