diff --git a/CHANGELOG.md b/CHANGELOG.md index ff3e70b..2aa3a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Optimizely Flutter SDK Changelog +## 4.0.0 +October 16th, 2026 + +### Breaking Changes + +* **Swift Package Manager only on iOS**: CocoaPods support has been removed. The plugin now integrates through Swift Package Manager, matching OptimizelySwiftSDK 6.0.0 ([#119](https://github.com/optimizely/optimizely-flutter-sdk/pull/119)) +* **Raised minimum versions**: iOS 15.0 and Flutter 3.44.0 ([#119](https://github.com/optimizely/optimizely-flutter-sdk/pull/119)) +* **OptimizelySwiftSDK 6.0.0**: bumped from 5.5.0. No API changes; 6.0.0 drops CocoaPods and requires iOS 15 ([#124](https://github.com/optimizely/optimizely-flutter-sdk/pull/124)) + +No Dart API changes. Android is unchanged (android-sdk 5.4.0). + +### Migration + +1. Use Flutter 3.44 or later (SPM is enabled by default; otherwise run `flutter config --enable-swift-package-manager`). If your app's `pubspec.yaml` turns SPM off (`flutter: config: enable-swift-package-manager: false`), remove that setting. +2. Set your app's iOS deployment target to 15.0 or higher. +3. Run `flutter pub get` and `flutter build ios`. Flutter migrates your Xcode project to SPM automatically. +4. If no other CocoaPods plugins remain, you may run `pod deintegrate` and delete your Podfile. + +See [Migrating from CocoaPods](https://github.com/optimizely/optimizely-flutter-sdk#migrating-from-cocoapods) in the README. + ## 3.8.0 October 13th, 2026 diff --git a/README.md b/README.md index c7708c8..101ac04 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Other Flutter platforms are not currently supported by this SDK. To add the flutter-sdk to your project dependencies, include the following in your app's pubspec.yaml: ``` - optimizely_flutter_sdk: ^3.8.0 + optimizely_flutter_sdk: ^4.0.0 ``` Then run diff --git a/lib/package_info.dart b/lib/package_info.dart index 13ad91e..92c31d1 100644 --- a/lib/package_info.dart +++ b/lib/package_info.dart @@ -3,5 +3,5 @@ class PackageInfo { static const String name = 'optimizely_flutter_sdk'; - static const String version = '3.8.0'; + static const String version = '4.0.0'; } diff --git a/pubspec.yaml b/pubspec.yaml index cf731a6..c2414c4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: optimizely_flutter_sdk description: This repository houses the Flutter SDK for use with Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts. -version: 3.8.0 +version: 4.0.0 homepage: https://github.com/optimizely/optimizely-flutter-sdk environment: