Skip to content

Releases: Eppo-exp/js-sdk-common

v2.1.1-alpha.0

01 Feb 23:49
Compare
Choose a tag to compare
v2.1.1-alpha.0 Pre-release
Pre-release

What's Changed

Full Changelog: v2.1.0...v2.1.1-alpha.0

v2.1.0

22 Jan 19:10
c892b5f
Compare
Choose a tag to compare

Makes available a robust poller for experiment configurations via a new method, fetchFlagConfigurations(). Upstream SDKs can use this method to retrieve the initial configuration and also to kick off regular polling.

When using this poller, there are several configuration options:

Required if using:

  • apiKey - Eppo-provided API key
  • sdkName - name of the SDK requesting the configuration
  • sdkVersion - semantic version number of the SDK requesting the configuration

** Optional:**

  • baseUrl - full URL from which configurations will be fetched. (Default: https://fscdn.eppo.cloud/api)
  • requestTimeoutMs - Timeout in milliseconds for the HTTPS request for the experiment configuration. (Default: 5000)
  • numInitialRequestRetries - Number of additional times the initial configuration request will be attempted if it fails. This is the request typically synchronously waited (via await) for completion. A small wait will be done between requests. (Default: 1)
  • pollAfterSuccessfulInitialization Poll for new configurations (every 30 seconds) after successfully requesting the initial configuration. - (Default: false)
  • pollAfterFailedInitialization - Poll for new configurations even if the initial configuration request failed. (Default: false)
  • throwOnFailedInitialization - Throw an error if unable to fetch an initial configuration during initialization. - (Default: false)
  • numPollRequestRetries - Number of additional times polling for updated configurations will be attempted before giving up. Polling is done after a successful initial request. Subsequent attempts are done using an exponential backoff. (Default: 7)

v2.0.0

18 Dec 18:34
0898d84
Compare
Choose a tag to compare

What's Changed

  • Adds useCustomAssignmentCache function to allow upstream clients toinject their own implementation (FF-839) by @leoromanovsky in #33

Full Changelog: v1.8.1...v2.0.0

v1.8.1

01 Dec 17:17
0b37ef2
Compare
Choose a tag to compare

Bugfix: Gracefully handle if an allocation has no holdouts field

Full Changelog: v1.8.0...v1.8.1

v1.8.0

20 Nov 19:15
783097e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v1.8.0

v1.7.0

18 Oct 18:49
71cd364
Compare
Choose a tag to compare

What's Changed

  • assignment logging cache prevents duplicate invocations (FF-1069) by @leoromanovsky in #25

Full Changelog: v1.6.0...v1.7.0

v1.6.0

05 Oct 23:09
b6f2fe6
Compare
Choose a tag to compare

What's Changed

  • Find config and evaluate rules in obfuscated RAC by @sameerank in #24

Full Changelog: v1.5.2...v1.6.0

v1.5.2

28 Sep 22:08
1c48c33
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.1...v1.5.2

v1.5.1

26 Sep 20:52
c469fdf
Compare
Choose a tag to compare

What's Changed

  • Fix missing getParsedJSONAssignment property in IEppoClient by @sameerank in #15

Full Changelog: v1.5.0...v1.5.1

v1.5.0

19 Sep 00:36
b2b1e0d
Compare
Choose a tag to compare

What's Changed

  • Adds support for getParsedJSONAssignment method (FF-935) by @sameerank in #13

Full Changelog: v1.4.1...v1.5.0