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..1912ea7c 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), [#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 ```