Skip to content

Releases: optimizely/react-sdk

Release 2.8.0

26 Jan 19:18
5e5e459

Choose a tag to compare

[2.8.0] - January 26, 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 ReactSDKClient interface (#133):
    • setForcedDecision
    • getForcedDecision
    • removeForcedDecision
    • removeAllForcedDecisions
  • Updated useDecision hook to auto-update and reflect changes when forced decisions are set and removed (#133).
  • For details, refer to our documentation pages: ReactSDKClient, Forced Decision methods and useDecision hook.

Bug fixes

  • Fixed the SDK to render the correct decision on first render when initialized synchronously using a datafile (#125).
  • Fixed the redundant re-rendering when SDK is initialized with both datafile and SDK key (#125).
  • Updated @optimizely/js-sdk-logging to 0.3.1 (#140).

Release 2.7.1-alpha

01 Oct 22:13

Choose a tag to compare

Release 2.7.1-alpha Pre-release
Pre-release

[2.7.1-alpha] - October 1st, 2021

Bug fixes

  • Fixed the SDK to render the correct decision on first render when initialized synchronously using a datafile (#125).
  • Fixed the redundant re-rendering when SDK is initialized with both datafile and SDK key (#125).

Release 2.7.0

16 Sep 22:07

Choose a tag to compare

[2.7.0] - September 16th, 2021

Upgrade @optimizely/optimizely-sdk to 4.7.0:

Release 2.6.3

29 Jul 19:02
62f8942

Choose a tag to compare

[2.6.3] - July 29th, 2021

Bug fixes

  • Update VariableValuesObject type to handle JSON type variable and avoid TS compiler error when specifying variable type (#118).

Release 2.6.2

15 Jul 23:24
57b68da

Choose a tag to compare

[2.6.2] - July 15th, 2021

Bug fixes

Release 2.6.1

08 Jul 18:44
92b230c

Choose a tag to compare

[2.6.1] - July 8th, 2021

Bug fixes

Release 2.6.0

09 Jun 00:25
ff004c3

Choose a tag to compare

[2.6.0] - June 8th, 2021

Upgrade @optimizely/optimizely-sdk to 4.6.0:

Release 2.5.0

12 Mar 22:08
81e130c

Choose a tag to compare

[2.5.0] - March 12th, 2021

Release 2.4.3

02 Mar 18:24

Choose a tag to compare

[2.4.3] - March 2nd, 2021

Bug fixes

  • This version of React SDK depends on 4.4.3 of @optimizely/optimizely-sdk. The dependency was defined to use the latest available minor version which is no more compatible. Fixed the dependency to use the exact version.

Release 2.4.2

11 Dec 18:22
c4063b1

Choose a tag to compare

[2.4.2] - December 11th, 2020

Bug fixes

  • Always recompute decision after resolution of ready promise (#91)