6238e116d42a276fa278e33f4b9164cd7ba3f5fa
[catagits/Catalyst-Plugin-Session.git] / Changes
1 Revision history for Perl extension Catalyst::Plugin::Session
2
3 0.40 2015-01-26
4       - Add a flag so that a storage can finalize during finalize_header rather
5       than finalize_body.  This is to enable storages that need to write to the
6       HTTP header (such as the cookie based store).
7
8 0.39 2013-10-16
9       - Fixed a bug when "expiry_threshold" is non-zero, where changes to the
10       session were not saved.
11
12 0.38 2013-09-18
13       - New feature: "expiry_threshold" which allows you more control over when
14       this plugin checks and updates the expiration date for the session.
15       This is useful when you have high traffic and need to reduce the number
16       of session expiration hits (like if you are using a database for sessions
17       and your db is getting pounded).
18
19 0.37 2013-02-25
20       - Fix t/live_verify_address.t to skip if Catalyst::Plugin::Authentication
21         is not installed, fixing RT#81506.
22
23 0.36 2012-10-19
24        - Re-pack with new Module::Install which doesn't get
25          MYMETA.yaml wrong.
26        - Remove use of Plack::Middleware::ForceEnv from the tests
27           as it was not used / needed
28
29 0.35 2012-04-24
30         - Implement a 'change_session_expires' method (gshank)
31
32         - Fixed bug from last version where session does not persist
33           across a redirect
34
35 0.34 2012-03-30
36         - Fixed up t/live_verify_address.t per https://rt.cpan.org/Ticket/Display.html?id=71142
37         - Merged in dpetrov's 0.32 changes (extend_session_expire)
38
39 0.33 2012-03-08
40         - Note that flash is deprecated / not recommended due to it's
41           inherent races. Point out Catalyst::Plugin::StatusMessage instead
42
43 0.32 2011-06-08
44         - Fix handling with enables verify_address and add related test
45
46 0.31 2010-10-08
47         - Fix session being loaded by call to dump_these in debug mode
48           (RT#58856)
49
50 0.30 2010-06-24
51         - Fix Makefile.PL's is_upgrading_needed() routine (RT #58771)
52
53 0.29 2009-11-04
54         - Fix session being deleted when you have a new session after session
55           expiry when calling session_is_valid method. Tests for this.
56         - Allow ->session to be used as a setter method so that you can say
57           ->session( key => $value );
58
59 0.28 2009-10-29
60         - Fix session fixation test with LWP 5.833 by calling $cookie_jar->set_cookie
61           rather than manually stuffing the cookie in the request.
62
63 0.27 2009-10-08
64         - Release 0.26_01 as stable without further changes.
65
66 0.26_01 2009-10-06
67         - Move actions out of the root application class in tests as this
68           is deprecated.
69         - Change configuration key to 'Plugin::Session' by default. The
70           old 'session' key is still supported, but will issue a warning
71           in a future release.
72
73 0.26 2009-08-19
74         - Remove Test::MockObject from the test suite as prone to failing on
75           some platforms and perl versions due to it's UNIVERSAL:: package
76           dependencies.
77
78 0.25 2009-07-08
79         - Add the a change_session_id method which can be called after
80           authentication to change the user's session cookie whilst preserving
81           their session data. This can be used to provide protection from
82           Session Fixation attacks. (kmx)
83
84 0.24 2009-06-23
85         - Be more paranoid about getting values of $c->req to avoid issues
86           with old Test::WWW::Mechanize::Catalyst.
87         - Check we have a modern version of TWMC before doing the tests which
88           need it.
89
90 0.23 2009-06-16
91         - Add the verify_user_agent config parameter (kmx)
92         - Add a test case to prove that logging in with a session cookie still
93           causes a new cookie to be issued for you, proving that the code is
94           not vulnerable to a session fixation attack. (t0m)
95
96 0.22 2009-05-13
97         - INSANE HACK to ensure B::Hooks::EndOfScope inlines us a new method right now
98           in Catalyst::Plugin::Session::Test::Store for Catalyst 5.80004 compatibility.
99
100           This change does not in any way affect normal users - it is just due to the
101           fairly crazy way that Catalyst::Plugin::Session::Test::Store works, and that
102           module is _only_ used for unit testing session store plugins pre-installation.
103
104           Session::Test::Store should be replaced with a more sane solution, and other
105           CPAN modules using it moved away from using it, but this change keeps stops
106           new Catalyst breaking other distributions right now.
107
108 0.21 2009-04-30
109         - Hide the internal packages in Catalyst::Plugin::Session::Test::Store from PAUSE.
110         - Convert from CAF to Moose with Moosex::Emulate::Class::Accessor::Fast
111
112 0.20 2009-02-05
113         - No code changes since 0.19_01 dev release.
114         - Add IDEAS.txt which is an irc log of discussion about the next-generation
115           session plugin from discussion on #catalyst-dev
116         - Remove TODO file, which is no longer relevant.
117
118 0.19_01 2009-01-09
119         - Switch from using NEXT to Class::C3 for method re-dispatch.
120         - Use shipit to package the dist.
121         - Switch to Module::install.
122         - Flash data is now stored inside the session (key "__flash") to avoid
123           duplicate entry errors caused by simultaneous select/insert/delete of
124           flash rows when using DBI as a Store. (Sergio Salvi)
125         - Fix session finalization order that caused HTTP responses to be sent
126           before the session is actually finalized and stored in its Store.
127           (Sergio Salvi)
128
129 0.19    2007-10-08
130
131 0.18    2007-08-15
132         - Fix Apache engine issue (RT #28845)
133
134 0.17    2007-07-16
135         - Skip a test if Cookie is not installed (RT #28137)
136
137 0.16    2007-07-03
138         - Stupid makefile
139
140 0.15    2007-06-24
141         - Fix the bug that caused sessions to expire immediately when another
142           session was deleted previously in the same request cycle
143         - Changed finalize() to redispatch before saving session
144           so other finalize methods still have access to it.
145
146 0.14    2007-01-31
147         - Disable verify_address.
148         - update flash to work like session
149
150 0.13    2006-10-12
151         - Rerelease with slightly changed test due to a behavior change in
152           Test::MockObject
153         - add `clear_flash`
154         - improve debug logging
155
156 0.12    2006-08-26
157         - refactor out a hookable finalize_session method, for plugins
158         - make _clear_session_instance_data call NEXT::, so that plugins can
159           hook on to that too
160
161 0.11    2006-08-10
162         - Lazify expiry calculation and store it in a different instance data
163           slot. This provides greater flexibility for implementing hooks like
164           DynamicExpiry the "right" way.
165
166 0.10    2006-08-01
167         - Implement a more well defined finalization order for Session stuff.
168           This solves a problem that was introduced by some value cleanups in
169           the 0.06 release.
170
171 0.09    2006-07-31
172         - Fix Catalyst::Plugin::Session::Test::Store
173
174 0.08    2006-07-31
175         - rerelease because Module::Bane broke the META.yml. HURAAH
176
177 0.07    2006-07-30
178         - Make build tool complain loudly on incompatible versions of state
179           plugins.
180
181 0.06    2006-07-29
182         - Change State plugin API to be pull oriented
183         - Lazify more correctly (mostly performance improvements)
184         - Don't try to compute digest of hash when there is no hash
185
186 0.05    2006-01-01
187         - Un-workaround the Cache::FastMmap (actually Storable) limitation -
188           it's not C::P::Session's business.
189         - add $c->session_expires
190         - refactor guts
191         - improve semantics of session deletion (now deletes flash data too)
192         - improve lazy-load-ness of session data in the light of expiration
193
194 0.04    2005-12-28 09:42:00
195         - Work around a limitation in Cache::FastMmap - must store only
196           references, while expiration was an NV.
197
198 0.03    2005-12-26 10:22:00
199         - Lazify loading of session data for better performance and less chance
200           of race conditions
201         - support for $c->flash a la Ruby on Rails
202         - Fixed bug in sessionid algorithm detection.
203         - Separate __expires from the session data - we write it every time
204         - Lazify saving of session data for better performance and less chance
205           of race conditions
206
207 0.02    2005-11-23 09:40:00
208         - Doc fixes
209         - No more -Engine=Test
210
211 0.01    2005-11-14 12:41:00
212         - Initial release.