From efefb0281c9c5b9edb79cd008475f596afd7ac25 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam Date: Thu, 9 Jul 2026 18:18:32 +0600 Subject: [PATCH 1/2] [FSSDK-12873] update CHANGELOG for swift v5.4.2 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 346cbdca..a6167dfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Optimizely Swift SDK Changelog +## 5.4.2 +July 9, 2026 + +### Fixes + +- Use attribute id instead of key for CMAB prediction requests ([#648](https://github.com/optimizely/swift-sdk/pull/648)) +- fix: defer NWPathMonitor creation to avoid crash during multi-SDK startup ([#650](https://github.com/optimizely/swift-sdk/pull/650)) +- fix: prevent EXC_BAD_ACCESS from premature URLSession deallocation ([#649](https://github.com/optimizely/swift-sdk/pull/649)) +- Replace non-numeric holdout placeholder IDs in event-construction tests ([#646](https://github.com/optimizely/swift-sdk/pull/646)) + ## 5.4.1 June 24, 2026 From e4162cb2d9420f22a08f122be2e59ef70e5cd370 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam Date: Thu, 9 Jul 2026 18:18:41 +0600 Subject: [PATCH 2/2] [FSSDK-12873] bump version to 5.4.2 --- .github/workflows/swift.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 90cf25d4..0e4ae388 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,7 +17,7 @@ on: description: release env: - VERSION: 5.4.1 + VERSION: 5.4.2 jobs: diff --git a/README.md b/README.md index 9640af25..15764b50 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.4.1'```
+```pod 'OptimizelySwiftSDK', '~> 5.4.2'```
 
2. Run the following command:
``` pod install ```