Static::Simple 0.16
[catagits/Catalyst-Plugin-Static-Simple.git] / Changes
1 Revision history for Perl extension Catalyst::Plugin::Static::Simple
2
3 0.16    2007-04-30 15:00:00
4         - Allow all files in directories defined by the config option 'dirs'
5           to be served as static even if the file matches ignore_dirs or
6           ignore_extensions.
7         - Fixed bug where 204 or 304 status codes would result in a 500 error
8           under mod_perl.
9         - Switch to Module::Install.
10
11 0.15    2006-12-08 22:30:00
12         - Quote metacharacters used in $c->config->{dirs} (Vlad Dan Dascalescu)
13         - store Mime::Types object in config hash instead of as classdata
14         - cleanup code a bit
15
16 0.14    2006-03-24 11:15:00
17         - Unescape the URI path before looking for the file.  This fixes
18                   issues with files that have spaces.
19
20 0.13    2005-12-15 10:00:00
21         - Fixed bug in ignore_dirs under win32.
22         - Doc rewriting
23
24 0.12    (released only with Catalyst)
25         - Made prepare_action play nice with other plugins by not short-
26           circuiting.
27         - Added tmpl to the ignored extensions.
28         - Fixed security problem if req->path contained '..'.
29
30 0.11    2005-11-13 16:25:00
31         - Removed the code that set the 304 Not Modified header.  This caused
32           problems with IE under Apache.
33         - Changed 5.50 writing method to pass an IO::File object directly to
34           $c->res->body.
35         - This version is included with Catalyst 5.50.
36
37 0.10    2005-10-19 17:20:00
38         - Added tt2 to the list of ignored extensions.
39         - For Catalyst 5.5+, replaced File::Slurp with a buffered read/write
40           process.  This will improve memory usage and performance on larger
41           static files.
42         - Removed Apache integration feature.  It is slower than serving
43           through Catalyst and as far as I know no one is using it.  If you
44           need the best performance, use a separate Location block for static
45           content.
46
47 0.09    2005-10-07 13:40:00
48         - Added new configuration options to improve security:
49           ignore_extensions - keep certain extensions from being static
50           - This option defaults to tt, html, and xhtml to prevent
51             template files from being accessible.
52           ignore_dirs - keep certain dirs from being static
53         - include_path is no longer experimental.
54         - Added support for hiding log output, depends on Cat 5.50. 
55           (Marcus Ramberg)
56
57 0.08    2005-09-07 18:50:00
58         - Added tests for everything except Apache support.
59
60 0.07    2005-09-05 21:05:00
61         - POD fixes. (Thomas L. Shinnick)
62
63 0.06    2005-09-05 15:40:00
64         - Moved initial file check into prepare_action so processing can
65           bypass other plugins.
66         - Added error-checking to static dir regexes.
67         - Cleaned up various code as per Best Practices.
68
69 0.05    2005-08-26 12:00:00
70         - Added use_apache option to enable the Apache DECLINED
71           support.  Default is disabled as it appears Catalyst is
72           faster at serving the files!
73         - Added a check that Apache's DocumentRoot matches Catalyst's
74           root before serving DECLINED.
75         - Preload MIME::Types index during setup() so it's not built on
76           the first request.
77         - Added a note on performance of Apache vs. Catalyst.
78
79 0.04    2005-08-22 12:00:00
80         - Fixed bug where static files were searched for on every request
81           even without a file extension.
82         - Fixed bug where files without extensions in defined static dirs
83           were not served with text/plain.
84         - Consolidated the debug log messages.
85
86 0.03    2005-08-21 23:50:00
87         - Added config option for include_path to allow for multiple 
88           directories with static files.  This option should be
89           considered experimental!
90         - Documentation cleanups.
91
92 0.02    2005-08-16 18:00:00
93         - Return DECLINED when running under mod_perl to allow Apache to
94           serve the static file.  This is not done when any custom MIME
95           types have been specified, however.
96
97 0.01    2005-08-11 22:00:00
98         - Initial release.