Passport v0.5.0 Release Notes
Release Date: 2021-09-23 // over 2 years ago-
๐ 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