You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27-2Lines changed: 27 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,28 @@
1
+
## 2.0.0-beta1
2
+
3
+
March 29th, 2018
4
+
5
+
This major release of the Optimizely SDK introduces APIs for Feature Management. It also introduces some breaking changes listed below.
6
+
7
+
### New Features
8
+
* Introduces the `isFeatureEnabled` API to determine whether to show a feature to a user or not.
9
+
```
10
+
var enabled = optimizelyClient.isFeatureEnabled("my_feature_key", "user_1", userAttributes);
11
+
```
12
+
13
+
* 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:
14
+
```
15
+
var enabledFeatures = optimizelyClient.getEnabledFeatures("user_1", userAttributes);
16
+
```
17
+
18
+
* Introduces Feature Variables to configure or parameterize your feature. There are four variable types: `Integer`, `String`, `Double`, `Boolean`.
19
+
```
20
+
var stringVariable = optimizelyClient.getFeatureVariableString("my_feature_key", "string_variable_key", "user_1");
21
+
var integerVariable = optimizelyClient.getFeatureVariableInteger("my_feature_key", "integer_variable_key", "user_1");
22
+
var doubleVariable = optimizelyClient.getFeatureVariableDouble("my_feature_key", "double_variable_key", "user_1");
23
+
var booleanVariable = optimizelyClient.getFeatureVariableBoolean("my_feature_key", "boolean_variable_key", "user_1");
24
+
```
25
+
1
26
## 1.3.1
2
27
February 14, 2018
3
28
@@ -25,7 +50,7 @@ November 6, 2017
25
50
* Package DLL's including third party component DLL's are strongnamed and digitally signed by Optimizely.
* 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.
69
+
* 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.
45
70
```
46
71
var result = OptimizelyClient.setForcedVariation(experimentKey, userId, forcedVariationKey);
0 commit comments