Skip to content

2.11.0

@weierophinney weierophinney tagged this 06 Dec 21:09
Based on https://github.com/zendframework/zend-form/releases/tag/release-2.11.0 (commit a5d2becbcfd2e02946d7833d6ac1a246aee0bbe1 in this repo)

Added
-----

- [zendframework/zend-form#104](https://github.com/zendframework/zend-form/pull/104) adds the ability
  for the `FormElementErrors` view helper to translate validation error messages
  using the composed translator and text domain instances.

- [zendframework/zend-form#171](https://github.com/zendframework/zend-form/pull/171),
  [zendframework/zend-form#186](https://github.com/zendframework/zend-form/pull/186), and
  [zendframework/zend-form#187](https://github.com/zendframework/zend-form/pull/187) add support for
  PHP 7.2.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- [zendframework/zend-form#171](https://github.com/zendframework/zend-form/pull/171) removes support
  for HHVM.

- [zendframework/zend-form#186](https://github.com/zendframework/zend-form/pull/186) removes support
  for PHP 5.5.

Fixed
-----

- [zendframework/zend-form#162](https://github.com/zendframework/zend-form/pull/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.

- [zendframework/zend-form#172](https://github.com/zendframework/zend-form/pull/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.

- [zendframework/zend-form#178](https://github.com/zendframework/zend-form/pull/178) loosens the checks
  in `Laminas\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.
Assets 2
Loading