Hello everyone,

Agavi 1.0.7 is now available for download at http://www.agavi.org/ and through 
the PEAR channel at http://pear.agavi.org/

The release contains just two minor changes over RC2, so I'll simply quote from 
the final release notes:

The 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".

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.

AgaviFormPopulationFilter will now populate multiple forms in the order 
specified in the "populate" request attribute (when populating via an array 
with form IDs as keys and parameter holders as values) in namespace 
"org.agavi.filter.FormPopulationFilter"); however, if the value for a key in 
the "populate" array is boolean true (to re-populate from request data), this 
form will always be handled first, so error messages are inserted on that form 
first.

Testing is now compatible with both PHPUnit 3.5 and 3.6. If you want to specify 
code coverage filters, AgaviTesting::getCodeCoverageFilter() returns the 
correct instance (singleton or not depending on the PHPUnit version) for you to 
use. A base constraint class named 
"AgaviBaseConstraintBecausePhpunitSucksAtBackwardsCompatibility" can be used 
for constraints that work with both PHPUnit 3.5 and 3.6; if you implement the 
new matches() method introduced in PHPUnit 3.6 instead of the old evaluate(), 
it will automatically be called in the proper fashion depending on the PHPUnit 
version.

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 to false, is set to true. If set to false, 
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 AgaviConsoleRequest now properly creates an AgaviUploadedFile 
object with STDIN contents (when configured to read those) instead of a plain 
array. The PHPTAL renderer now supports configuration of character encoding via 
parameter "encoding".

The timezone database was updated to version 2011n.

As always, check the CHANGELOG for the full list of enhancements, changes and 
fixes.

Enjoy,

David


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Agavi Dev Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/dev

Reply via email to