All Versions
16
Latest Version
Avg Release Cycle
225 days
Latest Release
1039 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.6.0 Changes
May 20, 2022โ Added
authenticate()
,req#login
, andreq#logout
accept akeepSessionInfo: true
option to keep session information after regenerating the session.
๐ Changed
req#login()
andreq#logout()
regenerate the the session and clear session 0๏ธโฃ 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).
-
v0.5.3 Changes
May 16, 2022๐ Fixed
initialize()
middleware extends request withlogin()
,logIn()
,logout()
,logOut()
,isAuthenticated()
, andisUnauthenticated()
functions โช again, reverting change from 0.5.1.
-
v0.5.2 Changes
December 16, 2021๐ 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]
.
- Introduced a compatibility layer for strategies that depend directly on
-
v0.5.1 Changes
December 15, 2021โ 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.
-
v0.5.0 Changes
September 23, 2021๐ Changed
initialize()
middleware extends request withlogin()
,logIn()
,logout()
,logOut()
,isAuthenticated()
, andisUnauthenticated()
functions.
โ Removed
login()
,logIn()
,logout()
,logOut()
,isAuthenticated()
, andisUnauthenticated()
functions no longer added tohttp.IncomingMessage.prototype
.
๐ Fixed
userProperty
option toinitialize()
middleware only affects the current request, rather than all requests processed via singleton Passport instance, eliminating a race condition in situations whereinitialize()
middleware is ๐ used multiple times in an application withuserProperty
set to different values.
๐ [Unreleased]: https://github.com/jaredhanson/passport/compare/v0.6.0...HEAD
-
v0.4.1
December 09, 2019 -
v0.4.0
August 11, 2017 -
v0.3.2
November 09, 2015 -
v0.3.1
November 09, 2015 -
v0.3.0
August 20, 2015