github PostHog/posthog-js posthog-js@1.356.2

latest releases: posthog-react-native@4.37.0, @posthog/nuxt@1.5.71, @posthog/types@1.357.0...
8 hours ago

1.356.2

Patch Changes

  • #3174 e9127d8 Thanks @TueHaulund! - Detect and report when rrweb fails to initialize. rrweb's record() silently swallows startup errors and returns undefined, which previously left the SDK reporting an active recording status while capturing zero data. The SDK now checks the return value and reports a new rrweb_error status, making the failure visible in debug properties.
    (2026-03-02)

  • #3175 6ee5f12 Thanks @TueHaulund! - Fix memory leak in canvas recording on Safari < 16.4 where ImageBitmaps were never closed when OffscreenCanvas was unavailable in the web worker.
    (2026-03-02)

  • #3178 186871a Thanks @TueHaulund! - Skip canvas FPS recording entirely on browsers without OffscreenCanvas support (Safari < 16.4) instead of running a wasteful requestAnimationFrame loop that can never produce data. Also includes displayWidth/displayHeight in canvas mutation data for correct replay sizing.
    (2026-03-02)

  • #3176 87bae20 Thanks @dustinbyrne! - fix: Drop explicit exports
    (2026-03-02)

  • #3172 2e46959 Thanks @dustinbyrne! - fix: Compressed requests use ArrayBuffer
    (2026-03-02)

  • Updated dependencies []:

    • @posthog/types@1.356.2

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.