Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/documentation-ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

TARGET_LIST=""

mkdir -p "docs/okta-mobile-swift/$VERSION"
mkdir -p "docs/$VERSION"

echo "Initializing target list"
for TARGET in $(swift package describe --type json | jq ".products[].name" | sed -e 's/"//g'); do
Expand All @@ -47,7 +47,7 @@ jobs:
--disable-indexing \
--transform-for-static-hosting \
--hosting-base-path "okta-mobile-swift/$VERSION" \
--output-path "docs/okta-mobile-swift/$VERSION" \
--output-path "docs/$VERSION" \
--include-extended-types \
--symbol-graph-minimum-access-level public \
--experimental-skip-synthesized-symbols \
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,28 @@ jobs:
fi
- name: Check if the PR is a draft
id: check_draft_status
if: ${{ github.event.pull_request.draft }}
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft }}
shell: bash
run: |
echo "is_draft=true" >> $GITHUB_OUTPUT
- name: List Changed Files
id: list_changed_files
run: |
COMMITS_RANGE=""

if [[ "${{ github.event_name }}" == "pull_request" ]]; then
git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} > changes
# For Pull Requests: Compare the HEAD of the PR branch with its base branch.
COMMITS_RANGE="${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}"
elif [[ "${{ github.event_name }}" == "push" && "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]]; then
git diff --name-only ${{ github.event.before }} ${{ github.sha }} > changes
elif [[ "${{ github.event_name }}" == "push" && "${{ github.event.before }}" == "0000000000000000000000000000000000000000" ]]; then
# For standard Push events, compare the current commit with the commit before the push.
COMMITS_RANGE="${{ github.event.before }}..${{ github.sha }}"
fi

if [[ -z "$COMMITS_RANGE" ]]; then
# If no commit range was identified from the github events, get a list of all changes
git ls-tree -r HEAD --name-only > changes
else
elif ! git diff --name-only "$COMMITS_RANGE" > changes; then
# If diffing the commit range failed (e.g. due to a force push or rebased branch), fall back to listing all changes
git ls-tree -r HEAD --name-only > changes
fi

Expand Down
2 changes: 1 addition & 1 deletion OktaAuthFoundation.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "OktaAuthFoundation"
s.module_name = "AuthFoundation"
s.version = "2.0.0"
s.version = "2.0.1"
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.
Expand Down
2 changes: 1 addition & 1 deletion OktaBrowserSignin.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "OktaBrowserSignin"
s.module_name = "BrowserSignin"
s.version = "2.0.0"
s.version = "2.0.1"
s.summary = "Okta Browser Sign In UI"
s.description = <<-DESC
Authenticate users using web-based OIDC.
Expand Down
2 changes: 1 addition & 1 deletion OktaClient.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OktaClient"
s.version = "2.0.0"
s.version = "2.0.1"
s.summary = "Secure client authentication, request authorization, and user management capabilities for Swift."
s.description = <<-DESC
Provides a modularized set of libraries that provide the building blocks and convenience features used to authenticate users, manage the lifecycle and storage of tokens and user credentials, and provide a base for other libraries and applications to build upon.
Expand Down
2 changes: 1 addition & 1 deletion OktaDirectAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OktaDirectAuth"
s.version = "2.0.0"
s.version = "2.0.1"
s.summary = "Okta Direct Authentication"
s.description = <<-DESC
Enables application developers to build native sign in experiences using the Okta Direct Authentication API.
Expand Down
2 changes: 1 addition & 1 deletion OktaIdxAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'OktaIdxAuth'
s.version = '2.0.0'
s.version = '2.0.1'
s.summary = 'SDK to easily integrate the Okta Identity Engine'
s.description = <<-DESC
Integrate your native app with Okta using the Okta Identity Engine library.
Expand Down
2 changes: 1 addition & 1 deletion OktaOAuth2.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "OktaOAuth2"
s.module_name = "OAuth2Auth"
s.version = "2.0.0"
s.version = "2.0.1"
s.summary = "Okta OAuth2 Authentication"
s.description = <<-DESC
Enables application developers to authenticate users utilizing a variety of OAuth2 authentication flows.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ This library uses semantic versioning and follows Okta's [Library Version Policy
| Version | Status |
| ------- | ---------------------------------- |
| 1.8.3 | Retiring |
| 2.0.0 | |
| 2.0.1 | ✔️ Stable |
| 2.x | :heavy_check_mark: Stable ([migration guide][migration-1x]) |

The latest release can always be found on the [releases page][github-releases].

Expand Down Expand Up @@ -532,3 +531,4 @@ We are happy to accept contributions and PRs! Please see the [contribution guide
[Rate Limiting at Okta]: https://developer.okta.com/docs/api/getting_started/rate-limits
[okta-library-versioning]: https://developer.okta.com/code/library-versions
[support-policy]: #support-policy
[migration-1x]: MIGRATION.md#migrating-from-okta-client-sdk-1x
2 changes: 1 addition & 1 deletion Sources/AuthFoundation/Version+AuthFoundation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ extension SDKVersion.Name {
extension SDKVersion {
@_documentation(visibility: private)
public static let authFoundation: SDKVersion? = {
register(.authFoundation, version: "2.0.0")
register(.authFoundation, version: "2.0.1")
}()
}
2 changes: 1 addition & 1 deletion Sources/BrowserSignin/Version+BrowserSignin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ extension SDKVersion.Name {
extension SDKVersion {
@_documentation(visibility: private)
public static let browserSignin: SDKVersion? = {
register(.browserSignin, version: "2.0.0")
register(.browserSignin, version: "2.0.1")
}()
}
2 changes: 1 addition & 1 deletion Sources/OAuth2Auth/Version+OAuth2Auth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ extension SDKVersion.Name {
extension SDKVersion {
@_documentation(visibility: private)
public static let oauth2: SDKVersion? = {
register(.oauth2, version: "2.0.0")
register(.oauth2, version: "2.0.1")
}()
}
2 changes: 1 addition & 1 deletion Sources/OktaDirectAuth/Version+OktaDirectAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ extension SDKVersion.Name {
extension SDKVersion {
@_documentation(visibility: private)
public static let directAuth: SDKVersion? = {
register(.directAuth, version: "2.0.0")
register(.directAuth, version: "2.0.1")
}()
}
2 changes: 1 addition & 1 deletion Sources/OktaIdxAuth/Version+OktaIdxAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ extension SDKVersion.Name {
extension SDKVersion {
@_documentation(visibility: private)
public static let oktaIdx: SDKVersion? = {
register(.oktaIdx, version: "2.0.0")
register(.oktaIdx, version: "2.0.1")
}()
}
Loading