diff --git a/CHANGELOG.md b/CHANGELOG.md index 811bc07..0a7fb68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,34 +1,36 @@ +# Optimizely Flutter SDK Changelog +## [1.0.0-beta] - November 3rd, 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 - -### **Documentation will be available soon in final release** +* Following are the api's added in UserContext: + - getUserId + - getAttributes + - setAttributes + - trackEvent + - decide + - decideForKeys + - decideAll + - setForcedDecision + - getForcedDecision + - removeForcedDecision + - removeAllForcedDecisions 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: