releases.sh

Attribute-level masking for session replay; stray recordings discarded

posthog-js@1.413.0

August 5, 2026PostHog JSView original ↗
1 feature1 fixThis release1 featureNew capabilities1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗

1.413.0

Minor Changes

  • #4376 2da12b8 Thanks @posthog! - Add attribute-level masking to session replay: maskAttributeFn provides per-attribute control over the final serialized value, while maskAllElementAttributes masks all source DOM string attributes (including rendering attributes and synthesized form values) at the cost of replay fidelity. (2026-08-05)

Patch Changes

  • #4376 2da12b8 Thanks @posthog! - fix(replay): discard held interaction-less recordings when a background document unloads without ever becoming visible (2026-08-05)
  • Updated dependencies [2da12b8]:
    • @posthog/types@1.402.0
    • @posthog/browser-common@0.4.0

Fetched August 5, 2026