Skip to content

Releases: configcat/react-sdk

v4.8.1

04 Feb 12:44
9577f33
Compare
Choose a tag to compare

Bug fixes:

  • Fix a regression introduced in v4.7.0 which stops Auto Polling in development when Strict Mode is enabled. (#68)

v4.8.0

08 Nov 10:19
8f8cc52
Compare
Choose a tag to compare

New features:

  • Allow overriding flags using query string parameters. (#63)

v4.7.0

10 Oct 20:50
Compare
Choose a tag to compare

🚀 Features

  • Support multiple ConfigCatProvider components (more details)

🐛 Fixes

  • Resolve #54 (nested providers now are supported)

v4.6.1

06 Sep 16:01
c3f024a
Compare
Choose a tag to compare

Improvements:

Bug fixes:

  • Check cache expiration in every poll iteration, not just the first one in Auto Polling mode to reduce network traffic when the SDK uses a shared cache (including LocalStorage cache used by instances of a browser app running in multiple browser tabs). (configcat/common-js#106)
  • Synchronize in-memory cache with the external cache in every poll iteration, not just the first one in Auto Polling mode regardless of offline mode to keep in-memory cache up-to-date when the SDK uses a shared cache.
  • Protect poll iterations with try-catch so a potential exception doesn't stop the polling loop in Auto Polling mode.

v4.6.0

02 Apr 15:32
c388ffe
Compare
Choose a tag to compare

Improvements:

  • Add React Native sample app.

Bug fixes:

  • Fix regression that made the SDK unusable in React Native apps. (#52)

v4.5.0

27 Mar 11:33
4f495a1
Compare
Choose a tag to compare

Improvements:

  • Make adjustments to prevent issues (#7, #40) when the SDK is used in SSR applications, e.g. in Next.JS. (This does not mean though that the React SDK can work in server context, it still only supports client context, i.e. browsers.) (#51)
  • Add Next.js sample app.

v4.4.0

21 Mar 12:25
b4a597b
Compare
Choose a tag to compare

Improvements:

  • Make naming of UserComparator members consistent. (configcat/common-js#102)
  • Make line terminator character sequence configurable in log messages.
  • Adjust the terminology used in JSDoc comments to the main documentation.
  • Minor performance improvements.

Bug fixes:

  • Align evaluation logging and evaluator error reporting in some edge cases where the config JSON contains errors.
  • Correct grammar mistakes in error messages.

Breaking changes:

  • Change the name of some UserComparator members: Is(Not)OneOf -> TextIs(Not)OneOf, SensitiveIs(Not)OneOf -> SensitiveTextIs(Not)OneOf, (Not)ContainsAnyOf -> Text(Not)ContainsAnyOf. (Low impact expected.)

v4.3.0

16 Jan 16:53
b471acb
Compare
Choose a tag to compare

New features/improvements:

  • Add an optional parameter named watchChanges to createFlagOverridesFromMap which controls whether the client should detect changes to the flag override map after client initialization. (configcat/common-js#101)

Bug fixes:

  • Reference a fixed version of configcat-common to avoid issues in case the "pubternal" API of configcat-common changes. (#48)

v4.2.0

09 Jan 11:30
9c29bc4
Compare
Choose a tag to compare

Improvements:

  • Upgrade to configcat-common v9.1.0.
  • Send ETag as a query string parameter when running in browser (because browsers don't send it automatically in every case).
  • Upon client initialization test for the availability of the local storage and use LocalStorageCache only if it's available. Otherwise, use the default (in-memory) cache implementation.
  • Don't swallow exceptions which are thrown in the LocalStorageCache.get/set methods so the outer exception handlers can catch and log them.

v4.1.0

20 Dec 16:19
e017412
Compare
Choose a tag to compare

Fixed a cache issue with non Latin 1 characters in the config.json.