Releases: hummingbird-project/hummingbird-auth
Releases · hummingbird-project/hummingbird-auth
v2.0.2
v2.0.1
Patch release changes
- If
SessionMiddleware
fails to convert session object, continue with as if there is no session and expire session cookie
Version 2.0.0
🎉 🎉 🎉
Hummingbird Authentication update for Hummingbird 2.0
Major release changes
- Authentication framework updated to use RequestContext to store authenticated identities
- Session middleware and authenticator update
- OTP and Bcrypt split into separate libraries
- Added Basic user/password authentication middleware
Changes from release candidate
v2.0.0 Release Candidate 5
Breaking changes
AuthRequestContext
now stores a single optional generic identity instead of theLoginCache
which was a dictionary of arbitrary types.SessionStorage
has session type generic parameter.
Minor release changes
- Added
SessionMiddleware
for extracting and saving session state. - Added
SessionRequestContext
protocol that stores session data. Use this in conjunction with theSessionMiddleware
for extracting and saving session state. - Added
AuthRequestContext.requireIdentity()
which will return a valid identity or throw an unauthorised HTTP error. - Support Crypto 4.0
v2.0.0 Release Candidate 4
Breaking changes
- Rename
passwordVerifier
parameter ofBasicAuthenticator.init()
topasswordHashVerifier
for consistency. #57
Patch release changes
- Documentation updates
v2.0.0 Release Candidate 3
Use Hummingbird 2.0
v2.0.0 Release Candidate 2
Breaking changes
- Conform
AuthRequestContext
toRequestContext
. UserSessionRepository.getUser(from:context:)
context parameter is now concrete typeUserRepositoryContext
.- Added
context: UserRepositoryContext
parameter toUserPasswordRepository.getUser
.
Minor release changes
- Renamed
BasicAuthenticatorUser
toPasswordAuthenticatable
. Added deprecated typealias. - Renamed
PasswordUserRepository
toUserPasswordRepository
. Added deprecated typealias. - Renamed
SessionUserRepository
toUserSessionRepository
. Added deprecated typealias.
v2.0.0 Release Candidate 1
Breaking changes
- Bcrypt and OTP broken out into separate libraries. PR #47
Minor release changes
- Added library
HummingbirdBasicAuth
which includesBasicAuthenticator
a basic (user/password) authentication middleware. PR #48 SessionMiddleware
protocol deprecated. Replaced withSessionAuthenticator
which takes a generic parameter conforming toSessionUserRepository
or closure to convert between session object and user. PR #49
Patch release changes
- Allow authentication with multiple objects. PR #46 from @mrstegeman
v2.0.0 Beta 4
Use Hummingbird v2.0.0 Release Candidate
v2.0.0 Beta 3
Breaking changes
- Update for RequestContext Source associated type in #39