diff --git a/OktaAuthFoundation.podspec b/OktaAuthFoundation.podspec index 93ffc8b8d..bd4e480e5 100644 --- a/OktaAuthFoundation.podspec +++ b/OktaAuthFoundation.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "OktaAuthFoundation" s.module_name = "AuthFoundation" - s.version = "1.8.3" + s.version = "1.9.0" s.summary = "Okta Authentication Foundation" s.description = <<-DESC Provides the foundation and common features used to authenticate users, managing the lifecycle and storage of tokens and credentials, and provide a base for other Okta SDKs to build upon. diff --git a/OktaDirectAuth.podspec b/OktaDirectAuth.podspec index 63fa3731c..aa7fa9d9e 100644 --- a/OktaDirectAuth.podspec +++ b/OktaDirectAuth.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "OktaDirectAuth" - s.version = "1.8.3" + s.version = "1.9.0" s.summary = "Okta Direct Authentication" s.description = <<-DESC Enables application developers to build native sign in experiences using the Okta Direct Authentication API. diff --git a/OktaOAuth2.podspec b/OktaOAuth2.podspec index a371a2d78..f56f0065b 100644 --- a/OktaOAuth2.podspec +++ b/OktaOAuth2.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "OktaOAuth2" - s.version = "1.8.3" + s.version = "1.9.0" s.summary = "Okta OAuth2 Authentication" s.description = <<-DESC Enables application developers to authenticate users utilizing a variety of OAuth2 authentication flows. diff --git a/OktaWebAuthenticationUI.podspec b/OktaWebAuthenticationUI.podspec index 6a8e3e19f..24e4c5181 100644 --- a/OktaWebAuthenticationUI.podspec +++ b/OktaWebAuthenticationUI.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "OktaWebAuthenticationUI" s.module_name = "WebAuthenticationUI" - s.version = "1.8.3" + s.version = "1.9.0" s.summary = "Okta Web Authentication UI" s.description = <<-DESC Authenticate users using web-based OIDC. diff --git a/README.md b/README.md index d0270c7f2..808252729 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This library uses semantic versioning and follows Okta's [Library Version Policy | Version | Status | | ------- | ---------------------------------- | -| 1.8.3 | ✔️ Stable | +| 1.9.0 | ✔️ Stable | The latest release can always be found on the [releases page][github-releases]. diff --git a/Sources/AuthFoundation/User Management/Internal/CredentialCoordinatorImpl.swift b/Sources/AuthFoundation/User Management/Internal/CredentialCoordinatorImpl.swift index 2b0fbe521..b5d2c0ead 100644 --- a/Sources/AuthFoundation/User Management/Internal/CredentialCoordinatorImpl.swift +++ b/Sources/AuthFoundation/User Management/Internal/CredentialCoordinatorImpl.swift @@ -94,11 +94,11 @@ final class CredentialCoordinatorImpl: CredentialCoordinator { } static func defaultTokenStorage() -> TokenStorage { - #if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) - KeychainTokenStorage() - #else + #if os(iOS) || os(macOS) || os(tvOS) || os(watchOS) || os(visionOS) + KeychainTokenStorage() + #else UserDefaultsTokenStorage() - #endif + #endif } static func defaultCredentialDataSource() -> CredentialDataSource { diff --git a/Sources/AuthFoundation/Utilities/URL+InternalExtensions.swift b/Sources/AuthFoundation/Utilities/URL+InternalExtensions.swift index 588c86dff..0fb8a8852 100644 --- a/Sources/AuthFoundation/Utilities/URL+InternalExtensions.swift +++ b/Sources/AuthFoundation/Utilities/URL+InternalExtensions.swift @@ -17,19 +17,19 @@ extension URL { // https://github.com/apple/swift-corelibs-foundation/issues/4849 @inlinable func appendingComponent(_ component: String) -> URL { - // swiftlint:disable force_unwrapping #if os(Linux) + // swiftlint:disable force_unwrapping var components = URLComponents(url: self, resolvingAgainstBaseURL: true)! if !components.path.hasSuffix("/") { components.path.append("/") } components.path.append(component) return components.url! + // swiftlint:enable force_unwrapping #else var result = self result.appendPathComponent(component) return result #endif - // swiftlint:enable force_unwrapping } } diff --git a/Sources/AuthFoundation/Version.swift b/Sources/AuthFoundation/Version.swift index 9bb3c4c6d..5d06277cd 100644 --- a/Sources/AuthFoundation/Version.swift +++ b/Sources/AuthFoundation/Version.swift @@ -14,5 +14,5 @@ import Foundation // swiftlint:disable identifier_name @_documentation(visibility: private) -public let Version = SDKVersion(sdk: "okta-authfoundation-swift", version: "1.8.3") +public let Version = SDKVersion(sdk: "okta-authfoundation-swift", version: "1.9.0") // swiftlint:enable identifier_name diff --git a/Sources/OktaDirectAuth/Version.swift b/Sources/OktaDirectAuth/Version.swift index 8c316af82..cc02ab159 100644 --- a/Sources/OktaDirectAuth/Version.swift +++ b/Sources/OktaDirectAuth/Version.swift @@ -14,5 +14,5 @@ // swiftlint:disable identifier_name @_documentation(visibility: private) -public let Version = SDKVersion(sdk: "okta-directauth-swift", version: "1.8.3") +public let Version = SDKVersion(sdk: "okta-directauth-swift", version: "1.9.0") // swiftlint:enable identifier_name diff --git a/Sources/OktaOAuth2/Version.swift b/Sources/OktaOAuth2/Version.swift index ac86924e7..999c6660e 100644 --- a/Sources/OktaOAuth2/Version.swift +++ b/Sources/OktaOAuth2/Version.swift @@ -14,5 +14,5 @@ // swiftlint:disable identifier_name @_documentation(visibility: private) -public let Version = SDKVersion(sdk: "okta-oauth2-swift", version: "1.8.3") +public let Version = SDKVersion(sdk: "okta-oauth2-swift", version: "1.9.0") // swiftlint:enable identifier_name diff --git a/Sources/WebAuthenticationUI/Version.swift b/Sources/WebAuthenticationUI/Version.swift index d7eb4d43b..08a5fda1b 100644 --- a/Sources/WebAuthenticationUI/Version.swift +++ b/Sources/WebAuthenticationUI/Version.swift @@ -15,6 +15,6 @@ import AuthFoundation #if canImport(UIKit) || canImport(AppKit) @_documentation(visibility: private) -public let Version = SDKVersion(sdk: "okta-webauthenticationui-swift", version: "1.8.3") +public let Version = SDKVersion(sdk: "okta-webauthenticationui-swift", version: "1.9.0") // swiftlint:enable identifier_name #endif