Skip to content

Releases: statsig-io/react-sdk

v1.32.0 - Adds Ability to Block All Logging to Statsig

10 Nov 16:59
925d376
Compare
Choose a tag to compare

StatsigOptions.disableAllLogging

To help with GDPR flows, you can now initialize with StatsigOptions.disableAllLogging. This will prevent any events being sent to Statsig.

Later, once consent has been given, you can enable logging via Statsig.reenableAllLogging.

Events made while logging is disabled are lost.

App Metrics

Adds new app metrics app_metrics::scroll_depth and app_metrics::time_on_page_ms

Included In This Release

  • 2e04f01 Daniel
    • Add options to disable all logging (#147)

Full Changelog: v1.31.1...v1.32.0

v1.31.1 - Fix Statsig re-initialize

09 Nov 23:14
921567a
Compare
Choose a tag to compare

shutdownOnUnmount was shutting down Statsig but not allowing it to re-initialize properly. initCompletionCallback should now be triggered on re-mount

Updated statsig-js to 4.41.0

Included In This Release

  • 9ccd56a kenny-statsig
    • Merge pull request #145 from statsig-io/fix-reinitialize
  • 643c41b Kenny Yi
    • reset Statsig instance on shutdown

Full Changelog: v1.31.0...v1.31.1

v1.31.0 - Update to Use Latest JS SDK

31 Oct 21:18
3fff7aa
Compare
Choose a tag to compare

Updates to use the latest version of the js sdk which includes support for initialize deltas

Updated statsig-js to 4.40.2

Included In This Release

  • 53efa84 sroyal-statsig
    • Merge pull request #140 from statsig-io/bump-js-version
  • d42ed80 sroyal-statsig
    • Bump StatsigJS Version
  • d79d2cb sroyal-statsig
    • Merge pull request #139 from statsig-io/update-js-version
  • 51d43e7 sroyal-statsig
    • Update to Use Latest JS Client Version

Full Changelog: v1.30.3...v1.31.0

v1.30.3 - Propagate js-client 4.39.1

28 Aug 03:21
67705e7
Compare
Choose a tag to compare

Bumps the statsig js-client SDK to 4.39.1. All changes from js-client 4.36 to 4.39.1 apply: https://github.com/statsig-io/js-client/releases.

Full Changelog: v1.30.2...v1.30.3

v1.30.1 - BugFix: waitForCache was preventing remounts

27 Jun 18:29
df39a26
Compare
Choose a tag to compare

Bug Description:

If waitForCache is set to true, and a remount occurs, isCacheLoaded is never set to true, resulting in rendering being blocked.

Fix:

Network init now over rules cache init and isCacheLoaded is now set to true during remounts.

Full Changelog: v1.30.0...v1.30.1

v1.30.0 - getCurrentUser and updateUserWithValues

16 Jun 17:42
Compare
Choose a tag to compare

Expose 2 new API from statsig-js

  • getCurrentUser
  • updateUserWithValues

Full Changelog: v1.29.0...v1.30.0

v1.29.0 - Adds support for 'waitForCache'

12 Jun 15:35
465270f
Compare
Choose a tag to compare

Adds StatsigProvider.waitForCache

  • This acts as a mid point between waitForInitializaiton=false and waitForInitialization=true
  • Can be useful if you don't want to wait for update to date values, but do want to wait for some (possibly outdated) cache values.

Full Changelog: v1.28.0...v1.29.0

v1.28.0 - Adds more diagnostics monitoring, hashing

02 Jun 17:51
e95e352
Compare
Choose a tag to compare
  • Updates statsig-js dependency to 4.34.0
  • Reduce initialize payload size by half by optimizing hashing algorithm used for config names.
  • Adds linting

v1.27.3 - Add StatsigEnvironment to all PrefetchUser calls Latest

04 May 19:02
26bb817
Compare
Choose a tag to compare
  • Ensure that the StatsigEnvironment field is set on init calls with StatsigOptions.prefetchUser and when directly calling Statsig.prefetchUsers

v1.27.2 - ErrorBoundary around PrefetchUsers

21 Apr 00:44
e18999c
Compare
Choose a tag to compare

As part of the networking refactor, we removed a top level catch handler which handled network timeouts. This was fine for initialize and updateUser, because they had catch handlers of their own, but now prefetch will handle it