Releases: optimizely/javascript-sdk
Releases · optimizely/javascript-sdk
Release 4.9.2
Release 4.9.1
Release 4.9.0
[4.9.0] - January 14, 2022
New Features
-
Add a set of new APIs for overriding and managing user-level flag, experiment and delivery rule decisions. These methods can be used for QA and automated testing purposes. They are an extension of the OptimizelyUserContext interface (#705, #727, #729, #730):
- setForcedDecision
- getForcedDecision
- removeForcedDecision
- removeAllForcedDecisions -
For details, refer to our documentation pages: OptimizelyUserContext and Forced Decision methods.
Release 4.8.0
[4.8.0] - November 29, 2021
New Features
- Added a Lite bundle which does not include Data file manager and Event Processor packages. This reduces the bundle size up to 20% and is helpful for some platforms (such as edge service providers) that do not need extended functionality offered by these packages.
- Removed Client engine validation in the SDK to allow tracking events from new clients without modifying SDK code.
Performance Improvements
- Reduced SDK client initialization time by removing
OptimizelyConfig
creation from initialization. TheOptimizelyConfig
object is now created on the first call togetOptimizelyConfig
API. - Made Improvements to logging mechanism. The SDK no longer concatenates and formats messages which do not qualify for the log level set by the user.
Changed
- Updated
json-schema
package version to0.4.0
to fix a high-severity vulnerability (Prototype Pollution).
Release 4.8.0-beta.2
[4.8.0-beta.2] - November 1, 2021
New Features
- Removed Client engine validation in the SDK to allow tracking events from new clients without modifying SDK code.
Release 4.8.0-beta
[4.8.0-beta] - October 18, 2021
New Features
- Added a Lite bundle which does not include Data file manager and Event Processor packages. This reduces the bundle size up to 20% and is helpful for some platforms (such as edge service providers) that do not need extended functionality offered by these packages.
Performance Improvements
- Reduced SDK client initialization time by removing
OptimizelyConfig
creation from initialization. TheOptimizelyConfig
object is now created on the first call togetOptimizelyConfig
API. - Made Improvements to logging mechanism. The SDK now no longer concatenates and formats messages which do not qualify for the log level set by the user.
Release 4.7.0
[4.7.0] - September 15, 2021
New Features
- Added new public properties to
OptimizelyConfig
(#683, #698):- sdkKey
- environmentKey
- attributes
- audiences
- events
- experimentRules and deliveryRules to
OptimizelyFeature
- audiences to
OptimizelyExperiment
- For details, refer to our documentation page:
Bug fixes
- Followed experimentIds order of experiments inside featuresMap of OptimizelyConfig (#701)
Deprecated
OptimizelyFeature.experimentsMap
ofOptimizelyConfig
is deprecated as of this release. Please useOptimizelyFeature.experimentRules
andOptimizelyFeature.deliveryRules
(#698)
Release 4.6.2
[4.6.2] - July 15, 2021
Bug fixes
- Fixed incorrect impression event payload in projects containing multiple flags with duplicate key rules (#690)
Release 4.6.1
[4.6.1] - July 8, 2021
Bug fixes
- Bumped
event-processor
packages to version0.8.2
- Fixed serving incorrect variation issue in projects containing multiple flags with same key rules (#687)
Release 4.6.0
[4.6.0] - May 27, 2021
New Features
- Added support for multiple concurrent prioritized experiments per flag (#664)
Bug fixes
- Fixed the issue of forced-variation and whitelist not working properly with exclusion group experiments (#664)
- Bumped
datafile-manager
andevent-processor
packages to version0.8.1