What's Changed
- Support Node.js v24 (#1896)
- Add config option to limit decompressed message size (#1933)
Since decompression can increase the memory usage non-linearly, add aconfig.maxDecompressedMessageSizeoption to limit the decompressed message size.
By default it's set toInfinity, i.e. no limit.
Set the config option to a number of bytes to limit the size of data that gets decompressed. - Switch from seek-bzip to unbzip2-stream (#1887)
To facilitate the above. - Use native CompressionStream/DecompressionStream when not streaming (#1935)
For improved compression/decompression performance when not streaming. - Use bufferless transforms (#1893)
For lower memory usage, especially when streaming. - JSDoc: make sure only user-facing entities are included in the docs, and add TS support (#1923)
- Various dependency version bumps
- Various improvements to CI
Full Changelog: v6.2.2...v6.3.0