Skip to content

Releases: launchdarkly/react-client-sdk

3.0.2

15 Feb 21:34
Compare
Choose a tag to compare

[3.0.2] - 2023-02-15

Changed:

  • Upgrade to js-client-sdk version 3.1.1. This removes usage of optional chaining (?.) to allow for use with older transpilers.

3.0.1

21 Dec 00:27
Compare
Choose a tag to compare

[3.0.1] - 2022-12-20

Fixed:

  • We removed unnecessary Proxy overrides to keep compatibility with proxy-polyfill. This was reported in issue #174.

2.29.4

21 Dec 00:12
Compare
Choose a tag to compare

[2.29.4] - 2022-12-20

Fixed:

  • We removed Proxy overrides to be compatible with proxy-polyfill. This was reported in issue #174.

3.0.0

07 Dec 18:56
Compare
Choose a tag to compare

[3.0.0] - 2022-12-07

The latest version of this SDK 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 context provider configuration option has been added.

Fixed:

  • We fixed a bug where using native Object functions on the flags proxy object results in errors. This was reported in issue #162.

Deprecated:

  • The user provider configuration option has been deprecated. Please use context instead.

2.29.3

07 Dec 20:57
Compare
Choose a tag to compare

[2.29.3] - 2022-12-07

Fixed:

  • We fixed a bug where using native Object functions on the flags proxy object results in errors. This was reported in issue #162.

2.29.2

28 Oct 19:40
Compare
Choose a tag to compare

[2.29.2] - 2022-10-28

Fixed:

  • An issue with asyncWithLDProvider that was causing flags to be empty on first render.

2.29.1

21 Oct 18:07
Compare
Choose a tag to compare

[2.29.1] - 2022-10-21

Changed:

  • Upgraded to js-client-sdk version 2.24.2 which includes implementations of jitter and backoff for streaming connections. When a connection fails the retry will start at the streamReconnectDelay and will double on each unsuccessful consecutive connection attempt (backoff) to a max of 30 seconds. The delay will be adjusted from 50%-100% of the calculated delay to prevent many clients from attempting to reconnect at the same time (jitter).

2.29.0

18 Oct 17:16
Compare
Choose a tag to compare

[2.29.0] - 2022-10-18

Changed:

  • Updated js-client-sdk to 2.24.0 which added support for Inspectors that can be used for collecting information for monitoring, analytics, and debugging.

2.28.0

05 Oct 18:19
Compare
Choose a tag to compare

[2.28.0] - 2022-10-05

Changed:

  • Updated js-client-sdk version which removed event de-duplication functionality which was made redundant by support of summary events. This will improve the default event behavior when using experimentation.

2.27.0

31 Aug 15:51
Compare
Choose a tag to compare

[2.27.0] - 2022-08-31

Added:

  • useFlags hook is now generically typed, allowing you to assert what type your flag set will be.
  • useLDClientError hook for exposing client initialization failures.

Changed:

  • sendEventsOnlyForVariation is now set to true by default to prevent a flag evaluation event being generated for every flag on load.
  • flags object (that is either injected via props using LDConsumer or returned from the useFlags hook) will generate a flag evaluation event on flag read (using a JavaScript proxy). This can be disabled by setting reactOptions.sendEventsOnFlagRead: false.
  • upgraded from ES5 to ES6.