Agavi 1.0.7 RC1 released!
Agavi 1.0.7-RC1 is now available for download at www.agavi.org and via the PEAR channel.
As always, the CHANGELOG has the full story, but here is a summary of the most important changes:
The
getCredentials()method on an Action is no longer called unconditionally (i.e. whether or not theisSecure()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 togetConnection()will cause a reconnect.AgaviTesting::dispatch()can now callexit()? 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, andAgaviConsoleRequestnow properly creates anAgaviUploadedFileobject with STDIN contents (when configured to read those) instead of a plain array.The timezone database was updated to version 2011n.

