X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=Changes;h=940512dd96b39cefde76def8f15ea52b1d163391;hb=745badbb1417451398a0f983c450fd8725794f65;hp=fd9999af32be02fd90889f4d8f28a6349bd5c86e;hpb=41a93152a01bdeab5ada42fd423f985554ade78e;p=maypole.git diff --git a/Changes b/Changes index fd9999a..940512d 100644 --- a/Changes +++ b/Changes @@ -9,14 +9,20 @@ Deprecated: in $r->params, or anything else, is DEPRECATED and likely to break in future releases. Be good, and use proper method calls. + Maypole no longer uses Class::DBI::AsForm, instead Maypole::Model::CDBI::AsForm + has replaced it. + Incompatible API changes: - Maypole: - - is_applicable() renamed to is_model_applicable(), and returns boolean - instead of a status code. Old-style is_applicable() will still work, - but issues a warning. + Maypole + - is_applicable() deprecated for is_model_applicable(). is_applicable is + an alias for is_model_applicable now. + Maypole::Constants + - ERROR constant now 500, previously -1 (bug #18901) Maypole::Model - delete and search actions are now deprecated - use do_search and do_delete instead + Maypole::View + - table name rather than moniker is used to find templates API additions and enhancements: Maypole::Application: @@ -40,6 +46,9 @@ API additions and enhancements: - added make_path() - added make_uri() - improved exception handling + - now uses File::MMagic::XS to guess mime type of output unless already set + - new component method provides Maypole::Component functionality + - new object method gets/sets first/only object in objects Maypole::Model - do_delete, do_search in place of delete/search actions Maypole::View::TT: @@ -50,6 +59,9 @@ API additions and enhancements: - Improved factory templates - added the status() attribute, although it's not used in many places yet + - Changed factory edit/view to use object instead of objects + Maypole::Model::CDBI + - improved error messages in do_edit action Bug fixes: Fix to cgi_maypole.t (bug 11346) @@ -68,6 +80,10 @@ Bug fixes: Factory templates now less vulnerable to XSS (bug 16659) Reduced risk of XSS in factory templates (bug 16659) model search/delete methods in model and subclassing the cdbi mode (bug 16661) + fixed problems with stringify_self and untaint missing ignore columns (bug 15678) + fixed Maypole::Model::CDBI::Plain to JustWork(TM) with plain CDBI Classes (bug 16977) + some silent death scenarios resolved + Now initializes template_args, stash, parmas, objects and others to correct data type. (bug 15147) Documentation: Fix to documentation for CGI::Maypole (bug 7263) @@ -80,9 +96,11 @@ Documentation: Added Maypole::Manual::Terminology - updated Maypole::Manual::View - updated Maypole::View:TT + Examples of fancy forms and templates using new features Requirements: HTTP::Body now required + CGI::Untaint >= 1.26 now required rather than >= 0 2.10 Tue 19 Jul 2005