Releases: Eppo-exp/js-sdk-common
Releases · Eppo-exp/js-sdk-common
v2.2.0
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
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
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
What's Changed
- Bump follow-redirects from 1.15.3 to 1.15.4 by @dependabot in #34
Full Changelog: v2.1.0...v2.1.1-alpha.0
v2.1.0
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 keysdkName
- name of the SDK requesting the configurationsdkVersion
- 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
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
Bugfix: Gracefully handle if an allocation has no holdouts field
Full Changelog: v1.8.0...v1.8.1
v1.8.0
What's Changed
- Bump @babel/traverse from 7.18.5 to 7.23.2 by @dependabot in #26
- Sameeran/ff 1130 sdk assigns subjects to a holdout js common by @sameerank in #27
- Change action yml to yarn publish by @sameerank in #29
- Update npm-publish to v3 by @sameerank in #30
- Add step to log errors by @sameerank in #31
Full Changelog: v1.7.0...v1.8.0
v1.7.0
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
What's Changed
- Find config and evaluate rules in obfuscated RAC by @sameerank in #24
Full Changelog: v1.5.2...v1.6.0