Passport v0.5.0 Release Notes
Release Date: 2021-09-23 // 8 months 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.