Maypole 2.12 release

TeeJay on 2007-06-22T11:48:59

Maypole 2.12 has just been uploaded to CPAN, you should be able to download it shortly.

Here's the changelog :

Bug Fixes : Fixed some db_colinfo test bugs Fixed typo in edit form template AsForm fixes to stringification _to_select made DFV and FromCGI warn instead of die on unexpected cgi params small improvements to some factory templates fix to path handling in mod_perl and CGI when location ends in / fixed template path ordering so i.e. /tablename/list is used before /list when provided with a tablename fixed template path with array refs fix to template being reset from path in plain templates (i.e. where no model), may affect those relying on the bug ( bug 23722 ) fix to display_line macro in factory templates (bug 22920) fix to correct problem with LocationMatch and regex based Location directives in apache config. fix to redirect_request Fixed typo in _do_update_or_create (bug 26495)

API additions and enhancements : new Class::DBI::DFV based model New config method : additional, for stashing additional info, especially from additional_data method new warn method in maypole/request class/object, over-ridden by Apache::MVC, etc or own driver new build_form_elements attribute for Maypole request and Maypole::Config, set it to 0 to avoid building cgi form if you don't need it added CGI params to TT error template improvements to factory templates added search_columns method to base cdbi model class, provides display_columns unless over-ridden added new hook - preprocess_location added new attribute to Maypole::Config - request_options improved pager template macro

Internal additions and enhancements : Inheritence simpler and nicer and less hacked add_model_superclass method moves @ISA munging into the model new test to check everything compiles Model inheritance re-organised