💡 Check the Migration Guide to understand the changes required to migrate your application to v3.
⚠️ BREAKING CHANGES
- Throwing storage methods: CredentialsManager and CredentialsStorage methods now throw instead of returning Bool or nil, so failures are never silently swallowed. #1127 (NandanPrabhu)
- breaking: remove Management API client #1104 (sanchitmehtagit)
- feat: Add Error handling for DPoP thumbprint mismatch error #1145 (NandanPrabhu)
- feat: Swift 6 strict concurrency compliance for WebAuth Part 2 #1138 (sanchitmehtagit)
- feat: Update default values for minTTL, scope, and connection parameters to improve developer experience #1080 (sanchitmehtagit)
- Rename clearSession() to logout() and UserInfo to UserProfile #1105(utkrishtsahu)
- rename expiresIn to expiresAt and Telemetry to Auth0ClientInfo #1114 (utkrishtsahu)
- feat: Swift 6 MainActor callbacks across all public APIs and Request<T: Sendable> constraint #1142 (sanchitmehtagit)
Added
- feat: integrate credentials manager with webauth #1146 (subhankarmaiti)
- feat: add clearAll() API to CredentialsManager and deleteAllEntries() method CredentialsStorage #1116 (utkrishtsahu)
- ID token validation for the API that return id token as part of Credentials and SSOCredentials #1091 (NandanPrabhu)
Changed
- feat: Removes three sources of mutable global state that block Swift 6 strict concurrency #1141 (sanchitmehtagit)
- feat: Swift 6 Sendable closures and CredentialsManager parameter Sen… #1140 (sanchitmehtagit)
- feat: add Sendable annotations to closure parameters for Swift 6 compliance #1128 (sanchitmehtagit)
- feat: Swift 6 strict concurrency compliance for WebAuth Part 1 #1123 (sanchitmehtagit)
Dependency Update
- chore: JWTDecode updated to 4.0 for swift 6 compliance #1101 (sanchitmehtagit)