rkusa / koa-passport

Passport middleware for Koa
MIT License
774 stars 54 forks source link

Bump passport from 0.4.1 to 0.5.0 #167

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Bumps passport from 0.4.1 to 0.5.0.

Changelog

Sourced from passport's changelog.

[0.5.0] - 2021-09-23

Changed

  • initialize() middleware extends request with login(), logIn(), logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions.

Removed

  • login(), logIn(), logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions no longer added to http.IncomingMessage.prototype.

Fixed

  • userProperty option to initialize() middleware only affects the current request, rather than all requests processed via singleton Passport instance, eliminating a race condition in situations where initialize() middleware is used multiple times in an application with userProperty set to different values.
Commits
  • f5dc1da 0.5.0
  • dbf2ca6 Set version in CHANGELOG.
  • b524515 Add funding to package.json.
  • 1a3c258 Add CHANGELOG.
  • 076850c Merge pull request #848 from jaredhanson/no-monkeypatch
  • c5bc12d Remove _userProperty from Passport instance.
  • 761a8d2 Obtain _userProperty from req, rather than Passport instance.
  • e20e3f9 Remove req._passport.session from remaining tests.
  • 7f41957 Don't set req._passport.sesison in initialize middleware.
  • 6861724 Remove use of req._passport.session from SessionStrategy.
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
dependabot[bot] commented 2 years ago

Superseded by #170.