Skip to content

chore: Prepare Flutter SDK release 1.0.0-beta #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 33 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down