Skip to content

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

5.25.0 - Fallback to Statsig API

31 Jul 23:18
2bc69cb
Compare
Choose a tag to compare

New Features

  • New option to allow retrying network request for download_config_specs and get_id_lists using Statsig API

Included In This Release

  • 01df1ea kenny-statsig
    • Fallback to Statsig API (#476)

Full Changelog: 5.24.0...5.25.0

5.24.0 - Add missing getIDType in Layer and StatsigServer export

23 Jul 23:33
f9db271
Compare
Choose a tag to compare

New Features

  • add getIDType on Layer

Improvements

  • performance improvement from more efficient exposure deduping and filtering

Fixes

  • remove undefined fields on user in getClientInitializeResponse
  • export StatsigServer, DataAdapterKey
  • bump dependency versions for security updates

Included In This Release

  • 2a5753b Weihao Ding
    • fix: recursively delete undefined fields (#471)
  • 03ec3b1 Alex Coleman
    • Optimize exposure cleaning in evaluator (#470)
  • da4f5cb tore-statsig
    • fix: export StatsigServer (#472)
  • 120a4a5 tore-statsig
    • feat: add idType to layer (#473)
  • 88ba3c2 dependabot[bot]
    • Bump ws from 8.16.0 to 8.17.1 (#461)
  • ce1e56c dependabot[bot]
    • Bump braces and babel-jest (#457)

Full Changelog: 5.23.1...5.24.0

5.23.1 - FIX - Dont update internal store if definition is outdated

05 Jul 20:52
000f2b1
Compare
Choose a tag to compare

Fixes

  • Fixes a bug where we could update the internal store with stale values (older than the current values in memory). While this was unlikely, now it wont happen
  • Removes secret key from the output logger
  • explicitly set sincetime of 0 on first fetch

Included In This Release

  • da036be tore-statsig
    • fix: sanitize output logger of sdk key (#467)
  • a29fa27 tore-statsig
    • fix: only parse specs if time is newer (#465)
  • 8029e45 tore-statsig
    • fix: sinceTime=0 on first fetch (#466)

Full Changelog: 5.23.0...5.23.1

5.23.0 - Hash secondary and undelegated exposures within ClientInitializationResponse

25 Jun 18:31
b0afe46
Compare
Choose a tag to compare

Improvements

  • Hash gate name on secondary exposures and undelegated exposures

Fixes

  • Do not reuse an instance on initialization failure

Included In This Release

  • 6d733db Weihao Ding
    • regression test: enable ci for it (#463)
  • 9f17b58 tore-statsig
    • fix: dont reuse bad instance on initializaiton failure (#462)
  • c10f3a8 Xin Li
    • Hash secondary exposure and undelegated exposure gate name (#458)

Full Changelog: 5.22.0...5.23.0

5.22.0 - Support new target app condition

18 Jun 18:56
8385116
Compare
Choose a tag to compare
  • Allow parsing object directly from data adapter (skip JSON parse)
  • Support evaluating new target app condition

Included In This Release

  • 3ee1e30 kenny-statsig
    • fix target app condition for GCIR (#455)
  • 457a78e kenny-statsig
    • support target app condition (#453)
  • 7dd6c6e kenny-statsig
    • allow skipping JSON parsing data adapter result (#454)

Full Changelog: 5.21.0...5.22.0

5.21.0 - Expose evaluation details and ID type

22 May 00:21
b73c4c8
Compare
Choose a tag to compare

Added evaluation details to the result of the following APIs:

  • getGate,
  • getConfig
  • getExperiment
  • getLayer

Added ID type to the result of the following APIs:

  • getGate,
  • getConfig
  • getExperiment

Internal changes:

  • Exclude segments from secondary exposures and changed how secondary exposures are deduped.

Included In This Release

  • 73fe80a kenny-statsig
    • expose evaluation details (#451)
  • fe2b8cb kenny-statsig
    • expose idType of gate, config, experiment (#450)
  • 84cd71c kenny-statsig
    • Filter exposures from evaluations (#449)
  • f8aaf86 kenny-statsig
    • filter segments from secondary exposures (#448)

Full Changelog: 5.20.0...5.21.0

5.20.0 - GetClientInitialization Improvements, added GetExperimentLayer

10 May 22:02
7a498d1
Compare
Choose a tag to compare
  • GetClientInitialization Improvements. This release adds debugging information for which server SDK generated the values, and includes the full user object used to generate the values
  • added new method GetExperimentLayer, which returns the layer an experiment is in

Included In This Release

  • 86d4fc2 kat-statsig
    • getExperimentLayer node (#438)
  • d0483e5 sroyal-statsig
    • GetClientInitializeResponseV2 (#434)

Full Changelog: 5.19.1...5.20.0

5.19.1 - make get_id_list endpoint overridable

22 Apr 17:54
3921177
Compare
Choose a tag to compare
  • make it such that you can override the base URL for get_id_list
  • clean up chores

Included In This Release

Full Changelog: 5.19.0...5.19.1

5.19.0 - Client initialize response target app filtering for Stasig On-Prem

11 Mar 17:46
fae6758
Compare
Choose a tag to compare

Alternative target app filtering on getClientInitializeResponse that supports config specs from Statsig on-prem

Included In This Release

  • 41a1e31 kenny-statsig
    • remove debug logs and enforce lint check (#420)
  • a4b8202 kenny-statsig
    • support client init filtering from on prem target app (#419)
  • 6775496 Xin Li
    • Log failed event counter (#418)

Full Changelog: 5.18.0...5.19.0

5.18.0 - add clearGate/Config/Layer override methods

29 Feb 00:09
1cbbf92
Compare
Choose a tag to compare

Community contribution from here:

#42

Internal updates to getClientInitializeResponse logging, event count header for log_event, and removing logging on reset sync timer

Included In This Release

  • bf956cb tore-statsig
    • Remove eb log for reset sync timer (#416)
  • 910d7b1 tore-statsig
    • Add clear overrides methods (#415)
  • 772351b Xin Li
    • Get client initialize response logging (#412)
  • 3f0a95a tore-statsig
    • Add event count header to log_event requests (#411)

Full Changelog: 5.17.0...5.18.0