Releases: launchdarkly/js-client-sdk
Releases · launchdarkly/js-client-sdk
1.6.1
1.6.0
[1.6.0] - 2018-03-28
Changed
- Added support for a future update to LaunchDarkly that will deliver individual feature flag changes over the streaming connection as they occur, rather than requiring the client to re-request all flags for each change.
1.5.2
1.5.1
[1.5.1] - 2018-03-07
Fixed
- Removed usage of the
const
keyword, to maintain IE10 compatibility. (Thanks, turnerniles!)
1.5.0
[1.5.0] - 2018-03-05
Added
- The
options
object now supports asamplingInterval
property. If greater than zero, this causes a fraction of analytics events to be sent to LaunchDarkly: one per that number of events (pseudo-randomly). For instance, setting it to 5 would cause 20% of events to be sent on average.
1.4.0
1.3.1
1.3.0
Added
- Support for private user attributes.
- New
sendEvents
option to control whether the SDK should send events back to LaunchDarkly or not. Defaults totrue
. - It is now possible to wait for SDK readiness using
waitUntilReady
which returns aPromise
.identify
also returns aPromise
(while still supporting the callback argument), which should make
it easier to integrate into code that relies heavily onPromise
's for asynchronous code.
Changed
- The SDK now respects the user's do-not-track setting