From abf98b6810bd17d4ad8b053984bab144fef8b9b5 Mon Sep 17 00:00:00 2001 From: muzahidul-opti Date: Fri, 5 Dec 2025 18:43:12 +0600 Subject: [PATCH 1/2] feat: upgrade to version 5.2.0 and add new features, enhancements, and API changes in the Changelog and README files --- .github/workflows/swift.yml | 2 +- CHANGELOG.md | 13 +++++++++++++ README.md | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 44387a32..ff449e11 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,7 +17,7 @@ on: description: release env: - VERSION: 5.1.1 + VERSION: 5.2.0 jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index fae41347..925ab919 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Optimizely Swift SDK Changelog +## 5.2.0 +Dec 5th, 2025 + +### New Features +- **CMAB (Contextual Multi-Armed Bandit) Support**: Added support for CMAB experiments with new configuration options and cache control ([#599](https://github.com/optimizely/swift-sdk/pull/599), [#600](https://github.com/optimizely/swift-sdk/pull/600), [#601](https://github.com/optimizely/swift-sdk/pull/601), [#602](https://github.com/optimizely/swift-sdk/pull/602), [#603](https://github.com/optimizely/swift-sdk/pull/603), [#609](https://github.com/optimizely/swift-sdk/pull/609), [#610](https://github.com/optimizely/swift-sdk/pull/610)) +- **Add Holdouts Feature**: Add Holdout support for feature experimentation. ([#577](https://github.com/optimizely/swift-sdk/pull/577), [#577](https://github.com/optimizely/swift-sdk/pull/577), [#578](https://github.com/optimizely/swift-sdk/pull/578), [#579](https://github.com/optimizely/swift-sdk/pull/579), [#587](https://github.com/optimizely/swift-sdk/pull/587)) +- **Multi-Region Support for Data Hosting**: Added SDK support for multi-region data hosting ([#606](https://github.com/optimizely/swift-sdk/pull/606)) + +### API Changes +- **Client Initialization**: Custom `CmabConfig` struct can be injected when initializing client. ([#610](https://github.com/optimizely/swift-sdk/pull/610)) +- **Decide Async support**: New `decideAsync` method added to support CMAB decision. ([#602](https://github.com/optimizely/swift-sdk/pull/602)) +- **New Decide Options**: `ignoreCmabCache`, `resetCmabCache`, `invalidateUserCmabCache` for CMAB cache control. ([#601](https://github.com/optimizely/swift-sdk/pull/601)) + ## 5.1.1 Jun 2th, 2025 diff --git a/README.md b/README.md index 983acfbe..2ffb418b 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', '~> 5.1.1'```
+```pod 'OptimizelySwiftSDK', '~> 5.2.0'```
 
2. Run the following command:
``` pod install ```
From 389d8ace03704dbb275511b179b170b1a80a4923 Mon Sep 17 00:00:00 2001 From: muzahidul-opti Date: Fri, 5 Dec 2025 18:50:11 +0600 Subject: [PATCH 2/2] clean up --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 925ab919..1912ea7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ Dec 5th, 2025 ### New Features - **CMAB (Contextual Multi-Armed Bandit) Support**: Added support for CMAB experiments with new configuration options and cache control ([#599](https://github.com/optimizely/swift-sdk/pull/599), [#600](https://github.com/optimizely/swift-sdk/pull/600), [#601](https://github.com/optimizely/swift-sdk/pull/601), [#602](https://github.com/optimizely/swift-sdk/pull/602), [#603](https://github.com/optimizely/swift-sdk/pull/603), [#609](https://github.com/optimizely/swift-sdk/pull/609), [#610](https://github.com/optimizely/swift-sdk/pull/610)) -- **Add Holdouts Feature**: Add Holdout support for feature experimentation. ([#577](https://github.com/optimizely/swift-sdk/pull/577), [#577](https://github.com/optimizely/swift-sdk/pull/577), [#578](https://github.com/optimizely/swift-sdk/pull/578), [#579](https://github.com/optimizely/swift-sdk/pull/579), [#587](https://github.com/optimizely/swift-sdk/pull/587)) +- **Add Holdouts Feature**: Add Holdout support for feature experimentation. ([#577](https://github.com/optimizely/swift-sdk/pull/577), [#577](https://github.com/optimizely/swift-sdk/pull/577), [#578](https://github.com/optimizely/swift-sdk/pull/578), [#587](https://github.com/optimizely/swift-sdk/pull/587)) - **Multi-Region Support for Data Hosting**: Added SDK support for multi-region data hosting ([#606](https://github.com/optimizely/swift-sdk/pull/606)) ### API Changes