From 37f9c027d098388f659f45d360266e88243de51e Mon Sep 17 00:00:00 2001 From: Muzahidul Islam Date: Mon, 25 Nov 2024 22:00:37 +0600 Subject: [PATCH 1/2] prepare release 5.0.0 --- .github/workflows/swift.yml | 2 +- CHANGELOG.md | 11 +++++++++++ README.md | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 4ebc6cc8..82382fa5 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,7 +17,7 @@ on: description: release env: - VERSION: 4.1.0 + VERSION: 5.0.0 jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index be38dbc5..d09e6c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Optimizely Swift SDK Changelog +## 5.0.0 +November 25th, 2024 + +### Breaking Changes +* VUID configuration is now independent of ODP ([#456](https://github.com/optimizely/swift-sdk/pull/556)) +* When VUID is disabled: + * `vuid` is not generated or saved. + * `client-initialized` event will not auto fired on SDK init. + * `vuid` is not included in the odp events as a default attribute. + * `createUserContext()` will be rejected if `userId` is not provided. + ## 4.1.0 November 8, 2024 diff --git a/README.md b/README.md index 1a271bc5..858f6295 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ If you have a name conflict with other swift packages when you add the Optimizel #### CocoaPods 1. Add the following lines to the _Podfile_:
 ```use_frameworks!```
-```pod 'OptimizelySwiftSDK', '~> 4.1.0'```
+```pod 'OptimizelySwiftSDK', '~> 5.0.0'```
 
2. Run the following command:
``` pod install ```
From 2bafcb9c682c2d798373a13bfe2649a0fbddcb67 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam Date: Mon, 25 Nov 2024 22:22:19 +0600 Subject: [PATCH 2/2] Update mac os runner --- .github/workflows/source_clear_cron.yml | 2 +- .github/workflows/swift.yml | 6 +++--- .github/workflows/unit_tests.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/source_clear_cron.yml b/.github/workflows/source_clear_cron.yml index ca1a715b..764649ab 100644 --- a/.github/workflows/source_clear_cron.yml +++ b/.github/workflows/source_clear_cron.yml @@ -9,7 +9,7 @@ on: jobs: source_clear: - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - name: Source clear scan diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 82382fa5..3186aa2b 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -32,7 +32,7 @@ jobs: TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }} lint: - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - uses: maxim-lobanov/setup-xcode@v1 @@ -50,7 +50,7 @@ jobs: uses: optimizely/swift-sdk/.github/workflows/unit_tests.yml@master prepare_for_release: - runs-on: macos-12 + runs-on: macos-13 if: "${{ github.event.inputs.PREP == 'true' && github.event_name == 'workflow_dispatch' }}" steps: - uses: actions/checkout@v3 @@ -79,7 +79,7 @@ jobs: release: if: "${{github.event.inputs.RELEASE == 'true' && github.event_name == 'workflow_dispatch' }}" - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v3 - uses: maxim-lobanov/setup-xcode@v1 diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 6ef910e8..ed9c1ca1 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -7,7 +7,7 @@ env: jobs: unittests: - runs-on: macos-12 + runs-on: macos-13 strategy: fail-fast: false matrix: