Zend Framework 2.0.0rc6
This is the sixth release candidate for 2.0.0. At this time, we anticipate that this will be the final release candidate before issuing a stable release. We highly recommend testing your production applications against it.
29 August 2012
- Zend\Config
- The INI adapter now allows bracket notation for appending values to an array within INI definitions.
- Zend\Db
- ResultInterface adds isBuffered() method for checking if the resultset is buffered or not. Allows for more fine grained control of result set buffering, including using the database engine's native buffering.
- Insertions with multi-part keys now work properly.
- Expression objects may now be passed to the order() method of a Select object.
- Zend\Form
- You can now omit error messages on elements when rendering via formRow(), by passing a boolean false as the third argument of the helper.
- You can now use concrete hydrator instances with the factory.
- You may now set the CSRF validator class and/or options to use on the Csrf element
- The Select, Radio, and MultiCheckbox elements and view helpers were refactored to move value options into properties, instead of attributes. This makes them more consistent with other elements, and simplifies the interfaces.
- Forms now lazy-load an input filter if none has been specified; this should simplify usage for many, and remove the "no input filter attached" exception.
- All form helpers for buttons (button, submit, reset) now allow translation.
- The formRow() view helper now allows you to set the CSS class used to designate an input with errors.
- Zend\Http
- Some browser/web server combingations set SERVER_NAME to the IPv6 address, and enclose it in brackets. The PhpEnvironment\Request object now correctly detects such situations.
- The Socket client will only fallback to SSLv3 if the ssltransport configuration key is not set (instead of also allowing SSLv2).
- Zend\I18n\Translator
- Loader\LoaderInterface was splitted into Loader\FileLoaderInterface and Loader\RemoteLoaderInterface. The latter one will be used in ZF 2.1 for a database loader.
- Translator::addTranslationPattern() and the option "translation_patterns" were renamed to Translator::addTranslationFilePattern and "translation_file_patterns".
- A new method Translator::addRemoteTranslations() was added.
- Zend\Mvc
-
Application no longer defines the "application" identifier for its composed EventManager instance. If you had listeners listening on that context, update them to use "Zend\Mvc\Application". See this thread for more details:
-
The redirect plugin's toRoute() method signature is now synced with that of the url plugin's fromRoute() method.
-
The PRG plugin now allows passing no arguments; if you do so, the currently matched route will be used for the redirect.
-
- Zend\Paginator
- Removes the factory() and related methods. This was done to be more consistent with other components, and also because the utility was not terribly useful; in most cases, developers needed to configure the adapter up-front anyways.
- Zend\Stdlib
- ClassMethods Hydrator now supports boolean getters prefixed with "is".
- Zend\Validator
- DB validators no longer mix positional and named parameters.
More than 30 pull requests for a variety of features and bugfixes were handled since RC5, as well as almost 20 documentation changes!
Zend Framework 2 requires PHP 5.3.3 or later; we recommend using the latest PHP version whenever possible.
Please see INSTALL.md.
If you wish to contribute to Zend Framework 2.0, please read both the README-DEV.md and README-GIT.md file.
Online documentation can be found at http://framework.zend.com/manual. Questions that are not addressed in the manual should be directed to the appropriate mailing list:
http://framework.zend.com/wiki/display/ZFDEV/Mailing+Lists
If you find code in this release behaving in an unexpected manner or contrary to its documented behavior, please create an issue in the Zend Framework issue tracker at:
http://framework.zend.com/issues/browse/ZF2
If you would like to be notified of new releases, you can subscribe to the fw-announce mailing list by sending a blank message to [email protected].
The files in this archive are released under the Zend Framework license. You can find a copy of this license in LICENSE.txt.
The Zend Framework team would like to thank all the contributors to the Zend Framework project, our corporate sponsor, and you, the Zend Framework user. Please visit us sometime soon at http://framework.zend.com.