Skip to content

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

v5.9.1 - BUG FIX - patch bug that caused increase in outbound connections to statsig

28 Aug 23:39
67b1593
Compare
Choose a tag to compare
  • Patches a bug where the sdk failing to fetch config specs or id lists from the network could cause every gate or experiment check to spawn a (non blocking) network request to statsig servers to force sync.

This bug was introduced in 5.8.2 and patched in 5.9.1 and 5.8.3

  • Also patches a bug where network errors were printed in local mode and adds support for the multi pass and fail gate operator

Full Changelog: v5.9.0...v5.9.1

v5.8.3 - BUG FIX - patch bug that caused increase in outbound connections to statsig

29 Aug 00:01
8ef6c16
Compare
Choose a tag to compare

Patches a bug where the sdk failing to fetch config specs or id lists from the network could cause every gate or experiment check to spawn a (non blocking) network request to statsig servers to force sync.

This bug was introduced in 5.8.2

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)