Debian Codegraph @

Changes

raw
1 Revision history for Perl extension CGI::Application::Dispatch.
2
3 3.12 September 10th, 2012
4 [BUG FIXES]
5 - Further fix diagnostic message in some cases when exceptions are thrown. (Michael Lackhoff)
6
7 3.11 September 10th, 2012
8 (No code changes)
9
10 [INTERNALS]
11 - Fixed test for rethrowing HTTP::Exception objects (Graham TerMarsch)
12
13 3.10 September 2nd, 2012
14 [NEW FEATURES]
15 - CGI::Application::Dispatch::PSGI now allows exceptions thrown as HTTP::Exception objects
16 to bubble up in some cases. See the new documentation section on "Exception Handling"
17 for details. (Mark Stosberg, Graham TerMarsch, RT#79022)
18
19 [BUG FIXES]
20 - When auto_rest was enabled and no run mode was found, a 404 could have been returned
21 instead of defaulting to start mode. We now correctly default to the start_mode().
22 (James Q.L., Ron Savage, Mark Stosberg)
23
24 [DOCUMENTATION]
25 - Docs have been expanded to explain how /foo/:rm? resolves, and interaction
26 with start_mode() when no run mode is found. (Mark Stosberg)
27
28 [INTERNALS]
29 - Fix diagnostic message in some cases when exceptions are thrown (Michael Lackhoff)
30 - Added test coverage for auto_rest to CGI::Application::Dispatch::PSGI (Mark Stosberg)
31 - POD formatting fix in Dispatch.pm
32 - Fix Perl 5.14 compatibility warning (chorny, [email protected], [email protected])
33
34 3.07 September 9th, 2011
35 Fix t/cgi.t test failures caused by Try::Tiny refactor in 3.05 (Yoshihiro Sasaki)
36
37 3.06 September 9th, 2011
38 Typo fix in "use" statement, introduced in 3.05 (Nicholas Bamber)
39
40 3.05 September 5th, 2011
41 Removed Exception::Class::TryCatch with the already required Try::Tiny thereby eliminating
42 one dependency. (Timothy Appnel)
43
44 3.04 June 29th, 2011
45 No code changes.
46
47 [DOCUMENTATION]
48 - spelling fixes (Nicholas Bamber)
49
50 3.03 June 25th, 2011
51 No code changes.
52
53 [INTERNALS]
54 - further dependency refinement and a typo fix. (Nicholas Bamber)
55
56 3.02 June 24th, 2011
57 No code changes.
58
59 [INTERNALS]
60 - further refined dependency definitions. (Nicholas Bamber)
61
62 3.01 Jun 23, 2011
63 No code changes.
64
65 [INTERNALS]
66 - Fixed Build.PL issue that was causing tests to fail in a lot of environments. (Brad Oaks)
67 - cleaned up MANIFEST
68
69 3.00 Jun 16, 2011
70 [FEATURES]
71 - PSGI support is improved. CGI::Application::Dispatch is now been
72 rewritten and is included in this distribution. It is no longer a
73 wrapper around the older dispatcher, but is completely PSGI-native.
74 Performance should be improved a bit as well.
75
76 [THINGS THAT MIGHT BREAK YOUR CODE]
77 As part of the significant update to PSGI support, you'll need to update a
78 couple lines of code in your "dispatch.cgi" script if you were using an
79 older version of CGI::Application::Dispatch::PSGI. See the section on
80 "Backwards Compatibility" in that documentation.
81
82 [INTERNALS]
83 - CGI::Application 4.5 is now required for the newer native PSGI support.
84
85 - Exceptions in CGI::Application::Dispatch::PSGI are now handled with
86 HTTP::Exception. This in turn depends on HTTP::Status, which is
87 currently in a distribution which depends on HTML::Parser, which depends
88 having a C-compiler available. I don't consider this ideal, as I'd like
89 to be able to support the easy installation of a pure-Perl
90 CGI::Application stack. This could possibly be addressed in the future by
91 removing the false dependency on a C-compiler from HTTP::Status, or we
92 could return to use Exception::Class directly for exception handling.
93
94 The except format of the default thrown exceptions may change in the
95 future.
96
97 2.18 Sep 9, 2010
98 - Update Build.PL to require a newer version of "version", to address
99 a rare installation problem. (RT#56283) Thanks to Jim Brandt and others.
100
101 2.17 Dec 30, 2009
102
103 - Update examples to use FindBin::Real instead of FindBin, since FindBin is not
104 fully mod_perl compatible. (Mark Stosberg)
105 - Fix typo in POD (Alexander Becker)
106
107 2.16 Mar 23, 2009
108 - Fix: "$app->run() error handler breaks exception objects." RT#43340 (dekimsey)
109 - Documentation improvements (Dave Baker, thinc)
110 - remove "Makefile.PL", which appears to related to some test failures. Build.PL
111 seems to work reliably. If removing Makefile.PL is a problem for you, maybe you have
112 a better solution to RT#39793: https://rt.cpan.org/Ticket/Display.html?id=39793
113 (Mark Stosberg)
114
115 2.15 Dec 4, 2008
116 - Logging improvement: Quit duplicating $ENV{REQUEST_URI} for Not Found requests (Mark Stosberg)
117 - Logging improvement: Remove stray "'" character (Mark Stosberg)
118
119 2.14 Nov 2, 2008
120 - New feature: $ENV{PATH_INFO} is now abstracted through dispatch_path(). (RT#34069, Bradley Bailey)
121 - Attempted fix for "Couldn't open t/TEST.PL" error, RT#39793. Add comments to that ticket
122 if you still have "make test" problems with Apache::Test. (Puneet Kishor, Kevin, Mark Stosberg)
123 http://rt.cpan.org/Public/Bug/Display.html?id=39793
124
125 2.13 Sep 16, 2008
126 - Fixing various install issues by having a dumber Makefile.PL and Build.PL
127 (#37859, Thanks to lkundrak)
128
129 2.12 Jan 03, 2007
130 - Creating our own Makefile.PL instead of relying on create_makefile_pl
131 - Fixed test problems with GET() not being exported by implicitly by some
132 versions of Apache::Test
133 - Fixed RT #32037 and clarifying some documentation
134
135 2.11 Oct 11, 2007
136 - Fixed RT #30135 by using "slash" and "backslash" properly [Ricardo Signes and Michael Peters]
137 - Fixed RT #30134 [Ricardo Signes and Michael Peters]
138 - Fixed RT #28979 [GTERMARS]
139 - Fixed RT #25298 [[email protected] and Michael Peters]
140 - Fixed RT #25297 [[email protected] and Michael Peters]
141 - Fixing cpan install problem with autogenerated Makefile.PL
142 - Fixing failing test when IO::Scalar is not installed
143
144 2.10 Jan 15, 2007
145 - Added REST support with 'auto_rest', 'auto_rest_lc' and '[METHOD]' support in dispatch rules [Michael Peters]
146 - Added wildcard matching token to dispatch rules [Shawn Sorichetti]
147 - Removed url caching [Michael Peters, Timothy Appnel]
148 - Documentation fixes in examples [dsteinbrunner, ZACKSE and Stew Heckenberg]
149
150 2.03 Sep 29, 2006
151 - When running a cached URL, we were mistakenly using the '$r' object
152 from the cached request instead of the newly given one under mod_perl.
153
154 2.02 Aug 16, 2006
155 - args_to_new were not merging PARAMS properly [Michael Peters]
156
157 2.01
158 - Improved docs for CGI::Application::Dispatch::Regexp, including
159 a typo fix in the Synopsis. [Mark Stosberg]
160 - Fixed bug in mod_perl 2 where status/error codes were sent to the browser
161 after the content [Michael Peters]
162
163 2.00 Jul 3rd, 2006
164
165 - Some errors in run() execution were being silently ignored [Michael Peters]
166 - POD correction [Ron Savage]
167 - When the PATH_INFO can't be parsed, a proper 404 is returned instead of
168 an internal server error. [Mark Stosberg]
169 - Fix error page printing. [Mark Stosberg]
170 - Added experimental CGI::Application::Dispatch::Regexp to distribution
171
172 2.00_05
173 - Fully working on mod_perl 2
174 - Using Exception::Class internally to handle exceptions instead of passing around return codes
175 - Added 'not_found' option to dispatch()
176 - Added more flexible error handling [Viacheslav Sheveliov]
177 - Improve mod_rewrite examples [Mark Stosberg]
178 - removed now unused variables [Viacheslav Sheveliov]
179 - speed up some of the rule-to-regex processing [Viacheslav Sheveliov]
180
181 2.00_04
182 - handler() now sends a 404 if the run mode can't be found either
183 - some environments don't set the PATH_INFO if it's blank, so handle that better
184 - added _get_cache() and _set_cache() protected methods to further help subclassing [Viacheslav Sheveliov, Michael Peters]
185 - now passing same args passed from dispatch() into dispatch_args() [Viacheslav Sheveliov, Michael Peters) ]
186 - Added built-in 404 page if no application is found to dispatch to. [Mark Stosberg]
187
188 2.00_03
189 - Added cache of REQUEST_URI -> dispatch mapping [Mark Stosberg, Michael Peters]
190 - fixed local args_to_new overrides [Mark Stosberg]
191 - added support for debug flag to dispatch() [Mark Stosberg]
192
193 2.00_02
194 - Added optional-variable tokens to dispatch tables
195 - added more docs and examples for dispatch tables
196
197 2.00_01
198 - Initial rewrite of new API and new dispatch table
199
200 1.04 (Jun. 27, 2005)
201 - Small changes to correspond to official mod_perl 2.0 release
202 and API change (see http://perl.apache.org/docs/2.0/rename.html)
203
204 1.03 (Mar. 4, 2005)
205 - 100% test coverage
206
207 1.02 (Jan. 20, 2005)
208 - Added mod_perl 2 support
209 - Added TABLE dispatch option
210 - fixed bug with a PATH_INFO value of '/'
211 - fixed bug where DEFAULT doesn't have an initial '/'
212 - fixed testing issues when Apache::TestMB is not installed [Cees Hek]
213 - fixed security whole with reqard to untainting module names [Cees Hek]
214 - minor documentation improvements
215
216 1.01 (Jan. 8, 2005)
217 - moved dependancy on perl 5.8.x to 5.6.x since method attributes were include
218 - added Apache::Test as a build dependancy
219
220 1.0 (Jan. 6, 2005)
221 - fixed bug which prevented overriding of certain methods
222 - upped required perl version to 5.8.0 because of method attributes
223
224 0.04
225 - added CGIAPP_DISPATCH_DEFAULT option to specify default PATH_INFO value
226 - added CGIAPP_DISPATCH_PATH which gets passed to new()'s PARAMS for use
227 by the application module
228 - any parameters passed into dispatch() are then passed into the
229 application's new()
230 - added Apache::Test tests to the test suite
231
232 0.03 (Oct. 29, 2004)
233 - missing files from MANIFEST
234 - minor optimizations
235
236 0.02 (Oct. 19, 2004)
237 - find and fix document mistakes
238 - add aliases to options (PREFIX and RM) for dispatch()
239 - improved test
240 - mention security concern with not using PREFIX
241
242 0.01 (Sep. 12, 2004)
243 - First version