github launchdarkly/js-client-sdk 2.7.0

latest releases: 3.3.0, 3.2.0, 3.1.4...
5 years ago

[2.7.0] - 2018-09-19

Added:

  • New client method waitForInitialization returns a Promise, like waitUntilReady; but while waitUntilReady will be resolved as soon as client initialization either succeeds or fails, waitForInitialization will be resolved only if initialization succeeds, and will be rejected (with an error object) if it fails.
  • New config option fetchGoals (default: true) allows you to control whether the client will request A/B testing parameters from LaunchDarkly. If you do not use A/B testing, you may wish to disable this to reduce the number of HTTP requests.
  • New config option sendLDHeaders (default: true) allows you to control whether the client will add a custom header to LaunchDarkly HTTP requests (to indicate the SDK version). You may wish to disable this behavior if you have performance concerns, as it causes browsers to make an additional CORS preflight check (since it is no longer a simple request).

Don't miss a new js-client-sdk release

NewReleases is sending notifications on new releases.