Skip to content

Releases: optimizely/javascript-sdk

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)

Release 4.1.0

07 Jul 22:12
dbe0acb

Choose a tag to compare

[4.1.0] - July 7, 2020

New Features

  • Added support for JSON feature variables: new methods getFeatureVariableJSON and getAllFeatureVariables (#467, #470)
  • Added support for authenticated datafiles when running in Node.js. Pass datafileAccessToken within datafileOptions to request an authenticated datafile using the token (#498, #502):
    const optimizelySDK = require('@optimizely/optimizely-sdk');
    var optimizelyClientInstance = optimizely.createInstance({
      sdkKey: '<Your SDK key>',
      datafileOptions: {
        datafileAccessToken: '<Your datafile access token>',
      }
    });

Bug fixes

  • Fixed audience evaluation log level: changed from INFO to DEBUG (#496)
  • Temporarily disabled React Native FSC tests (#514)
  • Changed getFeatureVariableJson to getFeatureVariableJSON (#516)