Change Log

2.5.0 (2023-07-18)

Full Changelog

Added

2.4.0 (2023-06-15)

Full Changelog

Added

Changed

Fixed

Removed

2.3.2 (2022-10-28)

Full Changelog

Fixed

2.3.1 (2022-07-29)

Full Changelog

Fixed

2.3.0 (2022-07-22)

Full Changelog

Added

Changed

Fixed

2.2.0 (2022-07-14)

Full Changelog

Added

Changed

2.1.0 (2022-05-26)

Full Changelog

Added

2.0.1 (2022-04-29)

Full Changelog

Fixed

2.0.0 (2022-03-14)

Full Changelog

Migration Guide

2.0.0-beta.1 (2022-01-26)

Full Changelog

Migration Guide

Added

2.0.0-beta.0 (2022-01-17)

Full Changelog

Migration Guide

⚠️ BREAKING CHANGES

Added

Changed

Fixed

1.39.0 (2022-03-07)

Full Changelog

Added

1.38.1 (2022-02-02)

Full Changelog

Fixed

1.38.0 (2021-10-29)

Full Changelog

Deprecated

1.37.1 (2021-10-15)

Full Changelog

Fixed

1.37.0 (2021-10-12)

Full Changelog

Changed

Deprecated

1.36.0 (2021-09-01)

Full Changelog

Added

Deprecated

1.35.0 (2021-07-19)

Full Changelog

Added

1.34.0 (2021-07-05)

Full Changelog

Added

1.33.1 (2021-06-07)

Full Changelog

Changed

1.33.0 (2021-04-23)

Full Changelog

Changed

1.32.0 (2021-03-18)

Full Changelog

Added

1.31.1 (2021-03-09)

Full Changelog

Fixed

1.31.0 (2021-02-12)

Full Changelog

Added

Fixed

1.30.1 (2020-11-11)

Full Changelog

Fixed

1.30.0 (2020-10-23)

Full Changelog

Added

1.29.0 (2020-10-08)

Full Changelog

Changed

Fixed

1.28.0 (2020-08-21)

Full Changelog

Added

1.27.0 (2020-07-27)

Full Changelog

Added

1.26.0 (2020-06-10)

Full Changelog

Added

Changed

1.25.0 (2020-05-18)

Full Changelog

Added

1.24.1 (2020-04-30)

Full Changelog

Fixed

1.24.0 (2020-04-29)

Full Changelog

Added

1.23.0 (2020-03-30)

Full Changelog

Added

Deprecated

Fixed

Security

1.22.1 (2020-02-28)

Full Changelog

Fixed

1.22.0 (2020-02-19)

Full Changelog

Added

Changed

1.21.0 (2020-02-04)

Full Changelog

Added

Fixed

1.20.0 (2020-01-03)

Full Changelog

Added

1.19.3 (2019-11-27)

Full Changelog

Fixed

1.19.2 (2019-11-14)

Full Changelog

Added

1.19.1 (2019-10-31)

Full Changelog

Added

Fixed

1.19.0 (2019-10-15)

Full Changelog

Added

1.18.0 (2019-09-20)

Full Changelog

Added

1.17.1 (2019-09-04)

Full Changelog

Fixed

1.17.0 (2019-08-27)

Full Changelog

Added

Notes Behaviour changes in iOS 13 relating to Web Authentication require that in Xcode 11 this library must be compiled using Swift 5.x. This should be the default setting unless it has been manually changed.

1.16.1 (2019-07-29)

Full Changelog

Fixed

1.16.0 (2019-07-17)

Full Changelog

Added

Fixed

1.15.0 (2019-04-24)

Full Changelog

Added

1.14.2 (2019-03-18)

Full Changelog

Changed

1.14.1 (2019-01-11)

Full Changelog

Fixed

1.14.0 (2018-12-06)

Full Changelog

Added

Fixed

1.13.0 (2018-09-17)

Full Changelog

Fixed

1.12.0 (2018-07-26)

Full Changelog

Added

Fixed

1.11.1 (2018-06-08)

Full Changelog

Added

1.11.0 (2018-05-11)

Full Changelog

Added

Changed

1.10.1 (2018-03-08)

Full Changelog

Fixed

1.10.0 (2018-01-05)

Full Changelog

Changed

1.9.2 (2017-11-17)

Full Changelog

Fixed

1.9.1 (2017-10-20)

Full Changelog

Fixed

1.9.0 (2017-10-19)

Full Changelog

Added

1.8.0 (2017-09-15)

Full Changelog

Changed

Fixed

1.7.2 (2017-09-11)

Full Changelog

Added

Fixed

1.7.1 (2017-07-11)

Full Changelog

Added

1.7.0 (2017-06-26)

Full Changelog

Added

Changed

Deprecated

1.6.0 (2017-06-06)

Full Changelog

Added

Changed

Fixed

1.5.0 (2017-03-27)

Full Changelog

Added

1.4.0 (2017-03-16)

Full Changelog

Added

1.3.0 (2017-03-13)

Full Changelog

Added

Changed

Fixed

1.2.0 (2017-02-06)

Full Changelog

Added

Fixed

1.1.1 (2017-01-02)

Full Changelog

Fixed

1.1.0 (2016-12-16)

Full Changelog

Closed issues

Added

Changed

Deprecated

1.0.1 (2016-11-23)

Full Changelog

Fixed

1.0.0 (2016-10-06)

Full Changelog

Closed issues

Fixed

1.0.0-rc.4 (2016-09-18)

Full Changelog

This version (and future ones) requires Xcode 8 and Swift 3. For Swift 2.3 please check the branch v1@swift-2.3

Closed issues:

Changed:

1.0.0-rc.3 (2016-09-14)

Full Changelog

Closed issues:

Changed:

1.0.0-rc.2 (2016-09-09)

Full Changelog

Changed:

Breaking changes:

The function enableLogging() was removed, so now to enable logging in the library you should enable it per-client instead of globally.

For Auth API

var auth = Auth0.authentication()
auth.logging(enabled: true)

For Users API

var users = Auth0.users(token: "token")
users.logging(enabled: true)

Also now you can provide a custom Logger to replace the default one (which just uses Swift print). It only needs to implement the protocol Logger

let logger = MyCustomLogger()
var auth = Auth0.authentication()
auth.usingLogger(logger)

1.0.0-rc.1 (2016-08-17)

Full Changelog

Added:

1.0.0-beta.7 (2016-07-29)

Full Changelog

Added:

Changed:

1.0.0-beta.6 (2016-07-26)

Full Changelog

Added:

1.0.0-beta.5 (2016-06-30)

Full Changelog

Changed:

Breaking changes:

The UserProfile is not named Profile (in Objective C is A0Profile).

1.0.0-beta.4 (2016-06-30)

Full Changelog

Added:

Fixed:

1.0.0-beta.3 (2016-06-20)

Full Changelog

Added:

Changed:

Breaking changes:

Most of the Authentication API methods first parameters labels are required so for example this call:

Auth0
    .login("mail@mail.com", password: "secret", connection: "connection")

now needs to have the usernameOrEmail parameter label

Auth0
    .login(usernameOrEmail: "mail@mail.com", password: "secret", connection: "connection")

Now all Result object return ErrorType instead of a specific error, this means that OS errors like no network, or connection could not be established are not wrapped in any Auth0 error anymore.

Also the error types that Auth0.swift API clients can return are no longer an enum but a simple object:

Each of them has it's own values according at what each api returns when the request fails. Now to handle Auth0.swift errors in your callback, you can do the following:

Auth0
    .login(usernameOrEmail: "mail@mail.com", password: "secret", connection: "connection")
    .start { result in
        switch result {
        case .Success(let credentials):
            print(credentials)
        case .Failure(let cause as AuthenticationError):
            print("Auth0 error was \(cause)")
        case .Failure(let cause):
            print("Unknown error: \(cause)")
        }
    }

Also, AuthenticationError has some helper methods to check for common failures:

Auth0
    .login(usernameOrEmail: "mail@mail.com", password: "secret", connection: "connection")
    .start { result in
        switch result {
        case .Success(let credentials):
            print(credentials)
        case .Failure(let cause as AuthenticationError) where cause.isMultifactorRequired:
            print("Need to ask the user for his mfa code!")
        case .Failure(let cause):
            print("Login failed with error: \(cause)")
        }
    }

1.0.0-beta.2 (2016-06-09)

Full Changelog

Added:

Fixed:

1.0.0-beta.1 (2016-05-25)

Full Changelog

Added:

Changed:

0.3.0 (2016-04-25)

Full Changelog

Closed issues:

Merged pull requests:

0.2.0 (2015-09-17)

Full Changelog

Merged pull requests:

0.1.2 (2015-07-03)

Full Changelog

Merged pull requests:

0.1.1 (2015-07-02)

Full Changelog

0.1.0 (2015-07-02)

* This Change Log was automatically generated by github_changelog_generator