Skip to content

Releases: vapor/jwt

JWT 0.11

19 Mar 14:17
Compare
Choose a tag to compare
JWT 0.11 Pre-release
Pre-release

New:

  • Added .rawToken

Fixed:

  • Different order in JSON serialization will no longer cause issues with signature verification

JWT 0.10.1

19 Mar 13:18
Compare
Choose a tag to compare
JWT 0.10.1 Pre-release
Pre-release

Fixed:

  • makeBytes() update

JWT

08 Mar 14:03
Compare
Choose a tag to compare
JWT Pre-release
Pre-release

New:

  • Works with the latest version of Node 2

JWT 0.9.0

17 Feb 09:36
Compare
Choose a tag to compare
JWT 0.9.0 Pre-release
Pre-release

New:

  • Claim verification is no longer based around a boolean return value but throws on failure
  • Time based claims (ExpirationTimeClaim and NotBeforeClaim) are now able to determine the evaluation time at the moment of verification
  • Now using Vapor 2 Alpha

Tag 0.8 will continue to be supported for users that want to continue using JWT with Vapor 1.0.

JWT 0.8.0

10 Feb 13:26
Compare
Choose a tag to compare
JWT 0.8.0 Pre-release
Pre-release

New:

  • RSA signers now support either a public or private key. (JWTs can only be signed with a private key, but can have their signatures verified by both)
  • Error descriptions.

Fixed:

  • HMAC SHA512 now hashes correctly.

JWT 0.7.0

08 Feb 16:32
Compare
Choose a tag to compare
JWT 0.7.0 Pre-release
Pre-release

VaporJWT got a new home and a new name: JWT.

Fixed:

  • base64 encoding bug

New:

  • deprecated verifySignatureWith(_:), use verifySignature(using:) instead
  • changed name to JWT

Fix for release builds #2

29 Dec 15:04
Compare
Choose a tag to compare

This fixes errors like:

error: undefined reference to '_TFE8VaporJWTPS_16ClaimsVerifiable12verifyClaimsfGSaPS_5Claim(bool) static'

when using verifyClaims in release builds.

Thanks @alexaubry for PR #12 !

Fixed RSA signing/verifying

22 Nov 20:11
Compare
Choose a tag to compare
0.6.1

Fix RSA signing/verifying

RSA Signers

20 Nov 22:39
Compare
Choose a tag to compare

You can now sign and verify your JWTs using RS256, RS384, and RS512.

Fix for release builds

17 Nov 19:38
Compare
Choose a tag to compare

This release fixes a compile error when using verifySignatureWith: that only occurred in release builds.

So if you had problems like:

Undefined symbols for architecture x86_64:
  "__TFE8VaporJWTPS_19SignatureVerifiable19verifySignatureWithfzPS_6Signer_Sb", referenced from:
...

this should now be fixed.