Debian Codegraph @

Changes

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