Skip to content

Releases: statsig-io/js-client

v4.37.0 - Expose group name and id type

14 Jul 23:46
6698f27
Compare
Choose a tag to compare

Expose group name and id type for DynamicConfigs

  • getGroupName
  • getIDType
    Expose group name for Layers
  • getGroupName

Full Changelog: v4.36.0...v4.37.0

v4.36.0 - Bootstrap version of updateUser

15 Jun 19:55
Compare
Choose a tag to compare

New API updateUserWithValues allows you to update the user without making a network call by using bootstrapped values

Full Changelog: v4.35.0...v4.36.0

v4.35.0 - Add support for cache loaded callback

09 Jun 21:49
Compare
Choose a tag to compare
  • Adds ability to notify the statsig-react SDK when the cache has been loaded.
  • Adds support for bootstrapping with non sha256 hash_used field

Full Changelog: v4.34.0...v4.35.0

v4.34.0 - Diagnostics per API, `gateEvaluationCallback` option, hashing

01 Jun 22:35
fa7c7ff
Compare
Choose a tag to compare
  • Diagnostics for core API
  • gateEvaluationCallback option
  • Optimize hashing used for config names to reduce initialize payload size by approximately half

v4.33.6 - Add StatsigEnvironment to all PrefetchUser calls

03 May 04:04
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

v4.33.5 - ErrorBoundary logging for PrefetchUsers

20 Apr 21:28
fa267cd
Compare
Choose a tag to compare
  • Ensure prefetchUsers logs errors to ErrorBoundary

v4.33.4 - No-op - handle timeout exception explicitly

20 Apr 20:05
5560b5c
Compare
Choose a tag to compare

No op in functionality - handles the timeout error directly rather than via error boundary. See v4.33.3

v4.33.3 - Patch prefetchUsers to catch network timeouts

20 Apr 19:42
aa61cc5
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

v4.33.2 - Delay PrefetchUsers for Bootstrap

14 Apr 23:08
750d2b2
Compare
Choose a tag to compare
  • Moves prefetchUsers call to delayedSetup in the Bootstrap flow when it is provided via StatsigOptions.prefetchUsers.
    • Only applies if initializing with StatsigOptions.initializeValues

v4.33.1 - Add StatsigOptions.updateUserCompletionCallback

04 Apr 17:15
Compare
Choose a tag to compare

Adds StatsigOptions.updateUserCompletionCallback. You can set this callback function if you wish to know when a call to Statsig.updateUser has been completed