Skip to content

Releases: statsig-io/js-client

5.1.0 - Hash Lookup, Exception Logging Cleanup and Validation Updates

05 Jun 21:52
1c3eca4
Compare
Choose a tag to compare
  • remove unnecessary exception logs
  • allow lookup by hashed name
  • update bootstrap validator
  • ensure correct dedupe key reset when updating user

Included In This Release

  • 1fb838c kat-statsig
    • Fix hash lookup order (#499)
  • 421cce7 kat-statsig
    • hash lookup (#497)
  • 34dc84d kenny-statsig
    • properly reset dedupe key when updating user with values (#496)
  • 533224f sroyal-statsig
    • Bootstrap Updates (#489)
  • 0fe713d kat-statsig
    • postToEndpoint log error (#491)
  • 718d752 kat-statsig
    • no stable id changed err (#493)
  • a67eb05 kat-statsig
    • no init err log (#494)
  • cc00558 kat-statsig
    • no err for local mode in prefetchuser (#492)

Full Changelog: 5.0.0...5.1.0

5.0.0 - Use New Domains for Initialize and Logging

08 May 00:31
e25730e
Compare
Choose a tag to compare

Switches to have logging hit https://prodregistryv2.org and initialize hit https://featureassets.org

Consider if you need to allow these domains in your CSP, VPN, or any other services when updating to this SDK version

As always, you can override these as well via StatsigOptions:
api - for initialize
eventLoggingApi - for event logging

Included In This Release

  • 8c41343 sroyal-statsig
    • Use New Domains (#486)

Full Changelog: 4.53.1...5.0.0

4.53.1 - Update Readme

07 May 17:30
d6159c2
Compare
Choose a tag to compare

readme update

Included In This Release

  • 876dbaa tore-statsig
    • chore: update readme to point to js-mono and add refs (#487)

Full Changelog: 4.53.0...4.53.1

4.53.0 - Update Dependencies

24 Apr 19:26
fa38835
Compare
Choose a tag to compare

Updates multiple dependencies
Adds log event count to headers

Included In This Release

  • f1449d8 sroyal-statsig
    • Update UUID Version (#483)
  • 2ad0169 sroyal-statsig
    • Compare Boostrap Hash Against the Full User Hash (#481)
  • a096040 kenny-statsig
    • manually fix remaining lint errors (#478)
  • 6c05eda kenny-statsig
    • autofix lint (#477)
  • cddfc82 kenny-statsig
    • enforce prettier (#476)
  • 5e93993 tore-statsig
    • chore: bump npm package dependencies (#473)
  • efa11fa tore-statsig
    • Delete pnpm-lock.yaml (#474)
  • 953cd53 Xin Li
    • log event count header (#469)

Full Changelog: 4.52.0...4.53.0

4.52.0 - Add InitRequestRetries into Statsig Options, Bug Fix For Auto Metrics

03 Apr 17:12
c78d323
Compare
Choose a tag to compare

New Features

  • Custom Request Retries: Introducing initRequestRetries in StatsigOptions, empowering customers to define the number of retry attempts for initialization requests according to their preferences.

Enhancements

  • Consistent Logging: Modified log messages across the codebase to adhere to the [Statsig] prefix convention for better organization and clarity.
  • Bug fix: safer checks on auto metrics.

Included In This Release

  • d440265 Weihao Ding
    • Add Init Request Retries Into StatsigOptions (#470)
  • cb9ee74 tore-statsig
    • bugfix: safer checks on auto metrics (#471)

Full Changelog: 4.51.0...4.52.0

4.51.0 - Add CustomLogger Interface, Enhanced Event Loss Logging And Rework LogEvent Retry Logic

26 Mar 19:49
c9b7bd3
Compare
Choose a tag to compare

New Features:

  • Custom Logger Interface: In this release, we have introduced a custom logger interface, allowing users to integrate their preferred logging frameworks with SDK.

Improvements:

  • Log Event Write to Cache and Retry Logic Reworked: we have reworked the logic for logging event writes to cache and retry mechanisms. This enhancement improves the reliability of event logging.

  • Enhanced Event Loss Details Logging: To provide better visibility into event loss situations, we have enhanced our logging mechanism to include detailed event loss information.

Included In This Release

  • 8458c2f Weihao Ding
    • Add Event Loss Logging Using Custom Logger Interface (#467)
  • 56aab82 Xin Li
    • Re-work logevent write to cache and retry logic (#461)
  • 9c3e5f9 Weihao Ding
    • Add Custom Logger Interface (#466)

Full Changelog: 4.50.2...4.51.0

4.50.2 - Fix setTimeout not being cleared

20 Mar 21:27
5e66395
Compare
Choose a tag to compare

Bug fix

Internal

  • Use Delta response on initialize response only if we hashUsed between sessions matched

Included In This Release

  • 70d98bb Jacob O'Quinn
    • Clear timeout (#387)
  • 2ea1518 sroyal-statsig
    • Deltas Check Previous Hash Used (#462)

Full Changelog: 4.50.1...4.50.2

4.50.1 - Add Non Exposed Check for getFeatureGate

08 Mar 18:40
ca37195
Compare
Choose a tag to compare

Other exposure logging disabled functions already had this logic just adding getFeatureGate

Included In This Release

  • 41faca3 sroyal-statsig
    • Add Non Exposed Check for Get Feature Gate (#459)

Full Changelog: 4.50.0...4.50.1

4.50.0 - Evaluation callback and exposure logging debug info

01 Mar 17:23
c798ab9
Compare
Choose a tag to compare

New feature

  • Add Evaluation Callback Option
  • Add api to pass in debug info which will be logged with exposure event. Debugging fields will show up under otherMetadata section in Diagnostics tab.

Included In This Release

  • 0cf36a2 Xin Li
    • api to pass debug information (#457)
  • cfde63f sroyal-statsig
    • Adding EvaluationCallback Option (#456)

Full Changelog: 4.49.0...4.50.0

4.49.0 - Introduces aggregated count checks for non exposed checks

26 Feb 23:02
706d359
Compare
Choose a tag to compare

In order to optimize payload size, we need to know which entities are checked by any sdk. exposures work for this, but if you disable exposure logging, we need a way to know you are accessing an entity from a given sdk key. This adds those counters.

Internal updates to remove RN types from dev dependencies

Included In This Release

  • 4811bf1 tore-statsig
    • Remove rn dev dep types (#453)
  • 8ef133d sroyal-statsig
    • Event For Non Exposed Checks (#452)

Full Changelog: 4.48.0...4.49.0