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.
Release Notes: Compatibility with CGI::Application::Server was improved. Typographical errors were fixed.
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.