Skip to content

Releases: optimizely/javascript-sdk

Release 4.9.2

27 Jun 21:19
718d2f9
Compare
Choose a tag to compare

[4.9.2] - June 27, 2022

Changed

  • Add package.json script for running Karma tests locally using Chrome (#651).
  • Replaced explicit typescript typings with auto generated ones (#745).
  • Integrated code from utils package into optimizely-sdk (#749).

Release 4.9.1

18 Jan 20:20
8affc03
Compare
Choose a tag to compare

[4.9.1] - January 18, 2022

Bug fixes

  • Fixed typescript compilation issue introduced by 4.9.0 (#733)

Release 4.9.0

15 Jan 01:06
2e0623c
Compare
Choose a tag to compare

[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

29 Nov 18:56
9e5e51c
Compare
Choose a tag to compare

[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. The OptimizelyConfig object is now created on the first call to getOptimizelyConfig 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 to 0.4.0 to fix a high-severity vulnerability (Prototype Pollution).

Release 4.8.0-beta.2

01 Nov 18:19
f2a711c
Compare
Choose a tag to compare
Release 4.8.0-beta.2 Pre-release
Pre-release

[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

18 Oct 17:30
6e1f6d6
Compare
Choose a tag to compare
Release 4.8.0-beta Pre-release
Pre-release

[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. The OptimizelyConfig object is now created on the first call to getOptimizelyConfig 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

15 Sep 23:24
Compare
Choose a tag to compare

[4.7.0] - September 15, 2021

New Features

Bug fixes

  • Followed experimentIds order of experiments inside featuresMap of OptimizelyConfig (#701)

Deprecated

  • OptimizelyFeature.experimentsMap of OptimizelyConfig is deprecated as of this release. Please use OptimizelyFeature.experimentRules and OptimizelyFeature.deliveryRules (#698)

Release 4.6.2

15 Jul 21:56
Compare
Choose a tag to compare

[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

08 Jul 17:07
Compare
Choose a tag to compare

[4.6.1] - July 8, 2021

Bug fixes

  • Bumped event-processor packages to version 0.8.2
  • Fixed serving incorrect variation issue in projects containing multiple flags with same key rules (#687)

Release 4.6.0

27 May 21:48
bec6f26
Compare
Choose a tag to compare

[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 and event-processor packages to version 0.8.1