github PostHog/posthog-js posthog-js@1.413.0

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

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.