From: John Napiorkowski Date: Thu, 26 Mar 2015 01:27:25 +0000 (-0500) Subject: more work on docs X-Git-Tag: 5.90089_002~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=cbe1376093c9b39392c907e2444f3044de091877 more work on docs --- diff --git a/Changes b/Changes index e1eaea0..3bcb925 100644 --- a/Changes +++ b/Changes @@ -4,7 +4,11 @@ - New Feature: Type Constraints on Args/CapturArgs. ALlows you to declare a Moose, MooseX::Types or Type::Tiny named constraint on your Arg or CaptureArg. - - New top level document on Route matching. (Catalyst::RouteMatching). + - When using $c->uri_for (or the derived $c->uri_for_action) and the target + action has type constrainted args (or captures), verify that the proposed + URL matches the defined args. + - New top level document on Route matching. (Catalyst::RouteMatching). This + document is still in development, but is worth review and comments, please! 5.90085 - 2015-03-25 - Small change to Catalyst::Action to prevent autovivication of Args value (dim1++) diff --git a/lib/Catalyst/Delta.pod b/lib/Catalyst/Delta.pod index 0f0d4f2..f480a87 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 +Luri_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 diff --git a/t/arg_constraints.t b/t/arg_constraints.t index 8d74aa8..505d069 100644 --- a/t/arg_constraints.t +++ b/t/arg_constraints.t @@ -362,10 +362,6 @@ SKIP: { =cut - -done_testing; - -__END__ { # URI testing my ($res, $c) = ctx_request '/'; @@ -376,3 +372,8 @@ __END__ warn $url2; } +done_testing; + +__END__ + +