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