Skip to content

0.2.0 - Performance improvements, smart log event and java windows build

Choose a tag to compare

@statsig-kong statsig-kong released this 16 Apr 23:34
· 1972 commits to main since this release
eea658f

⚠️ Important Changes

UA parser and Ip3 country lookup packages now load lazily by default.

enableUserAgentParsing and enableCountryLookup have been removed from statsigOptions.

If you would like to wait for it during initialize, use waitForUserAgentParsingInit / waitForCountryLookupInit in statsigOptions. Or you can also disable these two packages with disableUserCountry / disableUserAgent.

Event flushing now controls the QPS internally.

You can adjust event throughput with event_logging_max_pending_batch_queue_size and event_logging_max_queue_size options.
In stable server environment, the internal QPS is generally more than enough, but if used in scripts environment where a high volume of config checks are happening in a short burst, the sdk may hit its internal buffer limit after which additional events may be dropped.
For running scripts/known burst traffic, increase event_logging_max_queue_size so the SDK can hold onto all events for the duration of the run. For more information, see our docs here: https://docs.statsig.com/sdk/debugging/#maximizing-event-throughput

New Features

  • Core[Internal]: smart log event. new statsig options to tune event logging throughput
  • Python: Persistent storage

Improvements

  • Core[Internal]: performance improvement
  • Core: reduced spammy logs

Fixes

  • Java: fix build for windows

Included In This Release

  • 6995322 Weihao Ding
    • chore(java): add some warnnings on jni (#843)
  • 788721a Weihao Ding
    • [release] 0.1.0-beta.2504064 - Loading for windows targets, performance improvements (#839)
  • a615fa3 Xin Li
    • Update LRS.yml (#838)
  • 7c6a01f Daniel Loomb
  • b0cd7ed Daniel Loomb
    • tool(tests): add typing-extentions to debian image
  • b6f13ff Daniel
    • chore(node): correct typing for global custom fields (#818)
  • b2f9b32 Daniel
    • chore(perf): only parse ua values that we need (#836)
  • b5f2be2 Daniel
    • tool(bench): add statsig init to perf bench (#830)
  • 2a77958 Weihao Ding
    • fix(java): load windows native libs (#837)
  • 00b09b6 Xin Li
    • update (#787)
  • 7195466 Daniel
    • tool(bench): include ua and ip in benches (#835)
  • 20e38c2 Weihao Ding
    • [release] 0.1.0-beta.2504063 - Fix Java Core Options (#834)
  • e75b981 statsig-kong[bot]
    • [automated] chore: bump version to 0.1.0-beta.250416 (#833)
  • 648b6f9 Weihao Ding
    • fix(java): the jni & statsigOptions & StatsigJNI need to be consistent (#831)
  • 033d11a kat-statsig
    • [release] 0.1.0-beta.2504062 - Perf improvements, persistent storage and smart logger (#828)
  • f811541 Weihao Ding
    • fix(java): put right content for windows (#827)
  • 806065c Daniel
    • too(sync-ver): add perf-mon project to version sync (#816)
  • 179814b Xin Li
    • Clean up spammy error logging (#817)
  • 306c320 Xin Li
    • Provide options to disable (#822)
  • 9b9c35f kat-statsig
    • Fix logging tests (#823)
  • 1b3d6fd kat-statsig
    • move failed log event log (#819)
  • 9e637ac kat-statsig
    • fix test (#821)
  • fdac34f Daniel
    • tool: track memory usage across commits (#813)
  • b905dd6 Xin Li
    • update (#814)
  • 451c61c Daniel
    • chore: reuse loggable user json payloads if in memory (#805)
  • f7aa9b1 Weihao Ding
    • fix(rust): construct fallback url (#812)
  • 7de9189 Xin Li
    • fix test (#811)
  • b53f2fc Xin Li
    • Update user-agent and ip3 country lookup init / usage (#799)
  • 9a6e5d5 Xin Li
    • fix: remove unwrap (#802)
  • 28b8664 statsig-kong[bot]
    • [automated] chore: bump version to 0.1.0-beta.250415 (#807)

Full Changelog: 0.1.0...0.2.0