Skip to content

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

5.27.1 - disable log event compression

13 Sep 22:55
89cba67
Compare
Choose a tag to compare

Fixes

  • reports that log event compression fails when running the sdk in an edge worker. disabling for now

Included In This Release

  • b5394f9 tore-statsig
    • chore: disable log event compression (#498)

Full Changelog: 5.27.0...5.27.1

5.27.0 - Support array operators, enable event log compression

11 Sep 17:09
8aa5b66
Compare
Choose a tag to compare

New Features

  • Add support for array operators

Improvements

  • Include group_name in the client initialize response

Fixes

  • Fix output log levels
  • Fix awaiting on data adapter save

Included In This Release

  • 7853afe kenny-statsig
    • Fix saving config specs to adapter (#496)
  • ef15876 Daniel
    • chore: re-enable log event compression (#495)
  • 73ab2a2 kenny-statsig
    • Fix output logger log levels (#494)
  • b95a4de Daniel
    • fix: include group_name in gcir (#491)
  • 3d5b6a6 sroyal-statsig
    • Support Array Contains All Operators (#492)
  • 0886e5b sroyal-statsig
    • Support Array Operators (#490)

Full Changelog: 5.26.0...5.27.0

5.26.0 - Persistent assignment

19 Aug 17:54
ea11614
Compare
Choose a tag to compare

New Features

  • Storage interface for persistent assignment

Included In This Release

  • 7739416 kenny-statsig
    • Fix in-line comment (#487)
  • cc847c0 kenny-statsig
    • Persistent assignment (#485)
  • 395a9d4 kenny-statsig
    • Evaluation context (#484)
  • 9de56d9 kenny-statsig
    • Move evaluator utils to shared file (#483)
  • d043956 kenny-statsig
    • Strong typing of secondary exposures (#482)

Full Changelog: 5.25.1...5.26.0

5.25.1 - fix: support timeout in flush() and remove private attributes from gcir

06 Aug 21:00
33780e2
Compare
Choose a tag to compare

Fixes

  • make flush(timeout) respect the timeout applied
    #49
  • remove private attributes from the user returned in getClientInitializeResponse

Included In This Release

  • 7bdbd13 tore-statsig
    • fix: strip private attributes from bootstrap user (#479)
  • 4c6c6c4 tore-statsig
    • fix: flush with timeout not respected by retries (#478)

Full Changelog: 5.25.0...5.25.1

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