Releases: hummingbird-project/hummingbird-auth
Releases · hummingbird-project/hummingbird-auth
v2.1.0
v2.0.2
v2.0.1
Patch release changes
- If
SessionMiddlewarefails 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
AuthRequestContextnow stores a single optional generic identity instead of theLoginCachewhich was a dictionary of arbitrary types.SessionStoragehas session type generic parameter.
Minor release changes
- Added
SessionMiddlewarefor extracting and saving session state. - Added
SessionRequestContextprotocol that stores session data. Use this in conjunction with theSessionMiddlewarefor 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
passwordVerifierparameter ofBasicAuthenticator.init()topasswordHashVerifierfor 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
AuthRequestContexttoRequestContext. UserSessionRepository.getUser(from:context:)context parameter is now concrete typeUserRepositoryContext.- Added
context: UserRepositoryContextparameter toUserPasswordRepository.getUser.
Minor release changes
- Renamed
BasicAuthenticatorUsertoPasswordAuthenticatable. Added deprecated typealias. - Renamed
PasswordUserRepositorytoUserPasswordRepository. Added deprecated typealias. - Renamed
SessionUserRepositorytoUserSessionRepository. 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
HummingbirdBasicAuthwhich includesBasicAuthenticatora basic (user/password) authentication middleware. PR #48 SessionMiddlewareprotocol deprecated. Replaced withSessionAuthenticatorwhich takes a generic parameter conforming toSessionUserRepositoryor 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