Skip to content

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

5.17.0 - Add Option to Disable All Logging

30 Jan 19:39
d7efa6c
Compare
Choose a tag to compare

Adds an initialization option that will prevent all logging (event/exposure/error)

Included In This Release

  • 7bc9273 sroyal-statsig
    • Add Disable Logging Option (#409)

Full Changelog: 5.16.3...5.17.0

5.16.3 - Internal Diagnostics Memory Leak Patch

25 Jan 19:39
e793041
Compare
Choose a tag to compare

There was the potential for a memory leak if diagnostic events were never flushed.
We now drop events after hitting a set threshold.

Included In This Release

  • 637832b Jacob O'Quinn
    • Add Max Number of Diagnostics Markers (#407)

Full Changelog: 5.16.2...5.16.3

5.16.2 - [Internal Fix] Reduce performance logging payload

19 Jan 00:36
92a1d7b
Compare
Choose a tag to compare
  • Fix internal performance logging payload too big which triggers warning message: statsigSDK> Event metadata is too large (max 4046}). Some attributes may be stripped.

Included In This Release

  • 9bec4b8 Xin Li
    • Trim diagnostics payload (#405)

Full Changelog: 5.16.1...5.16.2

5.16.1 - Explicitly disable log event compression

12 Jan 20:33
77a015c
Compare
Choose a tag to compare

This was disabled via a flag set in the download_config_specs response which is fetched on initialization. For now, explicitly disabling that feature as there are compatibility issues with edge functions using the sdk

Included In This Release

  • 904d77c tore-statsig
    • Re-disable logevent compression (#403)

Full Changelog: 5.16.0...5.16.1

5.16.0 - Replace sha256 for cloudflare compatibility

05 Jan 19:34
31ffd26
Compare
Choose a tag to compare

To make the SDK more compatible in Cloudflare, we replaced the sha256 nodejs package which was incompatible with Cloudflare's nodejs_compat mode.

Included In This Release

  • 3024953 Daniel
    • Use internal Sha256 class (#392)
  • f71eac1 kenny-statsig
    • export DataAdapterKey not as type (#401)
  • 8bf383b kenny-statsig
    • fix pretty lint (#399)
  • dae4fc4 kenny-statsig
    • Enforce pretty lint rules (#397)

Full Changelog: v5.15.0...5.16.0

v5.15.0 - Internal Diagnostics Improvements, Manual Exposure Logging Bugfix

19 Dec 23:49
24735f9
Compare
Choose a tag to compare

Update to internal diagnostics logging which will always log initialize and config sync diagnostics. You can disable core_api (per check) diagnostics via the disableDiagnostics flag in StatsigOptions

Bug fix - add environment to manual exposure logs via any of the manual exposure logging APIs

Included In This Release

  • f885d32 tore-statsig
    • Normalize user object on manual exposure logs (#393)
  • 832fe6e Xin Li
    • Always log initialize and config sync diagnostics (#383)

Full Changelog: v5.14.0...v5.15.0

v5.14.0 - API for list of gates, configs, autotunes, layers

15 Dec 20:21
93e6866
Compare
Choose a tag to compare

New API:

  • getFeatureGateList - get list of all feature gate names in SDK store
  • getDynamicConfigList - get list of all dynamic config names in SDK store
  • getAutotuneList - get list of all autotune names in SDK store
  • getLayerList - get list of all layer names in SDK store

Included In This Release

  • c3f42df Daniel
    • Add SDK Flags (#390)
  • 38deeed kenny-statsig
    • add list API for autotunes, layers, and dynamic configs (#386)

Full Changelog: v5.13.2...v5.14.0

v5.13.2 - Disables log_event compression

14 Dec 21:54
b185d41
Compare
Choose a tag to compare
  • A bug was discovered where log_event compression does not work in Cloudflare workers. Disabling the compression while a fix is created.

Included In This Release

  • 713dca7 Daniel
    • Disable log_event compression (#387)

Full Changelog: v5.13.1...v5.13.2

v5.12.1 - Disables log_event compression

14 Dec 22:25
0634f36
Compare
Choose a tag to compare

A bug was discovered where log_event compression does not work in Cloudflare workers. Disabling the compression while a fix is created.

Bug was introduced in v5.12.0

v5.13.1 - Small validation and error logging fixes

06 Dec 23:00
a5076f3
Compare
Choose a tag to compare

Fix issue where we were logging an error when there was none.

Add validation that sdk key provided is the one that generated initialize response

Included In This Release

  • 4429196 Stephen Royal
    • Don't Throw Sync Error if Sync Disabled
  • 4b2e612 Daniel
    • Use nodeFetch.default when available (#377)
  • a8737de sroyal-statsig
    • Merge pull request #372 from statsig-io/verify-sdk-key
  • 63f63a9 Stephen Royal
    • Verify SDK Key

Full Changelog: v5.13.0...v5.13.1