Skip to content

Releases: hummingbird-project/hummingbird-auth

v2.0.2

08 Dec 07:31
8630a49
Compare
Choose a tag to compare

## Patch release changes

  • set Set-Cookie in response header if session expiresIn is updated. #79

Other changes

  • Moved from Nick Lockwood's SwiftFormat to Apple's swift-format for formatting the project. #80

v2.0.1

20 Nov 11:14
0878b5e
Compare
Choose a tag to compare

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

19 Nov 09:20
8d03d88
Compare
Choose a tag to compare

🎉 🎉 🎉

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

  • Library OTP renamed to HummingbirdOTP. #75
  • Library Bcrypt renamed to HummingbirdBcrypt. #75
  • Add configuration session cookie parameters. #72

v2.0.0 Release Candidate 5

25 Oct 14:27
1fbf690
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • AuthRequestContext now stores a single optional generic identity instead of the LoginCache 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 the SessionMiddleware 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

19 Sep 07:10
914925b
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • Rename passwordVerifier parameter of BasicAuthenticator.init() to passwordHashVerifier for consistency. #57

Patch release changes

  • Documentation updates

v2.0.0 Release Candidate 3

12 Sep 08:40
Compare
Choose a tag to compare
Pre-release

Use Hummingbird 2.0

v2.0.0 Release Candidate 2

06 Sep 06:43
75db980
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • Conform AuthRequestContext to RequestContext.
  • UserSessionRepository.getUser(from:context:) context parameter is now concrete type UserRepositoryContext.
  • Added context: UserRepositoryContext parameter to UserPasswordRepository.getUser.

Minor release changes

  • Renamed BasicAuthenticatorUser to PasswordAuthenticatable. Added deprecated typealias.
  • Renamed PasswordUserRepository to UserPasswordRepository. Added deprecated typealias.
  • Renamed SessionUserRepository to UserSessionRepository. Added deprecated typealias.

v2.0.0 Release Candidate 1

15 Aug 10:55
d067ace
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • Bcrypt and OTP broken out into separate libraries. PR #47

Minor release changes

  • Added library HummingbirdBasicAuth which includes BasicAuthenticator a basic (user/password) authentication middleware. PR #48
  • SessionMiddleware protocol deprecated. Replaced with SessionAuthenticator which takes a generic parameter conforming to SessionUserRepository or closure to convert between session object and user. PR #49

Patch release changes

v2.0.0 Beta 4

01 Jul 08:26
Compare
Choose a tag to compare
v2.0.0 Beta 4 Pre-release
Pre-release

Use Hummingbird v2.0.0 Release Candidate

v2.0.0 Beta 3

17 Jun 09:55
99a04d6
Compare
Choose a tag to compare
v2.0.0 Beta 3 Pre-release
Pre-release

Breaking changes

  • Update for RequestContext Source associated type in #39