diff --git a/App/Info.plist b/App/Info.plist index c803c3a8..105fe8b1 100644 --- a/App/Info.plist +++ b/App/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.24.1 + 1.25.0 CFBundleSignature ???? CFBundleURLTypes diff --git a/Auth0/Info-tvOS.plist b/Auth0/Info-tvOS.plist index be977372..83613fc4 100644 --- a/Auth0/Info-tvOS.plist +++ b/Auth0/Info-tvOS.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.24.1 + 1.25.0 CFBundleSignature ???? CFBundleVersion diff --git a/Auth0/Info.plist b/Auth0/Info.plist index 27a7cc0f..52af747c 100644 --- a/Auth0/Info.plist +++ b/Auth0/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.24.1 + 1.25.0 CFBundleSignature ???? CFBundleVersion diff --git a/Auth0Tests/Info.plist b/Auth0Tests/Info.plist index 918f51f9..05378f67 100644 --- a/Auth0Tests/Info.plist +++ b/Auth0Tests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 1.24.1 + 1.25.0 CFBundleSignature ???? CFBundleVersion diff --git a/CHANGELOG.md b/CHANGELOG.md index c252e038..41c5431d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## [1.25.0](https://github.com/auth0/Auth0.swift/tree/1.25.0) (2020-05-18) +[Full Changelog](https://github.com/auth0/Auth0.swift/compare/1.24.1...1.25.0) + +**Added** +- Added support for ephemeral sessions [SDK-1559] [\#388](https://github.com/auth0/Auth0.swift/pull/388) ([Widcket](https://github.com/Widcket)) +- Bumped dependencies [SDK-1630] [\#386](https://github.com/auth0/Auth0.swift/pull/386) ([Widcket](https://github.com/Widcket)) + ## [1.24.1](https://github.com/auth0/Auth0.swift/tree/1.24.1) (2020-04-30) [Full Changelog](https://github.com/auth0/Auth0.swift/compare/1.24.0...1.24.1) diff --git a/Gemfile.lock b/Gemfile.lock index 6f574cfd..4bad2694 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,37 +2,46 @@ GEM remote: https://rubygems.org/ specs: CFPropertyList (3.0.2) - activesupport (4.2.11.1) + activesupport (4.2.11.3) i18n (~> 0.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) + algoliasearch (1.27.2) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) atomos (0.1.3) - aws-eventstream (1.0.3) - aws-sdk (2.11.463) - aws-sdk-resources (= 2.11.463) - aws-sdk-core (2.11.463) - aws-sigv4 (~> 1.0) + aws-eventstream (1.1.0) + aws-partitions (1.316.0) + aws-sdk-core (3.96.0) + aws-eventstream (~> 1, >= 1.0.2) + aws-partitions (~> 1, >= 1.239.0) + aws-sigv4 (~> 1.1) jmespath (~> 1.0) - aws-sdk-resources (2.11.463) - aws-sdk-core (= 2.11.463) - aws-sigv4 (1.1.1) + aws-sdk-kms (1.31.0) + aws-sdk-core (~> 3, >= 3.71.0) + aws-sigv4 (~> 1.1) + aws-sdk-s3 (1.64.0) + aws-sdk-core (~> 3, >= 3.83.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.1) + aws-sigv4 (1.1.3) aws-eventstream (~> 1.0, >= 1.0.2) babosa (1.0.3) claide (1.0.3) clamp (1.3.1) - cocoapods (1.7.5) + cocoapods (1.9.1) activesupport (>= 4.0.2, < 5) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.7.5) + cocoapods-core (= 1.9.1) cocoapods-deintegrate (>= 1.0.3, < 2.0) cocoapods-downloader (>= 1.2.2, < 2.0) cocoapods-plugins (>= 1.0.0, < 2.0) cocoapods-search (>= 1.0.0, < 2.0) cocoapods-stats (>= 1.0.0, < 2.0) - cocoapods-trunk (>= 1.3.1, < 2.0) + cocoapods-trunk (>= 1.4.0, < 2.0) cocoapods-try (>= 1.1.0, < 2.0) colored2 (~> 3.1) escape (~> 0.0.4) @@ -41,21 +50,25 @@ GEM molinillo (~> 0.6.6) nap (~> 1.0) ruby-macho (~> 1.4) - xcodeproj (>= 1.10.0, < 2.0) - cocoapods-core (1.7.5) + xcodeproj (>= 1.14.0, < 2.0) + cocoapods-core (1.9.1) activesupport (>= 4.0.2, < 6) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) fuzzy_match (~> 2.0.4) nap (~> 1.0) + netrc (~> 0.11) + typhoeus (~> 1.0) cocoapods-deintegrate (1.0.4) - cocoapods-downloader (1.2.2) + cocoapods-downloader (1.3.0) cocoapods-plugins (1.0.0) nap cocoapods-search (1.0.0) cocoapods-stats (1.1.0) - cocoapods-trunk (1.3.1) + cocoapods-trunk (1.5.0) nap (>= 0.8, < 2.0) netrc (~> 0.11) - cocoapods-try (1.1.0) + cocoapods-try (1.2.0) colored (1.2) colored2 (3.1.2) commander-fastlane (4.4.6) @@ -69,19 +82,21 @@ GEM dotenv (2.7.5) emoji_regex (1.0.1) escape (0.0.4) - excon (0.72.0) - faraday (0.17.3) + ethon (0.12.0) + ffi (>= 1.3.0) + excon (0.73.0) + faraday (1.0.1) multipart-post (>= 1.2, < 3) faraday-cookie_jar (0.0.6) faraday (>= 0.7.4) http-cookie (~> 1.0.0) - faraday_middleware (0.13.1) - faraday (>= 0.7.4, < 1.0) + faraday_middleware (1.0.0) + faraday (~> 1.0) fastimage (2.1.7) - fastlane (2.143.0) + fastlane (2.148.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.3, < 3.0.0) - aws-sdk (~> 2.3) + aws-sdk-s3 (~> 1.0) babosa (>= 1.0.2, < 2.0.0) bundler (>= 1.12.0, < 3.0.0) colored @@ -89,12 +104,12 @@ GEM dotenv (>= 2.1.1, < 3.0.0) emoji_regex (>= 0.1, < 2.0) excon (>= 0.71.0, < 1.0.0) - faraday (~> 0.17) + faraday (>= 0.17, < 2.0) faraday-cookie_jar (~> 0.0.6) - faraday_middleware (~> 0.13.1) + faraday_middleware (>= 0.13.1, < 2.0) fastimage (>= 2.1.0, < 3.0.0) gh_inspector (>= 1.1.2, < 2.0.0) - google-api-client (>= 0.29.2, < 0.37.0) + google-api-client (>= 0.37.0, < 0.39.0) google-cloud-storage (>= 1.15.0, < 2.0.0) highline (>= 1.7.2, < 2.0.0) json (< 3.0.0) @@ -118,10 +133,11 @@ GEM xcpretty-travis-formatter (>= 0.0.3) fastlane-plugin-auth0_shipper (0.4.1) semantic (~> 1.5) + ffi (1.12.2) fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) - google-api-client (0.36.4) + google-api-client (0.38.0) addressable (~> 2.5, >= 2.5.1) googleauth (~> 0.9) httpclient (>= 2.8.1, < 3.0) @@ -135,20 +151,20 @@ GEM google-cloud-env (1.3.1) faraday (>= 0.17.3, < 2.0) google-cloud-errors (1.0.0) - google-cloud-storage (1.25.1) + google-cloud-storage (1.26.1) addressable (~> 2.5) digest-crc (~> 0.4) google-api-client (~> 0.33) google-cloud-core (~> 1.2) googleauth (~> 0.9) mini_mime (~> 1.0) - googleauth (0.11.0) + googleauth (0.12.0) faraday (>= 0.17.3, < 2.0) jwt (>= 1.4, < 3.0) memoist (~> 0.16) multi_json (~> 1.11) os (>= 0.9, < 2.0) - signet (~> 0.12) + signet (~> 0.14) highline (1.7.10) http-cookie (1.0.3) domain_name (~> 0.5) @@ -162,7 +178,7 @@ GEM mini_magick (4.10.1) mini_mime (1.0.2) mini_portile2 (2.4.0) - minitest (5.14.0) + minitest (5.14.1) molinillo (0.6.6) multi_json (1.14.1) multi_xml (0.6.0) @@ -173,7 +189,7 @@ GEM netrc (0.11.0) nokogiri (1.10.9) mini_portile2 (~> 2.4.0) - os (1.0.1) + os (1.1.0) plist (3.5.0) public_suffix (2.0.5) representable (3.0.4) @@ -186,7 +202,7 @@ GEM rubyzip (1.3.0) security (0.1.3) semantic (1.6.1) - signet (0.13.0) + signet (0.14.0) addressable (~> 2.3) faraday (>= 0.17.3, < 2.0) jwt (>= 1.5, < 3.0) @@ -195,7 +211,7 @@ GEM CFPropertyList naturally slack-notifier (2.3.2) - slather (2.4.7) + slather (2.4.8) CFPropertyList (>= 2.2, < 4) activesupport (>= 4.0.2, < 5) clamp (~> 1.3) @@ -209,15 +225,17 @@ GEM tty-screen (0.7.1) tty-spinner (0.9.3) tty-cursor (~> 0.7) - tzinfo (1.2.6) + typhoeus (1.4.0) + ethon (>= 0.9.0) + tzinfo (1.2.7) thread_safe (~> 0.1) uber (0.1.0) unf (0.1.4) unf_ext - unf_ext (0.0.7.6) - unicode-display_width (1.6.1) + unf_ext (0.0.7.7) + unicode-display_width (1.7.0) word_wrap (1.0.0) - xcodeproj (1.15.0) + xcodeproj (1.16.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) diff --git a/OAuth2Mac/Info.plist b/OAuth2Mac/Info.plist index 7f72eaeb..115e8bfd 100644 --- a/OAuth2Mac/Info.plist +++ b/OAuth2Mac/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.24.1 + 1.25.0 CFBundleURLTypes diff --git a/OAuth2TV/Info.plist b/OAuth2TV/Info.plist index 5d6e6e21..2ba5a5e0 100644 --- a/OAuth2TV/Info.plist +++ b/OAuth2TV/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.24.1 + 1.25.0 CFBundleVersion 1 LSRequiresIPhoneOS diff --git a/README.md b/README.md index 2fd75187..a13e3a8a 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ Swift toolkit that lets you communicate efficiently with many of the [Auth0 API] ## Requirements - iOS 9+ / macOS 10.11+ / tvOS 9.0+ / watchOS 2.0+ -- Xcode 10.x/11.x -- Swift 4.x/5.x +- Xcode 10.x / 11.x +- Swift 4.x / 5.x ## Installation @@ -39,7 +39,7 @@ Swift toolkit that lets you communicate efficiently with many of the [Auth0 API] If you are using [Cocoapods](https://cocoapods.org), add this line to your `Podfile`: ```ruby -pod 'Auth0', '~> 1.24' +pod 'Auth0', '~> 1.25' ``` Then run `pod install`. @@ -51,7 +51,7 @@ Then run `pod install`. If you are using [Carthage](https://github.com/Carthage/Carthage), add the following line to your `Cartfile`: ```ruby -github "auth0/Auth0.swift" ~> 1.24 +github "auth0/Auth0.swift" ~> 1.25 ``` Then run `carthage bootstrap`. @@ -160,7 +160,7 @@ Finally, go to your [Auth0 Dashboard](https://manage.auth0.com/#/applications/) YOUR_BUNDLE_IDENTIFIER://YOUR_AUTH0_DOMAIN/ios/YOUR_BUNDLE_IDENTIFIER/callback ``` -e.g. If your bundle identifier was `com.company.myapp` and your Auth0 domain was `company.auth0.com` then this value would be +e.g. If your bundle identifier was `com.company.myapp` and your Auth0 domain was `company.auth0.com`, then this value would be: ```text com.company.myapp://company.auth0.com/ios/com.company.myapp/callback @@ -199,7 +199,7 @@ Auth0 .authentication() .renew(withRefreshToken: refreshToken) .start { result in - switch(result) { + switch result { case .success(let credentials): print("Obtained new credentials: \(credentials)") case .failure(let error): @@ -269,7 +269,7 @@ credentialsManager.enableBiometrics(withTitle: "Touch to Login") #### Sign in With Apple -If you've added [the Sign In with Apple flow](https://developer.apple.com/documentation/authenticationservices/implementing_user_authentication_with_sign_in_with_apple) to your app, you can use the string value from the `authorizationCode` property obtained after a successful Apple authentication to perform a token exchange for Auth0 tokens. +If you've added [the Sign In with Apple flow](https://developer.apple.com/documentation/authenticationservices/implementing_user_authentication_with_sign_in_with_apple) to your app, you can use the string value from the `authorizationCode` property obtained after a successful Apple authentication to perform a token exchange for Auth0 tokens. ```swift Auth0 @@ -365,7 +365,7 @@ Auth0 If you are using the [Custom Domains](https://auth0.com/docs/custom-domains) feature and need to use an Auth0 endpoint such as `/userinfo`, please use the Auth0 domain specified for your Application in the [Auth0 Dashboard](https://manage.auth0.com/#/applications/). -Example: `.audience("https://{YOUR_AUTH0_DOMAIN}/userinfo")` +Example: `.audience("https://{YOUR_AUTH0_DOMAIN}/userinfo")` ### Management API (Users)