Based on https://github.com/zendframework/zend-form/releases/tag/release-2.12.0 (commit 9d26d031fc426fd25010f114fb8f6dd33bd045e2 in this repo)
Added
-----
- [zendframework/zend-form#194](https://github.com/zendframework/zend-form/pull/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-');
```
- [zendframework/zend-form#188](https://github.com/zendframework/zend-form/pull/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
-------
- [zendframework/zend-form#193](https://github.com/zendframework/zend-form/pull/193) modifies how attributes are escaped. If laminas-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.