Skip to content

Releases: launchdarkly/react-client-sdk

launchdarkly-react-client-sdk: v3.6.0

04 Nov 16:35
ca6ebce
Compare
Choose a tag to compare

3.6.0 (2024-11-01)

Features

  • Support for providing custom contexts (#313) (a8b52f4)
  • typescript: export the LDProps interface for access in application code (#321) (7a084c5)

launchdarkly-react-client-sdk: v3.5.0

18 Oct 17:47
21c2402
Compare
Choose a tag to compare

3.5.0 (2024-10-18)

Features

  • Add support for client-side prerequisite events. (3cb6060)
  • Add support for synchronous inspectors. (3cb6060)

launchdarkly-react-client-sdk: v3.4.0

05 Aug 15:48
c1ae8ae
Compare
Choose a tag to compare

3.4.0 (2024-08-02)

Features

  • Support a pre-initialized client using asyncWithLDProvider. (#310) (6f3ad5c)

3.3.2

28 May 20:20
Compare
Choose a tag to compare

[3.3.2] - 2024-05-28

Fixed:

  • Set esbuild to target ES2015 aka ES6 so the build is backwards compatible. This is needed because rollup-plugin-esbuild v6 now defaults to es2020 by default and no longer respects tsconfig.json's target. Fixes this issue in #283.

3.3.1

28 May 17:16
Compare
Choose a tag to compare

[3.3.1] - 2024-05-28

Fixed:

  • Fixed a bug introduced after the init timeout change. The ldClient object was omitted from provider state, causing the useLDClient hook to return undefined.

3.3.0

23 May 21:53
Compare
Choose a tag to compare

[3.3.0] - 2024-05-23

Added:

  • Added a new optional timeout to ProviderConfig which gets passed to the underlying Javascript SDK waitForInitialization function.

3.2.0

01 May 18:23
Compare
Choose a tag to compare

[3.2.0] - 2024-05-01

Added:

  • Added an optional timeout to the waitForInitialization method. When a timeout is specified the returned promise will be rejected after the timeout elapses if the client has not finished initializing within that time. When no timeout is specified the returned promise will not be resolved or rejected until the initialization either completes or fails.

Changed:

  • The track method now validates that the provided metricValue is a number. If a metric value is provided, and it is not a number, then a warning will be logged.

  • Updated the link-dev script to better support multiple platforms.

Fixed:

  • Fixed the documentation for evaluationReasons for the identify method.

3.1.0

21 Mar 14:00
Compare
Choose a tag to compare

[3.1.0] - 2024-03-21

Changed:

  • Redact anonymous attributes within feature events
  • Always inline contexts for feature events

Fixed:

  • Pin dev version of node to compatible types.

3.0.10

11 Dec 18:29
Compare
Choose a tag to compare

[3.0.10] - 2023-12-11

Fixed:

  • Added deferred initialization example.
  • Fixes #228. Bumped js sdk dependency.

3.0.9

21 Aug 22:36
Compare
Choose a tag to compare

[3.0.9] - 2023-08-21

Fixed:

  • Types from the js client sdk are now re-exported in the react sdk there's no need to separately install the js sdk just for types.