As always, the CHANGELOG has the full story, but here is a summary of the most important changes:
getCredentials()method on an Action is no longer called unconditionally (i.e. whether or not the
isSecure()method returned false) but only if the Action is “secure”.
The PHPTAL renderer now supports configuration of character encoding via parameter “encoding”.
It is now possible to manually call
shutdown()on any database adapter to close the underlying connection; another call to
getConnection()will cause a reconnect.
AgaviTesting::dispatch()can now call
exit()? with the appropriate shell status code (the same as returned by a vanilla PHPUnit run) to indicate success or failures/errors to the calling process. This behavior is triggered when the new optional second argument, defaulting tofalse
, is set totrue
. If set tofalse`, it returns the PHPUnit result object that may be used by custom code to perform further analysis of the test run.
Several other minor changes and fixes are included in this release as well; most notably,
AgaviBooleanValidator’s casting and exporting logic has been repaired, and
AgaviConsoleRequestnow properly creates an
AgaviUploadedFileobject with STDIN contents (when configured to read those) instead of a plain array.
The timezone database was updated to version 2011n.