MasonX::Interp::WithCallbacks 1.11

David Wheeler <[email protected]> Wed, 8 Oct 2003 13:24:14 -0700
Newsgroups gmane.comp.web.mason.announce
Message-ID <[email protected]>
I'm pleased to announce the release of MasonX::Interp::WithCallbacks 
1.11, now making its way to your favorite CPAN mirror. This release 
fixes a number of minor issues and one major issue. The one major issue 
is actually addressed by the release of Params::CallbackRequest 1.11. 
It seems that request callback methods weren't getting executed in the 
order in which they're declared in their modules. Perl 5.8.1's hash 
randomization highlighted this issue for me. 
MasonX::Interp::WithCallbacks 1.11 therefore requires 
Params::CallbackRequest 1.11.

Here's a list of other recent changes:

Revision history for Perl extension MasonX::Interp::WithCallbacks.

1.11  Wed Oct  8 20:12:20 2003
       - Require Class::Container 0.09 or later. It seems that older 
versions
         don't work properly.
       - Updated Apache test to skip tests if the Apache server doesn't 
run
         mod_perl. Suggesed by Geoffrey Young.
       - Stopped checking for presence of LWP in Apache tests, since
         Apache::TestClient should work fine for the simple test 
requests.
       - The module now requires HTML::Mason 1.23, rather than just the
         requirements in Makefile.PL.
       - Require Params::CallbackRequest 1.11 or later to be in sync with
         request callback order of execution.
       - Fixed failing tests of notes functionality under Apache. Not 
sure
         how they ever passed, frankly.

1.10  Mon Sep  8 21:15:42 2003
       - Code moved over from MasonX::ApacheHandler::WithCallbacks, 
which is
         deprecated. Differences from that class are as follows.
       - Callback handling code from 
MasonX::ApacheHandler::WithCallbacks has
         been migrated to Params::CallbackRequest.
       - Code from MasonX::CallbackHandler has been migrated to
         Params::Callback.
       - MasonX::CallbackTester has been removed, since it isn't 
necessary
         in a non-mod_perl environment.
       - Params::CallbackRequest::Exceptions supplies the exceptions 
thrown
         by Params::CallbackRequest, since that module is not strictly
         connected to Mason.
       - Changed the request_args() accessor from 
MasonX::CallbackHandler to
         params() in Params::Callback, to reflect the idea that this is a
         generic parameter-triggered callback architecture.
       - Replaced the ah() accessor, since the callback controller isn't 
a
         Mason ApacheHandler anymore, with cb_request() in 
Params::Callback.
       - Added cb_request() accessor to MasonX::Interp::WithCallbacks.
       - Replaced the "exec_null_cb_values" parameter from
         MasonX::ApacheHandler::WithCallbaks, which had defaulted to 
true,
         with "ignore_nulls" in Params::CallbackRequest, which defaults 
to
         false.
       - Added Params::CallbackRequest notes() interface, which copies 
all
         notes to the Mason request notes() interface before the request
         executes.

Enjoy!

David

-- 
David Wheeler                                     AIM: dwTheory
[email protected]                              ICQ: 15726394
http://www.kineticode.com/                     Yahoo!: dew7e
                                                Jabber: [email protected]
Kineticode. Setting knowledge in motion.[sm]



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php