Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Path::Router
2
3 0.15 2016-03-01 NEILB
4 - Switched to Moo, done by FELLIOTT++.
5 - Added strict and warnings to Path::Router::Types - MANWAR++
6 - Specified versions when use'ing any third-party modules.
7 - Added minimal doc for route_class() method in Path::Router,
8 and clone() method in Path::Router::Route.
9 - Updated Stevan's email address.
10
11 0.14_01 2015-07-03
12 - Switched to Moo, done by FELLIOTT++.
13 - Specified versions when use'ing any third-party modules.
14 - Temporarily dropped NextRelease and Git::NextVersion from the @DOY
15 bundle, so I can specify a developer release version.
16 - Added minimal doc for route_class() method in Path::Router,
17 and clone() method in Path::Router::Route.
18 - Updated Stevan's email address.
19
20 0.14 2015-01-13
21 - localize $SIG{__DIE__} so that our exception based
22 flow control does not mess up, or get messed up by,
23 application exception handling
24 - thanks to Tim Bunce for finding and reporting
25 this issue
26
27 0.13 2014-08-24
28 - Allow path components to be false values (doy)
29 - added tests for this
30
31 0.12 2012-07-16
32 - Fix matching on variable path components with a path where the variable
33 part evaluated to false (for instance, matching '/blog/show/:id' against
34 '/blog/show/0'). Reported by Clay Fouts (RT#78388). (doy)
35
36 0.11 2011-10-03
37 - *POSSIBLE BACKWARDS INCOMPATIBILITY*
38 When using uri_for, a match is considered more exact if it is also
39 missing items from the path descriptor that don't appear in the route's
40 defaults or variables. For instance, if a router has /foo with defaults
41 of { 'a' => 'b' } and /bar with defaults of { 'a' => 'b', 'c' => 'd' },
42 then ->uri_for({ 'a' => 'b' }) will always return /foo. Previously, it
43 would return one of them arbitrarily, depending on the definition order.
44 Also, if this new rule doesn't result in a single route being matched
45 (for instance, if /foo had defaults of { 'a' => 'b', 'e' => 'f' }), then
46 an exception will be thrown.
47 - *POSSIBLE BACKWARDS INCOMPATIBILITY*
48 When using match, a path will be considered more exact if it matches more
49 required non-variable path components. For instance, if a router has
50 /foo/bar and /foo/:bar, then ->match('/foo/bar') will always match
51 /foo/bar (and not /foo/:bar). Previously, it would return one of them
52 arbitrarily, depending on the definition order. Also, if this new rule
53 doesn't result in a single route being matched (for instance, if the
54 router contained /:foo/bar and /foo/:bar), then an exception will be
55 thrown.
56 - Warn when creating validations that don't correspond to a path element
57 - Convert to Dist::Zilla
58
59 0.10 Wed. Jan. 12, 2011
60 * Path::Router
61 - route_class attribute, to allow easy subclassing
62 (thanks to Dylan Hardison)
63
64 0.09 Thurs. Dec. 10, 2009
65 * Path::Router
66 - fixing a minor problem with the path
67 generator and optional parts
68
69 0.08 Tues. Dec. 8, 2009
70 * Path::Router
71 - added the include_router method
72 to allow inclusion of other routers
73 - added tests and docs for this
74
75 0.07 Tues. Mar. 10, 2009
76 * Path::Router::*
77 - lots of code re-written by Daisuke Maki
78 resulting in an 150% speed increase
79 - matching code is now inlined by default
80 but inlining can be turned off if needed
81 * Path::Router
82 - added insert_route to allow more fine grained
83 control over route ordering (Daisuke Maki)
84 * tests
85 - do not run pod tests unless testing a release
86
87 0.06 Sat. January 10, 2009
88 * Path::Router
89 - fix bug with >1 optional path component
90 - simplify and completely redo uri_for matching
91
92 0.05 Sat. January 3, 2009
93 * Path::Router
94 - refinements to match correctly in more uri_for edge cases
95 * Test::Path::Router
96 - minor display improvements
97
98 0.04 Fri. January 2, 2009
99 * Path::Router
100 - fix uri_for to return undef on match failure instead of ''
101 (empty string)
102
103 0.03 Wed. July 16, 2008
104 * Path::Router::Shell
105 - fixed spelling of Term::ReadLine (RT #37693)
106
107 0.02 Mon. July 14, 2008
108 * Path::Router
109 - changed DEBUG from a constant sub to $DEBUG
110 a package variable. This is a new module and
111 so easy debugability is important.
112
113 * Path::Router::Route
114 - silly fix to make sure exact paths will match
115 - added tests for this
116
117 0.01 Sat. July 12, 2008
118 - copied Ruby on Rails Router, but make it
119 ... better, stronger, faster