Skip to content

Releases: launchdarkly/react-client-sdk

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.

3.0.5

12 Apr 18:11
Compare
Choose a tag to compare

[3.0.5] - 2023-04-12

Added:

  • Use parcel to reduce the bundle size.

Changed:

  • Updated to js-client-sdk 3.1.3.

Fixed:

  • Fixed an issue that was preventing page view/click events from being sent. (fixed by js-client-sdk 3.1.3)

3.0.4

21 Mar 20:53
Compare
Choose a tag to compare

[3.0.4] - 2023-03-21

Changed:

  • Update LDContext to allow for key to be optional. This is used when making an anonymous context with a generated key.

3.0.3

02 Mar 00:43
Compare
Choose a tag to compare

[3.0.3] - 2023-03-01

Fixed:

  • Bugfix for #180 where feature events are not sent when camel case is false.