Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 09075ed

Browse files
jordangarciamikeproeng37
authored andcommitted
chore(changelog): Add 2.3.0 changelog entry to master (optimizely#196)
1 parent 97b2b41 commit 09075ed

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

packages/optimizely-sdk/CHANGELOG.MD

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,26 @@ This is the alpha release of the 3.0 SDK, which includes a number of improvement
6363

6464
- Previously, when a 'not' audience condition was applied to a malformed attribute, it was possible for the condition to evaluate to `true`. We’ve corrected this behavior, so that malformed attributes always evaluate to `null` and are ignored ([#174](https://github.com/optimizely/javascript-sdk/pull/174)).
6565

66+
## [2.3.0] - November 14, 2018
67+
68+
### New Features
69+
* Allow sticky bucketing via passing in `attributes.$opt_experiment_bucket_map`, this more easily allows customers to do some async data fetching and ensure a user gets a specific variation.
70+
71+
```
72+
const userId = '123'
73+
const expId = '456'
74+
const variationId = '678'
75+
const userAttributes = {
76+
$opt_experiment_bucket_map: {
77+
[expId]: {
78+
variation_id: variationId
79+
}
80+
}
81+
}
82+
83+
var selectedVariationKey = optimizelyClient.activate('experiment-1', userId, userAttributes);
84+
```
85+
6686
## [2.2.0] - September 26, 2018
6787

6888
### Fixed

0 commit comments

Comments
 (0)