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