Skip to content

posthog-js@1.374.2

Choose a tag to compare

@github-actions github-actions released this 18 May 18:55
· 826 commits to main since this release
Immutable release. Only release title and notes can be modified.
44b9d2a

1.374.2

Patch Changes

  • #3550 df91995 Thanks @TueHaulund! - Preserve session-recording remote config across posthog.reset().

    posthog.reset() was clearing the entire persistence store, which wiped
    $session_recording_remote_config along with user state. On the next session
    rotation triggered by the reset, start('session_id_changed') would early-return
    because the remote config was missing — leaving rrweb torn down and the new
    session opening with no Meta + FullSnapshot until the next periodic 5-minute
    checkout.

    This affected any flow where an app calls posthog.reset() mid-session
    (e.g. on sign-out / sign-in) and was particularly visible on Flutter Web
    recordings that depend on a fresh FullSnapshot to anchor the CanvasKit DOM. (2026-05-18)

  • Updated dependencies []:

    • @posthog/types@1.374.2
    • @posthog/core@1.29.5