releases.shpreview

Session replay network bodies now stream instead of buffering

posthog-js@1.393.1

1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes

1.393.1

Patch Changes

  • #3919 99bad9c Thanks @pauldambra! - Session replay network capture: add an opt-in streaming reader for request/response bodies that stops at the payload size limit instead of buffering the whole body and then discarding it — bounding memory and pre-request latency when a body is very large. It reads only a clone of the body, so it never consumes the stream the page itself reads, and always resolves (never rejects) into the page's fetch. Off by default; enabled for defaults: '2026-06-25' and settable directly via session_recording.streamNetworkBody. (2026-06-24)
  • Updated dependencies [99bad9c]:
    • @posthog/types@1.391.1

Fetched June 24, 2026