launchdarkly-react-client-sdk
Advanced tools
Changelog
[2.22.2] - 2021-04-06
Changelog
[2.22.1] - 2021-04-02
LDOptions.inlineUsersInEvents
was not included in the TypeScript definitions for the JavaScript SDK.Changelog
[2.22.0] - 2021-01-27
alias
method to LDClient
. 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.LDClient
's 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
[2.21.0] - 2020-11-17
camelCaseKeys
utility function is now exported as a function instead of as an object containing a camelCaseKeys
function. camelCaseKeys.camelCaseKeys
remains for backwards compatibility.LDEvaluationDetail.reason
type definition to be nullable. This value will be null
when LDOptions.evaluationReasons
is false
.camelCaseKeys.camelCaseKeys
is now deprecated-- see the note above.Changelog
[2.20.2] - 2020-09-14
Changelog
[2.20.0] - 2020-07-17
launchdarkly-js-client-sdk
version to 2.18.0, which adds the disable-sync-event-post
option.Changelog
[2.19.0] - 2020-07-15
LDProvider
as a standalone component. (Thanks, nimi and morton!)deferInitialization
, allows LDClient
initialization to be deferred until the user object is defined. (Thanks, bezreyhan!)String.startsWith
that caused errors in Internet Explorer unless a polyfill for that function was present.