Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @node-oauth/oauth2-server from 4.3.2 to 5.2.0 #634

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 31, 2024

Bumps @node-oauth/oauth2-server from 4.3.2 to 5.2.0.

Release notes

Sourced from @​node-oauth/oauth2-server's releases.

v5.2.0

Installation 🚀

NPM Link: https://www.npmjs.com/package/@​node-oauth/oauth2-server/v/5.2.0

$ npm install @node-oauth/[email protected]

What's Changed

Fixes and improvements 🔧

Dependencies 📦

New Contributors 👏

Full Changelog: node-oauth/node-oauth2-server@v5.1.0...v5.2.0

v5.1.0

Installation

NPM Link: https://www.npmjs.com/package/@​node-oauth/oauth2-server/v/5.1.0

$ npm install @node-oauth/[email protected]

What's Changed

Fixes

... (truncated)

Changelog

Sourced from @​node-oauth/oauth2-server's changelog.

Changelog

5.0.0

This release contains several breaking changes. Please carefully consult the documentation while updating.

  • removed bluebird and promisify-any
  • uses native Promises and async/await everywhere
  • drop support for Node 14 (EOL), setting Node 16 as engine in package.json
  • this is a breaking change, because it removes callback support for OAuthServer and your model implementation.
  • fixed missing await in calling generateAuthorizationCode in AuthorizeHandler
  • fix scope validation bug
  • revoke code before validating redirect URI
  • improved Bearer token validation
  • validate scope as an array of strings (breaking change)
  • model support for retrieving user based on client
  • more tests added; test coverage improved

4.2.0

Fixed

  • fix(core): Bearer regular expression matching in authenticate handler #105
  • fix(request): set WWW-Authenticate header for invalid requests #96 oauthjs#646
  • fix(handler): deny access when body.allowed is 'false' (#94)
  • fix(handlers): skip varcheck for state when allowEmptyState #89 #93

Added

  • supported custom validateRedirectUri
  • feature: Supported state in case of denialMerge #99
  • Bearer regular expression matching in authenticate handler
  • docs: Update extension-grants.rst with example #92
  • feature(core): extract is.js into standalone package @​node-oauth/formats #55
  • feature(authorize): allow custom implementations of validateRedirectUri via model #89 p.4
    • support custom validateRedirectUri()
    • allow to implement model.validateRedirectUri
    • updated AuthorizeHandler
    • default conforms with RFC 6819 Section-5.2.3.5

Tests

  • Integration test password grant (#100)
    • test example
    • created db & model factories
    • added refresh_token grant type test
    • removed failing test, not implemented feature
    • add reference to issue
    • client authentication test
    • random client credentials in test
    • replace math.random by crypto.randomBytes

... (truncated)

Commits
  • 9a448b4 publish 5.2.0
  • 0e2bbdd Merge pull request #314 from dhensby/pulls/typings
  • 9cc75bf refactor: prefer Record built-in over object maps
  • c86916f refactor: remove superfluous undefined type definition on optional props
  • 463b517 Merge pull request #309 from dhensby/pulls/scope-fix
  • 47ee118 fix: explicitly support array of strings for AuthenticateHandler.options
  • f511c32 Merge pull request #315 from node-oauth/dependabot/npm_and_yarn/chai-4.5.0
  • 89f4f23 build(deps-dev): bump chai from 4.3.7 to 4.5.0
  • e6a96f1 Merge pull request #316 from node-oauth/dependabot/github_actions/github/code...
  • 40b9f87 build(deps): bump github/codeql-action from 1 to 3
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@node-oauth/oauth2-server](https://github.com/node-oauth/node-oauth2-server) from 4.3.2 to 5.2.0.
- [Release notes](https://github.com/node-oauth/node-oauth2-server/releases)
- [Changelog](https://github.com/node-oauth/node-oauth2-server/blob/master/CHANGELOG.md)
- [Commits](node-oauth/node-oauth2-server@v4.3.2...v5.2.0)

---
updated-dependencies:
- dependency-name: "@node-oauth/oauth2-server"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants