Release Notes: A cgiapp_postrun() hook was added, which allows run-mode output to be "pipelined" through optional filters, modifying the content and HTTP headers, if so desired. header_type("none") was added to suppress HTTP header output. A bug where non-CGI.pm query objects couldn't be set at initialization time via the new() method was fixed. The dump_html default run-mode was changed to be referenced by name instead of sub-ref, allowing it to be overridden in a sub-class. The current run-mode was added to the output of dump() and dump_html().
Release Notes: The run() method was changed to use Perl's built-in dynamic method call for all run modes, whether by name or by code ref. This is intended to improve run-time performance. A new overridable method cgiapp_get_query() was added. It is possible to override the cgiapp_get_query() method to return an object of some other module besides CGI.pm, providing that it is sufficiently compatible. The run_modes() method was changed to allow a list of run-modes to be designated via an array reference. This will automatically create a run-modes table which maps from a run-mode to a run-mode method of the same name.
Release Notes: The capability to change the current run-mode has been added to cgiapp_prerun(). By calling prerun_mode() you can dynamically modify which mode will be called based on specific criteria. The tmpl_path() method has been modified to more intuitively dovetail into HTML::Template's PATH parameter. The documentation has been refined to be more easily understood by new users.
Release Notes: A new API hook, cgiapp_prerun(), has been added. This hook is called just before the run-mode is invoked. This method receives the name of the current run-mode as an argument. A new module, CGI::Application::Mailform, was added. This module is an example of how to use CGI::Application, and it is intended to be very easy to reuse, while still being secure and functional enough to replace some of the more onerous "form mail" scripts.
Release Notes: The param() method has been extended to allow multiple parameters to be set at one time via a hash (or hashref). A bug in the run() method where a null-string run-mode would be considered valid was fixed. A zero-length run-mode will now result in the start_mode() being called. The run_mode() method now may be called subsequently to amend the list of run-modes.
Release Notes: The mode_param() method now allows you to specify a call-back (via sub-ref) instead of a CGI parameter to retrieve the run-mode. A special (optional) run-mode of last resort, "AUTOLOAD", has been added which will catch the exception when an unspecified run-mode is called. Run-mode methods may return scalar-refs instead of scalars. HTML::Template is loaded only when (and if) load_tmpl() is called.
Release Notes: This release has enhanced capabilities for creating general superclasses for your projects. All run modes may be referenced by method name, in addition to subref. cgiapp_init() hook has been created to allow for inherited common behaviors. Minor bugs in default values have been fixed. The docs have been updated to favor new name-based run-mode method references.