Skip to content

Commit dd3a7af

Browse files
committed
bump version and update changes for release
1 parent 7079504 commit dd3a7af

File tree

9 files changed

+29
-9
lines changed

9 files changed

+29
-9
lines changed

Changes

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
Revision history for Dancer2-Plugin-Auth-Extensible
22

3+
0.620 Thu 3 Nov 16:01:22 CET 2016
4+
5+
[ENHANCEMENTS]
6+
7+
* User returned by providers can now be any kind of object. Previously
8+
the providers were required to return a hashref (Peter Mottram).
9+
* Most provider methods can now throw exceptions which will be caught
10+
by the plugin (Peter Mottram).
11+
* Added new hooks: after_authenticate_user, before_create_user and
12+
after_create_user (Peter Mottram).
13+
* If password is provided to create_user then set it immediately.
14+
15+
[TESTS]
16+
17+
* New tests for testing provider methods directly (Peter Mottram).
18+
* Major test overhaul to enable clearer testing (Peter Mottram).
19+
* Create extended version of Provider::Config for use in tests to allow
20+
most plugin features to be tested without relying on external providers.
21+
322
0.614 Thu Oct 27 16:03:17 2016 CEST
423

524
[ENHANCEMENTS]

lib/Dancer2/Plugin/Auth/Extensible.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package Dancer2::Plugin::Auth::Extensible;
22

3-
our $VERSION = '0.614';
3+
our $VERSION = '0.620';
44

55
use strict;
66
use warnings;

lib/Dancer2/Plugin/Auth/Extensible/Provider/Base.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use strict;
55
use warnings;
66
use Carp;
77

8-
our $VERSION = '0.614';
8+
our $VERSION = '0.620';
99

1010
croak "Your Dancer2::Plugin::Auth::Extensible provider needs to be upgraded.\nPlease upgrade to a provider that requires Dancer2::Plugin::Auth::Extensible v0.6 or greater.\n";
1111

lib/Dancer2/Plugin/Auth/Extensible/Provider/Config.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use Moo;
77
with "Dancer2::Plugin::Auth::Extensible::Role::Provider";
88
use namespace::clean;
99

10-
our $VERSION = '0.614';
10+
our $VERSION = '0.620';
1111

1212
=head1 NAME
1313

lib/Dancer2/Plugin/Auth/Extensible/Provider/Example.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Moo;
44
with "Dancer2::Plugin::Auth::Extensible::Role::Provider";
55
use namespace::clean;
66

7-
our $VERSION = '0.614';
7+
our $VERSION = '0.620';
88

99
# A more sensible provider would be likely to get this information from e.g. a
1010
# database (or LDAP, or...) rather than hardcoding it. This, however, is an

lib/Dancer2/Plugin/Auth/Extensible/Provider/Unix.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use Moo;
66
with "Dancer2::Plugin::Auth::Extensible::Role::Provider";
77
use namespace::clean;
88

9-
our $VERSION = '0.614';
9+
our $VERSION = '0.620';
1010

1111
=head1 NAME
1212

lib/Dancer2/Plugin/Auth/Extensible/Role/Provider.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Crypt::SaltedHash;
44
use Moo::Role;
55
requires qw(authenticate_user);
66

7-
our $VERSION = '0.614';
7+
our $VERSION = '0.620';
88

99
=head1 NAME
1010

lib/Dancer2/Plugin/Auth/Extensible/Test.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package Dancer2::Plugin::Auth::Extensible::Test;
22

3-
our $VERSION = '0.614';
3+
our $VERSION = '0.620';
44

55
=head1 NAME
66
@@ -605,7 +605,8 @@ sub _get_user_details {
605605
level => 'debug',
606606
message => 'Attempting to find user NoSuchUser in realm config1',
607607
},
608-
), "... and we see logs we expect.";
608+
), "... and we see logs we expect."
609+
or diag explain $logs;
609610

610611
# known user but wrong realm
611612

lib/Dancer2/Plugin/Auth/Extensible/Test/App.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Dancer2::Plugin::Auth::Extensible::Test::App - Dancer2 app for testing providers
66
77
=cut
88

9-
our $VERSION = '0.614';
9+
our $VERSION = '0.620';
1010

1111
use strict;
1212
use warnings;

0 commit comments

Comments
 (0)