Skip to content

Releases: statsig-io/node-js-server-sdk

v5.9.0 - Provide checkGateWithoutServerFallback

16 Aug 00:20
c37fe7d
Compare
Choose a tag to compare

Introduces a new API, checkGateWithoutServerFallback. It is a synchronous API for checking gates, but will not fall back to a network request to Statsig in the event the SDK is unable to evaluate the gate definition. It logs exposures just as the checkGate api

Full Changelog: v5.8.2...v5.9.0

v5.8.2 - Fix store sync timer reset

26 Jul 21:44
Compare
Choose a tag to compare

Fixed a bug with background syncing that caused unnecessary syncs when using longer sync intervals or data adapters

Full Changelog: v5.8.1...v5.8.2

v5.8.1 - Add Metadata to Diagnostics Logging

18 Jul 00:11
e1f41e1
Compare
Choose a tag to compare

Additional internal diagnostics:

  • Adding logging for sdkRegion when network request failure occurs.
  • Centralized diagnostics logic in StatsigFetcher.post() instead of wrapping each call site.

Full Changelog: v5.8.0...v5.8.1

v5.8.0 - Target app bootstrapping & expose additional Layer metadata

30 Jun 20:07
02ac9e8
Compare
Choose a tag to compare
  • Added SDK support for a product in development which will allow bootstrapping with a subset of config specs
  • Expose groupName and allocatedExperimentName from getLayer
  • Internal diagnostics changes

Full Changelog: v5.7.2...v5.8.0

v5.7.2 - Switch js-sha256 with sha.js

08 Jun 23:47
4171009
Compare
Choose a tag to compare

js-sha256 does not work in Vercel edge functions. Replacing with sha.js

Full Changelog: v5.7.1...v5.7.2

v5.7.1 - Use js-sha256 instead of node-forge

07 Jun 22:07
0637f8d
Compare
Choose a tag to compare

node-forge was bloating the SDK and is not longer required for the Vercel integration, since Vercel now supports Buffer APIs.

Switching to js-sha256 which is a smaller dependency.

What's Changed

New Contributors

Full Changelog: v5.7.0...v5.7.1

v5.7.0 - Add getFeatureGate APIs

02 Jun 21:40
eb81c75
Compare
Choose a tag to compare

Adds ability to get additional information (group and rule id) about a gate check not just its boolean value.

v5.6.1 - Set first retry backoff for post logs to 1s

01 Jun 18:49
0095835
Compare
Choose a tag to compare

To be consistent with other SDKs, set the first retry backoff time to 1s (previously 10s)

v5.6.0 - Custom logger interface & Configurable retry & backoff

23 May 22:31
Compare
Choose a tag to compare

Introducing some more options to:

  • Customize the output logger (replaces the default console stdout/stderr)
  • Configure maximum number of retries & backoff logic for logging events

v5.5.0 - Adds config_sync Diagnostics

25 Apr 00:01
3c68734
Compare
Choose a tag to compare

Diagnostics Details:

  • Add more diagnostic logging for download_config_specs, get_id_list_sources and get_id_list.
  • Add ability for download_config_specs to control the sampling rate of diagnostics.

Code Formatting:

  • Format code using default setting from prettier

Optimizations:

  • Add memoizing for computeUserHash
  • Add initialization options to the SDK to control whether to load IP3Country and ID Lists