Skip to content

2.0.0

Compare
Choose a tag to compare
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 07 Dec 19:46
· 34 commits to main since this release

[2.0.0] - 2022-12-07

The latest version of jest-launchdarkly-mock supports LaunchDarkly's new custom contexts feature. Contexts are an evolution of a previously-existing concept, "users." For more information please read the JavaScript SDK's latest release notes.

For detailed information about this version, please refer to the list below. For information on how to upgrade from the previous version, please read the migration guide.

Added:

  • The getContext mock function has been added.

Removed:

  • The getUser mock function has been removed. Please use getContext instead.
  • The alias mock function has been removed.