X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDelta.pod;h=bbc1a364ac0062c46c5bbcedd37a6e9d523d57b7;hp=e1d89c64479430252a5a4ffd0abdecaccfd83648;hb=c1192f1ed63f124eb2d143e10b215703e7dc6284;hpb=566678d0245e49d7f2f1abce553b5bdb87879086 diff --git a/lib/Catalyst/Delta.pod b/lib/Catalyst/Delta.pod index e1d89c6..bbc1a36 100755 --- a/lib/Catalyst/Delta.pod +++ b/lib/Catalyst/Delta.pod @@ -7,6 +7,23 @@ Catalyst::Delta - Overview of changes between versions of Catalyst This is an overview of the user-visible changes to Catalyst between major Catalyst releases. +=head2 VERSION 5.90090+ + +=head2 Type constraints on Args and CaptureArgs. + +You may now use a type constraint (using L, L or preferably +L in your Args or CaptureArgs action attributes. This can be used +to restrict the value of the Arg. For example: + + sub myaction :Local Args(Int) { ... } + +Would match '.../myaction/5' but not '.../myaction/string'. + +When an action (or action chain) has Args (or CaptureArgs) that declare type constraints +your arguments to $c->uri_for(...) must match those constraints. + +See L for more. + =head2 VERSION 5.90080+ The biggest change in this release is that UTF8 encoding is now enabled by @@ -19,6 +36,8 @@ If this change causes you trouble, you can disable it: __PACKAGE__->config(encoding=>undef); +For further information, please see L + But please report bugs. You will find that a number of common Views have been updated for this release (such as L). In all cases that the author is aware of these updates were to fix test cases only. You shouldn't