Releases: vapor/jwt
Releases · vapor/jwt
JWT 0.11
New:
- Added
.rawToken
Fixed:
- Different order in JSON serialization will no longer cause issues with signature verification
JWT 0.10.1
Fixed:
makeBytes()
update
JWT
New:
- Works with the latest version of Node 2
JWT 0.9.0
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
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
VaporJWT got a new home and a new name: JWT.
Fixed:
- base64 encoding bug
New:
- deprecated
verifySignatureWith(_:)
, useverifySignature(using:)
instead - changed name to JWT
Fix for release builds #2
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
0.6.1 Fix RSA signing/verifying
RSA Signers
You can now sign and verify your JWTs using RS256, RS384, and RS512.
Fix for release builds
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.