As expected with a major release, JWTDecode.swift v3 contains breaking changes. Please review this guide thorougly to understand the changes required to migrate your application to v3.
The minimum supported Swift version is now 5.5.
JWTDecode.swift no longer supports Objective-C.
The deployment targets for each platform were raised to:
- iOS 12.0
- macOS 10.15
- tvOS 12.0
- watchOS 6.2
The built-in ID token validator was removed:
ValidatorJWT
protocolValidationError
enumIDTokenValidation
struct
The DecodeError
enum was renamed to JWTDecodeError
.
The JWTDecodeError.invalidBase64Url
enum case was renamed to JWTDecodeError.invalidBase64URL
.