vote
vote copied to clipboard
Bump passport from 0.4.0 to 0.7.0
Bumps passport from 0.4.0 to 0.7.0.
Changelog
Sourced from passport's changelog.
[0.7.0] - 2023-11-27
Changed
- Set
req.authInfoby default when using theassignPropertyoption toauthenticate()middleware. This makes the behavior the same as when not using the option, and can be disabled by settingauthInfooption tofalse.[0.6.0] - 2022-05-20
Added
authenticate(),req#login, andreq#logoutaccept akeepSessionInfo: trueoption to keep session information after regenerating the session.Changed
req#login()andreq#logout()regenerate the the session and clear session information by default.req#logout()is now an asynchronous function and requires a callback function as the last argument.Security
- Improved robustness against session fixation attacks in cases where there is physical access to the same system or the application is susceptible to cross-site scripting (XSS).
[0.5.3] - 2022-05-16
Fixed
initialize()middleware extends request withlogin(),logIn(),logout(),logOut(),isAuthenticated(), andisUnauthenticated()functions again, reverting change from 0.5.1.[0.5.2] - 2021-12-16
Fixed
- Introduced a compatibility layer for strategies that depend directly on
[email protected]or earlier (such aspassport-azure-ad), which were broken by the removal of private variables in[email protected].[0.5.1] - 2021-12-15
Added
- Informative error message in session strategy if session support is not available.
Changed
authenticate()middleware, rather thaninitialize()middleware, extends request withlogin(),logIn(),logout(),logOut(),isAuthenticated(), andisUnauthenticated()functions.[0.5.0] - 2021-09-23
... (truncated)
Commits
33b92f90.7.08dd8ec5Update changelog.2815dc9Merge pull request #1012 from jaredhanson/authinfo-assignprop0f2f81cFix test to allow setting of authInfo with assignProperty.b4e4cffFix test to allow setting of authInfo from authorize call.da379a0Merge branch 'master' into authinfo-assignpropcfdbd4aUpdate sponsors.6cc8a7cUpdate sponsors.b6ab747Update sponsors.c521bc8Add FusionAuth as sponsor.- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.