CGI-Application-Plugin-AnyTemplate
view release on metacpan or search on metacpan
- fixed fill() so that when it is called without parameters, it
does not set the filename to undef.
- changed skip_libs to prereq_scenarios (and removed the scenarios
from the distribution)
- added new scenario for old CAP::Forward
0.15 Oct 03, 2005
- include fix to work with old version of CAP::Forward that
doesn't always install its hooks properly.
0.14 Sep 25, 2005
- added template_filename_generator
- minor doc fix
0.13 Sep 14, 2005
- fixd bug where clear_params didn't work (Wojciech Pietron)
- fixed typos in docs regarding include_paths and
add_include_paths (Wojciech Pietron)
- minor doc fix
0.12 Sep 13, 2005
- added return_references option, defaulting to true.
- changed load_tmpl to always return a string, rather than a
reference
- added documentation indicating that output returns a reference
by default
0.11 Sep 08, 2005
- fixed a bug fill/process when called with a single non-hashref
argument. The following used to be broken; now they DWIM:
$self->template->fill('filename');
$self->template->fill(\$template);
- fixed a bug in template_post_process that has been there since
the beginning. The callback was being called as:
template_post_process($self, \$output) # wrong!
But it was documented as:
template_post_process($self, $template, \$output) # right!
It's been fixed to match the documentation.
0.10 Aug 17, 2005
- This is a major new release with a lot of new features and
some incompatible API changes.
The new features are:
* new driver (HTMLTemplatePluggable) has support for
HTML::Template::Pluggable and HTML::Template::Plugin::Dot
* AnyTemplate can now optionally provide a load_tmpl method
like the one built into CGI::Application, so that old code
can get the benefit of AnyTemplate.
* added support for the load_tmpl hook
* test suite should be less fragile for users who don't have
all of the templating modules installed
The incompatibilities are:
* associate_query off by default
* associate_query now deprecated
* CAP::Forward now required
* default template names determined from $self->current_runmode, not
from the name of the calling sub
* template_pre_process and template_post_process now need to be
explicitly registered with $self->add_callback()
* tmpl_path is respected
- for more info on these changes see the changelog below for the developer
versions released since 0.08
0.10_06 Aug 17, 2005 [**DEVELOPER RELEASE**] [unreleased]
- added an explit test to see if HTML::Template::Plugin::Dot works
0.10_05 Aug 13, 2005 [**DEVELOPER RELEASE**]
- fixed a bug in the tests for testing module prerequisites
- it is now possible to run the test suite while simulating the
absense of specific templating modules. To run the test suite
multiple times (each with a different selection of absent
modules), run:
$ perl misc/prove_without_modules.pl t/*.t
To customize this process, see the instructions at the top of
misc/prove_without_modules.pl
0.10_04 Aug 13, 2005 [**DEVELOPER RELEASE**]
- new driver HTMLTemplatePluggable has support for
HTML::Template::Pluggable and HTML::Template::Plugin::Dot
(thanks to Mark Stosberg for starting the driver)
0.10_03 July 27, 2005 [**DEVELOPER RELEASE**]
- moved 'forward' to its own module: CGI::Application::Plugin::Forward
- changed instances of 'use base' to use... and @ISA to be kinder to old Perls
- made hook-based tests skip if installed CGI::Application
doesn't support hooks
0.10_02 July 25, 2005 [**DEVELOPER RELEASE**]
- wrapped usage of CGI::Application's callback system in
if ($webapp->can('call_hook')) { ... }
...or equivalent, so CGI::Application 4.x is not required.
0.10_01 July 25, 2005 [**DEVELOPER RELEASE**]
- this version has several API changes that are not backwards compatible:
- template names used to be automatically determined from the name
of the calling subroutine:
sub my_runmode {
my $self = shift;
$self->other_method;
}
sub other_method {
( run in 1.771 second using v1.01-cache-2.11-cpan-b16cb0d3907 )