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

zend-form 2.11.0

Choose a tag to compare

@weierophinney weierophinney released this 06 Dec 21:11
· 189 commits to master since this release

Added

  • #104 adds the ability for the FormElementErrors view helper to translate validation error messages using the composed translator and text domain instances.

  • #171, #186, and #187 add support for PHP 7.2.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #171 removes support for HHVM.

  • #186 removes support for PHP 5.5.

Fixed

  • #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 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 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.