launchdarkly-react-client-sdk
Advanced tools
Changelog
[2.23.1] - 2021-09-03
asyncWithLDProvider
, components added to the DOM after client initialization now use the latest known flag values instead of the bootstrapped values.Changelog
[2.22.3] - 2021-06-09
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