Releases: optimizely/javascript-sdk
Releases · optimizely/javascript-sdk
Release 4.5.1
[4.5.1] - March 2, 2021
Bug fixes
- Refactored TypeScript type definitions to have
OptimizelyUserContext
andOptimizelyDecision
imported fromshared_types
to provide isolation from internal modules (#655)
Release 4.5.0
[4.5.0] - February 17, 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
OptimizelyUserContext
class is instantiated withcreateUserContext
and exposes the following APIs to getOptimizelyDecision
:- setAttribute
- decide
- decideAll
- decideForKeys
- trackEvent
-
For details, refer to our documentation page:
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
OptimizelyUserContext
class is instantiated withcreateUserContext
and 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
OptimizelyOptions
imported fromshared_types
to provide isolation from internal modules (#629)
Release 4.4.2
[4.4.2] - November 19, 2020
Bug fixes
- In
Optimizely
class, useany
type 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
logLevel
tocreateInstance
(PR #627), (Issue #614) - Excluded
suppressImplicitAnyIndexErrors
from TSconfig and resolved reported TS compiler issues (PR #616), (Issue #613) - Refactored TypeScript type definitions to only import from
shared_types
to provide isolation from internal modules (#625)
New Features
- Added
enabled
field 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
, andUserProfile
types from TypeScript type definitions (#594)