github klauspost/compress v1.20.5

one hour ago

What's Changed

  • flate: count the whole window for the level 9 literal cost estimate by @yxshee in #1306
  • gzhttp: return buffered write errors from FlushError by @yxshee in #1310
  • xpress: reject a Huffman match that runs past the declared size by @yxshee in #1309
  • flate: keep the reader failed after WriteTo short write by @CJstate in #1304
  • s2: omit empty indexes and check stream bounds by @yxshee in #1311
  • gzip: mark reader ended after WriteTo of a single stream by @CJstate in #1302
  • gzhttp: preserve status selected by buffered writes by @hakarrr in #1318
  • zip: honor zipinsecurepath set by //go:debug or go.mod godebug by @Raghuvardhan-Reddy78 in #1319
  • gzip: report short writes of the CRC/ISIZE footer from Close by @CJstate in #1316
  • zstd: state that encoder output is only stable within one version by @lizthegrey in #1314
  • zstd: faster and smaller small frames with dictionaries by @spotdemo4 in #1280
  • s2, zstd: consume bytes.Buffer input in ReadFrom and Decoder.Reset by @klauspost in #1320
  • s2: report truncated skippable chunks read by a callback by @Raghuvardhan-Reddy78 in #1326
  • flate: fix inflate checkpoints after stored blocks and at the final block by @klauspost in #1327
  • s2/cmd: Harden CLI output creation and self-extractor tar extraction by @deepnemesis in #1297
  • s2: report ErrCorrupt when skippable callback returns io.EOF on truncated stream (#1330) by @Yshuro in #1331
  • gzhttp: do not compress 206 responses without Content-Range, read Accept-Encoding across field lines by @waw666waw666 in #1332
  • s2: clear stream type when resetting Reader by @anishpentyala in #1324
  • s2c: return failure for stdin-to-stdout stream errors by @perfloop-agent in #1328
  • flate: clear the decoding table for an empty Huffman code by @klauspost in #1334
  • zstd: don't return stale output when sequence execution fails by @klauspost in #1335
  • flate: reject a checkpoint BitOffset above 7 by @Raghuvardhan-Reddy78 in #1325

New Contributors

Full Changelog: v1.20.4...v1.20.5

Don't miss a new compress release

NewReleases is sending notifications on new releases.