Skip to content

posthog-node@5.51.1

Choose a tag to compare

@github-actions github-actions released this 24 Aug 11:08
Immutable release. Only release title and notes can be modified.
0540533

5.51.1

Patch Changes

  • #4614 3593c43 Thanks @iamomiid! - The Node SDK now sends the raw gzip bytes as the request body instead of wrapping them in a Blob. On Node 24.16 and later, reading a Blob request body leaks a native BlobReader that is never released, so a service calling capture() and flush() once per request grew by roughly 2.3 KB of heap per event and never gave it back. This completes the work in #4423: switching to node:zlib removed the compression-time Blob reads, but the body itself was still a Blob and still got read once per request. Compression behaviour, headers and the wire format are unchanged, and the edge build keeps using CompressionStream.
    (2026-08-24)
  • Updated dependencies [3593c43]:
    • @posthog/core@1.48.9