8000 OASIS-2504 [C#] Release 2.0.0-beta1 by kellyroach-optimizely · Pull Request #72 · optimizely/csharp-sdk · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div class="gh-header-show ">

OASIS-2504 [C#] Release 2.0.0-beta1 #72

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 2 commits into from
Apr 6, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
OASIS-2504 [C#] Release 2.0.0-beta1 (#71)
* Revert "Eventdispatcherissue (#35) (#54)"

This reverts commit 5df7cfb.

* Bump version to 2.0 beta.

* Update OptimizelySDK.nuspec

* AssemblyVersion = 2.0.0.0

* Improved 1.3.1 DemoApp

* Updated OptimizelySDK.Package and OptimizelySDK.nuspec

* keypair.snk for *.sln, *.csproj

* CHANGELOG.md corrections

* SDK_VERSION synch with NuGet package version.

* Make 'UserAttributes userAttributes = null' optional in 5 API's

* Update verifysn.ps1 and DemoApp.csproj to 2.0.0-beta1
  • Loading branch information
kellyroach-optimizely committed Apr 3, 2018
commit 617feedc25a0c9a5c4a2f06ad35ab878521f4751
19 changes: 9 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
## 2.0.0-beta1

March 29th, 2018
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually went out April 2nd, or 3rd?

Copy link
Contributor Author
@kellyroach-optimizely kellyroach-optimizely Apr 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced with correct date "April 3, 2018" by commit
900917f .


This major release of the Optimizely SDK introduces APIs for Feature Management. It also introduces some breaking changes listed below.
This major release of the Optimizely SDK introduces APIs for Feature Management.

### New Features
* Introduces the `isFeatureEnabled` API to determine whether to show a feature to a user or not.
* Introduces the `IsFeatureEnabled` API to determine whether to show a feature to a user or not.
```
var enabled = optimizelyClient.isFeatureEnabled("my_feature_key", "user_1", userAttributes);
var enabled = OptimizelyClient.IsFeatureEnabled("my_feature_key", "user_1", userAttributes);
```

* You can also get all the enabled features for the user by calling the following method which returns a list of strings representing the feature keys:
```
var enabledFeatures = optimizelyClient.getEnabledFeatures("user_1", userAttributes);
var enabledFeatures = OptimizelyClient.GetEnabledFeatures("user_1", userAttributes);
```

* Introduces Feature Variables to configure or parameterize your feature. There are four variable types: `Integer`, `String`, `Double`, `Boolean`.
```
var stringVariable = optimizelyClient.getFeatureVariableString("my_feature_key", "string_variable_key", "user_1");
var integerVariable = optimizelyClient.getFeatureVariableInteger("my_feature_key", "integer_variable_key", "user_1");
var doubleVariable = optimizelyClient.getFeatureVariableDouble("my_feature_key", "double_variable_key", "user_1");
var booleanVariable = optimizelyClient.getFeatureVariableBoolean("my_feature_key", "boolean_variable_key", "user_1");
var stringVariable = OptimizelyClient.GetFeatureVariableString("my_feature_key", "string_variable_key", "user_1", userAttributes);
var integerVariable = OptimizelyClient.GetFeatureVariableInteger("my_feature_key", "integer_variable_key", "user_1", userAttributes);
var doubleVariable = OptimizelyClient.GetFeatureVariableDouble("my_feature_key", "double_variable_key", "user_1", userAttributes);
var booleanVariable = OptimizelyClient.GetFeatureVariableBoolean("my_feature_key", "boolean_variable_key", "user_1", userAttributes);
```

## 1.3.1
Expand Down Expand Up @@ -68,7 +67,7 @@ OptimizelyClient.Track(eventKey, userId, attributes, eventTags);

* Introduce Forced Variation - This allows you to force users into variations programmatically in real time for QA purposes without requiring datafile downloads from the network.
```
var result = OptimizelyClient.setForcedVariation(experimentKey, userId, forcedVariationKey);
var result = OptimizelyClient.SetForcedVariation(experimentKey, userId, forcedVariationKey);
```

* Upgrade to use new [event API](https://developers.optimizely.com/x/events/api/index.html).
Expand Down
Binary file added OptimizelySDK.DemoApp/Content/Images/item_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added OptimizelySDK.DemoApp/Content/Images/item_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion OptimizelySDK.DemoApp/Content/Site.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
body {
padding-top: 50px;
padding-bottom: 20px;
}

Expand Down
Loading
0