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