Skip to content

Releases: Eppo-exp/js-sdk-common

v2.2.0

06 Feb 06:24
91ff817
Compare
Choose a tag to compare

What's Changed

  • Evaluate targeting rules with semver string format (FF-1433) by @leoromanovsky in #38

Full Changelog: v2.1.1...v2.2.0

v2.1.1-alpha.1

05 Feb 16:53
Compare
Choose a tag to compare
v2.1.1-alpha.1 Pre-release
Pre-release

What's Changed

  • Ability to set configuration request parameters on an already instantiated client instance by @aarsilv in #37

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

v2.1.1

03 Feb 00:53
b04f796
Compare
Choose a tag to compare

What's Changed

  • Bump follow-redirects from 1.15.3 to 1.15.4 by @dependabot in #34
  • Ability to set configuration request parameters on an already instantiated client instance by @aarsilv in #37

Full Changelog: v2.1.0...v2.1.1

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