Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit bc5f4d1

Browse files
committed
docs: updates CHANGELOG entries for #3
This patch updates the CHANGELOG entries for #3 to reference the pull request, so users can understand the source of the change. Additionally, it pushes the new version entry to the top of the file (CHANGELOG.md files list in reverse chronological order), sets the version to 2.0.0, and sets the release date.
1 parent f158692 commit bc5f4d1

File tree

1 file changed

+16
-26
lines changed

1 file changed

+16
-26
lines changed

CHANGELOG.md

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,65 +2,55 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5-
## 1.0.1 - TBD
5+
## 2.0.0 - 2019-11-12
66

77
### Added
88

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.
1012

1113
### Changed
1214

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`.
1418

1519
### Deprecated
1620

1721
- Nothing.
1822

1923
### Removed
2024

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.
2228

2329
### Fixed
2430

25-
- Nothing.
31+
- [#3](https://github.com/phly/phly-expressive-oauth2clientauthentication/pull/3) fixes a namespace reference within a shipped config file.
2632

27-
## X.X.X - 2019-05-26
33+
## 1.0.1 - TBD
2834

2935
### Added
3036

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.
3738

3839
### Changed
3940

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.
5042

5143
### Deprecated
5244

5345
- Nothing.
5446

5547
### Removed
5648

57-
- Removes `UnsupportedProviderException` as it is not used anymore.
58-
59-
- Removes `UnexpectedResourceOwnerTypeException` as it is not used anymore.
49+
- Nothing.
6050

6151
### Fixed
6252

63-
- Namespace in config files.
53+
- Nothing.
6454

6555
## 1.0.0 - 2018-10-18
6656

0 commit comments

Comments
 (0)