launchdarkly-js-client-sdk
Advanced tools
Changelog
[2.21.0] - 2022-03-21
basicLogger
, a replacement for the deprecated createConsoleLogger
.Changelog
[2.20.2] - 2022-02-18
error
event or, if there are no error
event listeners, it is logged. Previously, the error would be thrown as an unhandled exception.Changelog
[2.20.1] - 2022-02-02
Changelog
[2.20.0] - 2021-10-15
LDOptions.requestHeaderTransform
allows custom headers to be added to all HTTP requests. This may be necessary if you have an Internet gateway that uses a custom header for authentication. Note that custom headers may cause cross-origin browser requests to be rejected unless you have a way to ensure that the header name also appears in Access-Control-Allow-Headers
for CORS preflight responses; if you are connecting to the LaunchDarkly Relay Proxy, it has a way to configure this.Changelog
[2.19.4] - 2021-10-12
track
: Custom event "_____" does not exist
. Originally, the SDK had an expectation that track
would be used only for event keys that had been previously defined as custom goals in the LaunchDarkly dashboard. That is still often the case, but it is not required and LaunchDarkly no longer sends custom goal names to the SDK, so the warning was happening even if such a goal did exist.Changelog
[2.19.3] - 2021-06-08
This release is broken and cannot be used.
Changelog
[2.19.2] - 2021-06-08
Changelog
[2.19.1] - 2021-04-01
LDOptions.inlineUsersInEvents
was not included in the TypeScript definitions.