releases.sh

Replay privacy masking preserved for initial network metadata

posthog-js@1.413.1

August 5, 2026PostHog JSView original ↗
2 fixesThis release2 fixesBug fixesAI-tallied from the release notes
From the original release noteView original ↗

1.413.1

Patch Changes

  • #4390 1160403 Thanks @posthog! - Contain and log recorder-owned callback failures while preserving exceptions from patched native host APIs. Keep recording mutations from adopted cross-realm nodes. (2026-08-05)

  • #4286 d108d66 Thanks @posthog! - fix(replay): preserve privacy masking for initial network metadata

    Initial navigation and performance-timing entries are now passed through maskCapturedNetworkRequestFn, including when they have no method. URL rewrites are respected. When the callback returns nullish for an initial entry, replay-required timing metadata is retained without its URL, headers, or body so method-gated callbacks do not drop the metadata or expose deliberately filtered customer data. Derived server-timing entries are also suppressed when this strict fallback is used. Enforced PostHog filtering and payload cleaning still run first. (2026-08-05)

  • Updated dependencies [d108d66]:

    • @posthog/types@1.402.1

Fetched August 5, 2026

Replay privacy masking preserved for initial network… — releases.sh