posthog-node
6.0.5 · 19 Nov 2026MIT23.9M / weekRepositorynpmAtom feed
5.74.0 is the newest release of 5.x.
In short
1 fixed1 internal
Release note
Patch Changes
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 aBlobrequest body leaks a nativeBlobReaderthat is never released, so a service callingcapture()andflush()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 tonode:zlibremoved 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 usingCompressionStream.
(2026-08-24)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.