Skip to content

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

v5.4.1-beta.0 - ESBuild specific fix for 'node-fetch' import

29 Mar 18:04
Compare
Choose a tag to compare

DO NOT USE unless using esbuild with 'module' main field. (Special case where the mjs version of 'node-fetch' is forced)
This version switches to esm import syntax require('node-fetch).default

v5.4.0 - Better JS Import Support. Diagnostics Logging.

29 Mar 17:51
Compare
Choose a tag to compare
  • Support imports when esModuleInterop is false in tsconfig (Fix for #21)
  • Add statsig::diagnostics event for tracking init performance

v5.3.0 - Adds group name to experiments/dynamic configs

09 Feb 22:46
02d452e
Compare
Choose a tag to compare
  • adds a group name and getGroupName to the DynamicConfig returned from getExperiment and getConfig calls for analytics

  • updates evaluation for customIDs and environment conditions to be case insensitive for the key names (e.g. customIDs: { testID: "123"} is equivalent to customIDs: { testid: "123" })

v5.2.1 - export DynamicConfig and Layer classes

31 Jan 00:22
eb0e1a0
Compare
Choose a tag to compare

The DynamicConfig and Lyer types were exported, but you could not actually instantiate/use these classes for testing, as they were not a part of the module that got exported.

v5.2.0 - add APIs to get the list of experiments and feature gates

24 Jan 02:11
7fe79d7
Compare
Choose a tag to compare
  • added APIs to get the list of experiments and feature gates, getExperimentList() / getFeatureGateList(), both of which returns a list of names for the respective entity type;
  • the SDK now logs an internal error when attempting to get a value from DynamicConfig that's of the wrong type, e.g. if your parameter on the experiment is a number, but you are trying to get it as a string by providing a string typed value as the default value when calling get(). This will be logged by the SDK and surfaced as a warning in Statsig console;

v5.0.0 - Better Typescript Support. Manual Exposure APIs

29 Nov 23:05
Compare
Choose a tag to compare
  • Updates SDK structure to more easily support Typescript.
  • Adds APIs for checking gates/experiments without logging exposures.
  • Adds APIs for manually logging gate/experiment exposures.

v4.20.1 - patches crash with logging flush interval

31 Oct 21:39
5e18169
Compare
Choose a tag to compare

v4.20.0 - Adds support for ID list bootstrapping/persistence via DataAdapter

28 Oct 20:53
f1e1bc9
Compare
Choose a tag to compare

Also includes bug fixes for:

  • running in a non-node.js environment (unref calls are not supported in browser/edge environments)
  • using numberic operators on string values

v4.19.1 - Layer exposure bug fix

20 Oct 20:06
Compare
Choose a tag to compare

A bug was identified where holdouts were not being applied to certain Layer exposures. This is fixed in v4.19.1

v4.19.0 - Adds evaluation details and resets sync timer

14 Oct 18:41
bd0eddc
Compare
Choose a tag to compare

Checks if the sync timer has stopped and attempts to reset it.

Also adds evaluation details which will be used to surface the time the config definitions were synced and other debugging information