Skip to content

Releases: vapor/jwt

5.1.2 - Updating Key Collections

07 Jan 16:49
af1c597
Compare
Choose a tag to compare

What's Changed

Updating Key Collections by @dimitribouniol in #164

JWT key collections (keys) are marked as being settable, but in practice they can’t be since jwt is not settable. Marking keys as having a non mutating setting fixes this and allows the underlying storage to be updated safely.

This patch was released by @ptoffy

Full Changelog: 5.1.1...5.1.2

5.1.1 - Correctly conform `JWTError` to `AbortError`

16 Nov 03:13
ec5a9d4
Compare
Choose a tag to compare

What's Changed

Correctly conform JWTError to AbortError by @0xTim in #162

Make sure JWTError now conforms to AbortError so error messages are returned as expected (and as in v4).

Fixes the token used in the tests so the tests now pass and add back the check for expired.

Reviewers

Thanks to the reviewers for their help:

This patch was released by @0xTim

Full Changelog: 5.1.0...5.1.1

5.1.0 - Add support for Firebase Authentication

21 Oct 14:20
8ce7280
Compare
Choose a tag to compare

What's Changed

Add support for Firebase Authentication by @petrpavlik in #160

Add support for decoding Firebase Authentication JWT tokens.

  1. Provide project id when configuring your Vapor application
app.jwt.firebaseAuth.applicationIdentifier = firebaseProjectId
  1. Verify the token on a request
let token = try await req.jwt.firebaseAuth.verify()
let email = token.email
let name = token.name
let avatarUrl = token.avatarUrl
// ...
This patch was released by @ptoffy

Full Changelog: 5.0.0...5.1.0

5.0.0

05 Oct 17:11
f208afc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.2.2...5.0.0

5.0.0 Release Candidate 1

09 Jul 13:36
f240c5f
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: 5.0.0-beta.4...5.0.0-rc.1

5.0.0 Beta 4

10 Jun 19:22
fddc39f
Compare
Choose a tag to compare
5.0.0 Beta 4 Pre-release
Pre-release

What's Changed

Full Changelog: 5.0.0-beta.3...5.0.0-beta.4

5.0.0 Beta 3

24 Apr 08:29
0b56253
Compare
Choose a tag to compare
5.0.0 Beta 3 Pre-release
Pre-release

What's Changed

Full Changelog: 5.0.0-beta.2...5.0.0-beta.3

5.0.0 Beta 2

17 Mar 15:37
690a134
Compare
Choose a tag to compare
5.0.0 Beta 2 Pre-release
Pre-release

What's Changed

Full Changelog: 5.0.0-beta.1...5.0.0-beta.2

5.0.0 Beta 1

27 Feb 11:57
c56703f
Compare
Choose a tag to compare
5.0.0 Beta 1 Pre-release
Pre-release

First beta release of major version 5.

Add missing platform specifiers

21 Mar 21:52
d65f32b
Compare
Choose a tag to compare
This patch was authored and released by @gwynne.

JWTKit and Vapor both already have the additional platforms.