Skip to content

Commit 20dcecb

Browse files
committed
0.22
1 parent 1424315 commit 20dcecb

File tree

12 files changed

+33
-27
lines changed

12 files changed

+33
-27
lines changed

Build.PL

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This Build.PL for Plack-Middleware-Session was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.006.
12
use 5.006;
2-
use Module::Build::Tiny 0.030;
3+
use Module::Build::Tiny 0.037;
34
Build_PL();

Changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ Revision history for Perl extension Plack::Middleware::Session
22

33
{{$NEXT}}
44

5+
0.22 2014-08-11 10:16:51 PDT
6+
- Document the vunlerability of using this middleware without secret, and
7+
warn when secret is not set on the runtime. In the next release the default
8+
will be changed to require the secret. (mala)
9+
510
0.21 2013-10-12 11:41:37 PDT
611
- use Cookie::Baker (kazeburo)
712

META.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Tatsuhiko Miyagawa"
55
],
66
"dynamic_config" : 0,
7-
"generated_by" : "Dist::Milla version v1.0.4, Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830",
7+
"generated_by" : "Dist::Milla version v1.0.5, Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.142060",
88
"license" : [
99
"perl_5"
1010
],
@@ -26,7 +26,7 @@
2626
"prereqs" : {
2727
"configure" : {
2828
"requires" : {
29-
"Module::Build::Tiny" : "0.030"
29+
"Module::Build::Tiny" : "0.037"
3030
}
3131
},
3232
"develop" : {
@@ -64,7 +64,7 @@
6464
"web" : "https://github.com/stevan/plack-middleware-session"
6565
}
6666
},
67-
"version" : "0.21",
67+
"version" : "0.22",
6868
"x_contributors" : [
6969
"Graham Knop <[email protected]>",
7070
"Lee Aylward <[email protected]>",

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,40 +39,40 @@ It should be noted that we store the current session as a hash
3939
reference in the `psgix.session` key inside the `$env` where you can
4040
access it as needed.
4141

42-
__NOTE:__ As of version 0.04 the session is stored in `psgix.session`
42+
**NOTE:** As of version 0.04 the session is stored in `psgix.session`
4343
instead of `plack.session`.
4444

4545
## State
4646

47-
- [Plack::Session::State](http://search.cpan.org/perldoc?Plack::Session::State)
47+
- [Plack::Session::State](https://metacpan.org/pod/Plack::Session::State)
4848

4949
This will maintain session state by passing the session through
5050
the request params. It does not do this automatically though,
5151
you are responsible for passing the session param.
5252

53-
- [Plack::Session::State::Cookie](http://search.cpan.org/perldoc?Plack::Session::State::Cookie)
53+
- [Plack::Session::State::Cookie](https://metacpan.org/pod/Plack::Session::State::Cookie)
5454

5555
This will maintain session state using browser cookies.
5656

5757
## Store
5858

59-
- [Plack::Session::Store](http://search.cpan.org/perldoc?Plack::Session::Store)
59+
- [Plack::Session::Store](https://metacpan.org/pod/Plack::Session::Store)
6060

6161
This is your basic in-memory session data store. It is volatile storage
6262
and not recommended for multiprocessing environments. However it is
6363
very useful for development and testing.
6464

65-
- [Plack::Session::Store::File](http://search.cpan.org/perldoc?Plack::Session::Store::File)
65+
- [Plack::Session::Store::File](https://metacpan.org/pod/Plack::Session::Store::File)
6666

6767
This will persist session data in a file. By default it uses
68-
[Storable](http://search.cpan.org/perldoc?Storable) but it can be configured to have a custom serializer and
68+
[Storable](https://metacpan.org/pod/Storable) but it can be configured to have a custom serializer and
6969
deserializer.
7070

71-
- [Plack::Session::Store::Cache](http://search.cpan.org/perldoc?Plack::Session::Store::Cache)
71+
- [Plack::Session::Store::Cache](https://metacpan.org/pod/Plack::Session::Store::Cache)
7272

73-
This will persist session data using the [Cache](http://search.cpan.org/perldoc?Cache) interface.
73+
This will persist session data using the [Cache](https://metacpan.org/pod/Cache) interface.
7474

75-
- [Plack::Session::Store::Null](http://search.cpan.org/perldoc?Plack::Session::Store::Null)
75+
- [Plack::Session::Store::Null](https://metacpan.org/pod/Plack::Session::Store::Null)
7676

7777
Sometimes you don't care about storing session data, in that case
7878
you can use this noop module.
@@ -83,20 +83,20 @@ The following are options that can be passed to this module.
8383

8484
- _state_
8585

86-
This is expected to be an instance of [Plack::Session::State](http://search.cpan.org/perldoc?Plack::Session::State) or an
86+
This is expected to be an instance of [Plack::Session::State](https://metacpan.org/pod/Plack::Session::State) or an
8787
object that implements the same interface. If no option is provided
88-
the default [Plack::Session::State::Cookie](http://search.cpan.org/perldoc?Plack::Session::State::Cookie) will be used.
88+
the default [Plack::Session::State::Cookie](https://metacpan.org/pod/Plack::Session::State::Cookie) will be used.
8989

9090
- _store_
9191

92-
This is expected to be an instance of [Plack::Session::Store](http://search.cpan.org/perldoc?Plack::Session::Store) or an
92+
This is expected to be an instance of [Plack::Session::Store](https://metacpan.org/pod/Plack::Session::Store) or an
9393
object that implements the same interface. If no option is provided
94-
the default [Plack::Session::Store](http://search.cpan.org/perldoc?Plack::Session::Store) will be used.
94+
the default [Plack::Session::Store](https://metacpan.org/pod/Plack::Session::Store) will be used.
9595

9696
It should be noted that this default is an in-memory volatile store
9797
is only suitable for development (or single process servers). For a
98-
more robust solution see [Plack::Session::Store::File](http://search.cpan.org/perldoc?Plack::Session::Store::File) or
99-
[Plack::Session::Store::Cache](http://search.cpan.org/perldoc?Plack::Session::Store::Cache).
98+
more robust solution see [Plack::Session::Store::File](https://metacpan.org/pod/Plack::Session::Store::File) or
99+
[Plack::Session::Store::Cache](https://metacpan.org/pod/Plack::Session::Store::Cache).
100100

101101
# BUGS
102102

lib/Plack/Middleware/Session.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Plack::Middleware::Session;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.21';
5+
our $VERSION = '0.22';
66
our $AUTHORITY = 'cpan:STEVAN';
77

88
use Plack::Util;

lib/Plack/Session.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Plack::Session;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.21';
5+
our $VERSION = '0.22';
66
our $AUTHORITY = 'cpan:STEVAN';
77

88
use Plack::Util::Accessor qw( session options );

lib/Plack/Session/State.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Plack::Session::State;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.21';
5+
our $VERSION = '0.22';
66
our $AUTHORITY = 'cpan:STEVAN';
77

88
use Digest::SHA1 ();

lib/Plack/Session/State/Cookie.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Plack::Session::State::Cookie;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.21';
5+
our $VERSION = '0.22';
66
our $AUTHORITY = 'cpan:STEVAN';
77

88
use parent 'Plack::Session::State';

lib/Plack/Session/Store.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Plack::Session::Store;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.21';
5+
our $VERSION = '0.22';
66
our $AUTHORITY = 'cpan:STEVAN';
77

88
use Plack::Util::Accessor qw[ _stash ];

lib/Plack/Session/Store/Cache.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Plack::Session::Store::Cache;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.21';
5+
our $VERSION = '0.22';
66
our $AUTHORITY = 'cpan:STEVAN';
77

88
use Scalar::Util qw[ blessed ];

0 commit comments

Comments
 (0)