From 6405b1fcfa5ce53f98a87625b965f5c26aa97397 Mon Sep 17 00:00:00 2001 From: Yasir Ali Date: Tue, 1 Nov 2022 11:09:56 +0500 Subject: [PATCH 1/3] Preparing 1.0.0-beta release --- CHANGELOG.md | 62 ++++++++++++++++++++++++++++------------------------ README.md | 3 ++- pubspec.yaml | 2 +- 3 files changed, 36 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 811bc07..20b9ae9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,34 +1,38 @@ +# Optimizely Flutter SDK Changelog +## [1.0.0-beta] - November 1st, 2022 +**Beta release of the Optimizely X Full Stack Flutter SDK.** -## [0.1.2-beta] - October 28th, 2022 -### Beta release of the Optimizely X Full Stack Flutter SDK. -### New Feature -* Added optional parameter to set defaultDecideOption in the flutter SDK. ([#40](https://github.com/optimizely/optimizely-flutter-sdk/pull/40)) +### New Features +* Following are the api's added in Flutter SDK: + - activate + - getVariation + - getForcedVariation + - setForcedVariation + - getOptimizelyConfig + - createUserContext + - close -### Bug Fix -* fixed a crash for nil featureEnabled. ([#39](https://github.com/optimizely/optimizely-flutter-sdk/pull/39)) +* Following are the notification listener's added in Flutter SDK: + - addActivateNotificationListener + - addDecisionNotificationListener + - addTrackNotificationListener + - addLogEventNotificationListener + - addConfigUpdateNotificationListener + - removeNotificationListener + - clearNotificationListeners + - clearAllNotificationListeners -## [0.1.1-beta] - October 26th, 2022 -### Beta release of the Optimizely X Full Stack Flutter SDK. -*Following are the listener related methods added in Flutter SDK.* -* removeNotificationListener -* clearNotificationListeners -* clearAllNotificationListeners - -## [0.1.0-beta] - October 6th, 2022 -### Beta release of the Optimizely X Full Stack Flutter SDK. -*Following are the apis added in Flutter SDK.* -* activate -* getVariation -* getForcedVariation -* setForcedVariation -* getOptimizelyConfig -* createUserContext -* close - -*Following are the listeners added in Flutter SDK.* -* addActivateNotificationListener -* addTrackNotificationListener -* addLogEventNotificationListener -* addConfigUpdateNotificationListener +* Following are the api's added in UserContext: + - getUserId + - getAttributes + - setAttributes + - trackEvent + - decide + - decideForKeys + - decideAll + - setForcedDecision + - getForcedDecision + - removeForcedDecision + - removeAllForcedDecisions ### **Documentation will be available soon in final release** diff --git a/README.md b/README.md index d31c988..5995611 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,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: ^0.1.2-beta + optimizely_flutter_sdk: ^1.0.0-beta ``` Then, import the package in your application code: @@ -53,6 +53,7 @@ A sample code for SDK initialization: ``` import 'package:optimizely_flutter_sdk/optimizely_flutter_sdk.dart'; + // Also supports eventOptions, datafilePeriodicDownloadInterval, datafileHostOptions and defaultDecideOptions var flutterSDK = OptimizelyFlutterSdk("my_sdk_key"); // instantiate a client diff --git a/pubspec.yaml b/pubspec.yaml index 13a926e..ac0b6f6 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 Full Stack and Optimizely Rollouts. -version: 0.1.2-beta +version: 1.0.0-beta homepage: https://github.com/optimizely/optimizely-flutter-sdk environment: From 8b5d84a83df6caedd2858bf8c315e92663a8ddbf Mon Sep 17 00:00:00 2001 From: Yasir Ali Date: Thu, 3 Nov 2022 10:08:48 +0500 Subject: [PATCH 2/3] nit fixes. --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20b9ae9..dd70280 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,5 +34,3 @@ - getForcedDecision - removeForcedDecision - removeAllForcedDecisions - -### **Documentation will be available soon in final release** From cac07e0a6a7ef95fbe4c2e4cd52520b1fadcbd39 Mon Sep 17 00:00:00 2001 From: Mirza Sohail Hussain Date: Wed, 2 Nov 2022 22:11:22 -0700 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd70280..0a7fb68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # Optimizely Flutter SDK Changelog -## [1.0.0-beta] - November 1st, 2022 +## [1.0.0-beta] - November 3rd, 2022 **Beta release of the Optimizely X Full Stack Flutter SDK.** ### New Features