💡 Check the Migration Guide to understand the changes required to migrate your application to v2.
⚠️ BREAKING CHANGES
- Make
UserPatchAttributes
class final (#611) (Widcket) - Remove remaining
parameters
parameter (#607) (Widcket) - Rename
realm
parameter torealmOrConnection
(#602) (Widcket) - Make the
Challenge.CodingKeys
enum internal (#601) (Widcket) - Rename
createUser
tosignup
(#597) (Widcket) - Have
clearSession()
yield aResult
(#584) (Widcket) - Have the
revoke()
method yield aResult
(#582) (Widcket) - Lowercase the
PasswordlessType
enum cases (#580) (Widcket) - Do not check for Refresh Token presence in
hasValid(minTTL:)
(#574) (Widcket) - Remove parameterless
tokenExchange()
method (#573) (Widcket) - Make AuthTransaction internal (#570) (Widcket)
- Remove Web Auth method embedded in Authentication API client (#560) (Widcket)
- Use strictly-typed result and error types [SDK-2977] (#558) (Widcket)
- Migrate all errors to structs [SDK-2968] (#552) (Widcket)
- Decouple Credentials Manager storage from SimpleKeychain [SDK-2936] (#551) (adamjmcgrath)
- Replace
JSONObjectPayload
withCodable
onCredentials
[SDK-2958] (#549) (Widcket) - Make credentials renewal thread-safe [SDK-2903] (#548) (Widcket)
- Remove deprecated metods (#543) (Widcket)
- Remove custom
Result
type [SDK-2901] (#542) (Widcket) - Use
openid profile email
as the default scope value [SDK-2926] (#540) (Widcket) - Drop support for Objective-C [SDK-2894] (#539) (Widcket)
- Use only
code
response type and drop implicit grant [SDK-2899] (#538) (Widcket) - Remove the
channel
parameter from MFA challenge method [SDK-2904] (#536) (Widcket) - Enforce
openid
scope on Web Auth [SDK-2924] (#535) (Widcket) - Make some
Credentials
properties non-optional [SDK-2900] (#533) (Widcket) - Drop support for HS256 (#532) (Widcket)
- Drop older Swift versions (#531) (Widcket)
- Remove
parameters
from Authentication API client methods [SDK-2902] (#530) (Widcket) - Drop platform versions [SDK-2895] (#527) (Widcket)
Added
- Add wrappers with default values for MFA methods (#583) (Widcket)
- Add support for async/await (#572) (Widcket)
- Add custom description to
Credentials
(#571) (Widcket) - Add support for Combine [SDK-2907] (#566) (Widcket)
- Add a way to pass custom headers directly to the request [SDK-2908] (#562) (adamjmcgrath)
- Add support for subpaths in Auth0 domain [SDK-2963] (#557) (Widcket)
- Add support for custom URL sessions to Web Auth (#556) (Widcket)
Changed
- Use
Auth0Error
for ID Token validation errors (#569) (Widcket) - Migrate existing Objective-C code to Swift [SDK-2905] (#547) (adamjmcgrath)
Fixed