Skip to content

Conversation

LaunchDarklyCI
Copy link
Contributor

[2.22.0] - 2021-01-27

Added:

  • Added the 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.
  • Added the 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.

Changed:

  • 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.

yusinto and others added 30 commits December 17, 2019 12:35
# Conflicts:
#	package-lock.json
#	package.json
#	src/initLDClient.test.ts
#	src/initLDClient.ts
[ch59533] Fix package build logic when setting wrapper version
# Conflicts:
#	package-lock.json
#	package.json
…-from-unit-test

Update withLDProvider.test.tsx
* Add tests for the LDProvider

* Add LDProvider component

* Add LDProvider to main export

* Update provider tests

* Remove unused EnhancedComponent

* Abstract function to generate react options

* add waitForUserToInitializeClient flag to Provider

* rename to LDProvider.tsx

* fix tests

* remove async from componentDidMount

* fixes from CR

* add test

* cleanup

* update types for componentDidUpdate

* await initLDClient

Co-authored-by: Nicholas Mitchell <nicholas@netlify.com>
Co-authored-by: Martin Heller <mheller@testo.de>
@bwoskow-ld bwoskow-ld requested a review from eli-darkly January 27, 2021 19:54
@LaunchDarklyCI LaunchDarklyCI merged commit a909cfa into master Jan 27, 2021
@LaunchDarklyCI LaunchDarklyCI deleted the release-2.22.0 branch January 27, 2021 20:24
LaunchDarklyReleaseBot pushed a commit that referenced this pull request Aug 30, 2022
…d-events-for-all-flags-on-load-by

Don't send events for all flags on load by
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants