----- Original Message -----

> From: Robert Rothenberg <[email protected]>
> To: The elegant MVC web framework <[email protected]>
> Cc: 
> Sent: Thursday, February 28, 2013 9:10 AM
> Subject: Re: [Catalyst] [ANNOUNCE] Catalyst-Runtime 5.90020
> 
> On 28/02/13 13:40 Alexander Hartmaier wrote:
>>  The Catalyst team is proud to announce the latest version of 
> Catalyst::Runtime.
>>  John Napiorkowski wrote a great blog post [1] about its new features and
>>  asks for your comments and suggestions for upcoming features.
>> 
>>  |  ||! Catalyst::Action now defines 'match_captures' so it is no 
> long
>>  considered|
>>  |    ||an optional method.  This might break you code if you have made 
> custom|
>>  |    ||action roles/classes where you define 'match_captures'.  You 
> must change|
>>  |    ||your code to use a method modifier (such as 'around').|
>>  |  ||-| |New match method "Method($HTTP_METHOD)" where 
> $HTTP_METHOD in (GET,
>>  POST,|
>>  |    ||PUT, HEAD, DELETE, OPTION) and shortcuts in controllers called 
> "GET,
>>  POST|
>>  |    ||PUT, HEAD, DELETE, OPTION").  Tests and documentation.  Please 
> note
>>  if you|
>>  |    ||are currently using Catalyst::ActionRole::MatchRequestMethods there 
> may|
>>  |    ||be compatibility issues.  You should remove that actionrole since 
> the
>>  built|
>>  |    ||in behavior is compatible on its own.|
>>  |  ||-| |Initial debug screen now shows HTTP Method Match info|
>>  |  ||-| |security fixes in the way we handle redirects|
>>  |  ||-| |Make Catalyst::Engine and Catalyst::Base immutable|
>>  |  ||-| |Some test and documentation improvements|
>> 
>> 
> 
> Will this break Catalyst::Action::REST?

It should not because CAR works totally differently.  However if you are using 
Catalyst::ActionRole::MatchMethods
you no longer need to because this change basically cored that functionality.

The new http method matching role is only applied when the dispatcher notices 
you've used one of the new subroutine attributes.  So unless you've done some 
custom action roles that use GET, POST, etc. you should have no trouble.

As always I recommend you test before sending this to production.  And complain 
hard if you find problems.

John

> 
> 
> 
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
> 
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to