--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2018-96a5b9337c
2018-06-01 12:02:47.407603
--------------------------------------------------------------------------------
Name : php-zendframework-zend-form
Product : Fedora 28
Version : 2.12.0
Release : 2.fc28
URL :
https://zendframework.github.io/zend-form/
Summary : Zend Framework Form component
Description :
The Zend\Form is intended primarily as a bridge between your domain models
and the View Layer. It composes a thin layer of objects representing form
elements, an InputFilter, and a small number of methods for binding data to
and from the form and attached objects.
Documentation:
https://zendframework.github.io/zend-form/
--------------------------------------------------------------------------------
Update Information:
**Version 2.12.0** - 2018-05-16 * **Added** -
[#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-'); ``` -
[#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** - [#193](https://github.com/zendframework/zend-
form/pull/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.
--------------------------------------------------------------------------------
ChangeLog:
* Wed May 23 2018 Remi Collet <remi(a)remirepo.net> - 2.12.0-2
- update to 2.12.0
--------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2018-96a5b9337c' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label
All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------