Releases: optimizely/javascript-sdk
Releases · optimizely/javascript-sdk
Release 4.5.0-beta
[4.5.0-beta] - February 10, 2021
New Features
-
Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users (#632, #634, #635, #636, #640, #642, #643, #644, #647, #648). The new
OptimizelyUserContextclass is instantiated withcreateUserContextand exposes the following APIs to getOptimizelyDecision:- setAttribute
- decide
- decideAll
- decideForKeys
- trackEvent
-
For details, refer to our documentation page:
Release 4.4.3
[4.4.3] - November 23, 2020
Bug fixes
- Refactored TypeScript type definitions to have
OptimizelyOptionsimported fromshared_typesto provide isolation from internal modules (#629)
Release 4.4.2
[4.4.2] - November 19, 2020
Bug fixes
- In
Optimizelyclass, useanytype when assigning the return value ofsetTimeout. This is to allow it to type check regardless of whether it uses the browser or Node version ofsetTimeout(PR #623), (Issue #622) - Allowed to pass string type
logLeveltocreateInstance(PR #627), (Issue #614) - Excluded
suppressImplicitAnyIndexErrorsfrom TSconfig and resolved reported TS compiler issues (PR #616), (Issue #613) - Refactored TypeScript type definitions to only import from
shared_typesto provide isolation from internal modules (#625)
New Features
- Added
enabledfield to decision metadata structure to support upcoming application-controlled introduction of tracking for non-experiment Flag decisions (#619)
Release 4.4.1
Release 4.4.0
[4.4.0] - November 2, 2020
New Features
- Added support sending impression events every time a decision is made (#599)
Release 4.3.4
[4.3.4] - October 8, 2020
Bug fixes
- The prior version (4.3.3) was erroneously published with the wrong content. This version contains up-to-date content, with no new changes.
Release 4.3.3
[4.3.3] - October 7, 2020
Bug fixes
- Exported
OptimizelyVariable,OptimizelyVariation,OptimizelyExperiment,OptimizelyFeature,UserProfileService, andUserProfiletypes from TypeScript type definitions (#594)
Release 4.3.2
Release 4.3.1
[4.3.1] - October 5, 2020
Bug fixes
- Exported
OptimizelyConfigandUserAttributestype in TypeScript type definitions (#587)