launchdarkly-js-sdk-common
Advanced tools
Changelog
[3.3.0] - 2021-01-26
alias
method. This method can be used to associate two user objects for analytics purposes. When invoked, this method will queue a new alias event to be sent to LaunchDarkly.autoAliasingOptOut
configuration option. This can be used to control the new automatic aliasing behavior of the identify
method; by passing autoAliasingOptOut: true
, identify
will not automatically generate alias events.identify
method will now automatically generate an alias event when switching from an anonymous to a known user. This event associates the two users for analytics purposes as they most likely represent a single person.Changelog
[3.2.12] - 2021-01-25
streamReadTimeoutMillis
option which is hard-coded to the standard LaunchDarkly stream timeout of 5 minutes. This option is implemented by launchdarkly-eventsource
1.4.0 and higher, and should be ignored by SDKs that are not using that EventSource implementation.Changelog
[3.2.11] - 2020-11-17
LDEvaluationDetail.reason
type definition to be nullable. This value will be null
when LDOptions.evaluationReasons
is false
.Changelog
[3.2.10] - 2020-09-14
Changelog
[3.2.9] - 2020-07-10
String.startsWith
that caused errors in Internet Explorer unless a polyfill for that function was present.Changelog
[3.2.7] - 2020-04-30
Changelog
[3.2.6] - 2020-03-31
createConsoleLogger
) could throw errors in Internet Explorer 11 if log output (of an enabled level) happened while the developer tools were not open. This is because in IE 11, the console
object does not exist unless the tools are open. This has been fixed so the logger does not try to use console
unless it currently has a value.