Skip to content

Releases: optimizely/javascript-sdk

Release 4.4.2

19 Nov 18:07
8028443

Choose a tag to compare

[4.4.2] - November 19, 2020

Bug fixes

  • In Optimizely class, use any type when assigning the return value of setTimeout. This is to allow it to type check regardless of whether it uses the browser or Node version of setTimeout (PR #623), (Issue #622)
  • Allowed to pass string type logLevel to createInstance (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

05 Nov 17:52
e0158e5

Choose a tag to compare

[4.4.1] - November 5, 2020

Bug fixes

  • Allowed using --isolatedModules flag in TSConfig file by fixing exports in event processor (#610)
  • Fixed strictNullChecks type errors (#611)

Release 4.4.0

02 Nov 17:29
1997ca4

Choose a tag to compare

[4.4.0] - November 2, 2020

New Features

  • Added support sending impression events every time a decision is made (#599)

Release 4.3.4

08 Oct 22:55
c3426a8

Choose a tag to compare

[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

07 Oct 21:46
3c78fc5

Choose a tag to compare

[4.3.3] - October 7, 2020

Bug fixes

  • Exported OptimizelyVariable, OptimizelyVariation, OptimizelyExperiment, OptimizelyFeature, UserProfileService, and UserProfile types from TypeScript type definitions (#594)

Release 4.3.2

06 Oct 21:25
3412e51

Choose a tag to compare

[4.3.2] - October 6, 2020

Bug fixes

  • Fixed return type of getAllFeatureVariables method and dispatchEvent method signature of EventDispatcher interface in TypeScript type definitions (#576)
  • Don't log an error message when initialized with sdkKey, but no datafile (#589)

Release 4.3.1

05 Oct 18:20
405bdd0

Choose a tag to compare

[4.3.1] - October 5, 2020

Bug fixes

  • Exported OptimizelyConfig and UserAttributes type in TypeScript type definitions (#587)

Release 4.3.0

01 Oct 22:55
4e790fd

Choose a tag to compare

[4.3.0] - October 1, 2020

New Features

  • Added support for version audience evaluation (#517)
  • Add datafile accessor (#564)

Release 4.2.1

10 Aug 22:48
d64a344

Choose a tag to compare

[4.2.1] - August 10, 2020

Bug fixes

  • Remove incorrect warning about invalid variation ID when user not bucketed into experiment or feature rollout (#549)

Release 4.2.0

31 Jul 18:52
0427cdd

Choose a tag to compare

[4.2.0] - July 31, 2020

New Features

  • Better offline support in React Native apps:
    • Persist downloaded datafiles in local storage for use in subsequent SDK initializations (#430)
    • Persist pending impression & conversion events in local storage (#517, #532)

Bug fixes

  • Fixed log messages for Targeted Rollouts (#515)