Skip to content

Releases: hummingbird-project/hummingbird-auth

v2.0.0 Beta 2

21 May 16:38
Compare
Choose a tag to compare
v2.0.0 Beta 2 Pre-release
Pre-release

Breaking changes

  • Remove RequestContext conformance from AuthRequestContext protocol.
  • Use swift-extras-base64 v1.0

v2.0.0 Beta 1

14 Mar 10:28
Compare
Choose a tag to compare
v2.0.0 Beta 1 Pre-release
Pre-release

This is the first beta release of HummingbirdAuth v2. Below is a list of the changes since the last alpha

Major release changes

  • The "HB" prefix on symbols has been removed. To help transition from previous symbols with the "HB" prefix we have added deprecated typealiases for the old symbols. eg typealias HBRequest = Request.
  • At the same time we have renamed
    • HBAuthenticator to AuthenticatorMiddleware
    • HBSessionAuthenticator to SessionMiddleware

Other changes

  • 2.0 code has now been merged into main branch.

v2.0.0 Alpha 3

20 Feb 10:28
f3a2cdb
Compare
Choose a tag to compare
v2.0.0 Alpha 3 Pre-release
Pre-release

Patch release changes

  • Update HBBasicAuthContext to compile with changes from Hummingbird 2.0.0-alpha.3

v2.0.0 Alpha 2

06 Feb 12:18
9867667
Compare
Choose a tag to compare
v2.0.0 Alpha 2 Pre-release
Pre-release

Breaking changes

  • Renamed HBAuthRequestContextProtocol to HBAuthRequestContext
  • Renamed HBAuthRequestContext to HBBasicAuthRequestContext

v2.0.0 Alpha 1

22 Jan 16:12
Compare
Choose a tag to compare
v2.0.0 Alpha 1 Pre-release
Pre-release

Changes to coincide with Hummingbird v2 alpha release.

  • Rewritten to use structured concurrency.
  • EventLoop APIs no longer exist
  • Login cache is no longer attached to request, but is now available from the context. If you want to use authentication framework your request context needs to conform to HBAuthRequestContextProtocol.

API Documentation can be found here

v1.3.0

26 Dec 10:17
754cae8
Compare
Choose a tag to compare

Minor release changes

  • Add support for swift-crypto 3.0

v1.2.0

14 Aug 10:04
3152996
Compare
Choose a tag to compare

Minor release changes

  • Added HBSessionStorage for storing session IDs separate from HBRequest
  • Added getSession protocol requirement, with default that extracts it from the request, to HBSessionAuthenticator

v1.1.0

27 Feb 18:16
512af7c
Compare
Choose a tag to compare

Minor release changes

  • Added SessionManager.update that uses current session id. As it does not edit the session id it does not need to update the response. PR #20.
  • Added generic version of XCTExecute that returns a generic value. PR #21.

Patch release changes

  • SessionManager.save will use current session id if available.

v1.0.0

08 Feb 16:39
36b7fc2
Compare
Choose a tag to compare

Various authentication helpers for Hummingbird

  • HBAuthenticator middleware protocol.
  • Augmenting HBRequest with authentication data.
  • Session authenticator middleware.
  • Bcrypt support.
  • One time passwords.

Breaking Change from v1.0.0-rc.1

  • HBApplication.XCTExecute now throws errors.

v1.0.0 Release Candidate 1

17 Jan 17:32
0d1fd2a
Compare
Choose a tag to compare

Breaking changes

  • Remove public access to getId, setId and createSessionId from SessionManager

Patch changes

  • Fix up errors generated by breaking changes in hummingbird 1.0.0-rc.1 release