|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file, in reverse chronological order by release. |
4 | 4 |
|
5 | | -## 1.0.1 - TBD |
| 5 | +## 2.0.0 - 2019-11-12 |
6 | 6 |
|
7 | 7 | ### Added |
8 | 8 |
|
9 | | -- Nothing. |
| 9 | +- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) adds support for all League OAuth2 Clients that inherits from the upstream `League\OAuth2\Client\Provider\AbstractProvider`. |
| 10 | + |
| 11 | +- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) adds the method `forProviderKey(string $provider)` in `MissingProviderConfigException` in order to assert that the provider key has been set for providers in the configuration. |
10 | 12 |
|
11 | 13 | ### Changed |
12 | 14 |
|
13 | | -- Nothing. |
| 15 | +- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) changes array disposition in the configuration files to include `provider` and `options` keys **(BC break)**. The provider array key tells the factory what to instantiate, and the options value is passed to the `Provider` constructor. Read the documentation on [local/environment-specific configuration](https://phly.github.io/phly-expressive-oauth2clientauthentication/config/) for specific implementation details and examples. |
| 16 | + |
| 17 | +- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) allows the username to default to `$resourceOwner->getId()` in method `getUsernameFromResourceOwner(ResourceOwnerInterface $resourceOwner) : string` if methods `$resourceOwner->getEmail()` and `$resourceOwner->getNickname()` don't exist, instead of throwing an `UnexpectedResourceOwnerTypeException`. |
14 | 18 |
|
15 | 19 | ### Deprecated |
16 | 20 |
|
17 | 21 | - Nothing. |
18 | 22 |
|
19 | 23 | ### Removed |
20 | 24 |
|
21 | | -- Nothing. |
| 25 | +- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) removes `UnsupportedProviderException`, as it is not used anymore. |
| 26 | + |
| 27 | +- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) removes `UnexpectedResourceOwnerTypeException`, as it is not used anymore. |
22 | 28 |
|
23 | 29 | ### Fixed |
24 | 30 |
|
25 | | -- Nothing. |
| 31 | +- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) fixes a namespace reference within a shipped config file. |
26 | 32 |
|
27 | | -## X.X.X - 2019-05-26 |
| 33 | +## 1.0.1 - TBD |
28 | 34 |
|
29 | 35 | ### Added |
30 | 36 |
|
31 | | -- Adds support for all League OAuth2 Clients that inherits from the |
32 | | -upstream `League\OAuth2\Client\Provider\AbstractProvider`. |
33 | | - |
34 | | -- Adds the method `forProviderKey(string $provider)` in |
35 | | -`MissingProviderConfigException` in order to assert that the provider key |
36 | | -has been set for providers in the configuration. |
| 37 | +- Nothing. |
37 | 38 |
|
38 | 39 | ### Changed |
39 | 40 |
|
40 | | -- Changes array disposition in the configuration files to include provider |
41 | | -and options keys **(BC break)**. The provider array key tells the factory what |
42 | | -to instantiate and the options is passed to the Provider constructor. Look into |
43 | | -[Local/Environment-specific configuration](https://phly.github.io/phly-expressive-oauth2clientauthentication/config/) |
44 | | -for specific implementation details and examples. |
45 | | - |
46 | | -- Allows the username to default to `$resourceOwner->getId()` in method |
47 | | -`getUsernameFromResourceOwner(ResourceOwnerInterface $resourceOwner) : string` |
48 | | -if methods `$resourceOwner->getEmail()` and `$resourceOwner->getNickname()` |
49 | | -doesn't exists instead of throwing an `UnexpectedResourceOwnerTypeException`. |
| 41 | +- Nothing. |
50 | 42 |
|
51 | 43 | ### Deprecated |
52 | 44 |
|
53 | 45 | - Nothing. |
54 | 46 |
|
55 | 47 | ### Removed |
56 | 48 |
|
57 | | -- Removes `UnsupportedProviderException` as it is not used anymore. |
58 | | - |
59 | | -- Removes `UnexpectedResourceOwnerTypeException` as it is not used anymore. |
| 49 | +- Nothing. |
60 | 50 |
|
61 | 51 | ### Fixed |
62 | 52 |
|
63 | | -- Namespace in config files. |
| 53 | +- Nothing. |
64 | 54 |
|
65 | 55 | ## 1.0.0 - 2018-10-18 |
66 | 56 |
|
|
0 commit comments