pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/p5-Catalyst-Runtime

Module Name:    pkgsrc
Committed By:   rhaen
Date:           Thu Jan 26 13:47:48 UTC 2012

Modified Files:
        pkgsrc/www/p5-Catalyst-Runtime: Makefile distinfo

Log Message:
Updated to 5.90007

5.90007 - 2011-11-22 20:35:00

  New features:
   - Implement a match_captures hook which, if it exists on an action,
     is called with the $ctx and \@captures and is expected to return
     true to continue the chain matching and false to stop matching.
     This can be used to implement action classes or roles which match
     conditionally (for example only matching captures which are integers).

  Bug fixes:
   - Lighttpd script name fix is only applied for lighttpd versions
     < 1.4.23. This should fix non-root installs of lighttpd in versions
     over that.
   - Prepare_action is now inside a try {} block, so that requests containing
     bad unicode can be appropriately trapped by

5.90006 - 2011-10-25 09:18:00

  New features:
   - A new 'run_options' class data method has been added to
     This is used to store all the options passed by scripts, allowing
     application authors to add custom options to their scripts then
     get them passed through to the application.

   - Clarify that if you manually write your own .psgi file, then optional
     proxy support (via the using_frontend_proxy config value) will not be
     enabled unless you explicitly apply the default middlewares from
     Catalyst, or you apply the middleware manually.

  Bug fixes:
   - Fix issue due to perl internals bugs in 5.8 and 5.10 (not present in
     other perl versions) require can pass the context inappropriately,
     meaning that some methods of loading classes can fail due to void
     context being passed throuh to make_immutable, causing it to not return
     a value.
     This bug caused loading Catalyst::Script::XXX to fail and is fixed
     both by bumping the Class::Load dependency, and also adding an explicit
     '1;' to the end of the classes, avoiding the context issue.

   - Fix using_frontend_proxy support in mod_perl by using the psgi wrapped
     in default middleware in mod_perl context, rather than the raw psgi.

5.90005 - 2011-10-22 13:35:00

  New features:

   - $c->uri_for_action can now take an array of CaptureArgs and Args
     If you have an action which has both, then you can now say:
     $c->uri_for_action('/myaction', [@captures, @args]);
     whereas before you had to say:
     $c->uri_for_action('/myaction', [@captures], @args);
     The previous form is still supported, however in many cases it is
     easier for the application code to not have to differentiate between
     the two.

   - Catalyst::ScriptRunner has been enhanced so that it will now
     load and apply traits, making it easier to customise.
     - MyApp::TraitFor::Script (if it exists) will be applied to all
       scripts in the application.
     - MyApp::TraitFor::Script::XXXX will be applied to the relevant script
       (for example MyApp::TraitFor::Script::Server will be applied to
       MyApp::Script::Server if it exists, or Catalyst::Script::Server


   - Document how to get the vhost of the request in $c->req->hostname
     to avoid confusion
   - Remove documentation showing Global / Regex / Private actionsi
     as whilst these still exist (and work), they are not recommended.
   - Remove references to the -Engine flag.
   - Remove references to the deprecated Catalyst->plugin method
   - Spelling fixed (and tested) throughout the documentation
   - Note that wrapping the setup method will not work with method modifiers
     and provide an alternative.

5.90004 - 2011-10-11 17:12:00

  Bug fixes:

   - Don't guess engine class names when setting an engine through

5.90003 - 2011-10-05 08:32:00
  Bug fixes:

   - Make default body reponses for 302s W3C compliant. RT#71237

   - Fix issue where groups of attributes to override controller actions
     in config would be (incorrectly) overwritten, if the parser for that
     attribute mangled the contents of the attribute. This was found
     with Catalyst::Controller::ActionRole, where Does => [ '+Foo' ]
     would be transformed to Does => [ 'Foo' ] and written back to config,
     whereas Does => '+Foo' would not be changed in config. RT#65463


   - Set a matching Content-type for the redirect if Catalyst sets the
     body. This is for compatibility with a WatchGuard Firewall.

  Backward compatibility fixes:

   - Restore (an almost empty) Catalyst::Engine::HTTP to the dist for old
     scripts which explictly require Catalyst::Engine::HTTP

  Documentation fixes:

   - Document Catalyst::Plugin::Authentication fails tests unless
     you use the latest version with Catalyst 5.9

   - Clarify that prepare is called as a class method

   - Clarify use of uri_for further. RT#57011

To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/www/p5-Catalyst-Runtime/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/p5-Catalyst-Runtime/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index