Skip to content

Commit 6a62ccf

Browse files
brandonhudavidMichael Ng
authored and
Michael Ng
committed
chore(api): update Changelog with getFeatureVariable method (#320)
1 parent 81c5b03 commit 6a62ccf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/optimizely-sdk/CHANGELOG.MD

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Changes that have landed but are not yet released.
1111
- Updated the `close` method to return a `Promise` representing the process of closing the instance. When `close` is called, any events waiting to be sent as part of a batched event request will be immediately batched and sent to the event dispatcher.
1212
- If any such requests were sent to the event dispatcher, `close` returns a `Promise` that fulfills after the event dispatcher calls the response callback for each request. Otherwise, `close` returns an immediately-fulfilled `Promise`.
1313
- The `Promise` returned from `close` is fulfilled with a result object containing `success` (boolean) and `reason` (string, only when success is `false`) properties. In the result object, `success` is `true` if all events in the queue at the time close was called were combined into requests, sent to the event dispatcher, and the event dispatcher called the callbacks for each request. `success` is false if an unexpected error was encountered during the close process.
14+
- Added non-typed `getFeatureVariable` method ([#298](https://github.com/optimizely/javascript-sdk/pull/298)) as a more idiomatic approach to getting values of feature variables.
15+
- Typed `getFeatureVariable` methods will still be available for use.
1416

1517
## [3.2.1] - July 1st, 2019
1618

0 commit comments

Comments
 (0)