Skip to content

Releases: launchdarkly/react-client-sdk

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.

3.0.8

14 Jul 20:47
Compare
Choose a tag to compare

[3.0.8] - 2023-07-14

Fixed:

  • #202 Use bootstrap values if there's an error initializing the client.
  • #208 Add types to exports field in package.json to fix typescript compilation error when using moduleResolution: bundler.

3.0.7

12 Jul 16:36
Compare
Choose a tag to compare

[3.0.7] - 2023-07-12

Changed:

  • This release introduces rollup to bundle the build output. The bundle is minified and supports both cjs and esm.

3.0.6

12 Apr 20:51
Compare
Choose a tag to compare

[3.0.6] - 2023-04-12

Fixed:

  • Rolled back parcel due to erroneous types being generated issue 197.