Releases: statsig-io/js-client
v4.37.0 - Expose group name and id type
Expose group name and id type for DynamicConfigs
getGroupName
getIDType
Expose group name for LayersgetGroupName
Full Changelog: v4.36.0...v4.37.0
v4.36.0 - Bootstrap version of updateUser
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
- 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
- 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
- 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
- Ensure prefetchUsers logs errors to ErrorBoundary
v4.33.4 - No-op - handle timeout exception explicitly
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
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
- 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
Adds StatsigOptions.updateUserCompletionCallback
. You can set this callback function if you wish to know when a call to Statsig.updateUser has been completed