Skip to content

Commit eb9f123

Browse files
committed
build: publish release 5.0.0-rc.5
1 parent ca43d4a commit eb9f123

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,21 @@
22

33
## 5.0.0
44

5+
This release contains several breaking changes.
6+
Please carefully consult the documentation while updating.
7+
58
- removed `bluebird` and `promisify-any`
69
- uses native Promises and `async/await` everywhere
710
- drop support for Node 14 (EOL), setting Node 16 as `engine` in `package.json`
811
- this is a breaking change, because **it removes callback support** for
912
`OAuthServer` and your model implementation.
1013
- fixed missing await in calling generateAuthorizationCode in AuthorizeHandler
11-
- validate scope as an array of strings
14+
- fix scope validation bug
15+
- revoke code before validating redirect URI
16+
- improved Bearer token validation
17+
- validate scope as an array of strings (breaking change)
18+
- model support for retrieving user based on client
19+
- more tests added; test coverage improved
1220

1321
## 4.2.0
1422
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@node-oauth/oauth2-server",
33
"description": "Complete, framework-agnostic, compliant and well tested module for implementing an OAuth2 Server in node.js",
4-
"version": "5.0.0-rc.4",
4+
"version": "5.0.0-rc.5",
55
"keywords": [
66
"oauth",
77
"oauth2"

0 commit comments

Comments
 (0)