Skip to content

0.5.3 - Fix re-entrant flush recursion in non-exposed checks logging

Latest

Choose a tag to compare

@statsig-kong statsig-kong released this 21 Jul 18:00
· 1 commit to main since this release
1af854b

New Features

Improvements

Fixes

  • Fixed a re-entrant flush recursion when logging non-exposed checks. When the
    event queue reached loggingMaxBufferSize, flushing could re-enter itself and
    crash with RangeError: Maximum call stack size exceeded. The non-exposed
    checks event is now appended directly to the queue and the checks map is reset
    before logging, so flush (and shutdown) reliably drain the queue in a single
    awaited POST. (#65)

Security

  • Added form-data override (^4.0.4) to resolve a dependency vulnerability. (#62)
  • Added minimatch override (^3.1.4) to resolve a ReDoS dependency vulnerability. (#63)

Included In This Release

  • f582fb5 Kenneth Yeh
    • [fix] Prevent re-entrant flush recursion in non-exposed checks logging (#65)
  • 278df01 araf-statsig
    • minimatch v bump (#63)
  • 2ad48b9 araf-statsig
    • vuln fix (#62)

Full Changelog: 0.5.2...0.5.3