Releases: optimizely/csharp-sdk
Releases · optimizely/csharp-sdk
Release 2.0.0-beta1
2.0.0-beta1
April 3, 2018
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.
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);
- 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", 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);
Release v1.3.1
1.3.1
February 14, 2018
Bug Fixes
Change 'murmurhash' to 'murmurhash-signed' in OptimizelySDK.nuspec fixing:
System.IO.FileLoadException 'Could not load file or assembly 'MurmurHash, ... PublicKeyToken ...'
Release v1.2.1
November 6, 2017
New Features
-
Package DLL's including third party component DLL's are strongnamed and digitally signed by Optimizely.
-
DecisionService GetVariationForFeatureRollout added.
-
Feature Flag and Rollout models added.
-
Implemented Bucketing ID feature.
Release v1.2.0
October 4, 2017
New Features
- Introduce Numeric Metrics - This allows you to include a floating point value that is used to track numeric values in your experiments.
var eventTags = new EventTags()
{
{ "value", 10.00 },
};
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);
- Upgrade to use new event API.
Release v1.1.1
- Add .Net 4.0 build in nuget package.
Release 1.1.0
- Introduce the user profile service.