v5.0.0
This is a major release, including breaking changes!
Install this release
Npm link: https://www.npmjs.com/package/@node-oauth/oauth2-server/v/5.0.0
Install via
$ npm install @node-oauth/oauth2-server@5.0.0
What's Changed
- refactor: Remove util.inherits #70 by @dsschiramm in #109
- Use native promises and async/await, drop bluebird and promisify-any by @jankapunkt in #190
- PKCE: get code_challenge and _method from query if not present in body by @jankapunkt in #197
- build(deps-dev): bump eslint from 8.42.0 to 8.44.0 by @dependabot in #195
- Fix generateAuthorizationCode not being awaited by @MaximilianGaedig in #203
- Fix ci for release-tests by @jankapunkt in #205
- build(deps-dev): bump eslint from 8.42.0 to 8.46.0 by @dependabot in #201
- build(deps-dev): bump sinon from 15.1.0 to 15.2.0 by @dependabot in #193
- Marked verifyScope function as optional in model types. by @shrihari-prakash in #209
- Removed callback support in typings file. by @shrihari-prakash in #211
- build(deps-dev): bump sinon from 15.1.0 to 15.2.0 by @dependabot in #206
- Fixed
getUserFromClient
not being awaited in client credentials grant. by @shrihari-prakash in #218 - Convert TokenModel to an ES6 class and extract utils function for calculating lifetime by @menewman in #223
- tests: add deep integration tests by @jankapunkt in #224
- Fix critical scope validation bug by @jorenvandeweyer in #228
- Convert Request, Response, CodeResponseType, TokenResponseType to ES6 classes by @menewman in #225
- Feature/refactor to es6 by @jorenvandeweyer in #227
- revoke code before validating redirect uri by @jorenvandeweyer in #231
- made badges clickable by @jorenvandeweyer in #236
- Fixes ignoring scope on refresh token call by @jorenvandeweyer in #238
- Improve bearer validation by @jorenvandeweyer in #234
- remove invalid bearer token that was used in test by @jorenvandeweyer in #243
- fix typing of revokeToken by @jorenvandeweyer in #247
- chore(docs): fix typo in lib/pkce/pkce.js wird -> weird by @ttacon in #250
- Support for retrieving user based on client by @jorenvandeweyer in #256
- Release 5.0.0 by @jankapunkt in #194
- Development by @jankapunkt in #260
New Contributors
- @dsschiramm made their first contribution in #109
- @MaximilianGaedig made their first contribution in #203
- @shrihari-prakash made their first contribution in #209
- @ttacon made their first contribution in #250
Full Changelog: v4.3.2...v5.0.0