)]}'
{
  "log": [
    {
      "commit": "8d4de10102714bd1410ffaa37b069b3633fc5c3b",
      "tree": "7147eaa7ac442c50355bd09534c1741a96687299",
      "parents": [
        "1ee5d64a4741b60be0e005c13b6d3a449d74710d"
      ],
      "author": {
        "name": "Andrey Amstedy",
        "email": "i@amstedy.com",
        "time": "Thu Dec 03 11:48:52 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 11:48:52 2026"
      },
      "message": "zstd: optimize sequence decoder assembly loops (#1376)\n\n* zstd: optimize decodeSync assembly loop\n\n* zstd: revert BMI2 shift rewrite and align copy loops\n\nAblation on AMD EPYC-Genoa (Zen 4) showed replacing BMI2 BEXTRQ/ROLQ/BZHIQ with SHLXQ/SHRQ/SHRXQ regressed sequence-heavy decoding by ~3-5% because ROLQ CL and BEXTRQ are single-uop on Zen 4. Revert that part to keep the existing BMI2 bit extraction, and add PCALIGN(32) before the inner copyMemory/copyMemory32/copyMemoryND16 loops to avoid 64B cache-line splits.\n\n* zstd: narrow decodeSync optimization to 56-bit single-refill path\n\nDrop the prevOffset stack slots, litRemain slot, and copy-loop PCALIGN(32) per review ablation, keeping only the decodeSync_56 single-refill variants and new tests. Existing amd64 and arm64 assembly functions are restored byte-for-byte identical to master."
    },
    {
      "commit": "1ee5d64a4741b60be0e005c13b6d3a449d74710d",
      "tree": "5ff7f69b532f3418a88f2a6d17dfbba64916ec71",
      "parents": [
        "18c71c2dc7f75e72991d235b935ef8558e4c1c3c"
      ],
      "author": {
        "name": "Andrey Amstedy",
        "email": "i@amstedy.com",
        "time": "Thu Dec 03 11:09:14 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 11:09:14 2026"
      },
      "message": "zstd: use assembly sequence fast paths for dictionary decoding (#1375)\n\n* zstd: use assembly sequence fast paths for dictionary decoding\n\n* zstd: assert copy variant selection in TestSeqdecDictFastPath\n\n* zstd: pass hist/windowSize into executeSimple and fuzz dict DecodeAll\n\n* zstd: seed dict fuzzing, add stream check and Linux PROT_NONE guard pages"
    },
    {
      "commit": "18c71c2dc7f75e72991d235b935ef8558e4c1c3c",
      "tree": "a621708974880897ebbd44cf7d8b2a5b35c4c637",
      "parents": [
        "71cc9c05d640f14b9aa639060e6932a6fd8ed6da"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Dec 03 11:08:40 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 11:08:40 2026"
      },
      "message": "zstd: correct what the asan fuzz job covers (#1379)\n\nGo\u0027s -asan instruments only compiled Go code, not assembly, so the\nfuzz-zstd-asan job cannot see the decode assembly\u0027s extended copies\noverrun a buffer. Say what it does cover, point at the canary test\nthat checks one such case, and note the limitation in AGENTS.md."
    },
    {
      "commit": "71cc9c05d640f14b9aa639060e6932a6fd8ed6da",
      "tree": "abe1213a7f35f69349476da942dd66b1943225dc",
      "parents": [
        "f0cc0c46ba07e7bb154c7ec6383ba4e1c9f947f9"
      ],
      "author": {
        "name": "Tiago Peczenyj",
        "email": "tiago.peczenyj@gmail.com",
        "time": "Wed Dec 02 15:12:18 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 15:12:18 2026"
      },
      "message": "gzip: release the previous source on Reader.Reset (#1377)\n\nA Reader kept for reuse (in a sync.Pool, say) kept its last source\nreachable through z.r, z.br and the flate decompressor, and no call\nreleased all three: Reset(nil) panicked, and a Reset onto an\nio.ByteReader left z.br wrapping a source it had buffered.\n\nReset(nil) now detaches the Reader and returns nil; reads fail until\nthe next Reset, and Close on a Reader that never had a source returns\nnil. A Reset onto an io.ByteReader resets z.br off the old source.\ngzhttp\u0027s transport calls Reset(nil) before pooling its gzip reader, as\nit already does for zstd.\n\nFixes #1374\n\nCo-authored-by: Claude Fable 5.2 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "f0cc0c46ba07e7bb154c7ec6383ba4e1c9f947f9",
      "tree": "ff9f5a8665633ce845b23d947744c31ab19e7401",
      "parents": [
        "27b0488ba27014d88119ae52e4742c4960603f6e"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Wed Dec 02 15:05:13 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 15:05:13 2026"
      },
      "message": "gzhttp: release the destination of pooled gzip writers (#1378)\n\n* gzhttp: release the destination of pooled gzip writers\n\nThe gzkp and gzstd writers went back to their pool still pointing at the\nlast http.ResponseWriter, which kept it and everything it references\nreachable until the writer was reused or the pool was collected.\n\nThe pooled gzip.Writer now writes through a small wrapper whose writer\nClose clears. Reset(nil), as zstdkp does, would release it too, but\nReset clears the hash tables at stdlib levels 2-9 and klauspost levels\n7-9, about 2 µs, and NewWriter already resets once per response.\n\n* gzhttp: clear a pooled GzipResponseWriter on Close errors\n\nWhen GzipResponseWriter.Close failed to start compression, as when the\njitter buffer was written to a failing ResponseWriter, it returned before\nclosing its gzip writer. The handler then pooled the GzipResponseWriter\nwith only ResponseWriter cleared, so the gzip writer still kept the\nResponseWriter reachable. Clear every field but the buffer before pooling."
    },
    {
      "commit": "27b0488ba27014d88119ae52e4742c4960603f6e",
      "tree": "8cd4ea830cf12c0181ae643ffc83afa821dd1786",
      "parents": [
        "0efa8e0e6f713f688a1e1d249ed3c417d30dff97"
      ],
      "author": {
        "name": "Perfloop Agent",
        "email": "agent@perfloop.ai",
        "time": "Wed Dec 02 12:02:58 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 12:02:58 2026"
      },
      "message": "zstd: withhold rejected streaming output (#1368)\n\n* zstd: test output after streaming validation errors\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n* zstd: withhold rejected streaming output\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n* zstd: stream buffered input after any decode error\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n---------\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e"
    },
    {
      "commit": "0efa8e0e6f713f688a1e1d249ed3c417d30dff97",
      "tree": "2d89c7b3b7a31683746e3f18f7e54efb141794dd",
      "parents": [
        "ee96e46ec7aa1c2f11e9efe2140d45c5f8242447"
      ],
      "author": {
        "name": "dependabot[bot]",
        "email": "49699333+dependabot[bot]@users.noreply.github.com",
        "time": "Tue Dec 01 21:44:02 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 21:44:02 2026"
      },
      "message": "build(deps): bump the github-actions group with 6 updates (#1373)\n\nBumps the github-actions group with 6 updates:\n\n| Package | From | To |\n| --- | --- | --- |\n| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.39.1` | `4.39.5` |\n| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.39.1` | `4.39.5` |\n| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.39.1` | `4.39.5` |\n| [actions/setup-go](https://github.com/actions/setup-go) | `7.0.0` | `7.1.0` |\n| [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.5.0` | `2.6.0` |\n| [github/codeql-action](https://github.com/github/codeql-action) | `4.39.1` | `4.39.5` |\n\n\nUpdates `github/codeql-action/init` from 4.39.1 to 4.39.5\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...915412ff23e8b7659517e607487dbeae018f2934)\n\nUpdates `github/codeql-action/autobuild` from 4.39.1 to 4.39.5\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...915412ff23e8b7659517e607487dbeae018f2934)\n\nUpdates `github/codeql-action/analyze` from 4.39.1 to 4.39.5\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...915412ff23e8b7659517e607487dbeae018f2934)\n\nUpdates `actions/setup-go` from 7.0.0 to 7.1.0\n- [Release notes](https://github.com/actions/setup-go/releases)\n- [Commits](https://github.com/actions/setup-go/compare/v7...v7.1.0)\n\nUpdates `ossf/scorecard-action` from 2.5.0 to 2.6.0\n- [Release notes](https://github.com/ossf/scorecard-action/releases)\n- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)\n- [Commits](https://github.com/ossf/scorecard-action/compare/v2.5.0...v2.6.0)\n\nUpdates `github/codeql-action` from 4.39.1 to 4.39.5\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/v4.39.1...v4.39.5)\n\n---\nupdated-dependencies:\n- dependency-name: github/codeql-action/init\n  dependency-version: 4.39.5\n  dependency-type: direct:production\n  update-type: version-update:semver-patch\n  dependency-group: github-actions\n- dependency-name: github/codeql-action/autobuild\n  dependency-version: 4.39.5\n  dependency-type: direct:production\n  update-type: version-update:semver-patch\n  dependency-group: github-actions\n- dependency-name: github/codeql-action/analyze\n  dependency-version: 4.39.5\n  dependency-type: direct:production\n  update-type: version-update:semver-patch\n  dependency-group: github-actions\n- dependency-name: actions/setup-go\n  dependency-version: 7.1.0\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: ossf/scorecard-action\n  dependency-version: 2.6.0\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: github/codeql-action\n  dependency-version: 4.39.5\n  dependency-type: direct:production\n  update-type: version-update:semver-patch\n  dependency-group: github-actions\n...\n\nSigned-off-by: dependabot[bot] \u003csupport@github.com\u003e\nCo-authored-by: dependabot[bot] \u003c49699333+dependabot[bot]@users.noreply.github.com\u003e"
    },
    {
      "commit": "ee96e46ec7aa1c2f11e9efe2140d45c5f8242447",
      "tree": "95c89e4fe582568237893ba1488492c439ea40db",
      "parents": [
        "79eb450931c2a529e926cf72f598a2b8a87258fc"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "lizf@honeycomb.io",
        "time": "Tue Dec 01 17:54:08 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 17:54:08 2026"
      },
      "message": "zstd: decode independent frames concurrently in streams (#1361)\n\n* zstd: decode independent frames concurrently in streams\n\nWithDecodeFramesConcurrently(maxFrameSize) lets the stream decoder split\nits input at frame boundaries and decode up to the decoder concurrency of\nframes at once with DecodeAll, returning their output in order. Frames\nqualify when they decode to at most maxFrameSize (declared, or bounded by\ntheir block count) and their window fits. From the first frame that does\nnot, or anything the splitter cannot parse, the rest of the stream goes\nto the existing stream decoder, which reports errors as before.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: simplify the concurrent frame decoder\n\nRely on the block decoder pool to bound concurrent DecodeAll calls\ninstead of a separate token channel, rely on the reader cancelling the\nstream after an error instead of an internal context, and parse frame\nheaders with Header.Decode.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: decode concurrent frames with the stream\u0027s options\n\nFrame workers called DecodeAll, which reads the current options on each\ncall. WithDecodeAllCapLimit then rejected frames without a content size,\nand a failed ResetWithOptions changed the options of the running stream.\nDecode with the options captured at Reset instead, with the cap limit\noff. Let DecodeAll allocate output buffers, so a declared content size\nno longer allocates more than the input can decode to.\n\nTest frames without a content size, and let FuzzDecoder reach the frame\ndecoder for small inputs.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: size the frame header buffer with existing constants\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: build the expected output with slices.Concat in the frames test\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: bound concurrent frames from before they are read again\n\nd563e7a dropped the token channel on the grounds that the block decoder\npool and pending already bound the frames in flight. They don\u0027t: without\na token taken before a frame is read and released once it is decoded,\nreading ran ahead of the buffer pools, so buffers were reallocated. This\nmade frame decoding 11% slower on Neoverse N1 and 18% slower on\nNeoverse V3, with over twice the bytes allocated. Restore the token,\nkeeping the other simplifications; this matches 097e0b2 on both.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: hand frames with an unknown dictionary to the stream decoder\n\nA frame that names a dictionary the decoder does not have failed only\nin DecodeAll, after the splitter had started reading the next frame. If\nthe source then had no more data and no EOF, Read waited for it before\nreturning ErrUnknownDictionary. Hand such frames to the stream decoder,\nwhich reports the error before reading further, as without the option.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: check a frame\u0027s dictionary before reading its first block header\n\nThe splitter read the first block header together with the frame header,\nso a frame header with an unknown dictionary followed by no more data\nstill waited for input. Read the block header after the checks that hand\na frame to the stream decoder, as the stream decoder checks the\ndictionary before reading a block.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: address review of the concurrent frame decoder\n\nKeep the frame buffer caches in mutex-protected slices instead of\nchannels, so a Decoder that decoded frames in a testing/synctest bubble\ncan be used outside it. Release those buffers in Close, and return\nErrDecoderClosed from DecodeAll on a zero Decoder again.\n\nHand a frame to the stream decoder as soon as its header has a reserved\nbit or a block header is one the stream decoder rejects, before waiting\nfor more input, and return a wrapped EOF from the source instead of\nreading on.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: address second review of the concurrent frame decoder\n\nAfter a read error, hand the stream decoder the bytes read so far and\nthen that error, instead of reading the source again. A source that\nresumed after io.ErrUnexpectedEOF could otherwise complete a frame, and\na short skippable frame was skipped again from the wrong position.\n\nDrop the current whole frame in drainOutput, so a WriteTo that failed\npart-way does not write that frame again on the next call.\n\nNote that the in-memory shortcut for small buffers bypasses the option,\nskip the benchmark\u0027s concurrent modes with GOMAXPROCS\u003d1, and fail the\nsynctest test from the bubble\u0027s own testing.T.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: close test gaps in the concurrent frame decoder\n\nFrom review: test a magic whose first byte is not a skippable one, a\nskippable frame cut by a read error that the source would continue, and\nwhich frames readParallelFrame hands to the stream decoder. Show that\ntwo frames decode at the same time, through a hook tests can set. Check\nchecksums in FuzzDecoder\u0027s frame decoder, against a sync decoder that\nchecks them too. Drop the closed-decoder check that DecodeAll already\nmakes from decodeAll.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: address Klaus\u0027s review of the concurrent frame decoder\n\nKeep decoderOptions at 64 bytes by moving resetOpt next to the other\nbools; the new field had made DecodeAll 2% slower on one core with the\noption off.\n\nPut back the compressed-frame buffer handed to the read that hits EOF,\nand drop the kept frame buffers on a Reset with a nil reader or without\nthe option. Count raw and RLE blocks by their size and a compressed\nblock by the most it can decode to, so a flushed frame within the limit\nqualifies.\n\nDocument what is kept and when output of a frame without a content size\nis returned, place the README paragraph after the stream decoder\u0027s, and\nuse a fresh writer for the second WriteTo in the test.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "79eb450931c2a529e926cf72f598a2b8a87258fc",
      "tree": "4445156ea0593bf2db321d7c6d9968754b094ce1",
      "parents": [
        "639254f4666391be8b15d2293df2ddc363ab8cdf"
      ],
      "author": {
        "name": "Andrey Amstedy",
        "email": "i@amstedy.com",
        "time": "Tue Dec 01 17:32:40 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 17:32:40 2026"
      },
      "message": "zstd: check input block size before marking all dict shards dirty (#1370)\n\n* zstd: check input block size before marking all dict shards dirty\n\n* zstd: simplify dirty-shard dict test per review"
    },
    {
      "commit": "639254f4666391be8b15d2293df2ddc363ab8cdf",
      "tree": "cda4d189ec176cca78a3cd5852aec48172747ff4",
      "parents": [
        "b3e4529b371cdc98cd014ab66c8b30dceec0b47c"
      ],
      "author": {
        "name": "Hu Hailin",
        "email": "tony.hu.hailin@gmail.com",
        "time": "Tue Dec 01 16:59:07 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 16:59:07 2026"
      },
      "message": "gzhttp: decode zstd requests (#1363)\n\n* gzhttp: limit zstd response windows to 8 MiB\n\nTransport decoded zstd responses with windows of up to 32 MiB. RFC 9659\nrequires the zstd content coding to use windows of at most 8 MiB, and\nChrome refuses larger ones. Use the same limit.\n\nTransportZstdDecoderOptions sets decoder options applied after the\ndefaults, so zstd.WithDecoderMaxWindow can raise the limit again. As\nwith ZipDecompressor, concurrency stays at 1 and the options get their\nown decoder pool.\n\n* gzhttp: decode zstd requests\n\nWith AllowCompressedRequests, the handler wrapper only decoded request\nbodies whose outermost coding was gzip. Decode zstd request bodies too,\nwith the reader and pooled decoders Transport uses, so its 8 MiB window\nlimit applies as well.\n\nAcceptRequestEncodings selects the codings to decode as a set of\nEncoding flags, and EncodingAll also covers codings added later. Bodies\nwith other codings reach the handler as they are, as before. Unknown\nflags make NewWrapper fail.\n\nzstd is opt-in: a zstd request can hold about 8.3 MiB, against about\n40 KiB for gzip. The default stays EncodingGzip, so servers that already\nallow compressed requests see no change.\n\n* gzhttp: release request decoders when the handler returns\n\nThe handler wrapper replaces the request body with a decoding reader,\nbut net/http closes only the original body. A gzip request decoder went\nback to its pool only if the handler closed the body, and a zstd decoder\nonly if the handler read to the end, which json.Decoder, for one, does\nnot.\n\nRelease the decoder when the handler returns, without closing the\noriginal body, so net/http still decides whether to drain it."
    },
    {
      "commit": "b3e4529b371cdc98cd014ab66c8b30dceec0b47c",
      "tree": "ec5017a9292920f5c0f7ac09ab8d80338e591876",
      "parents": [
        "650565f341777293a9748f382612459d4a7e71f3"
      ],
      "author": {
        "name": "Perfloop Agent",
        "email": "agent@perfloop.ai",
        "time": "Tue Dec 01 12:43:06 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 12:43:06 2026"
      },
      "message": "s2: use compact local tables for portable tiny Snappy Better blocks (#1365)\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e"
    },
    {
      "commit": "650565f341777293a9748f382612459d4a7e71f3",
      "tree": "2ce0f3cfeef2db8c105115dd7e7edee8595ad066",
      "parents": [
        "8788d28ea5f22853bc6820a7220d56870bd12720"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Tue Dec 01 12:42:30 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 12:42:30 2026"
      },
      "message": "s2: deprecate non-Snappy encoders in favor of MinLZ (#1367)\n\nMark Encode, EncodeBetter, EncodeBest, the Dict encoders and the LZ4 and\nLZ4s converters as deprecated in favor of github.com/minio/minlz, which\nalso decodes S2 and Snappy content. Snappy compatible compression and all\ndecompression are not deprecated. NewWriter also writes Snappy streams,\nso it is not deprecated; its doc points S2 users to MinLZ.\n\nAnnounce that the s2c, s2d and s2sx commandline tools will be removed in\nv1.22.0 in favor of mz, collapse the S2 README sections except the Snappy\nones, and point the S2 entry in the root README to MinLZ."
    },
    {
      "commit": "8788d28ea5f22853bc6820a7220d56870bd12720",
      "tree": "3e95903f0540f2fc3b068ffbbbfb7f7dc98fba15",
      "parents": [
        "364f122bf8d59de3e95d2802296b681aedf2c7bf"
      ],
      "author": {
        "name": "Perfloop Agent",
        "email": "agent@perfloop.ai",
        "time": "Sun Nov 29 19:42:29 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 29 19:42:29 2026"
      },
      "message": "s2sx: exit nonzero when stdin compression fails (#1364)\n\n* s2sx: cover stdin read and output failures\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n* s2sx: exit nonzero when stdin compression fails\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n---------\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e"
    },
    {
      "commit": "364f122bf8d59de3e95d2802296b681aedf2c7bf",
      "tree": "22c8b87548f878ef86e22b80280de1fc1e950c8a",
      "parents": [
        "74890e2e39fcf201f86faa4e91e3812d94b39fa5"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Sat Nov 28 10:37:58 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 10:37:58 2026"
      },
      "message": "zstd: keep a writer\u0027s io.EOF in WriteTo distinct from end of stream (#1321)\n\n* zstd: keep a writer\u0027s io.EOF in WriteTo distinct from end of stream\n\nDecoder.WriteTo stores a destination error in d.current.err, which also\nmarks the end of the stream. A writer returning io.EOF was therefore\ntaken as a clean end: io.Copy reported success after a partial write,\nand a later Read reported io.EOF as well. Wrap the writer\u0027s io.EOF before\nstoring it, as gzip and flate now do.\n\n* zstd: don\u0027t wrap a writer\u0027s io.EOF in WriteTo with %w\n\nA wrapped io.EOF still matches errors.Is(err, io.EOF), which is how most\ncallers check for the end of the stream, so a later Read still looked\nlike a clean end. Store the writer\u0027s error without %w, also when the\nwriter wraps io.EOF itself.\n\nThe test now checks both errors with errors.Is and covers a writer that\nreturns a wrapped io.EOF.\n\n---------\n\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e"
    },
    {
      "commit": "74890e2e39fcf201f86faa4e91e3812d94b39fa5",
      "tree": "3077e0ee9a76983c3a9bcccd61fe901386948f45",
      "parents": [
        "c19eed0da6cf1d34667f0c47077046e0517613ae"
      ],
      "author": {
        "name": "Teal Bauer",
        "email": "teal@starsong.consulting",
        "time": "Sat Nov 28 10:37:11 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 10:37:11 2026"
      },
      "message": "zstd: add an arm32 assembly sequence decoder (#1313)\n\n* zstd: move the no-assembly decodeSyncSimple stub to its own file\n\nThe generic stub lived in seqdec_generic.go, whose build tag covers every\narchitecture without an assembly decoder, including arm. Give it its own\nbuild-tagged file so an arm32 decoder can provide decodeSyncSimple without\nalso having to reimplement decode() and executeSimple().\n\n* zstd: add an arm32 assembly sequence decoder\n\nThe hot sequence-decoder loop has hand-written assembly for amd64 and arm64\nbut falls back to the generic Go implementation on 32-bit arm. The generic\nloop is slow there for reasons that do not exist on 64-bit targets:\n\n  - bitReader.value is a uint64 and arm32 has no 64-bit shift, so every\n    getBits lowers to a multi-instruction double-word shift sequence;\n  - literal runs and matches are copied with append/copy, i.e. a call to\n    runtime.memmove. zstd sequences are short (on the benchmark corpus 58%\n    carry no literals, 99% at most 16, and 69% of matches are at most 16\n    bytes), so the call overhead dominates the copy.\n\nAdd a 32-bit ARM implementation, seqdec_arm.s, that mirrors\nsequenceDecs_decodeSync_safe: the bit window is split into two 32-bit words,\nthe three FSE states live in stack slots (arm32 has 12 usable registers),\nand literals and matches are copied with inline 8/4/2/1-byte moves. It runs\nwhen there is no dictionary and s.out has room for the block; otherwise the\ngeneric path still handles the block. seqdec_arm.go holds the flat context\ndescriptor and a pure-Go reference implementation used by the differential\ntest in seqdec_arm_test.go.\n\nThe arm32 decoder always uses bounds-exact copies, so it has no extended-copy\nvariant; teach the path-selection tests about that.\n\nMeasured under qemu-arm on a 120 MB zstd -19 payload, single-threaded:\nstreaming decode 20.5 -\u003e 32.9 MB/s (1.61x) on a binary corpus and 43.1 -\u003e\n67.4 MB/s (1.57x) on a mixed corpus; DecodeAll 51.6 -\u003e 94 MB/s (1.8x).\n\n* zstd/internal/xxhash: add an arm32 writeBlocks fast path\n\nwriteBlocks indexes b[0:8:len(b)] four times per 32-byte stripe, reloading\nthe slice bounds each time. On arm32 those bounds checks and the slice\narithmetic cost more than the UMULL sequence the compiler emits for the\n64-bit multiplies. Load through an unsafe pointer instead, keeping the four\naccumulators live across the loop.\n\nMeasured under qemu-arm: 485 -\u003e 730 MB/s on a 64 MB buffer, which is at parity\nwith the C implementation built for armhf (720 MB/s). End-to-end zstd decode\nof a 120 MB payload improves by 7-12%.\n\n* zstd: address review feedback on the arm32 fast paths\n\n- Gate the arm32 decoder on the arm.7 build tag. The assembly refill and\n  copy paths use unaligned 32-bit loads, which fault or rotate on pre-ARMv6\n  cores. GOARM\u003d5/6 now select the generic decoder through the fallback\n  build constraint, and seqdec_path_noasm_test.go covers the same set.\n- Drop !appengine from seqdec_arm.go and xxhash_arm.go so every arm build\n  has exactly one definition of decodeSyncSimple/writeBlocks. Verified for\n  arm/GOARM 5, 6, 7, arm+appengine, arm+noasm and the other architectures.\n- Add the AGENTS.md exception for the hand-written seqdec_arm.s (avo has no\n  32-bit ARM backend) and document it plus the qemu-run validation test in\n  the file header, as requested by @klauspost.\n- Let the fast path run when the frame size is known and the buffer is sized\n  to the remaining frame rather than to a whole block, matching upstream\u0027s\n  decodeSyncSimple guard. The assembly now also checks the real output\n  capacity before each sequence, so malformed input cannot write past\n  cap(s.out); the Go reference got the same check.\n- Make the differential test prove the assembly actually ran (a counter, not\n  just matching output) and give DecodeAll a block of room.\n- Read xxhash stripes with two explicit 32-bit loads. The compiler already\n  lowered the uint64 load that way, but spelling it out makes the\n  alignment safety on pre-ARMv6 explicit.\n- Add docstrings to the arm bit-reader methods.\n\n* zstd: fix arm32 build tags and distinguish cap exhaustion\n\nAddress the remaining review findings on the arm32 fast paths:\n\n- Gate the arm32 sequence decoder and xxhash writeBlocks on !nounsafe, and\n  add the matching (arm \u0026\u0026 nounsafe) term to the portable implementations.\n  Otherwise `-tags nounsafe` still selected Go code that uses unsafe,\n  contrary to the documented contract.  xxhash is also gated on arm.7 now:\n  its loads are two 32-bit words, which rotate or fault on pre-ARMv6 cores.\n  Verified every arm GOARM (5/6/7) with no tags, nounsafe, noasm,\n  nounsafe+noasm, purego and appengine, plus amd64, arm64 and 386.\n\n- Report exhausted output capacity as ErrDecoderSizeExceeded instead of the\n  max-block-size error.  With WithDecodeAllCapLimit(true) and an unknown\n  frame size, a sequence can fit the block but not cap(dst); returning the\n  block error hides the configured limit from callers.  The assembly now\n  checks the block bound first and returns a distinct code (7) when only the\n  capacity check fails; decodeSyncSimple maps that to\n  ErrDecoderSizeExceeded.  The Go reference got the same split.\n\nVerified: full arm decoder/fse/huff0/sequence/dictionary/fuzz suite under\nqemu (watchdogs extended) passes, TestDecodeAllCapLimit/TestNewDecoderBad/\nTest_seqdec_decodeSync/TestArmAsmMatchesGo pass, arm xxhash tests pass.\n\n* fix(zstd): match ARM assembly build constraints to decoder\n\n* refactor(zstd): compare ARM assembly with the generic decoder\n\n* docs(zstd): clarify ARM load and assembly invariants\n\n* ci(zstd): exercise ARM32 decoding under QEMU\n\n* fix(zstd): enforce DecodeAll capacity limits across decoders\n\n* test(zstd): cover ARM cross-block history copies\n\n* fix(zstd): avoid unaligned ARM memory accesses\n\n* test(zstd): fuzz assembly against generic sequence decoding\n\n* perf(zstd): retain unaligned ARM fast paths on Linux\n\n* refactor(zstd): use go_asm.h offsets and GC-visible pointers in ARM context\n\n* fix(zstd): gate ARM seqdec on linux and reject zero repeat offsets\n\n* ci: bump arm32 job to Go 1.27 and modernize xxhash test loop\n\n---------\n\nCo-authored-by: teal-bauer \u003cteal-bauer@users.noreply.github.com\u003e\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e"
    },
    {
      "commit": "c19eed0da6cf1d34667f0c47077046e0517613ae",
      "tree": "6af840feed3a54829e32373151e9ea87ad8dbbb9",
      "parents": [
        "68102e48b6e5a041fbff8d3aab06c38315864468"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Fri Nov 27 09:56:57 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 09:56:57 2026"
      },
      "message": "zstd: keep errors with concurrent blocks (#1357)\n\n* zstd: keep errors with concurrent blocks\n\nWith concurrent blocks, an error from an earlier call didn\u0027t stop the\nstream. After a failed read in ReadFrom, Flush returned nil, later\nwrites were accepted, and Close finished the frame, so the output\ndecoded as a complete stream of the input read so far. A frame header\nwritten after the error cleared it, and Close returned nil when it\nwrote a checksum. Close also didn\u0027t keep a failed write or a wrong\ncontent size, though it released the input ring: the next Write or\nReadFrom panicked on it, and a second Close could write a stray block.\n\nWithout concurrent blocks, Flush, Close and writes of a block or more\nreturn the error, and Close leaves the frame unfinished. Do the same\nwith concurrent blocks: Close keeps the errors it returns, Write and\nReadFrom return a kept error, Flush returns it once the jobs already\ndispatched are written, and Close once the workers have stopped.\n\n* zstd: keep flusher errors that Flush returns with concurrent blocks\n\nAfter Flush returned an error from writing a job\u0027s output, a small Write\nor a short ReadFrom was still accepted, as the error was only kept by\nthe flusher and the slot had room. Keep it in the encoder state when\nFlush or a dispatch returns it, so later writes fail like after other\nerrors.\n\nThe test now also writes 600 KiB, whose write error shows only when\nFlush or Close writes the job, and checks small writes after Flush.\n\n* zstd: tell a finished Close from a destination\u0027s ErrEncoderClosed\n\nWith concurrent blocks, Close and Flush treated any kept error matching\nErrEncoderClosed as a finished stream. Destination errors are kept too,\nso a destination returning ErrEncoderClosed, such as another closed\nEncoder, made Close return nil, also on a second call, and could leave\nthe job workers running. A Flush after such a Close sliced the released\ninput ring and panicked. Mark a finished Close separately."
    },
    {
      "commit": "68102e48b6e5a041fbff8d3aab06c38315864468",
      "tree": "bc2932ec93d281c656264d10819c5a28bc5c3621",
      "parents": [
        "639b9d2f1a0a12de2b6c2537ae4e34b538cb059b"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Fri Nov 27 09:56:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 09:56:25 2026"
      },
      "message": "flate, gzip: keep a writer\u0027s io.EOF in WriteTo from ending the stream (#1362)\n\n* flate: keep a writer\u0027s io.EOF in WriteTo as a write error\n\nWriteTo turned a writer\u0027s io.EOF into io.ErrUnexpectedEOF before keeping\nit as the reader\u0027s error, but compared with \u003d\u003d, so a writer returning a\nwrapped io.EOF left an error that errors.Is takes for a clean end of\nthe stream on later calls. Check with errors.Is, and keep the error as\n\"flate: write: \u003cerr\u003e\" without %w, as io.ErrUnexpectedEOF claims\ntruncated input and drops the writer\u0027s message.\n\n* gzip: don\u0027t wrap a writer\u0027s io.EOF in WriteTo with %w\n\nWriteTo kept a writer\u0027s error as \"gzip: %w\", so after a writer returned\nio.EOF a later Read or WriteTo returned an error that errors.Is takes\nfor a clean end of the stream. Keep it without %w when it matches\nio.EOF.\n\nThe test also checks Close, which returns the flate reader\u0027s error, and\nthat other writer errors stay identifiable."
    },
    {
      "commit": "639b9d2f1a0a12de2b6c2537ae4e34b538cb059b",
      "tree": "22b6b0cd9c2af2c2576e1fed3323391d9922e77a",
      "parents": [
        "1c8882a50c53c25dbdd8dd87575d5b85890fc898"
      ],
      "author": {
        "name": "小哥不太逍遥",
        "email": "115146404+xgbtxy@users.noreply.github.com",
        "time": "Thu Nov 26 15:12:31 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:12:31 2026"
      },
      "message": "flate: preserve Close errors and guard closed Writer (#1359)\n\n(*compressor).close called d.w.reset(nil) to release the underlying\nio.Writer without marking the compressor closed or preserving d.w.err:\n\n- After a successful Close, d.w.writer was nil while d.err remained nil,\n  so a second Close, Write, or Flush panicked with a nil pointer\n  dereference in (*huffmanBitWriter).write instead of behaving like\n  stdlib compress/flate.\n- When writeStoredHeader(0, true) failed, close returned d.w.err without\n  assigning d.err or releasing d.w.writer, allowing subsequent Write calls\n  to succeed with nil error.\n- d.w.reset(nil) also cleared d.w.err immediately before returning it.\n\nRecord errWriterClosed (\"flate: closed writer\") on a clean Close so\nrepeated Close returns nil while Write and Flush return errWriterClosed,\nsave d.w.err into d.err before d.w.reset(nil) on all Close error paths,\nand check d.err before setting d.sync in syncFlush."
    },
    {
      "commit": "1c8882a50c53c25dbdd8dd87575d5b85890fc898",
      "tree": "e745485891a8e15f2f173c699195fa5ad4bf9fa3",
      "parents": [
        "0ab3b34b42b2de68e394e54df877934c9c3a6551"
      ],
      "author": {
        "name": "Perfloop Agent",
        "email": "agent@perfloop.ai",
        "time": "Thu Nov 26 15:11:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:11:22 2026"
      },
      "message": "zstd: exclude the destination prefix from DecodeAll frame size bounds (#1358)\n\n* zstd: test DecodeAll size limits with an existing prefix\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n* zstd: exclude destination prefix from frame output bound\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n---------\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e"
    },
    {
      "commit": "0ab3b34b42b2de68e394e54df877934c9c3a6551",
      "tree": "d762f53cb378eb36b821360345d6beea75d61ff7",
      "parents": [
        "fd36c55f3dcc782d3907ff76dcf8ab012b6d5873"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:10:13 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:10:13 2026"
      },
      "message": "zstd: keep the ReadFrom error without racing the encoder (#1356)\n\nWhen a read failed, ReadFrom stored the error while the goroutine\nencoding the previous block could store a failed write there too, a\ndata race. Which error Close then reported depended on timing, and the\nwrite error usually replaced the read error. Wait for that goroutine\nfirst, so the read error is kept."
    },
    {
      "commit": "fd36c55f3dcc782d3907ff76dcf8ab012b6d5873",
      "tree": "bd2df63631070d2baa084f414c8b3fe4c0401a21",
      "parents": [
        "2cd8119395dde58dadedc9952c95dcc56dba307b"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:09:47 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:09:47 2026"
      },
      "message": "zstd: reject a zero repeat offset (#1355)\n\nA sequence without literals and offset value 3 refers to\nRepeated_Offset1 - 1, which is 0 when Repeated_Offset1 is 1. That frame\nis corrupt, and the reference decoder reports it since v1.5.6 (\"Offset\n\u003d\u003d 0\" in its decompressor_permissive.md). This decoder replaced the\noffset with 1, as the reference did before, and decoded such frames.\n\nReport it instead. The Go decodeSync returns the error where it\nreplaced the offset; the other Go decoder and the assembly, whose\ngenerator is changed and rerun, keep the offset at 0, which their check\nfor a match without an offset rejects."
    },
    {
      "commit": "2cd8119395dde58dadedc9952c95dcc56dba307b",
      "tree": "c3956b03b20164f6db8e3b0ec9bf0b3eab1a2f09",
      "parents": [
        "87188f37d3c37611a512844d2cb55d631255c348"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:09:05 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:09:05 2026"
      },
      "message": "zstd: limit offset tables to accuracy log 8 (#1354)\n\nThe format limits offset code tables to an accuracy log of 8, while\nliteral and match length tables may use 9. readNCount accepted 9 for\nall of them, so blocks and dictionaries with an offset table of log 9\ndecoded, where the reference decoder reports corruption. The encoders\nnever write one: they limit offset tables to log 8."
    },
    {
      "commit": "87188f37d3c37611a512844d2cb55d631255c348",
      "tree": "10eefb0a070f38eca2beec412cef60401f5f424a",
      "parents": [
        "3a7c29a8b95daaff3dd5c57f5a3b9fc18676bc8b"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:08:27 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:08:27 2026"
      },
      "message": "zstd: stop matching into the dictionary after a window (#1353)\n\n* zstd: stop matching into the dictionary after a window\n\nOnce more than Window_Size bytes of a frame have been decoded, the\nformat no longer lets matches reach the dictionary. Since v1.6.0\n(meta/zstd PR 5023), the reference decoder rejects them when it decodes\nblock by block, as its streaming API usually does, though not in its\none-shot functions. This decoder kept the dictionary for the whole frame\nand accepted them on every path.\n\nDrop the dictionary from the sequence decoder before a block that\nstarts after a window, in DecodeAll and in synchronous and concurrent\nstreams. As in the reference, this is checked per block, so matches\npast the window in the block that crosses it are still accepted. Unlike\nthe reference, a block that starts at exactly a window keeps the\ndictionary, which the format allows for its first match.\n\nThe sequence decoder no longer copies the dictionary from the history\nfor every block, so it stays dropped for the rest of the frame, which\ncan then use decodeSyncSimple and executeSimple: they don\u0027t handle\ndictionaries. The encoders never reference the dictionary beyond the\nwindow.\n\n* zstd: check the dst prefix in TestDecoderDictPastWindow\n\nCompare DecodeAll\u0027s whole output with the dst prefix followed by the\ndecoded data, so output that loses the prefix fails."
    },
    {
      "commit": "3a7c29a8b95daaff3dd5c57f5a3b9fc18676bc8b",
      "tree": "f4893163a6e34d556c0e999fb515ec16022ee53d",
      "parents": [
        "8559c0d77224a6f659770d7978a1cf9fb6509b56"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:07:42 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:07:42 2026"
      },
      "message": "zstd: port tests from the reference v1.6.0 fixes (#1352)\n\n* zstd: port tests from the reference v1.6.0 fixes\n\nCheck which dictionary bytes frames can match, with the example of\n\"Matches into a formatted dictionary header\" from the reference\ndecoder\u0027s decompressor_permissive.md (meta/zstd PR 4991), using\ntwo-symbol sequence tables instead of its single-symbol ones: matches\ninto the formatted header fail, while a raw dictionary exposes all of\nits bytes. As in meta/zstd PR 4929, an unknown dictionary ID fails with\nErrUnknownDictionary instead of using another dictionary, and a frame\nwithout an ID uses a registered ID 0 dictionary or none, never the one\nof the previous frame. Runs DecodeAll and streams, with one and four\ngoroutines.\n\nmeta/zstd PR 4931 made its multithreaded compressor check the pledged\ncontent size like its single-threaded one does. Check that Close fails\nfor a pledged size one byte too small or 100 bytes too large, with and\nwithout concurrent blocks, for input spanning three jobs, and that the\ndecoder rejects what was written.\n\n* zstd: move TestDecoderDictHistory away from other pending tests\n\nOther pending changes add tests before TestDecoderRawDict."
    },
    {
      "commit": "8559c0d77224a6f659770d7978a1cf9fb6509b56",
      "tree": "264821128776736a9e11e1f0e730b448542df9cc",
      "parents": [
        "dcf0026871c0a2993951b72ac736fcfa3260250b"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:06:42 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:06:42 2026"
      },
      "message": "zstd: wait for pending blocks before Close and Flush return errors (#1351)\n\nWith more than one goroutine and without concurrent blocks, Close and\nFlush hand blocks to the encoding goroutines, and could then return an\nerror without waiting for them: Close for a content size that doesn\u0027t\nmatch the input, and both for an error kept from earlier, such as a\nfailed read in ReadFrom. The goroutines kept writing to the writer after\nthe call returned, racing with the caller, who could see truncated\noutput. Wait for them first, so that, as with concurrent blocks, nothing\nis written after Close or Flush returns."
    },
    {
      "commit": "dcf0026871c0a2993951b72ac736fcfa3260250b",
      "tree": "6e4cb68dfa41bdfbe8c672813910067eb5e55976",
      "parents": [
        "a9b2dcf273d37d85b3eab6d821e0d2d743d4ae95"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:05:58 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:05:58 2026"
      },
      "message": "dict: build the same dictionary from the same input (#1349)\n\n* dict: build the same dictionary from the same input\n\nThe builders collect candidates from maps, whose iteration order is\nrandom, and sorted them without breaking every tie, so two builds from\nthe same samples gave different dictionaries, raw, S2 and zstd alike.\nThe reference COVER builder had the same problem (meta/zstd PR 4765).\n\nStart the candidate sort from hash order: its comparator groups similar\ncounts, so it is not a strict ordering and its result depends on the\ninput order. Break ties by hash when picking the best predecessor and\nfollower. The output still depends on how sort.Slice orders, so a Go\nrelease that changes it can change the dictionaries.\n\nBuildZstdDict still picks a random ID when ZstdDictID is 0.\n\n* zstd, dict: derive the dictionary ID when none is given (#1350)\n\nBuildDict rejected ID 0, and dict.BuildZstdDict picked a random ID\nseeded by the time when ZstdDictID was 0, so the same input never gave\nthe same dictionary. With ID 0, BuildDict now derives the ID from the\ndictionary as the reference ZDICT does, XXH64 reduced into the range\noutside the IDs the format reserves, and BuildZstdDict passes 0 on.\n\nThe reference hashes only the content. Hashing the tables too keeps\ndictionaries built from the same samples at other levels from sharing\nan ID, which a decoder registering both would mix up.\n\nBuilds on the previous change: without it, the content still varies\nbetween builds.\n\n* zstd: read the dictionary ID with InspectDictionary in TestBuildDictDerivedID\n\nAvoids an import that conflicts with other pending test changes."
    },
    {
      "commit": "a9b2dcf273d37d85b3eab6d821e0d2d743d4ae95",
      "tree": "52e0efd1e30ba4cda5ce6f52e70035e4283bfb0b",
      "parents": [
        "7c78e5e3cbcd4207e2c1960703fd2551979e35c4"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 26 15:05:35 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:05:35 2026"
      },
      "message": "zstd: accept sequence tables with a single symbol (#1348)\n\nAn FSE table description may give one symbol the whole probability.\nThe format allows it and the reference decoder accepts it, though its\nencoder writes RLE mode instead; the example dictionary of \"Matches into\na formatted dictionary header\" in its decompressor_permissive.md has\nthree such tables. WithDecoderDicts and WithEncoderDict rejected that\ndictionary, and the decoder rejected blocks with such tables.\n\nreadNCount required two symbols, and building the decoding table\nrejected a state that maps to itself without reading bits, which only a\nsymbol with the whole probability has. Decoding sequences can\u0027t loop on\nsuch a state, as the number of sequences is given. Remove both checks,\nfrom the Go code and the assembly generator, and regenerate.\n\nThe fse package keeps its checks: its decoding stops when the input is\nused up."
    },
    {
      "commit": "7c78e5e3cbcd4207e2c1960703fd2551979e35c4",
      "tree": "5715eb233bb677b1e50cf82ead4737b90668bf9e",
      "parents": [
        "f5e3ebe4c238a2337c4c64a5f03649740d47b07f"
      ],
      "author": {
        "name": "小哥不太逍遥",
        "email": "115146404+xgbtxy@users.noreply.github.com",
        "time": "Thu Nov 26 14:57:17 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 14:57:17 2026"
      },
      "message": "gzip: save StatelessCompression Write errors and reject writes after Close (#1360)\n\nIn (*Writer).Write:\n\n- When level \u003d\u003d StatelessCompression, Write returned\n  (len(p), flate.StatelessDeflate(...)) without storing the error in\n  z.err or returning 0 bytes written on failure. Subsequent Write or\n  Close calls (including Close\u0027s lazy z.Write(nil) path) saw z.err \u003d\u003d nil\n  and continued writing to the underlying writer, potentially appending a\n  footer and returning nil from Close on a failed stream.\n- Write did not check z.closed, so calling Write after Close with\n  StatelessCompression silently appended raw deflate blocks past the gzip\n  trailer and returned nil, while stateful levels silently accepted\n  buffered writes or panicked on flush through the closed flate writer.\n\nStore StatelessDeflate errors in z.err and return (0, z.err) on failure,\nset z.closed after the lazy header write in Close, and reject Write calls\nonce z.closed is true with errors.New(\"gzip: Write after Close\")."
    },
    {
      "commit": "f5e3ebe4c238a2337c4c64a5f03649740d47b07f",
      "tree": "fbb6d28aa537081b14f22def3cb0f44b2803d7ac",
      "parents": [
        "04f60b9f9287749e086a208824dc741d2cb5a298"
      ],
      "author": {
        "name": "小哥不太逍遥",
        "email": "115146404+xgbtxy@users.noreply.github.com",
        "time": "Wed Nov 25 13:36:12 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 13:36:12 2026"
      },
      "message": "s2: discard buffered block on indexed ReadSeeker.Seek (#1346)\n\nAfter an indexed Seek, ReadSeeker.Seek set r.i \u003d r.j and\nr.blockStart \u003d u - int64(r.j), leaving r.j non-zero while r.decoded\nstill held the previous block\u0027s bytes. A subsequent Seek or ReadAt\ninto [u - r.j, u) then matched the in-block fast path and silently\nreturned data from the stale block.\n\nReset r.i and r.j to 0 and set r.blockStart \u003d u so r.decoded[:r.j]\nalways matches [r.blockStart, r.blockStart+r.j)."
    },
    {
      "commit": "04f60b9f9287749e086a208824dc741d2cb5a298",
      "tree": "7365bbfbbb02eece6af7b303e17429c56ce929b6",
      "parents": [
        "8e518bc5198ff91bdbc5688b92b764edfd2a0534"
      ],
      "author": {
        "name": "小哥不太逍遥",
        "email": "115146404+xgbtxy@users.noreply.github.com",
        "time": "Wed Nov 25 12:32:13 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 12:32:13 2026"
      },
      "message": "zstd: return ErrEncoderClosed from Encoder.ReadFrom after Close (#1347)\n\nEncoder.Write returns ErrEncoderClosed once eofWritten is set, but\nEncoder.ReadFrom did not check eofWritten. After Close:\n- With WithConcurrentBlocks(true), ReadFrom panicked slicing the\n  released nil ring buffer in readFromJobs.\n- After a single-block Close (fullFrameWritten), Close did not set\n  s.err \u003d ErrEncoderClosed, so ReadFrom either silently consumed input\n  returning nil or wrote additional blocks past the closed frame.\n- After a multi-block Close, ReadFrom still consumed up to one block\n  of input and returned nil.\n\nCheck e.state.eofWritten at the start of ReadFrom and set\ns.err \u003d ErrEncoderClosed on the fullFrameWritten return path in Close."
    },
    {
      "commit": "8e518bc5198ff91bdbc5688b92b764edfd2a0534",
      "tree": "d6758b2045a6514b8fee8bee315ae2967b6ccd27",
      "parents": [
        "156d3994e22c5f1f393040e4f3abbd8ac7b7c244"
      ],
      "author": {
        "name": "W",
        "email": "184799977+waw666waw666@users.noreply.github.com",
        "time": "Wed Nov 25 11:17:13 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 11:17:13 2026"
      },
      "message": "zlib: report short writes of the header and checksum (#1345)\n\nThe zlib Writer wrote its two fixed-size fields with bare Write calls\nthat only checked the returned error: the 2-byte header (and the 4-byte\ndictionary checksum when a dictionary is set) in writeHeader, and the\n4-byte Adler-32 checksum in Close. A destination that accepts fewer\nbytes than requested without returning an error silently produced a\ntruncated zlib stream that was reported as successfully written.\nReaders then fail on the corrupt stream far from the actual cause.\n\nAdd a write helper, mirroring the one in the gzip package, that\nreports io.ErrShortWrite when the number of bytes written differs\nfrom the number requested, and use it for all three writes. A\ndestination that fails outright keeps returning its original error.\n\nTests are in zlib/writer_test.go: TestWriterShortHeaderWrite,\nTestWriterShortDictChecksumWrite,\nTestWriterCloseReportsShortChecksumWrite and\nTestWriterClosePreservesChecksumError."
    },
    {
      "commit": "156d3994e22c5f1f393040e4f3abbd8ac7b7c244",
      "tree": "814a8f8d5f41d028db9f3dbf798cdd5a1a9d398b",
      "parents": [
        "19c8557b447667aff63aa83889a40c191eab3af3"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Tue Nov 24 13:20:23 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 13:20:23 2026"
      },
      "message": "flate: add UltraCompression (level 10) (#1344)\n\n* flate: add UltraCompression (level 10)\n\nLevel 10 finds every match with a binary tree, ported from the zstd\nultra level, and chooses among them with an optimal parser iterated on\nthe Huffman codes of each block, as libdeflate does at level 12.\n\nInput is parsed in regions of up to 512 KiB, with the matches of each\nposition cached. The first costs come from a greedy parse of the cache.\nTwo cheaper passes over the region find where its statistics change;\nblocks are split where an entropy estimate and the exact Huffman sizes\nagree. Each block is then parsed again with its own costs until a pass\nsaves less than 1/4096 of it, and written as the smallest of a stored,\nfixed or dynamic block. Regions with few matches, or below 256 bytes,\nget a single pass.\n\nOn 28 files it is 0.2% smaller than libdeflate 1.24 -12 (geomean) at\n1.4 times its time, and 4% smaller than level 9. Levels -2 to 9 are\nunchanged.\n\nFuzzEncodingFlush flushes between writes at every level, which\nFuzzEncoding never does.\n\n* gzip, zlib: accept UltraCompression\n\nRe-export flate.UltraCompression and accept level 10. gzip marks it\nwith XFL 2 (maximum compression) like BestCompression, and zlib with\nFLEVEL 3.\n\n* flate: exact level 10 block sizes, and Silesia test fix from review\n\nwriteBlockUltra counted the distance code that a block of literals only\ndeclares but never uses as a payload bit, and left out the 3 header bits\nof a stored block. Either error could pick a block a few bits larger on\na tie. TestWriteBlockUltra now compares exact bit counts with explicitly\nwritten fixed, dynamic and stored blocks, with a case for each.\n\nTestSilesiaRoundTrip compared level 10\u0027s output, which covers a 16 MiB\nprefix, with the whole corpus.\n\n* flate: shorten the level 10 rebase test\n\nTestUltraStreams/rebase compressed 4 MB three times, which took about\n70s of the flate package\u0027s race test time in CI. 1.6 MB still rebases\ntwice per stream and clears the tables on Reset.\n\n* flate: store what level 10 cannot compress\n\nThe block splitter priced both sides of a split as Huffman-coded blocks,\nand regions with few matches were not split at all, so incompressible\ndata after a compressible start was Huffman-coded along with it. Price\neach side as the smaller of a Huffman-coded and a stored block, and split\nthe regions with few matches too, without parsing them again.\n\nOn a JPEG, level 10 output went from 0.06% larger than level 9\u0027s to\n0.08% smaller, and now decodes 50% faster than level 9\u0027s instead of 47%\nslower. Three other files of 28 shrink slightly; none grow.\n\nDescribe level 10 in the README, and give the time range measured on an\nidle machine in the UltraCompression doc comment."
    },
    {
      "commit": "19c8557b447667aff63aa83889a40c191eab3af3",
      "tree": "26d06e671436e2a480121624b7c70fe3bfd7cbc3",
      "parents": [
        "8e44d431f6e11bec005305878632b48962f6cfe7"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Tue Nov 24 13:19:47 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 13:19:47 2026"
      },
      "message": "zstd: Improve concurrent compression speed (#1342)\n\n* zstd: let encoders read blocks in place\n\nfastBase.inPlace makes hist a view of the caller\u0027s buffer. Blocks that\nfollow their history in that buffer are then encoded where they are,\ninstead of being copied into hist and moved down with the window. A reset\nor inPlace(nil) returns to the encoder\u0027s own buffer.\n\nNothing uses it yet; parallel jobs will encode from a shared ring buffer.\nTestEncoderInPlace checks that the output matches copying at every level.\n\n* zstd: encode ConcurrentBlocks jobs in place from a ring buffer\n\nWrite and ReadFrom now fill one ring buffer: an overlap area, then slots\nof one job each. A job\u0027s prefix is the input just before it, so workers\nencode prefix and job where they are. Before, the input was copied into\njob buffers, the overlap into a prefix buffer and from there into the\nencoder\u0027s history, and every block into the history, whose window then\nmoved down as it filled. Now only a wrap copies the prefix, into the\noverlap area.\n\nA slot is free again once its job, and the jobs using it as prefix, are\nflushed, so n jobs in flight need n + 1 + ceil(overlap/job) slots. The\nring starts with one slot and doubles when the writer would otherwise\nwait, up to that size and at most 2 GiB (512 MiB on 32-bit platforms).\nWhen a stream ends, the ring goes to a pool for the next one, so an idle\nencoder does not keep it.\n\nAn encoder continues positions after the history it encoded in place.\nWhen a prefix would start past the position limit, positions restart\nwith cleared tables: a shift keeps entries up to a window back, and with\na prefix shorter than the window some of those come from before it.\n\nThe checksum moves from the writer to the flusher, which hashes each job\nbefore writing its output.\n\nThe output is unchanged. With ReadFrom and 16 goroutines on 512 MB\ninputs (Ryzen 9 9950X, JSON, ranks and gob data), throughput rises about\n1.25x (fastest), 1.15x (default), 1.06x (better) and 1.03x (best).\n\n* zstd: size ConcurrentBlocks jobs by level\n\nJobs are encoded in place now, so a long prefix costs indexing but no\ncopying, and shorter jobs give more parallelism. Jobs are one window\nlong at fastest and default, two at better, and four at best and ultra\nas before. The overlap is half a window, a whole one at ultra like the\nreference\u0027s btultra2, and still at most half a job.\n\nTogether with the previous change, with ReadFrom and 16 goroutines on\n512 MB inputs (Ryzen 9 9950X; JSON, ranks and gob data) throughput is\n1.63x (fastest), 1.66x (default) and 1.16x (better) of before both\nchanges; with 32 KB writes 1.47x and 1.42x for fastest and default.\nOutput size changes by -0.12% to +0.11%. At ultra, output on a 1.8 GB\ngob stream is 0.4% smaller, at 8% less throughput with 16 goroutines.\n\n* zstd: add ultra to the gob stream benchmark, and download the stream\n\nBenchmarkConcurrentBlocks_GobStream reads testdata/gob-stream, which is\nnot in the repository. Without it, the benchmark now decompresses\ntestdata/gob-stream.zst, which it downloads first, so the README table\ncan be reproduced. It covers ultra too, and the table gets its row.\n\n* zstd: dispatch a ring slot filled by a Read that returns io.EOF\n\nA Reader may return its last bytes together with io.EOF. When those\nbytes filled a ring slot, ReadFrom returned without dispatching it, and\nthe next Write or ReadFrom moved on to the next slot. On a wrap or when\nthe ring grew, the slot was lost: the stream decoded short without an\nerror, or failed its checksum when the next job matched against the\nlost bytes as prefix. TestConcurrentBlocks_Ring now also fills slots\nthrough iotest.DataErrReader.\n\nThe gob stream benchmark also gets a timeout on its download.\n\n* zstd: start ConcurrentBlocks streams in an output buffer, then one ring\n\nThe ring doubled from one slot whenever the writer would otherwise wait.\nEvery ring it replaced stayed alive until its jobs were flushed, so a\n512 MB stream at ultra with 16 goroutines held five rings, 1 GB, where\nthe full ring is 584 MB, and every new ring took its page faults again.\n\nNow a stream starts in a buffer from the output pool, using half a job\nof it, so a short stream allocates no ring. A Flush or the end of the\nstream dispatches jobs from there. When the buffer fills, the history\nand the input not dispatched yet move to a full ring, n+2 jobs plus the\noverlap, taken from a pool or allocated, and the buffer goes back to the\noutput pool. In the ring, the writer goes back to the first slot when the\nfirst two are free, so input the workers keep up with stays in cache\ninstead of cycling through the whole ring.\n\nJob output buffers are half a job for every job, also after a Flush, and\none that runs out grows once, to the most a job can take, instead of in\nsteps that each copy it. WithLowerEncoderMem keeps sizing them by the\njob\u0027s input.\n\nThe output is unchanged."
    },
    {
      "commit": "8e44d431f6e11bec005305878632b48962f6cfe7",
      "tree": "05da77734055535cbb4b592e4d5f0febaa9bf161",
      "parents": [
        "ba12ceb131b7bacc6a1aae07a0fcace0b2bfa1a0"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Tue Nov 24 13:16:36 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 13:16:36 2026"
      },
      "message": "zstd: clamp BuildDict samples to one block (#1338)\n\nBuildDict passed each sample whole to the block encoder, which handles\na single block of at most 128 KiB. A sample with a match longer than\nmaxMatchLen produced a match length code the format cannot represent,\nso the dictionary failed validation with \"symbolLen (54) too big\" at\nfastest, default, better and best.\n\nUse only the first 128 KiB of each sample, as zstd\u0027s trainer does in\nZDICT_countEStats. Samples that already fit in a block are unchanged.\n\nWith samples of at most one block a literal run cannot exceed the\nlargest literal length code either, so drop the litLen clamp and\nTestBuildDictLongLiterals, and update the addBlock comment that\nreferred to BuildDict passing larger blocks."
    },
    {
      "commit": "ba12ceb131b7bacc6a1aae07a0fcace0b2bfa1a0",
      "tree": "ee60a50b612b17c46e266df675795287a20acb2e",
      "parents": [
        "3457d7fdcc5a41bfd246a7e9e3f17fe0ab3768ce"
      ],
      "author": {
        "name": "Rangel Reale",
        "email": "realerangel@gmail.com",
        "time": "Tue Nov 24 12:15:06 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 12:15:06 2026"
      },
      "message": "zstd: keep free encoders and block decoders without a channel (#1322)\n\n* internal/pool: add Bounded, a bounded pool without a channel\n\nA channel made inside a testing/synctest bubble cannot be used outside\nit. Bounded holds a fixed set of items without one: Get waits on a\nMutex of its own, and GetContext waits on a Cond and stops when its\ncontext is done. Both wait in one queue and are handed items first\ncome first served, so calls of Get cannot starve a GetContext.\n\nA waiting Get reuses a spare waiter, so it does not allocate. A\nGetContext\u0027s cancel callback that runs after it returned does not wake\na later waiter, which may be in another bubble.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: keep free encoders and block decoders in pool.Bounded\n\nAn Encoder or Decoder made inside a testing/synctest bubble held its\nfree encoders or block decoders in a channel of that bubble, so using\nit after the bubble ended stopped the program: \"fatal error: receive\non synctest channel from outside bubble\".\n\nThey are now kept in a pool.Bounded. DecodeAll, EncodeAll and the job\nworkers wait in Get, which may be woken from any bubble; the async\nstream decoder waits in GetContext. Close keeps the closed pool, so a\nDecodeAll racing with Close gets ErrDecoderClosed.\n\nUsing one Decoder for a stream and DecodeAll at once inside a bubble\ncan still crash or hang; the Decoder documentation says so.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: release streamWg when a stream is drained\n\nThe async stream decoder\u0027s WaitGroup is tied to the bubble whose\ngoroutine called Add. Nothing waited on it in that bubble, so a stream\nread to its end inside a testing/synctest bubble and then Reset outside\nit crashed in streamWg.Wait. drainOutput now waits for the stream\ngoroutine once its output is closed.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "3457d7fdcc5a41bfd246a7e9e3f17fe0ab3768ce",
      "tree": "699844f637630b2761f601ac7aaa40a280731d41",
      "parents": [
        "00debfb14a89741398ee522c3a7758c983c6927c"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Mon Nov 23 15:02:03 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:02:03 2026"
      },
      "message": "s2c, s2d: reject -o naming the file stdin reads from (#1343)\n\n* s2c, s2d: reject -o naming the file stdin reads from\n\nWith stdin redirected from a regular file, `s2d -o f - \u003c f` and\n`s2c -o f - \u003c f` truncated f before reading it, leaving an empty file\nand exit status 0.\n\nCheck the output against stdin before truncating, and fail without\ntouching either. Staging the output and renaming it into place, as the\nfile-input path does, can\u0027t work here: on Windows the inherited stdin\nhandle keeps the file from being replaced. Non-regular stdin (pipes,\nterminals, /dev/null) is not checked, since nothing can be lost.\n\n* s2c, s2d: tidy the output alias tests\n\n- Call fileio\u0027s output helpers directly from the s2c tests instead of\n  through package-local wrappers.\n- Remove TestInputDirectoryWithGlobMetacharacters. The child runs inside\n  the bracketed directory with relative arguments, so the brackets never\n  reach the glob code.\n- Check that -safe fails with \"file exists\" rather than just mentioning\n  the output name."
    },
    {
      "commit": "00debfb14a89741398ee522c3a7758c983c6927c",
      "tree": "3a58376401bcc3e11d97e7bd6691f8cd6f5ab73f",
      "parents": [
        "6d444d922dd6597d44e1b846d981de0d85bb4020"
      ],
      "author": {
        "name": "Asuka",
        "email": "Kayano04@outlook.jp",
        "time": "Mon Nov 23 13:16:41 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 13:16:41 2026"
      },
      "message": "zstd: avoid shard copies when resetting small dictionary blocks (#1292)\n\n* zstd: restore individual dictionary table entries for small blocks\n* zstd: defer full-log allDirty fallback to Reset"
    },
    {
      "commit": "6d444d922dd6597d44e1b846d981de0d85bb4020",
      "tree": "5a96658150fb629774185e0d8eaef3081ac170b0",
      "parents": [
        "f968f72e88f9952d3f9de35bd02d07dca09ed59b"
      ],
      "author": {
        "name": "yash",
        "email": "yxshdogra@gmail.com",
        "time": "Mon Nov 23 12:31:32 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 12:31:32 2026"
      },
      "message": "gzhttp: skip decompression for writable response bodies (#1333)\n\n* gzhttp: preserve encoding metadata on responses without content\n* gzhttp: limit decompression bypass to writable response bodies"
    },
    {
      "commit": "f968f72e88f9952d3f9de35bd02d07dca09ed59b",
      "tree": "fbc94c01e20c80f2c4105a07e8445801f326c0c8",
      "parents": [
        "dcc3abc96052ac5a8eb79f7babd4b16dc0dea598"
      ],
      "author": {
        "name": "Deep",
        "email": "322813880+deepnemesis@users.noreply.github.com",
        "time": "Mon Nov 23 11:42:11 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 11:42:11 2026"
      },
      "message": "s2d: stage aliased output before replacement (#1337)\n\n* s2d: stage aliased output before replacement\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Harden staged-output names and tests\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* readme updated\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\n\n---------\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e"
    },
    {
      "commit": "dcc3abc96052ac5a8eb79f7babd4b16dc0dea598",
      "tree": "15d9a9ee57ce38db3affd5efc39283682ca47c07",
      "parents": [
        "70a2f1a00a51d92f789f2d62d641a0c866e62c02"
      ],
      "author": {
        "name": "Gal Be",
        "email": "galevgi@gmail.com",
        "time": "Mon Nov 23 11:00:11 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 11:00:11 2026"
      },
      "message": "zip: preallocate the file list and sort it with slices.SortFunc (#1340)"
    },
    {
      "commit": "70a2f1a00a51d92f789f2d62d641a0c866e62c02",
      "tree": "d9609a9a22699ab5423e224e18dd22c383c60755",
      "parents": [
        "f726c00f584fd92a875da5f9ecbffb327ad1d888"
      ],
      "author": {
        "name": "Perfloop Agent",
        "email": "agent@perfloop.ai",
        "time": "Mon Nov 23 10:58:44 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 10:58:44 2026"
      },
      "message": "s2sx: Require a complete stream identifier before copying (#1341)\n\n* s2sx: Test complete stream identifiers and input preservation\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n* s2sx: Require a complete stream identifier before copying\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n* s2sx: Use an embedded destination in archive tests\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n---------\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e"
    },
    {
      "commit": "f726c00f584fd92a875da5f9ecbffb327ad1d888",
      "tree": "15554f804f8deccf5f1180249733191371aa64b3",
      "parents": [
        "25ef2419b213082aab10f81dc5a41d4f152c2532"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Sun Nov 22 09:19:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 09:19:22 2026"
      },
      "message": "zstd: add SpeedUltraCompression, matching zstd -19 (#1329)\n\n* huff0: optional optimal table depth search\n\nAdd Scratch.OptimalDepth. New tables then search the code length limit\nfrom the minimum for the symbol count up to TableLog, keeping the one\nwith the smallest table plus estimated data, as zstd\u0027s\nHUF_optimalTableLog does with HUF_flags_optimalDepth. Output without\nthe option is unchanged.\n\n* huff0: per-symbol code lengths of the reusable table\n\nAdd Scratch.TableBits, which reports the code length of each symbol in\nthe table a reuse policy would use, whether it was built by compressing\nor loaded with ReadTable or TransferCTable. It is the equivalent of\nzstd\u0027s HUF_getNbBitsFromCTable, for pricing literals from a dictionary\u0027s\ntable.\n\n* huff0: restore the previous table after an unwritten new one\n\nWhen a new table wins, the old previous table was recycled at once, so\na caller that stores the output raw could no longer reuse the table the\ndecoder still has. Keep the old table in the Scratch, rotating three\nbuffers, and add Scratch.RestorePrevTable, which undoes the new table\nof the last Compress1X or Compress4X call and reports whether a table\ncan be reused afterwards. Output is unchanged.\n\n* zstd: fix BuildDict panic with short history and large samples\n\nBuildDict encodes each sample as one block with a 131074-byte window.\nWhen the history was shorter than the window and history plus sample\noverflowed the history buffer, addBlock moved down by a negative\noffset and panicked. Let append grow the buffer instead; this only\nhappens for blocks above maxCompressedBlockSize, so regular encodes\nare unchanged.\n\n* zstd: add SpeedUltraCompression (btultra2 optimal parser)\n\nPort the reference level 19 strategy: a binary tree match finder with\na 3-byte hash, and the optLevel 2 optimal parser with adaptive prices,\nincluding the double pass over the first block of a frame. With the\nreference\u0027s block splitters off, the parse is sequence-identical to\nzstd -19\u0027s on the test corpus.\n\nTables are sized per frame from the content size, like the reference,\nand allocated on first use. Positions keep growing across frames, so\ntables are never cleared on Reset, and are rebased by a multiple of\nthe tree size before they overflow. An encoder uses about 100 MB at the\ndefault window, 30 MB with WithLowerEncoderMem.\n\nBlocks after the first start with unknown repeat offsets, since the\ndecoder\u0027s depend on how earlier blocks were emitted.\n\nDictionaries are inserted like history. When the same dictionary is\nloaded again with the same table sizes, the tables are saved, and later\nframes copy them back instead of inserting it again. Prices start from\nthe dictionary\u0027s entropy tables, as in the reference.\n\nA block of one repeated byte is still parsed, since that updates the\nstatistics, and is then written as an RLE block.\n\nEncoderLevelFromZstd maps levels 18 and up to the new level. Tests run\nultra with a reduced matrix.\n\n* zstd: resolve repeat codes when BuildDict tallies offsets\n\nBuildDict counts the offsets of the first sequences of each sample to pick\nthe dictionary\u0027s repeat offsets. It mapped repeat code n to Offsets[n-1],\nignoring the shift after a sequence without literals and the updates from\nearlier sequences. Track the repeat offsets per sample instead, starting\nfrom Offsets.\n\nOnly the ultra level uses repeat codes from the first sequence; the other\nlevels emit them from the fourth sequence on, which was also miscounted.\n\n* zstd: entropy stage improvements for best and ultra\n\nAdd blockEnc.highRatio, set by the best and ultra encoders on every\nblock, and blockEnc.ultra, set by ultra, and spend more effort on the\nentropy stage with them:\n\n- Literals no longer need a 6.25% saving to be Huffman coded\n  (WantLogLess 0); the exact size checks still store them raw when that\n  is smaller. On the first 8 MB of github-ranks-backup.bin ultra parsed\n  the same sequences as zstd -19 but stored 58 of 62 blocks\u0027 literals\n  raw, since reusing the table saved only 4-6%; the literal section\n  drops from 542900 to 522891 bytes (zstd -19: 522894).\n- Literal and match length tables may use table log 9 (offsets stay at\n  8, which libzstd enforces), chosen the way zstd does, and a new table\n  is compared with the predefined one by its exact header size, without\n  the penalty.\n- A block with few matches keeps its sequences unless a literals-only\n  block would be smaller, estimated from the literals\u0027 coded size,\n  instead of always dropping them.\n- When a new literal table is not written, because the literals or the\n  whole block are stored raw, the decoder\u0027s previous table stays usable\n  (huff0 RestorePrevTable) instead of disabling reuse.\n- Huffman coding is tried from 6 literals instead of 17.\n- Ultra also uses huff0\u0027s optimal table depth search. It gains little\n  and costs up to 3% at best.\n\nBest\u0027s output changes; fastest, default and better are unchanged.\n\n* zstd: post-block splitter for ultra\n\nPort the reference post-block splitter (ZSTD_c_splitAfterSequences, on\nby default from btopt with a window of 128 KiB or more): after the\nparse, the sequences of a block are halved while the halves are\nestimated smaller than the whole, with the entropy tables from the\nstart of the block, down to 300 sequences and at most 196 cuts\n(ZSTD_deriveBlockSplits). Each part is written as a block of its own\nthat continues the literal and sequence tables of the part before.\n\nParts are cut at sequence boundaries, the last one taking the trailing\nliterals, and each goes through the existing block path with its own\nraw, RLE and literals-only fallbacks. The decoder only learns the\nrepeat offsets of parts written with sequences, so repeat codes it\nwould resolve differently from the parse are written as offsets\n(ZSTD_seqStore_resolveOffCodes). blockEnc.startReps holds the repeat\noffsets the parse assumed at the start of the block. If the parts are\nlarger than a raw block, the tables and offsets from before the block\nare restored and it is written whole, so MaxEncodedSize still holds.\n\nUltra enables it when the reference does, from the size-adjusted window.\nOn 28 real files that is -0.106% (geomean) and -0.033% in total; one\nfile is 55 bytes larger. chooseComp now also returns its size estimate.\n\nBest does not split: it would gain 0.09% for 1-8% more time.\n\nFuzzEncoding makes best and ultra split every block they can, and cuts\nthe blocks of some inputs into parts of a few sequences, so it reaches\nraw parts, rewritten repeat codes and the size bound.\n\n* zstd: rescale ultra statistics where the input changes\n\nThe reference pre-splits full blocks after the first where the\nstatistics of the input change (ZSTD_splitBlock: chunks of 8 KiB, counts\nof 2-byte hashes against those of the chunks before), and the parser\nrescales its statistics at the start of every block. Ultra finds the same\npoints, but only rescales the statistics there and keeps the block whole.\n\nOn 28 real files, on top of the post-block splitter, splitting the blocks\nthere is 0.017% larger (geomean; 6 files larger, by up to 0.22%) when\neach block is split once, and 0.043% larger when the rest is split again.\nRescaling only is 0.014% smaller (0.010% in total): xml is 0.32% smaller\nand github-8M.json 132 bytes larger. The search costs about 0.3% of the\ntime of ultra.\n\nThe reference only splits once the frame has saved some bytes, which is\nnot known when an async stream parses the next block. Ultra looks for\nchanges once its statistics come from an earlier block, which selects the\nsame blocks on these files.\n\n* zstd: clamp literal lengths in BuildDict statistics\n\nBuildDict encodes each sample as one block, so a sample whose encoder\nfinds no match in its first 131072 bytes or more gets a literal length\nof LL code 36, above the largest code 35. The code went into the LL\nhistogram, and the dictionary failed validation with \"symbolLen (37)\ntoo big\" (debugAsserts panicked in genCodes).\n\nThis is older than ultra and happens at every level, for example with\nrandom data at best or data without repeated 3-byte strings at any\nlevel. The block is only used for statistics, so clamp the literal\nlengths to code 35. Dictionaries that built before are unchanged,\nsince any code 36 made the build fail.\n\n* zstd: tighten ultra tests and memory docs from review\n\n- The ultra memory estimate now notes that a dictionary larger than the\n  window can add its own size, since the history is sized to hold it.\n- TestEncoderUltraBlockReps requires a raw block followed by a block with\n  sequences; an encoder writing every block raw passed before.\n- The jobs-reuse subtest runs two empty streams, so both pooled encoders\n  are reset but unused. With one, the workers\u0027 race sometimes gave the\n  prefixed job the unused encoder, and a missing firstBlock reset in\n  ResetPrefix went unnoticed.\n- TestEncoderPostSplit\u0027s jobs path uses a 128 KiB window, so the input\n  runs as two jobs and a block is split in the job with a prefix."
    },
    {
      "commit": "25ef2419b213082aab10f81dc5a41d4f152c2532",
      "tree": "85ee7138ae2eadb8461ac557e2ec65c9b6d41574",
      "parents": [
        "95e041b44f220705f987f538f5eba4d5cded7e6b"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Thu Nov 19 20:46:28 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 20:46:28 2026"
      },
      "message": "flate: reject a checkpoint BitOffset above 7 (#1325)\n\napplyCP set nb to 8-BitOffset, which wraps for a BitOffset above 8 and\nmakes dataBlock panic slicing f.buf. Return CorruptInputError for any\nBitOffset outside the documented 0-7 range, from both NewReaderOpts and\nResetCP. A BitOffset of 8 skipped the whole byte and decoded correctly,\nbut it is outside the range too. The error is kept in f.err so a Read\nafter a failed ResetCP returns it instead of decoding from bit 0."
    },
    {
      "commit": "95e041b44f220705f987f538f5eba4d5cded7e6b",
      "tree": "1c3c567ae9acb4f9932ad36a78394d0acb0b6bb9",
      "parents": [
        "37fe4ab7bfef5785ab0755c59691b23f4577e686"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 19 20:04:32 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 20:04:32 2026"
      },
      "message": "zstd: don\u0027t return stale output when sequence execution fails (#1335)\n\nThe concurrent stream decoder sent the block decoder\u0027s dst buffer even\nwhen executeSequences failed. dst then still holds that block decoder\u0027s\noutput from an earlier block, of the same stream or of a previous stream\non a decoder reused with Reset, so Read and WriteTo returned up to one\nblock of old data before the error. Send no output for the failed block,\nas the synchronous decoder does."
    },
    {
      "commit": "37fe4ab7bfef5785ab0755c59691b23f4577e686",
      "tree": "a3553779a6fb00af6099793c5773fe382d577c4c",
      "parents": [
        "401be75ed2f97f07dcb2f7b47b05efcb6bcf46a7"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 19 18:53:41 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 18:53:41 2026"
      },
      "message": "flate: clear the decoding table for an empty Huffman code (#1334)\n\nhuffmanDecoder.init keeps its table between calls, but returned early\nfor an all-zero set of code lengths without clearing it, so the empty\ncode decoded with the table built before it. A dynamic block without\ndistance codes that still used a match took the distance code of the\nprevious block, or after Reset of the previous stream, instead of\nfailing. compress/flate rejects such streams."
    },
    {
      "commit": "401be75ed2f97f07dcb2f7b47b05efcb6bcf46a7",
      "tree": "0c2d7eb94bef8312c744e67b8c7b9e68c4fbee27",
      "parents": [
        "2e529e270f7762c8a5c94e99678fd48b4717e9da"
      ],
      "author": {
        "name": "Perfloop Agent",
        "email": "agent@perfloop.ai",
        "time": "Thu Nov 19 18:01:14 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 18:01:14 2026"
      },
      "message": "s2c: return failure for stdin-to-stdout stream errors (#1328)\n\n* s2c: test stdin streaming exit status and diagnostics\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e\n\n* s2c: fail stdin-to-stdout compression after stream errors\n\nSigned-off-by: Perfloop Agent \u003cagent@perfloop.ai\u003e"
    },
    {
      "commit": "2e529e270f7762c8a5c94e99678fd48b4717e9da",
      "tree": "df2fade8d48ba44b4c5278f704b5ab987211195c",
      "parents": [
        "3c23b1ca29bddb574a9c7a47f3d4ab8d425719f8"
      ],
      "author": {
        "name": "Anish Pentyala",
        "email": "Anish.n.pentyala@gmail.com",
        "time": "Thu Nov 19 15:58:49 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 15:58:49 2026"
      },
      "message": "s2: clear stream type when resetting Reader (#1324)\n\n* s2: clear stream type when resetting Reader\n\n* s2: track stream type when Skip reads an identifier\n\nKeep Skip\u0027s stream state consistent with Read when a valid S2 or Snappy stream identifier is parsed.\n\n* s2: cover stream identifiers consumed through Skip\n\nTest fresh, reset and concatenated S2/Snappy streams with compressed and uncompressed payloads after Skip."
    },
    {
      "commit": "3c23b1ca29bddb574a9c7a47f3d4ab8d425719f8",
      "tree": "fff2fc5539e948ef6562afe812485f1c147be1d7",
      "parents": [
        "8bb72b15f49afd3a6ee85a6a527e41eb2bc900fd"
      ],
      "author": {
        "name": "W",
        "email": "184799977+waw666waw666@users.noreply.github.com",
        "time": "Thu Nov 19 14:20:14 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 14:20:14 2026"
      },
      "message": "gzhttp: do not compress 206 responses without Content-Range, read Accept-Encoding across field lines (#1332)\n\nA 206 is a part of the representation and must not be compressed on the fly.\nA single range already has a Content-Range header and is passed through, but\nthe multipart/byteranges answer to a request for several ranges has none, so\nit was compressed. The client got Content-Encoding and lost Accept-Ranges,\nwhile the ranges in the parts still referred to the uncompressed bytes.\n\nTreat the 206 status like the Content-Range header in Write, FlushError and\nClose.\n\nA client may also split Accept-Encoding over several field lines, which means\nthe same as the joined comma list (RFC 9110, section 5.3). selectEncoding and\nacceptsGzip used Header.Get, so only the first line was parsed. Join the\nfield lines before parsing, the same way request Content-Encoding is already\nread."
    },
    {
      "commit": "8bb72b15f49afd3a6ee85a6a527e41eb2bc900fd",
      "tree": "2ebcafa83b62c48a5d127b26d2a7517097048bfc",
      "parents": [
        "c71440d2098e56d769a1f80fd5ebc1f29632ba88"
      ],
      "author": {
        "name": "Sami",
        "email": "83331159+Yshuro@users.noreply.github.com",
        "time": "Thu Nov 19 14:20:01 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 14:20:01 2026"
      },
      "message": "s2: report ErrCorrupt when skippable callback returns io.EOF on truncated stream (#1330) (#1331)\n\nSigned-off-by: Sami Chergui \u003c83331159+Yshuro@users.noreply.github.com\u003e"
    },
    {
      "commit": "c71440d2098e56d769a1f80fd5ebc1f29632ba88",
      "tree": "cbe1d685fd8e93c0c2ab5eea6c8d2ec3fc3a513d",
      "parents": [
        "29e54554ed477f62113ddc8788923c2bd4f04043"
      ],
      "author": {
        "name": "Deep",
        "email": "322813880+deepnemesis@users.noreply.github.com",
        "time": "Thu Nov 19 12:14:05 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 12:14:05 2026"
      },
      "message": "s2/cmd: Harden CLI output creation and self-extractor tar extraction (#1297)\n\n* s2/cmd: harden CLI output creation and tar extraction\n\nUse atomic exclusive create for -safe paths, private temp files with rename for recompression, strip set-ID bits from new outputs, and root-scope _s2sx tar extraction with link validation.\n\nFixes GHSA-rmjw-hrc6-xx62\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Address PR review: sync and tar symlink validation\n\nSkip fsync on non-regular CLI outputs and reject tar symlinks that escape the extraction root after root.Stat. Adds regression tests.\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Address follow-up review on symlink Stat and sync\n\nAllow ErrNotExist after root.Stat for forward-reference symlinks, sync block devices, remove existing paths before tar file create, tighten tests, and fix s2 README heading and wording.\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Revalidate pending tar symlinks after each archive entry\n\nTrack symlinks whose targets are not yet present and re-run root.Stat after later entries so deferred path components cannot turn an in-root link into an escape.\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Track all tar symlinks for revalidation and remove on deferred escape\n\nAppend every archive symlink to the pending list, keep revalidating after each entry, and remove links that fail root.Stat during revalidation. Extend the deferred-escape test to cover links that initially resolve inside the extraction root.\n\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Address remaining PR review on tar links and s2c -safe\n\nReject hard links to symlinks, treat ELOOP and ENOTDIR as pending symlink stat outcomes on Unix, reject -safe when s2c output overwrites the input file, and align s2/README extraction wording with cleanArchivePath behavior.\n\nSigned-off-by: Subhadeep Maity \u003c322813880+deepnemesis@users.noreply.github.com\u003e\n\n* zstd: inline the best encoder\u0027s reject path; cap concurrent-blocks job size (#1293)\n\n* zstd: inline the cheap reject path of the best encoder\u0027s improve\n\nThe improve closure in bestFastEncoder.Encode is called for every\ncandidate, and most candidates are rejected by the range check or the\nfirst 4-byte compare. The closure was too large to inline into Encode,\nso every candidate paid for a call.\n\nSplit it into a small improve that does the range check and 4-byte\ncompare, and improveSlow with the rest. improve now inlines at all 20\ncall sites. Output is unchanged.\n\nWritten with Claude Code\n\n* zstd: cap the concurrent-blocks job size at 256 MiB\n\nWith WithConcurrentBlocks, each job is 4x the window, so a 128 MiB\nwindow gives 512 MiB jobs and a 256 MiB window 1 GiB jobs. Inputs\nsmaller than a few jobs then get little or no parallelism.\n\nCap the job size at 256 MiB and the overlap at half a job. Windows up\nto 64 MiB are unchanged. For larger windows the overlap stays at the\nlevel\u0027s default until it reaches half a job.\n\nThe window is clamped before it is multiplied, so a 512 MiB window no\nlonger overflows the job size on 32-bit platforms.\n\nWritten with Claude Code\n\n* zstd: shrink the capped job size test and document the cap\n\nTestConcurrentBlocks_CappedJobSize lowers maxJobSize to 4 MiB instead of\nencoding over 256 MiB, so it no longer needs about 2.3 GB and runs under\n-short too. maxJobSize becomes a variable for that.\n\nNote the job size cap and its CPU/ratio trade-off in the zstd README, and\nexplain the MaxWindowSize row of TestJobAndOverlapSize, which checks the\n32-bit overflow on 386.\n\nWritten with Claude Code\n\n* zstd: check the capped job prefix and qualify the README note\n\nTestConcurrentBlocks_CappedJobSize now uses a window larger than a job at\nthe best level, so the overlap is clamped to half a job as well. It\nchecks that two jobs were dispatched and that the output is small enough\nthat the second job must have used its prefix. A round trip alone passes\nwithout the prefix.\n\nThe README states the 512 KiB minimum job size, presents the ratio loss\nas a benchmark result rather than a bound, and notes that windows over\n256 MiB at the best level get a clamped overlap.\n\nWritten with Claude Code\n\n* zstd: copy non-overlapping matches in 32-byte blocks (#1295)\n\n* zstd: copy non-overlapping matches in 32-byte blocks\n\nOn data compressed at SpeedBetterCompression most matches are longer than\n16 bytes, so the exit branch after the first 16-byte block of the extended\nmatch copy mispredicts on a large share of sequences; on a Neoverse N1 it\naccounts for over half of all decode branch mispredicts. Copy the first 32\nbytes unconditionally (both loads before the stores, so any ml \u003c\u003d mo is\ncorrect) and loop in 32-byte steps, in decodeSync and executeSimple.\n\ncompressedBlockOverAlloc grows from 16 to 32 to cover the wider overrun;\nevery buffer sized from it (output, literals, the history ring) follows.\n\nThe avo fork pin moves to a commit that pairs adjacent 16-byte vector\nmoves into LDP/STP Q on arm64; nothing else in the zstd output changes.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* ci: describe the extended-copy overrun by its constant\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* all: generate assembly with github.com/honeycombio/avo\n\nThe arm64 lowering lives in the honeycombio/avo fork, which now uses its own\nmodule path. Import it directly in the zstd, huff0 and s2 generators instead\nof replacing github.com/mmcloughlin/avo, and move all three to the same fork\ncommit.\n\nThat commit makes the pairing of adjacent 16-byte vector moves into LDP/STP Q\nopt-in. zstd opts in, which keeps its match copy as in the previous commit; s2\ndoes not, because on Graviton 2-5 it was a wash for its encoders with up to\n+3% on 256-byte blocks. All generated assembly other than the zstd header\nline is byte-identical to the previous commit and s2 to master.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* Simplify S2 output and tar extraction hardening\n\nSigned-off-by: Subhadeep Maity \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Update s2/cmd/_s2sx/_unpack/main_test.go\n\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e\n\n* s2: don\u0027t read past src when converting LZ4 blocks (#1294)\n\nThe LZ4 and LZ4s converters move literals of up to 8 bytes with a single\n8-byte load, which reads up to 7 bytes past src when a block ends in\nfewer than 8 literals. The format only requires 5, so blocks from liblz4\noften do. The bytes land in dst past the returned length, and the load\nfaults if src ends at the end of a mapping.\n\nUse exact moves when fewer than 8 bytes of src remain.\n\n* zip: backport the standard library\u0027s writer-side Zip64 fixes (#1287)\n\n* zip: backport the standard library\u0027s writer-side Zip64 fixes\n\nPort golang.org/cl/725161 (Go 1.27):\n\n- The central directory Zip64 extra holds only the fields that reach\n  0xFFFFFFFF, those fields alone get the placeholder, and the entry\u0027s\n  reader version is raised to 4.5.\n- The end record keeps the values that fit and writes placeholders only\n  for the others. The Zip64 end record is written whenever an entry used\n  a Zip64 extra.\n- CreateRaw with known sizes over 4 GiB and no data descriptor writes a\n  Zip64 extra and both placeholders in the local file header.\n\nzip64_test.go, zip64_sparse_test.go and testdata/zip64 are copied from\nthe standard library.\n\n* zip: look for the Zip64 end record when the directory size is 0xFFFFFFFF\n\nreadDirectoryEnd compared the 32-bit directory size with 0xffff, so an\nend record whose only placeholder is the directory size was read without\nthe Zip64 end record. The writer now emits such a record for a central\ndirectory of 4 GiB - 1 bytes or more with fewer than 65535 entries.\n\nFrom golang.org/cl/779180, which also makes TestZip64LargeDirectory read\nthe archives back.\n\n* zip: check the local header\u0027s combined extra length\n\nwriteHeader checked len(h.Extra) before adding the 20-byte Zip64 extra\nfor CreateRaw entries over 4 GiB, so an Extra of 65516 to 65535 bytes\nwrapped the local header\u0027s extra length. Check the combined length.\n\nTestZip64LargeDirectory\u0027s two NewReader round trips each hold about\n8 GiB, so together they peaked above 16 GiB. Run them one at a time,\nwith a GC in between.\n\n---------\n\nCo-authored-by: ybai08 \u003c271969568+ybai08@users.noreply.github.com\u003e\n\n* Update .github/workflows/go.yml\n\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e\n\n* zstd: cap DecodeAll preallocation to what the input can decode to (#1291)\n\nDecodeAll grew dst to the frame\u0027s declared content size before decoding\nany block, so an 18-byte frame declaring 60 GiB allocated 60 GiB with\ndefault options. On 32-bit platforms a declared size near 2 GiB also\noverflowed the int capacity and make panicked.\n\nEach block takes at least 4 bytes of input and decodes to at most\n128 KiB, so cap the preallocation to what the rest of the input can\ndecode to, and skip it if it does not fit in an int. Valid frames are\nalways under the bound and keep their exact-size buffer.\n\n* s2: fix LZ4 converter length overflow (32-bit only) (#1300)\n\nThe LZ4 and LZ4s converters summed length extension bytes into an int\nwith no bound. On 32-bit platforms about 8.4 MB of 0xFF bytes takes the\nliteral length to math.MaxInt32; s+ll and d+ll wrap negative, pass their\nchecks, and src[s:s+ll] panics. Match lengths and the decoded total wrap\nthe same way, and the conversion then succeeds with a negative or wrong\nsize.\n\nCheck the literal length against the rest of src on every extension\nbyte, and return ErrTooLarge when the match length or the decoded total\noverflows. Only the Go code is used on 32-bit. On 64-bit the new checks\nonly reject input that was already rejected.\n\n* zstd: don\u0027t reuse a literal table that was not written (#1299)\n\n* zstd: don\u0027t reuse a literal table that was not written\n\nWhen literals compress with a new Huffman table, huff0 keeps that table\nfor the next block to reuse. If the encoder then writes the literals\nraw, because compressed with their header they are no smaller, the\ndecoder never gets the table, but the next block could reuse it and\ncould not be decoded. A block that falls back to raw as a whole already\nstops reuse; do the same here.\n\nFuzzEncoding now writes dictionary streams in flushed pieces for inputs\nending in 1, 2, 3, 4, which are removed first, and its seed corpora are\nadded both with and without that suffix.\n\n* zstd: test streams that store compressed literals raw\n\nTwo streams of small flushed writes at SpeedBetterCompression that\ncould not be decoded before the previous commit.\n\n---------\n\nCo-authored-by: trev \u003cme@trev.xyz\u003e\n\n* review changes\n\nSigned-off-by: Subhadeep Maity \u003c322813880+deepnemesis@users.noreply.github.com\u003e\n\n* Protect s2c block output from failed writes\n\nSigned-off-by: Subhadeep Maity \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* gzhttp: clear Content-Length when decoding a compressed request (#1301)\n\nWith AllowCompressedRequests, the wrapper replaced r.Body with a gzip\ndecoder but left r.ContentLength and the Content-Length header at the\ncompressed size, so they no longer described what the handler reads.\n\nA handler that caps the declared length accepted a small gzip request\nand then read far more than its limit, and an httputil.ReverseProxy\nbehind the wrapper forwarded the stale length, so the backend got a\nrequest cut off at the compressed size.\n\nSet ContentLength to -1 and delete Content-Length when the outer gzip\ncoding is removed, as Transport does for responses it decodes.\n\n* s2: return ErrDstTooSmall for an LZ4 conversion into a nil dst (#1307)\n\n* s2: return ErrDstTooSmall for an LZ4 conversion into a nil dst\n\nConvertBlock and ConvertBlockSnappy document that dst must have capacity for\nthe converted block, and a dst that is too small is reported as\nErrDstTooSmall. A nil dst was handed to the assembly as an empty slice and\ncrashed with a nil pointer dereference on arm64, while the Go fallback\nreturned ErrDstTooSmall. Check for a dst without spare capacity before\ncalling the assembly in both LZ4 and LZ4s converters.\n\n* s2: accept an empty LZ4 block into a dst without capacity\n\nA block that is just the 0x00 token converts to nothing, so it needs no room;\nreturn the unchanged dst instead of ErrDstTooSmall.\n\n* s2: keep ErrCorrupt when Skip rejects an oversized chunk (#1303)\n\nAn uncompressed chunk bigger than the configured maximum made Read report ErrCorrupt but Skip report ErrUnsupported, because the error guard was inverted. ensureBufferSize already sets ErrCorrupt; keep it.\n\n* review comments\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\n\n* code reviews\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\n\n* flate: count the whole window for the level 9 literal cost estimate (#1306)\n\n* flate: count the whole window for the level 9 literal cost estimate\n\nThe level 9 gain estimate prices a candidate match against the cost of\nemitting the same bytes as literals, using a Huffman table built from the\nbyte frequencies of the window. Since #1115 only the first\nmaxFlateBlockTokens bytes were counted, to keep the uint16 frequencies from\noverflowing on single-value input. A byte value that first appears after\nthat point therefore had no code and a literal cost of zero, every match\ncovering it looked like a loss, and the rest of the block was emitted as\nliterals. Data made of long runs of varying byte values compressed many times\nworse at level 9 than at level 8 once the input exceeded 32K.\n\nCount every byte of the window again and saturate the frequencies at\nMaxUint16 instead, which keeps the #1114 fix (a 64K single-value window\ncounts to 65536) without dropping symbols.\n\nFound by comparing output sizes with compress/flate from the standard\nlibrary across levels and data shapes.\n\n* flate: assert the compressed size of a zero window in TestOneMByte\n\nThe round trip alone would not notice a literal-cost regression that keeps\nthe output decodable but much larger.\n\n* flate: drop the last byte of a full window instead of a second histogram\n\nCount into the uint16 table directly and add the left-out byte back with a\nsingle saturating increment, which avoids the extra [256]int32 pass.\n\n* flate: use histogram for the level 9 literal frequencies\n\nCount the window with the split histogram and, for a full 65536-byte\nwindow, count the first MaxUint16 bytes and add the last one with a single\nsaturating increment. The table, and so the output, is unchanged.\n\n* gzhttp: return buffered write errors from FlushError (#1310)\n\n* xpress: reject a Huffman match that runs past the declared size (#1309)\n\nAppendHDecompressed is documented to append decompressed_size bytes, but\nonly checked the size before each symbol, so a final match longer than the\nremaining space was copied in full: the Huff7 test vector (70001 bytes)\nreturned all 70001 bytes and a nil error for a declared size of 2. Return\nerrCorrupt instead, as the end-of-data symbol already does when it would\noverrun, and have FuzzXpressHuffman check the output length.\n\n* flate: do not replay buffered data after a failed WriteTo (#1304)\n\nA short write returned io.ErrShortWrite without making the error sticky or discarding the buffered output; a writer returning (n \u003e 0, err) had the same problem. In both cases a later Read handed out the bytes already given to the writer, silently duplicating output. A writer returning io.EOF was worse: f.err doubles as the end-of-stream marker, so io.ReadAll reported success on truncated output. Clear the buffer, keep the error on both destination failure paths, and store a non-EOF error when the writer reports EOF while still returning the writer\u0027s error from WriteTo.\n\n* s2: omit empty indexes and check stream bounds (#1311)\n\n* s2: write the stream header before an empty appended index\n* s2: omit indexes for empty streams\n* s2: check stream bounds before loading indexes\n\n* gzip: keep WriteTo errors distinct from end of stream (#1302)\n\nTwo cases returned success without verifying the gzip trailer:\n\n* After WriteTo of a single-stream reader, z.err stayed nil. A later Read\n  interpreted the following member\u0027s header bytes as a checksum and reported\n  ErrChecksum instead of io.EOF. Mark the reader as ended to match Read.\n\n* A destination returning io.EOF was stored in z.err, which also serves as\n  the end-of-stream marker. A later WriteTo returned (0, nil) and silently\n  skipped the checksum check. Reuse the package\u0027s noEOF helper so the write\n  failure stays sticky.\n\nBoth cases are covered by table-checkable tests that assert byte counts and\nerrors from repeated WriteTo/Read calls.\n\n* gzhttp: preserve status selected by buffered writes (#1318)\n\n* gzhttp: preserve status selected by buffered writes\n\nTrack final status selection separately from forwarding buffered headers.\r\nIgnore later statuses after Write selects 200, including an empty Write,\r\nwhile preserving informational responses before a final status.\r\n\r\nCo-authored-by: GeneralTony007 \u003c144252170+GeneralTony007@users.noreply.github.com\u003e\n\n* gzhttp: cover implicit status selection and header ordering\n\nAdd body-roundtrip and header-order regression cases for identity, gzip\r\nand zstd responses with empty, buffered and compressed bodies.\r\n\r\nCo-authored-by: GeneralTony007 \u003c144252170+GeneralTony007@users.noreply.github.com\u003e\n\n---------\n\nCo-authored-by: GeneralTony007 \u003c144252170+GeneralTony007@users.noreply.github.com\u003e\n\n* zip: honor zipinsecurepath set by //go:debug or go.mod godebug (#1319)\n\ninternal/godebug only read $GODEBUG, so a program that enabled\nErrInsecurePath with a //go:debug directive or a godebug line in go.mod\ngot it from archive/zip but not from this package. Fall back to the\nDefaultGODEBUG build setting when $GODEBUG does not name the key, as the\nstandard library does.\n\n* gzip: report short writes of the CRC/ISIZE footer from Close (#1316)\n\nClose wrote the 8-byte trailer with a bare Write and only checked the error, so a destination that accepted fewer than 8 bytes silently produced a truncated gzip stream reported as success. Use the existing write() helper, which already reports io.ErrShortWrite, matching the header writes.\n\nAdd TestWriterCloseReportsShortFooterWrite and TestWriterClosePreservesFooterError to gzip_test.go.\n\n* zstd: state that encoder output is only stable within one version (#1314)\n\n* zstd: state that encoder output is only stable within one version\n\nSay plainly that any release may change the encoder output and that\nhashes of compressed output must not be compared across versions.\nAlso fixes a typo (\"the may be\").\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: tighten README output stability wording\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: faster and smaller small frames with dictionaries (#1280)\n\n* huff0: count the new table\u0027s header when choosing to reuse a table\n\nWith ReusePolicyAllow, compress is meant to compare the previous table\nagainst the new one plus its header, as zstd does. The header size was\nread from s.Out before the table was written, so it was always 0 and the\nnew table won whenever its data was smaller, even when the header made\nthe output larger. Write the new table first so its size is known.\n\nzstd uses this policy for literals, so small blocks that start from a\ndictionary\u0027s table come out smaller.\n\n* zstd: don\u0027t build sequence tables that can\u0027t be chosen\n\nchooseComp normalized and built a new FSE table for each sequence field,\nand wrote its header, before comparing it with the predefined and\nprevious tables. For small blocks a new table rarely wins.\n\nCompare those tables first with a lower bound for any new table: the\nentropy of the histogram, the shortest header writeCount can produce\nfor it and the smallest final flush. When one of them is no larger, it\nis chosen as before, without building the new table. The choice is\nunchanged; TestFSEMinNewSize checks the bound against built tables.\n\n* huff0: discard the rejected output when reuse is preferred\n\nWith ReusePolicyPrefer, when the previous table compresses too little,\ncompress falls back to a new table but left the rejected output in\ns.Out. The new table and data were appended after it, so the result\nwas always reported as incompressible.\n\nFuzzCompress now also compresses part of each input with a table from\nthe rest, with every reuse policy, and fails if Prefer is incompressible\nwhere a new table is not. A seed reaches the fallback.\n\n* huff0: don\u0027t build a table that can\u0027t be chosen\n\nWith ReusePolicyAllow, compress built and wrote a new table before\ncomparing it with the previous one. A new table costs at least the\nentropy of the input plus the smallest header cTable.write can produce,\nso when the previous table\u0027s estimate is no larger, reuse it without\nbuilding one. The choice is unchanged.\n\nThe entropy is bounded in fixed point from a 257-entry log2 table, since\nmath.Log2 per symbol cost about a quarter of compressing a small block.\nThe header bound uses only the number of symbols and how many are\npresent: either the 4-bit weights, or the smallest FSE header and the\nfewest bits FSE can spend on the weights.\n\n* zstd: don\u0027t reuse a literal table that was not written\n\nWhen literals compress with a new Huffman table, huff0 keeps that table\nfor the next block to reuse. If the encoder then writes the literals\nraw, because compressed with their header they are no smaller, the\ndecoder never gets the table, but the next block could reuse it and\ncould not be decoded. A block that falls back to raw as a whole already\nstops reuse; do the same here.\n\nSince huff0 counts a new table\u0027s header when choosing whether to reuse\none, small blocks reuse much more often, and FuzzEncoding found this\nonce it wrote dictionary streams in flushed pieces. It now does that for\ninputs ending in 1, 2, 3, 4, which are removed first, and its seed\ncorpora are added both with and without that suffix.\n\n---------\n\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e\n\n* review comments\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\n\n* s2c: detect output aliases before opening destination\n\nCheck Stat/SameFile before openOutputFile so read-only in-place recompression and FIFO aliases stage a temp file without O_WRONLY on the input. finishOutput chmods the destination before rename when replacing in place.\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* s2c: fix staged replace without chmod on destination\n\nreplaceOutput removes a regular destination file only when rename fails. Drop pathname chmod that could follow symlinks. FIFO alias test uses Stat without opening the fifo.\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n* Preserve output on staged rename failure\n\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\n\n---------\n\nSigned-off-by: Subhadeep Maity \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nSigned-off-by: Deep \u003c322813880+deepnemesis@users.noreply.github.com\u003e\nCo-authored-by: Cursor \u003ccursoragent@cursor.com\u003e\nCo-authored-by: Danner Stodolsky c/o Boston Dynamics \u003cdstodolsky@bostondynamics.com\u003e\nCo-authored-by: Liz Fong-Jones \u003clizf@honeycomb.io\u003e\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e\nCo-authored-by: Raghuvardhan-Reddy78 \u003craghuvardhan@labs.digiscrypt.com\u003e\nCo-authored-by: Yang Bai \u003cyangbai2026@gmail.com\u003e\nCo-authored-by: ybai08 \u003c271969568+ybai08@users.noreply.github.com\u003e\nCo-authored-by: trev \u003cme@trev.xyz\u003e\nCo-authored-by: yash \u003cyxshdogra@gmail.com\u003e\nCo-authored-by: CJstate \u003c142857225+CJstate@users.noreply.github.com\u003e\nCo-authored-by: generaltony007 \u003c191973953+hakarrr@users.noreply.github.com\u003e\nCo-authored-by: GeneralTony007 \u003c144252170+GeneralTony007@users.noreply.github.com\u003e"
    },
    {
      "commit": "29e54554ed477f62113ddc8788923c2bd4f04043",
      "tree": "e46267c98d6a1d02ec8e09df119e96ef5d74f5f6",
      "parents": [
        "6892847499fafd042019e128d2765085ad3cef21"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Nov 19 10:14:49 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 10:14:49 2026"
      },
      "message": "flate: fix inflate checkpoints after stored blocks and at the final block (#1327)\n\n* flate: fix inflate checkpoint offsets after stored blocks\n\ndataBlock added the whole bytes left in the bit buffer to roffset, but\nthey had already been counted when read. Every checkpoint after a\nstored block (a sync flush, or incompressible data) reported a\nCompressedOffset past the block boundary, off by more after each stored\nblock, so resuming from it failed or returned wrong data. Error offsets\nafter stored blocks were too high as well.\n\n* flate: return io.EOF when resuming from a final checkpoint\n\nResume ignored cp.Final and went on to read another block header, so\nresuming from the checkpoint emitted after the final block read past\nthe end of the stream: ErrUnexpectedEOF on raw deflate, or a following\ngzip trailer decoded as deflate. Read now returns io.EOF and leaves the\ninput just past the stream, as a full decode does. Clarify the\nWithEobCallback doc, which read as if the final block had no checkpoint."
    },
    {
      "commit": "6892847499fafd042019e128d2765085ad3cef21",
      "tree": "660ee19569025b6a6d5bb9c111a5d58e7ef90982",
      "parents": [
        "ee32c6dde3b28897d71630d2d929c5e919f1619d"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Wed Nov 18 11:28:05 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 18 11:28:05 2026"
      },
      "message": "s2: report truncated skippable chunks read by a callback (#1326)\n\nA chunk handed to a SkippableCB callback is read through a LimitReader\nand the rest is drained with io.CopyBuffer, which treats an early EOF as\nsuccess. A stream that ended inside the chunk was then reported as\ncomplete by Read and DecodeConcurrent, and the callback had no way to\ntell, while the same input without a callback fails with ErrCorrupt.\n\nReturn ErrCorrupt when part of the chunk is still missing after the\ndrain. Read, Skip and DecodeConcurrent all go through skippable."
    },
    {
      "commit": "ee32c6dde3b28897d71630d2d929c5e919f1619d",
      "tree": "4283788a7b0e70cceb5cffbd73e0a75dbf55c98e",
      "parents": [
        "a498bd0f6f3d73a06d0fa240851cbcf270384c1a"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Tue Nov 17 09:22:11 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 17 09:22:11 2026"
      },
      "message": "s2, zstd: consume bytes.Buffer input in ReadFrom and Decoder.Reset (#1320)\n\n* s2: wait for queued blocks in Flush after an error\n\nEncodeBuffer lends its input until Flush or Close, but Flush returned at\nonce when an error was already set, while encoders could still be\nreading the buffer. Flush now waits for the queued blocks either way.\n\n* s2: consume a bytes.Buffer in ReadFrom and stop borrowing it on return\n\nReadFrom passed the Bytes of any reader with that method to EncodeBuffer\nand returned after AsyncFlush. The reader was left unread, and with\nconcurrency above 1 the encoders could still read its array after\nReadFrom returned, so reusing the buffer changed the output.\n\nOnly a *bytes.Buffer keeps the zero-copy path: ReadFrom flushes, so the\nborrow ends before it returns, then consumes the buffer with Next.\nOther readers with a Bytes method go through the read loop.\n\nFixes #1275\n\n* zstd: consume a bytes.Buffer that Decoder.Reset decodes in memory\n\nReset decodes a short *bytes.Buffer with DecodeAll and left it unread,\nwhile streaming from the same buffer drains it. Consume it after the\nin-memory decode. When that decode exceeds WithDecoderMaxMemory, Reset\nstreams the buffer instead, which consumes it through Read."
    },
    {
      "commit": "a498bd0f6f3d73a06d0fa240851cbcf270384c1a",
      "tree": "37b267af4ab5d6f085e20bb61cb6a7ca6dca6045",
      "parents": [
        "687adf843b53d06b3b06faefa24fbc7bab0b3ac9"
      ],
      "author": {
        "name": "Trevor Allen",
        "email": "me@trev.xyz",
        "time": "Mon Nov 16 13:40:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 13:40:22 2026"
      },
      "message": "zstd: faster and smaller small frames with dictionaries (#1280)\n\n* huff0: count the new table\u0027s header when choosing to reuse a table\n\nWith ReusePolicyAllow, compress is meant to compare the previous table\nagainst the new one plus its header, as zstd does. The header size was\nread from s.Out before the table was written, so it was always 0 and the\nnew table won whenever its data was smaller, even when the header made\nthe output larger. Write the new table first so its size is known.\n\nzstd uses this policy for literals, so small blocks that start from a\ndictionary\u0027s table come out smaller.\n\n* zstd: don\u0027t build sequence tables that can\u0027t be chosen\n\nchooseComp normalized and built a new FSE table for each sequence field,\nand wrote its header, before comparing it with the predefined and\nprevious tables. For small blocks a new table rarely wins.\n\nCompare those tables first with a lower bound for any new table: the\nentropy of the histogram, the shortest header writeCount can produce\nfor it and the smallest final flush. When one of them is no larger, it\nis chosen as before, without building the new table. The choice is\nunchanged; TestFSEMinNewSize checks the bound against built tables.\n\n* huff0: discard the rejected output when reuse is preferred\n\nWith ReusePolicyPrefer, when the previous table compresses too little,\ncompress falls back to a new table but left the rejected output in\ns.Out. The new table and data were appended after it, so the result\nwas always reported as incompressible.\n\nFuzzCompress now also compresses part of each input with a table from\nthe rest, with every reuse policy, and fails if Prefer is incompressible\nwhere a new table is not. A seed reaches the fallback.\n\n* huff0: don\u0027t build a table that can\u0027t be chosen\n\nWith ReusePolicyAllow, compress built and wrote a new table before\ncomparing it with the previous one. A new table costs at least the\nentropy of the input plus the smallest header cTable.write can produce,\nso when the previous table\u0027s estimate is no larger, reuse it without\nbuilding one. The choice is unchanged.\n\nThe entropy is bounded in fixed point from a 257-entry log2 table, since\nmath.Log2 per symbol cost about a quarter of compressing a small block.\nThe header bound uses only the number of symbols and how many are\npresent: either the 4-bit weights, or the smallest FSE header and the\nfewest bits FSE can spend on the weights.\n\n* zstd: don\u0027t reuse a literal table that was not written\n\nWhen literals compress with a new Huffman table, huff0 keeps that table\nfor the next block to reuse. If the encoder then writes the literals\nraw, because compressed with their header they are no smaller, the\ndecoder never gets the table, but the next block could reuse it and\ncould not be decoded. A block that falls back to raw as a whole already\nstops reuse; do the same here.\n\nSince huff0 counts a new table\u0027s header when choosing whether to reuse\none, small blocks reuse much more often, and FuzzEncoding found this\nonce it wrote dictionary streams in flushed pieces. It now does that for\ninputs ending in 1, 2, 3, 4, which are removed first, and its seed\ncorpora are added both with and without that suffix.\n\n---------\n\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e"
    },
    {
      "commit": "687adf843b53d06b3b06faefa24fbc7bab0b3ac9",
      "tree": "97edb4c96317f6997eedcc26c53d986302d5f7ce",
      "parents": [
        "42b5c60079ba1fa15d5e63db89848b6bc1d311c6"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "lizf@honeycomb.io",
        "time": "Mon Nov 16 13:23:04 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 13:23:04 2026"
      },
      "message": "zstd: state that encoder output is only stable within one version (#1314)\n\n* zstd: state that encoder output is only stable within one version\n\nSay plainly that any release may change the encoder output and that\nhashes of compressed output must not be compared across versions.\nAlso fixes a typo (\"the may be\").\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: tighten README output stability wording\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "42b5c60079ba1fa15d5e63db89848b6bc1d311c6",
      "tree": "999cd73c69bd1bdc9f31c48c7394ef4f55495834",
      "parents": [
        "b3def4fc4708f36d30cfb2d62099ee26904c3aa4"
      ],
      "author": {
        "name": "CJstate",
        "email": "142857225+CJstate@users.noreply.github.com",
        "time": "Mon Nov 16 13:22:09 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 13:22:09 2026"
      },
      "message": "gzip: report short writes of the CRC/ISIZE footer from Close (#1316)\n\nClose wrote the 8-byte trailer with a bare Write and only checked the error, so a destination that accepted fewer than 8 bytes silently produced a truncated gzip stream reported as success. Use the existing write() helper, which already reports io.ErrShortWrite, matching the header writes.\n\nAdd TestWriterCloseReportsShortFooterWrite and TestWriterClosePreservesFooterError to gzip_test.go."
    },
    {
      "commit": "b3def4fc4708f36d30cfb2d62099ee26904c3aa4",
      "tree": "729267a5851495de1ff833e1b5fe0992f9e1153e",
      "parents": [
        "6313b30d545411187bff5279f485edf04ee727d3"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Mon Nov 16 13:21:17 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 13:21:17 2026"
      },
      "message": "zip: honor zipinsecurepath set by //go:debug or go.mod godebug (#1319)\n\ninternal/godebug only read $GODEBUG, so a program that enabled\nErrInsecurePath with a //go:debug directive or a godebug line in go.mod\ngot it from archive/zip but not from this package. Fall back to the\nDefaultGODEBUG build setting when $GODEBUG does not name the key, as the\nstandard library does."
    },
    {
      "commit": "6313b30d545411187bff5279f485edf04ee727d3",
      "tree": "bbe03538d131cb53226c1a03f19e942e6334a918",
      "parents": [
        "7213df05def493d5fb921e472b3f84d92db98aba"
      ],
      "author": {
        "name": "generaltony007",
        "email": "191973953+hakarrr@users.noreply.github.com",
        "time": "Mon Nov 16 13:16:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 16 13:16:25 2026"
      },
      "message": "gzhttp: preserve status selected by buffered writes (#1318)\n\n* gzhttp: preserve status selected by buffered writes\n\nTrack final status selection separately from forwarding buffered headers.\r\nIgnore later statuses after Write selects 200, including an empty Write,\r\nwhile preserving informational responses before a final status.\r\n\r\nCo-authored-by: GeneralTony007 \u003c144252170+GeneralTony007@users.noreply.github.com\u003e\n\n* gzhttp: cover implicit status selection and header ordering\n\nAdd body-roundtrip and header-order regression cases for identity, gzip\r\nand zstd responses with empty, buffered and compressed bodies.\r\n\r\nCo-authored-by: GeneralTony007 \u003c144252170+GeneralTony007@users.noreply.github.com\u003e\n\n---------\n\nCo-authored-by: GeneralTony007 \u003c144252170+GeneralTony007@users.noreply.github.com\u003e"
    },
    {
      "commit": "7213df05def493d5fb921e472b3f84d92db98aba",
      "tree": "367d711dd7a11470f44ad625712eed57891fe40e",
      "parents": [
        "df17152b0eaca9e337a7b01b0b038a2bf966cfdb"
      ],
      "author": {
        "name": "CJstate",
        "email": "142857225+CJstate@users.noreply.github.com",
        "time": "Wed Nov 11 16:16:30 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 11 16:16:30 2026"
      },
      "message": "gzip: keep WriteTo errors distinct from end of stream (#1302)\n\nTwo cases returned success without verifying the gzip trailer:\n\n* After WriteTo of a single-stream reader, z.err stayed nil. A later Read\n  interpreted the following member\u0027s header bytes as a checksum and reported\n  ErrChecksum instead of io.EOF. Mark the reader as ended to match Read.\n\n* A destination returning io.EOF was stored in z.err, which also serves as\n  the end-of-stream marker. A later WriteTo returned (0, nil) and silently\n  skipped the checksum check. Reuse the package\u0027s noEOF helper so the write\n  failure stays sticky.\n\nBoth cases are covered by table-checkable tests that assert byte counts and\nerrors from repeated WriteTo/Read calls."
    },
    {
      "commit": "df17152b0eaca9e337a7b01b0b038a2bf966cfdb",
      "tree": "375da25a1a83551612d7d355a6c8879813891080",
      "parents": [
        "e8d07aeaaed0fe6c1c7b352b0123e1d075c7fd67"
      ],
      "author": {
        "name": "yash",
        "email": "yxshdogra@gmail.com",
        "time": "Wed Nov 11 09:44:57 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 11 09:44:57 2026"
      },
      "message": "s2: omit empty indexes and check stream bounds (#1311)\n\n* s2: write the stream header before an empty appended index\n* s2: omit indexes for empty streams\n* s2: check stream bounds before loading indexes"
    },
    {
      "commit": "e8d07aeaaed0fe6c1c7b352b0123e1d075c7fd67",
      "tree": "6561a91fca2f583d43b2ef889e8d6ff42c9fac38",
      "parents": [
        "c021bdc4476e5195ad9ca726945d3d1f068b92fb"
      ],
      "author": {
        "name": "CJstate",
        "email": "142857225+CJstate@users.noreply.github.com",
        "time": "Tue Nov 10 12:27:00 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 10 12:27:00 2026"
      },
      "message": "flate: do not replay buffered data after a failed WriteTo (#1304)\n\nA short write returned io.ErrShortWrite without making the error sticky or discarding the buffered output; a writer returning (n \u003e 0, err) had the same problem. In both cases a later Read handed out the bytes already given to the writer, silently duplicating output. A writer returning io.EOF was worse: f.err doubles as the end-of-stream marker, so io.ReadAll reported success on truncated output. Clear the buffer, keep the error on both destination failure paths, and store a non-EOF error when the writer reports EOF while still returning the writer\u0027s error from WriteTo."
    },
    {
      "commit": "c021bdc4476e5195ad9ca726945d3d1f068b92fb",
      "tree": "407d7d0a6d8674c51e8eb670917ce6a543d92fdd",
      "parents": [
        "52f94b3520ab4557d861656ca1f200b1dd8b21ff"
      ],
      "author": {
        "name": "yash",
        "email": "yxshdogra@gmail.com",
        "time": "Tue Nov 10 12:24:17 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 10 12:24:17 2026"
      },
      "message": "xpress: reject a Huffman match that runs past the declared size (#1309)\n\nAppendHDecompressed is documented to append decompressed_size bytes, but\nonly checked the size before each symbol, so a final match longer than the\nremaining space was copied in full: the Huff7 test vector (70001 bytes)\nreturned all 70001 bytes and a nil error for a declared size of 2. Return\nerrCorrupt instead, as the end-of-data symbol already does when it would\noverrun, and have FuzzXpressHuffman check the output length."
    },
    {
      "commit": "52f94b3520ab4557d861656ca1f200b1dd8b21ff",
      "tree": "514916883a9e41de36cb355e5f2854e655b31692",
      "parents": [
        "d529e3dbeb2267a9f26d68f8973f3241d9d6ca42"
      ],
      "author": {
        "name": "yash",
        "email": "yxshdogra@gmail.com",
        "time": "Tue Nov 10 12:23:42 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 10 12:23:42 2026"
      },
      "message": "gzhttp: return buffered write errors from FlushError (#1310)"
    },
    {
      "commit": "d529e3dbeb2267a9f26d68f8973f3241d9d6ca42",
      "tree": "2e6ce8b64dca8345aa99fa8e8d58028b3536d337",
      "parents": [
        "361b8081ef604c0cebc85200e61950b06d88080a"
      ],
      "author": {
        "name": "yash",
        "email": "yxshdogra@gmail.com",
        "time": "Tue Nov 10 11:56:46 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 10 11:56:46 2026"
      },
      "message": "flate: count the whole window for the level 9 literal cost estimate (#1306)\n\n* flate: count the whole window for the level 9 literal cost estimate\n\nThe level 9 gain estimate prices a candidate match against the cost of\nemitting the same bytes as literals, using a Huffman table built from the\nbyte frequencies of the window. Since #1115 only the first\nmaxFlateBlockTokens bytes were counted, to keep the uint16 frequencies from\noverflowing on single-value input. A byte value that first appears after\nthat point therefore had no code and a literal cost of zero, every match\ncovering it looked like a loss, and the rest of the block was emitted as\nliterals. Data made of long runs of varying byte values compressed many times\nworse at level 9 than at level 8 once the input exceeded 32K.\n\nCount every byte of the window again and saturate the frequencies at\nMaxUint16 instead, which keeps the #1114 fix (a 64K single-value window\ncounts to 65536) without dropping symbols.\n\nFound by comparing output sizes with compress/flate from the standard\nlibrary across levels and data shapes.\n\n* flate: assert the compressed size of a zero window in TestOneMByte\n\nThe round trip alone would not notice a literal-cost regression that keeps\nthe output decodable but much larger.\n\n* flate: drop the last byte of a full window instead of a second histogram\n\nCount into the uint16 table directly and add the left-out byte back with a\nsingle saturating increment, which avoids the extra [256]int32 pass.\n\n* flate: use histogram for the level 9 literal frequencies\n\nCount the window with the split histogram and, for a full 65536-byte\nwindow, count the first MaxUint16 bytes and add the last one with a single\nsaturating increment. The table, and so the output, is unchanged."
    },
    {
      "commit": "361b8081ef604c0cebc85200e61950b06d88080a",
      "tree": "a76e2f8f68d41b91e0643eb25f29cb5a237db4cc",
      "parents": [
        "7556d8ab5c983c886e2e08a09000d6773f7befb8"
      ],
      "author": {
        "name": "CJstate",
        "email": "142857225+CJstate@users.noreply.github.com",
        "time": "Mon Nov 09 12:35:15 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 09 12:35:15 2026"
      },
      "message": "s2: keep ErrCorrupt when Skip rejects an oversized chunk (#1303)\n\nAn uncompressed chunk bigger than the configured maximum made Read report ErrCorrupt but Skip report ErrUnsupported, because the error guard was inverted. ensureBufferSize already sets ErrCorrupt; keep it."
    },
    {
      "commit": "7556d8ab5c983c886e2e08a09000d6773f7befb8",
      "tree": "e0619d138e4dc8f6ec1c84f9c8a493345894f27e",
      "parents": [
        "5763a8d3a20772037646ce7683fdf10014d54fe7"
      ],
      "author": {
        "name": "yash",
        "email": "yxshdogra@gmail.com",
        "time": "Mon Nov 09 10:20:01 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 09 10:20:01 2026"
      },
      "message": "s2: return ErrDstTooSmall for an LZ4 conversion into a nil dst (#1307)\n\n* s2: return ErrDstTooSmall for an LZ4 conversion into a nil dst\n\nConvertBlock and ConvertBlockSnappy document that dst must have capacity for\nthe converted block, and a dst that is too small is reported as\nErrDstTooSmall. A nil dst was handed to the assembly as an empty slice and\ncrashed with a nil pointer dereference on arm64, while the Go fallback\nreturned ErrDstTooSmall. Check for a dst without spare capacity before\ncalling the assembly in both LZ4 and LZ4s converters.\n\n* s2: accept an empty LZ4 block into a dst without capacity\n\nA block that is just the 0x00 token converts to nothing, so it needs no room;\nreturn the unchanged dst instead of ErrDstTooSmall."
    },
    {
      "commit": "5763a8d3a20772037646ce7683fdf10014d54fe7",
      "tree": "e2c9b190b5a26707e5a213171a388c42f8a45f40",
      "parents": [
        "d8a24124f413ea4ecc25e62c8c5b486e36bb6f91"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Mon Nov 09 09:29:45 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 09 09:29:45 2026"
      },
      "message": "gzhttp: clear Content-Length when decoding a compressed request (#1301)\n\nWith AllowCompressedRequests, the wrapper replaced r.Body with a gzip\ndecoder but left r.ContentLength and the Content-Length header at the\ncompressed size, so they no longer described what the handler reads.\n\nA handler that caps the declared length accepted a small gzip request\nand then read far more than its limit, and an httputil.ReverseProxy\nbehind the wrapper forwarded the stale length, so the backend got a\nrequest cut off at the compressed size.\n\nSet ContentLength to -1 and delete Content-Length when the outer gzip\ncoding is removed, as Transport does for responses it decodes."
    },
    {
      "commit": "d8a24124f413ea4ecc25e62c8c5b486e36bb6f91",
      "tree": "88cb0fbe6aaf4758e87c0be0cd34adc35b1f46b9",
      "parents": [
        "a4c846bf623afb02a749a694792c641753dc9b29"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Fri Nov 06 17:26:45 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 06 17:26:45 2026"
      },
      "message": "zstd: don\u0027t reuse a literal table that was not written (#1299)\n\n* zstd: don\u0027t reuse a literal table that was not written\n\nWhen literals compress with a new Huffman table, huff0 keeps that table\nfor the next block to reuse. If the encoder then writes the literals\nraw, because compressed with their header they are no smaller, the\ndecoder never gets the table, but the next block could reuse it and\ncould not be decoded. A block that falls back to raw as a whole already\nstops reuse; do the same here.\n\nFuzzEncoding now writes dictionary streams in flushed pieces for inputs\nending in 1, 2, 3, 4, which are removed first, and its seed corpora are\nadded both with and without that suffix.\n\n* zstd: test streams that store compressed literals raw\n\nTwo streams of small flushed writes at SpeedBetterCompression that\ncould not be decoded before the previous commit.\n\n---------\n\nCo-authored-by: trev \u003cme@trev.xyz\u003e"
    },
    {
      "commit": "a4c846bf623afb02a749a694792c641753dc9b29",
      "tree": "4766b1ae50b92498644643ac1dac17977748cfdc",
      "parents": [
        "de5f3e26f2d7ff4252b96fae5b48e332b7e8daf8"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Fri Nov 06 17:20:55 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 06 17:20:55 2026"
      },
      "message": "s2: fix LZ4 converter length overflow (32-bit only) (#1300)\n\nThe LZ4 and LZ4s converters summed length extension bytes into an int\nwith no bound. On 32-bit platforms about 8.4 MB of 0xFF bytes takes the\nliteral length to math.MaxInt32; s+ll and d+ll wrap negative, pass their\nchecks, and src[s:s+ll] panics. Match lengths and the decoded total wrap\nthe same way, and the conversion then succeeds with a negative or wrong\nsize.\n\nCheck the literal length against the rest of src on every extension\nbyte, and return ErrTooLarge when the match length or the decoded total\noverflows. Only the Go code is used on 32-bit. On 64-bit the new checks\nonly reject input that was already rejected."
    },
    {
      "commit": "de5f3e26f2d7ff4252b96fae5b48e332b7e8daf8",
      "tree": "737310c6ab17c0eaf22af6a62c813f96e6e97d72",
      "parents": [
        "1e5ae793460ad68cbe50a6b58f2101ee015d5986"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Fri Nov 06 14:34:28 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 06 14:34:28 2026"
      },
      "message": "zstd: cap DecodeAll preallocation to what the input can decode to (#1291)\n\nDecodeAll grew dst to the frame\u0027s declared content size before decoding\nany block, so an 18-byte frame declaring 60 GiB allocated 60 GiB with\ndefault options. On 32-bit platforms a declared size near 2 GiB also\noverflowed the int capacity and make panicked.\n\nEach block takes at least 4 bytes of input and decodes to at most\n128 KiB, so cap the preallocation to what the rest of the input can\ndecode to, and skip it if it does not fit in an int. Valid frames are\nalways under the bound and keep their exact-size buffer."
    },
    {
      "commit": "1e5ae793460ad68cbe50a6b58f2101ee015d5986",
      "tree": "509b06b84541e9fd80a79a06d09b87d6d9f10c05",
      "parents": [
        "b1433646aad0b243a46acd8c1f5be150c0681a41"
      ],
      "author": {
        "name": "Yang Bai",
        "email": "yangbai2026@gmail.com",
        "time": "Wed Nov 04 10:35:29 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 04 10:35:29 2026"
      },
      "message": "zip: backport the standard library\u0027s writer-side Zip64 fixes (#1287)\n\n* zip: backport the standard library\u0027s writer-side Zip64 fixes\n\nPort golang.org/cl/725161 (Go 1.27):\n\n- The central directory Zip64 extra holds only the fields that reach\n  0xFFFFFFFF, those fields alone get the placeholder, and the entry\u0027s\n  reader version is raised to 4.5.\n- The end record keeps the values that fit and writes placeholders only\n  for the others. The Zip64 end record is written whenever an entry used\n  a Zip64 extra.\n- CreateRaw with known sizes over 4 GiB and no data descriptor writes a\n  Zip64 extra and both placeholders in the local file header.\n\nzip64_test.go, zip64_sparse_test.go and testdata/zip64 are copied from\nthe standard library.\n\n* zip: look for the Zip64 end record when the directory size is 0xFFFFFFFF\n\nreadDirectoryEnd compared the 32-bit directory size with 0xffff, so an\nend record whose only placeholder is the directory size was read without\nthe Zip64 end record. The writer now emits such a record for a central\ndirectory of 4 GiB - 1 bytes or more with fewer than 65535 entries.\n\nFrom golang.org/cl/779180, which also makes TestZip64LargeDirectory read\nthe archives back.\n\n* zip: check the local header\u0027s combined extra length\n\nwriteHeader checked len(h.Extra) before adding the 20-byte Zip64 extra\nfor CreateRaw entries over 4 GiB, so an Extra of 65516 to 65535 bytes\nwrapped the local header\u0027s extra length. Check the combined length.\n\nTestZip64LargeDirectory\u0027s two NewReader round trips each hold about\n8 GiB, so together they peaked above 16 GiB. Run them one at a time,\nwith a GC in between.\n\n---------\n\nCo-authored-by: ybai08 \u003c271969568+ybai08@users.noreply.github.com\u003e"
    },
    {
      "commit": "b1433646aad0b243a46acd8c1f5be150c0681a41",
      "tree": "735b4b89e64df8ff733bb58fc64b5ad02ab6f882",
      "parents": [
        "b660d6de9d90f743b7442ee2a6dcd460efde6512"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Wed Nov 04 10:03:12 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 04 10:03:12 2026"
      },
      "message": "s2: don\u0027t read past src when converting LZ4 blocks (#1294)\n\nThe LZ4 and LZ4s converters move literals of up to 8 bytes with a single\n8-byte load, which reads up to 7 bytes past src when a block ends in\nfewer than 8 literals. The format only requires 5, so blocks from liblz4\noften do. The bytes land in dst past the returned length, and the load\nfaults if src ends at the end of a mapping.\n\nUse exact moves when fewer than 8 bytes of src remain."
    },
    {
      "commit": "b660d6de9d90f743b7442ee2a6dcd460efde6512",
      "tree": "d77ad2ccbd2195ef7fe52f068215adf636543380",
      "parents": [
        "f2783fb7fdc7ae3ef23697fa831d24389716c2b1"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "lizf@honeycomb.io",
        "time": "Tue Nov 03 13:36:52 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 03 13:36:52 2026"
      },
      "message": "zstd: copy non-overlapping matches in 32-byte blocks (#1295)\n\n* zstd: copy non-overlapping matches in 32-byte blocks\n\nOn data compressed at SpeedBetterCompression most matches are longer than\n16 bytes, so the exit branch after the first 16-byte block of the extended\nmatch copy mispredicts on a large share of sequences; on a Neoverse N1 it\naccounts for over half of all decode branch mispredicts. Copy the first 32\nbytes unconditionally (both loads before the stores, so any ml \u003c\u003d mo is\ncorrect) and loop in 32-byte steps, in decodeSync and executeSimple.\n\ncompressedBlockOverAlloc grows from 16 to 32 to cover the wider overrun;\nevery buffer sized from it (output, literals, the history ring) follows.\n\nThe avo fork pin moves to a commit that pairs adjacent 16-byte vector\nmoves into LDP/STP Q on arm64; nothing else in the zstd output changes.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* ci: describe the extended-copy overrun by its constant\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* all: generate assembly with github.com/honeycombio/avo\n\nThe arm64 lowering lives in the honeycombio/avo fork, which now uses its own\nmodule path. Import it directly in the zstd, huff0 and s2 generators instead\nof replacing github.com/mmcloughlin/avo, and move all three to the same fork\ncommit.\n\nThat commit makes the pairing of adjacent 16-byte vector moves into LDP/STP Q\nopt-in. zstd opts in, which keeps its match copy as in the previous commit; s2\ndoes not, because on Graviton 2-5 it was a wash for its encoders with up to\n+3% on 256-byte blocks. All generated assembly other than the zstd header\nline is byte-identical to the previous commit and s2 to master.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "f2783fb7fdc7ae3ef23697fa831d24389716c2b1",
      "tree": "30b8890ebda3a74118fac97de6edce617714771c",
      "parents": [
        "72852a30fa48f5d6cad85c6bdcce330c54b0ecc0"
      ],
      "author": {
        "name": "Danner Stodolsky c/o Boston Dynamics",
        "email": "dstodolsky@bostondynamics.com",
        "time": "Tue Nov 03 13:29:56 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 03 13:29:56 2026"
      },
      "message": "zstd: inline the best encoder\u0027s reject path; cap concurrent-blocks job size (#1293)\n\n* zstd: inline the cheap reject path of the best encoder\u0027s improve\n\nThe improve closure in bestFastEncoder.Encode is called for every\ncandidate, and most candidates are rejected by the range check or the\nfirst 4-byte compare. The closure was too large to inline into Encode,\nso every candidate paid for a call.\n\nSplit it into a small improve that does the range check and 4-byte\ncompare, and improveSlow with the rest. improve now inlines at all 20\ncall sites. Output is unchanged.\n\nWritten with Claude Code\n\n* zstd: cap the concurrent-blocks job size at 256 MiB\n\nWith WithConcurrentBlocks, each job is 4x the window, so a 128 MiB\nwindow gives 512 MiB jobs and a 256 MiB window 1 GiB jobs. Inputs\nsmaller than a few jobs then get little or no parallelism.\n\nCap the job size at 256 MiB and the overlap at half a job. Windows up\nto 64 MiB are unchanged. For larger windows the overlap stays at the\nlevel\u0027s default until it reaches half a job.\n\nThe window is clamped before it is multiplied, so a 512 MiB window no\nlonger overflows the job size on 32-bit platforms.\n\nWritten with Claude Code\n\n* zstd: shrink the capped job size test and document the cap\n\nTestConcurrentBlocks_CappedJobSize lowers maxJobSize to 4 MiB instead of\nencoding over 256 MiB, so it no longer needs about 2.3 GB and runs under\n-short too. maxJobSize becomes a variable for that.\n\nNote the job size cap and its CPU/ratio trade-off in the zstd README, and\nexplain the MaxWindowSize row of TestJobAndOverlapSize, which checks the\n32-bit overflow on 386.\n\nWritten with Claude Code\n\n* zstd: check the capped job prefix and qualify the README note\n\nTestConcurrentBlocks_CappedJobSize now uses a window larger than a job at\nthe best level, so the overlap is clamped to half a job as well. It\nchecks that two jobs were dispatched and that the output is small enough\nthat the second job must have used its prefix. A round trip alone passes\nwithout the prefix.\n\nThe README states the 512 KiB minimum job size, presents the ratio loss\nas a benchmark result rather than a bound, and notes that windows over\n256 MiB at the best level get a clamped overlap.\n\nWritten with Claude Code"
    },
    {
      "commit": "72852a30fa48f5d6cad85c6bdcce330c54b0ecc0",
      "tree": "f03581fd24a8b7add267bd381b3c34581272fdd4",
      "parents": [
        "dac08ee4dc2c44140a925c8b0172a8067d31396e"
      ],
      "author": {
        "name": "Aadharsh  Pannirselvam",
        "email": "aadharsh2010@gmail.com",
        "time": "Tue Nov 03 11:43:40 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 03 11:43:40 2026"
      },
      "message": "docs: Fix stale dictionary docs in the READMEs (#1290)\n\n* docs: Point to the dictionary builder in the s2 README\n\nBuildS2Dict and builddict -format s2 exist, so the README no longer\nclaims there are no tools to create S2 dictionaries. Note the 64KB\nlimit, since the default -len is larger and BuildS2Dict rejects it.\n\n* docs: Document zstd raw dictionaries and the dictionary builder\n\nThe README only mentioned the zstd command line tool for building\ndictionaries. Mention WithEncoderDictRaw/WithDecoderDictRaw and the\ndict package.\n\n* docs: List the dict package in the README\n\n* docs: Fix stale dict README example and zcompat default\n\nThe import path was misspelled, the example used HashLen and ZstdCompat\ninstead of the HashBytes and ZstdDictCompat fields, and -zcompat\ndefaults to true.\n\n* docs: Use plural verb in zstd README dictionary sentence\n\n---------\n\nCo-authored-by: Aadharsh Pannirselvam \u003c19518661+oddharsh@users.noreply.github.com\u003e"
    },
    {
      "commit": "dac08ee4dc2c44140a925c8b0172a8067d31396e",
      "tree": "562160423f23821134b2280202e5a17252256d38",
      "parents": [
        "25c6160399b626cf381ad36cf629f098bf3e203a"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Tue Nov 03 11:40:02 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 03 11:40:02 2026"
      },
      "message": "s2: verify the CRC of chunk data kept after Skip (#1286)"
    },
    {
      "commit": "25c6160399b626cf381ad36cf629f098bf3e203a",
      "tree": "56520011ef4d730c5794e13c9c8cd564514f2389",
      "parents": [
        "48700052e5e9b5cbb3525e788bb678e15d1328a2"
      ],
      "author": {
        "name": "dependabot[bot]",
        "email": "49699333+dependabot[bot]@users.noreply.github.com",
        "time": "Tue Nov 03 11:36:21 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 03 11:36:21 2026"
      },
      "message": "build(deps): bump the github-actions group with 7 updates (#1298)\n\nBumps the github-actions group with 7 updates:\n\n| Package | From | To |\n| --- | --- | --- |\n| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.38.2` | `4.39.1` |\n| [github/codeql-action/autobuild](https://github.com/github/codeql-action) | `4.38.2` | `4.39.1` |\n| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.38.2` | `4.39.1` |\n| [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) | `7.2.3` | `7.3.0` |\n| [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.4.4` | `2.5.0` |\n| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.1` | `7.0.2` |\n| [github/codeql-action](https://github.com/github/codeql-action) | `4.38.2` | `4.39.1` |\n\n\nUpdates `github/codeql-action/init` from 4.38.2 to 4.39.1\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2...9b3254085494b55a0f7c4c2b3d2d52cc712ce370)\n\nUpdates `github/codeql-action/autobuild` from 4.38.2 to 4.39.1\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2...9b3254085494b55a0f7c4c2b3d2d52cc712ce370)\n\nUpdates `github/codeql-action/analyze` from 4.38.2 to 4.39.1\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2...9b3254085494b55a0f7c4c2b3d2d52cc712ce370)\n\nUpdates `goreleaser/goreleaser-action` from 7.2.3 to 7.3.0\n- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)\n- [Commits](https://github.com/goreleaser/goreleaser-action/compare/f06c13b6b1a9625abc9e6e439d9c05a8f2190e94...a4f02ab5355a589de60d917a659ce617ed19b3de)\n\nUpdates `ossf/scorecard-action` from 2.4.4 to 2.5.0\n- [Release notes](https://github.com/ossf/scorecard-action/releases)\n- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)\n- [Commits](https://github.com/ossf/scorecard-action/compare/v2.4.4...v2.5.0)\n\nUpdates `actions/upload-artifact` from 7.0.1 to 7.0.2\n- [Release notes](https://github.com/actions/upload-artifact/releases)\n- [Commits](https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2)\n\nUpdates `github/codeql-action` from 4.38.2 to 4.39.1\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/v4.38.2...v4.39.1)\n\n---\nupdated-dependencies:\n- dependency-name: github/codeql-action/init\n  dependency-version: 4.39.1\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: github/codeql-action/autobuild\n  dependency-version: 4.39.1\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: github/codeql-action/analyze\n  dependency-version: 4.39.1\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: goreleaser/goreleaser-action\n  dependency-version: 7.3.0\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: ossf/scorecard-action\n  dependency-version: 2.5.0\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: actions/upload-artifact\n  dependency-version: 7.0.2\n  dependency-type: direct:production\n  update-type: version-update:semver-patch\n  dependency-group: github-actions\n- dependency-name: github/codeql-action\n  dependency-version: 4.39.1\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n...\n\nSigned-off-by: dependabot[bot] \u003csupport@github.com\u003e\nCo-authored-by: dependabot[bot] \u003c49699333+dependabot[bot]@users.noreply.github.com\u003e"
    },
    {
      "commit": "48700052e5e9b5cbb3525e788bb678e15d1328a2",
      "tree": "35b5bb4461c9df44168687cf45dc77e7c6befa74",
      "parents": [
        "3c8f44eab7d6dfa844fa60e762c09c599b9b50a4"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Thu Oct 29 09:22:18 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Oct 29 09:22:18 2026"
      },
      "message": "flate: keep match history across small flushes (#1282)\n\n* flate: keep match history across small flushes\n\nAt levels 1-6 and custom window sizes, a Flush with fewer than 128\nbytes buffered wrote the block as stored or Huffman-only and reset the\nencoder, discarding the match history. Data written after the flush\ncould not reference data written before it, so streams that flush\noften compressed poorly.\n\nPass the window to Encode on every flush, since it adds the window to\nthe history even when it is too small to search. Skip Encode only for\na window under 128 bytes on Close with no history, so one-shot small\npayloads are unchanged, while a small last write or a small payload\nafter a dictionary is matched against the history.\n\nSee https://go.dev/issue/81542.\n\n* flate: test small flush history with a custom window"
    },
    {
      "commit": "3c8f44eab7d6dfa844fa60e762c09c599b9b50a4",
      "tree": "186ad6a6ddc78962896c3bb41da656e20a2dc68c",
      "parents": [
        "4bc1f08dc7c8043e74df2d7e6b2d0f1984bbb908"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Thu Oct 29 09:21:15 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Oct 29 09:21:15 2026"
      },
      "message": "gzhttp: don\u0027t pool a decoder while a Read is still using it (#1288)\n\nTransport\u0027s gzipReader and zstdReader returned their decoder to the pool\nfrom Close, even when a Read on the same body was still blocked inside\nit. net/http allows Close to be called during a Read to abort it.\n\nFor zstd, the blocked Read then called Reset on the nil decoder and\npanicked. For gzip, the next response took the same gzip.Reader from the\npool, and the first Read\u0027s connection error ended up on that unrelated\nresponse.\n\nThe decoder now goes back to the pool once both Close and any Read in\nprogress are done, and a Read after Close returns an error."
    },
    {
      "commit": "4bc1f08dc7c8043e74df2d7e6b2d0f1984bbb908",
      "tree": "547b8710f7bca08a2045a6ee504c4f9a365b2a7d",
      "parents": [
        "7cfdd8fb9c59ef8d6407801a284439036ab02a9f"
      ],
      "author": {
        "name": "Wleeaf",
        "email": "ts.solidarity@gmail.com",
        "time": "Mon Oct 26 13:12:09 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 26 13:12:09 2026"
      },
      "message": "gzhttp: keep Vary: Accept-Encoding when the handler sets Vary (#1284)\n\nThe wrapper adds \"Vary: Accept-Encoding\" before calling the handler, so a\nhandler that sets its own Vary with Header().Set(\"Vary\", ...) replaces it.\nThe response is then compressed without saying that it depends on\nAccept-Encoding, and a shared cache can serve the gzip body to a client\nthat does not accept it (RFC 9110 section 12.5.5).\n\nWhen compression starts, add Accept-Encoding to Vary unless it, or \"*\",\nis already listed.\n\nCo-authored-by: Wleeaf \u003c179125857+wleeaf@users.noreply.github.com\u003e"
    },
    {
      "commit": "7cfdd8fb9c59ef8d6407801a284439036ab02a9f",
      "tree": "5f95314e0af5308bc691c3c0f5e2d9a9e1498a51",
      "parents": [
        "62d757cd8e6fa111ee3e445071cb2273791372ce"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "lizf@honeycomb.io",
        "time": "Sun Oct 25 12:57:50 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Oct 25 12:57:50 2026"
      },
      "message": "huff0: promote the 4X loop\u0027s input pointers to registers on arm64 (#1277)\n\n* huff0: keep 4X input pointers in stack slots so arm64 promotes them\n\nThe 4X loops kept the four input pointers and the inner-loop limit in\nthe context struct, so every iteration loaded and stored each pointer\n(4 loads, 4 stores) and loaded the limit, on arm64 as well as amd64.\nThey now live in stack slots, ctx is re-read from the argument outside\nthe inner loop (freeing its register for a separate reload pointer\ntemporary), and huff0 is generated with -arm64-promote-stack-slots.\nOn arm64 the slots become registers and each reload folds to one SUB\nplus the window load: the 4X main inner loop goes from 151 to 142\ninstructions and from 13 to 4 non-table memory operations. amd64 keeps\nthe same memory operations plus one MOVQ per iteration for the limit\ncompare. The 1X loops are unchanged.\n\nNeoverse N1, 12 alternating rounds, PCALIGN-pinned, one core: huff0\n4X loops -1.18% geomean (18/19 cells faster, none slower); zstd\nDecodeAll -0.30% geomean, none slower.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* huff0: compare the 4X inner-loop limit against its slot directly\n\nLoading the limit into a register before the compare added one\ninstruction per iteration on amd64 and cost Zen 4 about 0.6% in the 4X\nloops. The arm64 promotion accepts the CMPQ read of the slot, so the\narm64 output is unchanged and amd64 is back to master\u0027s instruction\ncount.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "62d757cd8e6fa111ee3e445071cb2273791372ce",
      "tree": "357c9e3c0fda30a5ee58a4ce24c9b9d1b9bc06a4",
      "parents": [
        "35c6f98a5cb955b838d313596dd86c882a9f6d3f"
      ],
      "author": {
        "name": "Jille Timmermans",
        "email": "jille@hexon.nl",
        "time": "Wed Oct 21 15:58:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Oct 21 15:58:24 2026"
      },
      "message": "zstd: Don\u0027t retain pointers to decoded inputs in DecodeAll (#1273)\n\nI have a global *Decoder that\u0027s used for all decoding. The compressed\ninput is part of huge memory allocations which are kept alive with these\npointers.\n\nWritten by gpt-5.6-sol"
    },
    {
      "commit": "35c6f98a5cb955b838d313596dd86c882a9f6d3f",
      "tree": "40312d004e768021fd76bc850e8e3d7e646dafe9",
      "parents": [
        "c2cacb4dcf9fee5ca36f095ff2bc0314ead739ae"
      ],
      "author": {
        "name": "Andreï Basdereff",
        "email": "abasdereff@gmail.com",
        "time": "Wed Oct 21 12:41:03 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Oct 21 12:41:03 2026"
      },
      "message": "gzhttp: flush and hijack through http.ResponseController (#1272)"
    },
    {
      "commit": "c2cacb4dcf9fee5ca36f095ff2bc0314ead739ae",
      "tree": "e04381e5898eee041be89410696ea3e9f17a297b",
      "parents": [
        "6ce0477ba82ea7c89aa643767c98f2f589f7a2f9"
      ],
      "author": {
        "name": "Yang Bai",
        "email": "yangbai2026@gmail.com",
        "time": "Mon Oct 19 15:13:49 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 19 15:13:49 2026"
      },
      "message": "gzip: backport two standard library fixes (truncated header EOF, Write count) (#1270)\n\n* gzip: return io.ErrUnexpectedEOF for a header truncated in FNAME or FCOMMENT\n\nreadHeader passed readString\u0027s io.EOF through unchanged, so a header cut\noff inside the file name or comment looked like a clean end of input:\nNewReader returned io.EOF, as for an empty stream, and in multistream\nmode Read and WriteTo returned the earlier members\u0027 data with no error.\nThe other header fields already use noEOF.\n\nBackport of https://go.dev/cl/389034 (golang/go#51417).\n\n* gzip: do not count header bytes in Writer.Write\n\nWhen the underlying writer failed while the header was being written,\nWrite returned the number of header bytes written, which can be more\nthan len(p). io.Copy from a strings.Reader or bytes.Reader then panics\n(\"invalid WriteString count\"), and bufio.Writer\u0027s buffered count goes\nnegative. Return 0 until p itself is written.\n\nBackport of https://go.dev/cl/103861 (golang/go#24625).\n\n* gzip: return io.ErrShortWrite for a short header write\n\n* gzip: check for short writes in the header helpers\n\n---------\n\nCo-authored-by: ybai08 \u003c271969568+ybai08@users.noreply.github.com\u003e"
    },
    {
      "commit": "6ce0477ba82ea7c89aa643767c98f2f589f7a2f9",
      "tree": "66a1c54082bf89e9b0c495223fc2a79f4f0bda61",
      "parents": [
        "2033f3fd935ffe2fc68fecfa9033619a6ca367bf"
      ],
      "author": {
        "name": "Yang Bai",
        "email": "yangbai2026@gmail.com",
        "time": "Mon Oct 19 11:31:06 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 19 11:31:06 2026"
      },
      "message": "zip: accept 0xFFFFFFFF sizes and offsets without a Zip64 extra (#1267)\n\nInfo-ZIP writes a 32-bit compressed size or local header offset of\nexactly 0xFFFFFFFF as a literal value and adds no Zip64 extra field,\nsince the value fits. The reader returned ErrFormat for such entries,\nso a stored file of 4GiB-1 bytes, or an entry whose header starts at\noffset 0xFFFFFFFF, could not be opened.\n\nUse the 32-bit value when no Zip64 extra overrides it, as Go 1.27\u0027s\narchive/zip does. The two goldens come from the standard library\u0027s\ntestdata/zip64.\n\nCo-authored-by: ybai08 \u003c271969568+ybai08@users.noreply.github.com\u003e"
    },
    {
      "commit": "2033f3fd935ffe2fc68fecfa9033619a6ca367bf",
      "tree": "88962781669c70a79f4e06c470c8744ee6e3c9da",
      "parents": [
        "920bb4bcc0188e341ce7655cd2bc96b164cd6c56"
      ],
      "author": {
        "name": "Spicy Shark",
        "email": "321699413+spicysharkco@users.noreply.github.com",
        "time": "Mon Oct 19 10:13:32 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 19 10:13:32 2026"
      },
      "message": "gzip: write and read a zero MTIME for a zero ModTime (#1268)\n\nHeader.ModTime defaults to the zero time.Time. Writer encoded it as\nuint32(time.Time{}.Unix()), which is 0x886e0900, so a stream written\nwithout a ModTime carried a modification time in the year 2042. Reader\ndid the reverse: an MTIME of 0 was reported as the Unix epoch instead\nof the zero time.\n\nRFC 1952 section 2.3.1 says an MTIME of 0 means the time is not set.\nGo 1.8 changed compress/gzip to write 0 for a zero ModTime and to read\n0 as a zero ModTime. Do the same here.\n\nTestEmpty now also checks that the header read back from a stream\nwritten without a ModTime is Header{OS: 255}, as the standard library\ntest does."
    },
    {
      "commit": "920bb4bcc0188e341ce7655cd2bc96b164cd6c56",
      "tree": "ff6222e50771158c5ae9df0ccb7cb45463ad8841",
      "parents": [
        "6de8e38778cd78c5dcebf645a29e017ab2e84b6d"
      ],
      "author": {
        "name": "Grivn",
        "email": "grivn.wang@gmail.com",
        "time": "Fri Oct 16 10:41:45 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Oct 16 10:41:45 2026"
      },
      "message": "zstd: preserve stream state when resetting options (#1266)\n\n(1) Preserve the current stream while resetting encoder options (e470023b55bf).\n\nWith concurrent blocks enabled, adding a dictionary in `ResetWithOptions` disables the job shutdown path before the old jobs finish. Those jobs can then write compressed blocks to the new destination, producing a stream that fails to decode with `invalid input: magic number mismatch`.\n\nAn option error can also leave partial changes behind. For example, `WithEncoderCRC(false)` followed by a rejected concurrency change removes the checksum from a frame whose header still requires it.\n\nApply options to a copy first, then finish pending compression and writes before publishing the new options or replacing the encoder. Failed option validation leaves the current stream unchanged.\n\nRegression tests:\n\n- `zstd/enc_jobs_test.go`: block the old destination while resetting, then check worker shutdown and round-trip the new stream, with and without parallel jobs and a dictionary.\n- `zstd/encoder_options_test.go`: reject a concurrency change after a CRC change, then finish and decode the original stream.\n\nBoth failure cases reproduce before the fix. Validation on macOS arm64:\n\n- Targeted race tests on Go 1.25.4, 1.26.8 and 1.27.2; 20 repeated runs on Go 1.27.2.\n- Go 1.27.2: `go test ./...`, `go test -tags\u003dnoasm ./...`, and `go test -short -race -tags\u003dnounsafe ./...` with `-cpu\u003d1` and `-cpu\u003d4`.\n- `go vet ./...`, `go fix -diff ./...`, `gofmt` and `git diff --check`.\n\n\n\u003c!-- This is an auto-generated comment: release notes by coderabbit.ai --\u003e\n\n## Summary by CodeRabbit\n\n* **Bug Fixes**\n  * Resetting a stream now waits for pending writes and encoding work to finish before switching configurations, preventing data from the old stream from leaking into the new one.\n  * If reset options are invalid, the existing stream remains usable and its data is preserved.\n\n\u003c!-- end of auto-generated comment: release notes by coderabbit.ai --\u003e"
    },
    {
      "commit": "6de8e38778cd78c5dcebf645a29e017ab2e84b6d",
      "tree": "63d722c98de9cb4dde36cc827301875f69ffb069",
      "parents": [
        "b43b8dcc07965f93d76839638cf7bd8bfaae86de"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Wed Oct 14 12:02:59 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Oct 14 12:02:59 2026"
      },
      "message": "flate: Fix stateless EOF on large writes. (#1265)\n\nFixes `StatelessDeflate(w, data, true, dict)` with non-empty data long enough to be split into more than one internal block (more than 32 KB, or about 24 KB with a dictionary) missing EOF blocks.\n\nReported by OSS-fuzz"
    },
    {
      "commit": "b43b8dcc07965f93d76839638cf7bd8bfaae86de",
      "tree": "1d1a7f648f0b7d0ff61de6e1cf32a791db7c00b2",
      "parents": [
        "f9c34280cd4de53e41ed3cf61c11efb6a1370794"
      ],
      "author": {
        "name": "Shai",
        "email": "66793913+Shaisolaris@users.noreply.github.com",
        "time": "Wed Oct 14 12:02:40 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Oct 14 12:02:40 2026"
      },
      "message": "gzhttp: let \"*\" in Accept-Encoding select gzip or zstd (#1263)\n\n* gzhttp: let \"*\" in Accept-Encoding select gzip or zstd\n\nA request with \"Accept-Encoding: *\" was served uncompressed, because\nonly entries naming gzip or zstd were looked at.  RFC 9110 section\n12.5.3 says \"*\" matches any coding not listed in the field.\n\nUse the quality of \"*\" when the coding is not named.  An entry that\nnames the coding still takes precedence, in either order, so\n\"*, zstd;q\u003d0\" selects gzip.  parseEncodingGzip now shares\nparseEncodingQValue.\n\n* gzhttp: put Accept-Encoding \"*\" handling behind AcceptWildcards option\n\n---------\n\nCo-authored-by: Shai \u003cshai@Shais.local\u003e"
    },
    {
      "commit": "f9c34280cd4de53e41ed3cf61c11efb6a1370794",
      "tree": "57b8d128a0a3fac69c4cd9327d2a9d3bf6c111c7",
      "parents": [
        "1974577b19ef1edd312803ff61b11cf86f870b33"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Tue Oct 13 08:35:39 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Oct 13 08:35:39 2026"
      },
      "message": "flate: build unrestricted Huffman trees before limiting lengths (#1219)\n\n* flate: build unrestricted Huffman trees before limiting lengths\n\nBackport of https://go.dev/cl/829569 (golang/go#81398).\n\nbitCounts computes optimal length-limited code lengths directly, but it\ncosts O(symbols * maxBits) with poorly predicted branches, and for the\nliteral alphabet it accounts for a large share of Huffman-only encoding\ntime.\n\nInstead, first build an ordinary Huffman tree over the frequency-sorted\nsymbols using the linear time two-queue method and count the leaf\ndepths. The result is optimal and, for the block sizes used here,\nalmost never exceeds the 15-bit (or 7-bit, for the code length\nalphabet) limit. Only when it does, fall back to bitCounts.\n\nThis adds ~2.3KB of scratch space to each huffmanEncoder.\n\nNOTE: this is the only CL in the series that changes the output. The\ngenerated code lengths can differ when several optimal trees exist, so\nthe golden test files are regenerated. Measured over e.txt, Tom Sawyer,\ngettysburg.txt, pi.txt, sharnd.out and the huffman-* test inputs at\nevery level, total compressed size goes from 3748412 to 3748348 bytes\n(-0.0017%); the worst single regression is +1 byte on a 768 byte file\n(gettysburg.txt at level 4) and the best improvement is -3 bytes on a\n240 byte file.\n\nAdd tests checking that the generated codes are complete prefix codes\nwithin the length limit, and that they are as short as those from the\nlength-limited construction whenever the tree construction is used.\n\n```\ngoos: windows\ngoarch: amd64\npkg: github.com/klauspost/compress/flate\ncpu: AMD Ryzen 9 9950X 16-Core Processor\n                     │    master    │            cl-829569            │\n                     │    sec/op    │   sec/op     vs base                │\nPR/Digits/Huffman-32    804.3µ ± 1%   740.8µ ± 1%   -7.89% (p\u003d0.000 n\u003d15)\nPR/Digits/L1-32         4.731m ± 1%   4.664m ± 1%   -1.42% (p\u003d0.009 n\u003d15)\nPR/Digits/L4-32         5.518m ± 2%   5.576m ± 2%        ~ (p\u003d0.098 n\u003d15)\nPR/Digits/L6-32         7.879m ± 5%   7.926m ± 1%        ~ (p\u003d0.775 n\u003d15)\nPR/Digits/L7-32         14.54m ± 3%   14.76m ± 2%        ~ (p\u003d0.148 n\u003d15)\nPR/Digits/L9-32         32.37m ± 3%   32.38m ± 1%        ~ (p\u003d0.389 n\u003d15)\nPR/Twain/Huffman-32    1050.6µ ± 3%   832.4µ ± 3%  -20.77% (p\u003d0.000 n\u003d15)\nPR/Twain/L1-32          4.726m ± 2%   4.613m ± 2%   -2.40% (p\u003d0.000 n\u003d15)\nPR/Twain/L4-32          5.944m ± 1%   5.884m ± 1%   -1.00% (p\u003d0.037 n\u003d15)\nPR/Twain/L6-32          7.773m ± 3%   7.713m ± 2%        ~ (p\u003d0.174 n\u003d15)\nPR/Twain/L7-32          17.70m ± 2%   17.65m ± 2%        ~ (p\u003d0.838 n\u003d15)\nPR/Twain/L9-32          36.68m ± 1%   36.68m ± 1%        ~ (p\u003d0.967 n\u003d15)\ngeomean                 6.898m        6.704m        -2.81%\n\n                     │     B/s      │      B/s       vs base                │\nPR/Digits/Huffman-32   1.158Gi ± 1%    1.257Gi ± 1%   +8.57% (p\u003d0.000 n\u003d15)\nPR/Digits/L1-32        201.6Mi ± 1%    204.5Mi ± 1%   +1.44% (p\u003d0.008 n\u003d15)\nPR/Digits/L4-32        172.8Mi ± 2%    171.0Mi ± 2%        ~ (p\u003d0.095 n\u003d15)\nPR/Digits/L6-32        121.0Mi ± 5%    120.3Mi ± 1%        ~ (p\u003d0.767 n\u003d15)\nPR/Digits/L7-32        65.58Mi ± 3%    64.60Mi ± 2%        ~ (p\u003d0.148 n\u003d15)\nPR/Digits/L9-32        29.47Mi ± 3%    29.45Mi ± 1%        ~ (p\u003d0.389 n\u003d15)\nPR/Twain/Huffman-32    907.7Mi ± 3%   1145.6Mi ± 3%  +26.21% (p\u003d0.000 n\u003d15)\nPR/Twain/L1-32         201.8Mi ± 2%    206.7Mi ± 2%   +2.46% (p\u003d0.000 n\u003d15)\nPR/Twain/L4-32         160.4Mi ± 1%    162.1Mi ± 1%   +1.01% (p\u003d0.037 n\u003d15)\nPR/Twain/L6-32         122.7Mi ± 3%    123.6Mi ± 1%        ~ (p\u003d0.164 n\u003d15)\nPR/Twain/L7-32         53.87Mi ± 2%    54.03Mi ± 2%        ~ (p\u003d0.847 n\u003d15)\nPR/Twain/L9-32         26.00Mi ± 1%    26.01Mi ± 1%        ~ (p\u003d0.976 n\u003d15)\ngeomean                138.3Mi         142.3Mi        +2.89%\n```\n\nOriginal-Author: Alex Gaynor \u003calex.gaynor@gmail.com\u003e\n\nCo-Authored-By: Claude Opus 5 (1M context) \u003cnoreply@anthropic.com\u003e\n\n* Update tests.\n\n---------\n\nCo-authored-by: Claude Opus 5 (1M context) \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "1974577b19ef1edd312803ff61b11cf86f870b33",
      "tree": "9301ce3de4394aba4a505714a1501056fa4b05e4",
      "parents": [
        "dd49be439f65a7a8a55c4e0a52f8b387741fb808"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "elizabeth@ctyalcove.org",
        "time": "Mon Oct 12 12:29:55 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 12 12:29:55 2026"
      },
      "message": "zstd, huff0: faster pure-Go decoders (#1256)\n\n* huff0: refill the Go 4X streams without a branch\n\nThe pure-Go Decompress4X loop for table logs 9-11 kept its four\nreaders in an array on the stack and refilled each with a\nconditional 32-bit load every two symbols.\n\nEach stream\u0027s state is now held by value, and refilled once per four\nsymbols with one load and no branch: value \u003d Load64(in, off) \u003c\u003c bits\nafter moving off back by the whole bytes consumed, the refill the\n#1210 1X assembly uses. 57 bits cover four symbols of up to 11 bits,\nand the loop runs while every stream has 8 bytes left, so a refill\nnever moves before the start of its stream.\n\nTable logs up to 8 keep the 8-bit loops: on Zen 3 routing them through\nthis loop was 9% slower.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: copy overlapping matches in doubling spans in Go\n\nThe Go decoders copied matches that overlap their own output one byte\nat a time. On log data that is a large share of the output (half of\nthe bytes of apache.log at -19), and the speed of such a one-byte loop\ndepends on where it lands relative to a 64-byte boundary: once the\nloops around it changed, the multithreaded apache decode was 16-25%\nslower on Zen 3/4 at two of the four 32-byte placements of\nexecuteSimple and unchanged at the other two.\n\noverlapCopy repeats the bytes already written, doubling the span with\neach copy, so a match takes about log2(length/offset) copies. It is\nused by decodeSync, execute and the Go executeSimple.\n\nTestOverlapCopy (seqdec_test.go) checks it against a bytewise copy.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: copy matches and read sequences without calls in the Go decoders\n\nThe pure-Go sequence loops (decodeSync, the two-pass decode, execute\nand executeSimple) appended or copied every literal run and match with\na memmove call, and read and wrote the bit reader, repeat offsets and\nliterals through pointers. Go has no callee-saved registers, so the\ncalls forced every loop variable through the stack on each sequence;\nkeeping the state in locals alone made decodeSync 5% slower. Removing\nthe calls is what lets the locals stay in registers.\n\n- Matches that copy from earlier output they do not overlap, from\n  inside the history, or from inside the dictionary are copied in the\n  loop. matchSource picks the source and checks the bounds. Sequences\n  with at most 16 literal and 16 match bytes and 16 bytes of spare\n  capacity use two fixed 16-byte copies, the pure-Go form of the\n  assembly\u0027s short-sequence path; longer ones use two copy calls.\n  Everything else (overlap, a match spanning history and output,\n  growth, errors) goes through executeSeq, the old decodeSync code\n  moved out of the loop.\n- The bit reader\u0027s changing fields move into a 24-byte bitReadState\n  with by-value methods (bitReader is too big for the compiler to keep\n  in registers), held in locals with the repeat offsets and literals\n  and written back on success. Every sequence uses the inline read, so\n  sequences in the last bytes of the bitstream no longer go through\n  next(); next and fillFast are removed.\n\nTests (seqdec_test.go): TestMatchSource checks each bound of\nmatchSource; TestExecuteShortSequences checks execute and executeSimple\nagainst a bytewise reference at every spare capacity from 0 to 32\nbytes, with and without a dictionary, and that an offset before the\ndictionary is still an error; TestDecoderShortSequenceCopies gains\noffsets 1..40 and runs the Go decodeSync.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "dd49be439f65a7a8a55c4e0a52f8b387741fb808",
      "tree": "8cca69fbe93d26a40a7fa2745609deb7bf78dfa6",
      "parents": [
        "b946d41b75cee10ea255ced85179e5224748a023"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "elizabeth@ctyalcove.org",
        "time": "Mon Oct 12 12:19:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 12 12:19:22 2026"
      },
      "message": "zstd, huff0, s2: bump the avo arm64 lowering; keep zstd stack slots in registers (#1248)\n\n* zstd, huff0, s2: bump the avo arm64 lowering\n\nMove all three generators to the same honeycombio/avo commit. zstd and\nhuff0 regenerate byte-identically. s2 was on an older commit and picks\nup the shift source fold: 94 register copies into a shift become\nthree-operand LSL/LSR.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: keep arm64 sequence decoder stack slots in registers\n\nGenerate the arm64 sequence decoders with -arm64-promote-stack-slots:\nthe frame slots the amd64 program uses for want of registers live in\nspare arm64 registers instead, and the loads and stores around them are\nfolded away. amd64 output is unchanged.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd, huff0, s2: move the avo pin to the current lowering\n\nThe new commit drops a jump to the next label across PCALIGN padding.\nNone of these generators emits that shape, so every generated file is\nunchanged; this keeps the pin on the lowering\u0027s current trunk.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "b946d41b75cee10ea255ced85179e5224748a023",
      "tree": "bfab33ff2ca2f0bd37a3d84c82bbb9b8566a8abf",
      "parents": [
        "748550b77336a1720b51f574d344ab98422c5e2a"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Mon Oct 12 09:19:21 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 12 09:19:21 2026"
      },
      "message": "Revert #1255 (#1261)\n\nRevert \"gzhttp: do not compress 206 responses without Content-Range, read Accept-Encoding across field lines (#1255)\"\n\nTestGzipHandlerMultipleRanges test is unstable.\n\nThis reverts commit d189b4c2eb01cb5bd3d7c4a4b7e8ac9b02e88281."
    },
    {
      "commit": "748550b77336a1720b51f574d344ab98422c5e2a",
      "tree": "34e3678a794c3c3bd7c94c1a5110704ae98da294",
      "parents": [
        "dd54d8695696369d9504c9661f3e476a8a69a84a"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Mon Oct 12 08:35:05 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Oct 12 08:35:05 2026"
      },
      "message": "Merge commit from fork\n\n* fse: reject normalized counts that do not fit in int16\n\nreadNCount accepts tableLog 15, where one symbol can be given all 1\u003c\u003c15\nstates. That count was stored in norm as int16 -32768, so buildDtable\nspread no symbols, the position check still passed, and the decoding\ntable kept the cells of the previous table decoded on the same Scratch.\nCells with nbBits 0 then reached nextFast, which read 16 junk bits into\nthe state and indexed past the table.\n\nzstd reaches this through huff0.ReadTable, whose fse Scratch is kept\nbetween blocks and comes back from huffDecoderPool in the next frame, so\ncrafted input panics DecodeAll and the streaming decoder. The streaming\ndecoder panics on its own goroutine, where callers cannot recover.\n\nA symbol filling the whole table cannot be decoded at any tableLog, so\nreject the count before it is truncated. crash4, crash5 and crash6 in\nTestDecompress are this overflow; with a fresh Scratch they failed\nfurther on, crash6 in the newState guard added by #151.\n\nTests: TestDecompressCountOverflow (fse/fse_test.go) and\nTestDecoderHuffWeightsTableLog (zstd/decoder_test.go) panic without\nthe fix.\n\n* huff0: limit the FSE tableLog of Huffman weights to 6\n\nRFC 8878 limits the accuracy log of FSE-compressed Huffman weights to 6\nand the reference decoder rejects larger tables, so no valid stream uses\nthem. Reject them in ReadTable before decoding. A weight table can then\nno longer make fse build a 1\u003c\u003c15 entry table for at most 255 weights.\n\nThe only entry in decompress1x_regression.zip stored its weights with\ntableLog 15. It is re-encoded with raw weights: the Huffman table and\npayload are unchanged, and Decompress1X still fails with \"maximum output\nsize exceeded\".\n\nTest: TestReadTableWeightsTableLog (huff0/decompress_test.go).\n\n* fse: check accepted counts in FuzzDecompress\n\nFuzzDecompress only looked for panics. The int16 count overflow returned\nan error on a fresh Scratch, so inputs that hit it, one of them in the\nseed corpus, never failed. Run readNCount on every input and require the\naccepted counts to fill the table, which buildDtable relies on. Without\nthe readNCount fix this fails on seed#2 of fse_decompress.zip.\n\nvalidateNorm added -v for every negative count, which let a wrapped\n-32768 pass as 32768. Count a negative entry as one cell, as buildDtable\ndoes for -1. Its only callers are FuzzCompress and a disabled check in\nCompress.\n\nTest: FuzzDecompress (fse/fuzz_test.go)."
    },
    {
      "commit": "dd54d8695696369d9504c9661f3e476a8a69a84a",
      "tree": "94aa8fed586f1303185c6a8484414b1630aaa63a",
      "parents": [
        "d189b4c2eb01cb5bd3d7c4a4b7e8ac9b02e88281"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "elizabeth@ctyalcove.org",
        "time": "Thu Oct 08 07:50:19 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Oct 08 07:50:19 2026"
      },
      "message": "huff0: reuse Scratch across inputs in the fuzzers (#1257)\n\n* huff0: do not pin each Scratch with its own buffer pool\n\nScratch embedded the sync.Pool holding the decoders\u0027 [4][256]byte\nbuffers. The runtime keeps every pool it has seen until the second GC\nafter its first use, and a pool inside a struct keeps the whole struct\nreachable, so a discarded Scratch and its 256 KiB Decompress1X output\nbuffer stayed live for two GC cycles. Creating a Scratch per block, as\nFuzzCompress does, grew the heap until the fuzz worker was OOM-killed\nunder noasm.\n\nThe buffers carry no per-Scratch state; use one package-level pool.\n\nTestDecoderDoesNotPinScratch (decompress_test.go) fails on the old code\nin both builds and passes now.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* huff0: reuse Scratch in the fuzzers instead of moving the buffer pool\n\nPer review, the per-block Scratch in the fuzz harnesses is the problem,\nnot the library. Restore the per-Scratch decoder pool and have\nFuzzCompress and FuzzDecompress1x keep their Scratches across inputs,\nas zstd does. FuzzCompress clears prevTable per input so the 1X call\nstill starts without a table to reuse.\n\ngo test -tags noasm -fuzz FuzzCompress ./huff0 for 5 minutes: peak\nworker RSS 275 MB, no OOM (previously 2.5-3.1 GB within a minute).\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* Update huff0/fuzz_test.go\n\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\nCo-authored-by: Klaus Post \u003cklauspost@gmail.com\u003e"
    },
    {
      "commit": "d189b4c2eb01cb5bd3d7c4a4b7e8ac9b02e88281",
      "tree": "f1075b43cf32a4acb56f45b4990ec77894748d90",
      "parents": [
        "6b9199594fc567d83deacdcea4d0130df249109a"
      ],
      "author": {
        "name": "Suliman Abdulrazzaq",
        "email": "144490671+SulimanAbdulrazzaq@users.noreply.github.com",
        "time": "Sun Oct 04 11:55:17 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Oct 04 11:55:17 2026"
      },
      "message": "gzhttp: do not compress 206 responses without Content-Range, read Accept-Encoding across field lines (#1255)\n\n* gzhttp: do not compress 206 responses without Content-Range\n\nA single range is answered with a Content-Range header, and responses that have\none are already passed through uncompressed. The multipart/byteranges answer to\na request for several ranges (as written by http.ServeContent) has no\nContent-Range header, so it was compressed: the client got a 206 with\n\"Content-Encoding: gzip\" and Accept-Ranges removed, although the ranges in its\nparts refer to the uncompressed representation.\n\nTreat the 206 status like the Content-Range header in Write, Flush and Close.\n\n* gzhttp: read Accept-Encoding across field lines\n\nA client may split one Accept-Encoding list over several field lines, which\nmeans the same as the joined comma list (RFC 9110, section 5.3). selectEncoding\nand acceptsGzip used Header.Get, which only returns the first line, so\n\"Accept-Encoding: deflate\" followed by \"Accept-Encoding: gzip\" was answered\nwithout compression, and a later q-value such as \"zstd;q\u003d0\" was ignored.\n\nJoin the field lines before parsing, the same way the request Content-Encoding\nis already read, and share the helper between the two.\n\n* gzhttp: remove the unused acceptsGzip"
    },
    {
      "commit": "6b9199594fc567d83deacdcea4d0130df249109a",
      "tree": "24e2021199e8a485ac2a201d4105b56dbc307d98",
      "parents": [
        "402c3a567166a64c1af49735f7f5f40178e48ebd"
      ],
      "author": {
        "name": "Liz Fong-Jones",
        "email": "lizf@honeycomb.io",
        "time": "Fri Oct 02 18:41:58 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Oct 02 18:41:58 2026"
      },
      "message": "zstd, huff0: keep the encoder bit writers in registers (#1245)\n\n* zstd: add BenchmarkEncoderCorpus\n\nEncodes each file in the directory named by ZSTD_CORPUS with EncodeAll on\none goroutine at every level, CRC off, and reports the compression ratio\nalongside speed. The encoder counterpart of BenchmarkCorpus, for use with\nthe real-world corpora at https://klauspost.com/files/compress/.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* zstd: keep the sequence bit writer in registers\n\nblockEnc.encode wrote every FSE state and extra-bits field through the\nbitWriter held in the block (wr :\u003d \u0026b.wr), so the container and bit count\nwere loaded and stored around each addBits, and every flush32 carried an\nappend with a growslice path. On arm64 that was ~20% of SpeedFastest\nencode time.\n\nKeep the container, bit count, output position and the three states in\nlocals, and flush the way libzstd does: store 8 bytes unconditionally and\nadvance by whole bytes. Capacity is checked once per run of sequences\n(12 bytes per sequence plus the store\u0027s slack), so the buffer only grows\nwhen the output would have.\n\nThe bitstream is unchanged: output is byte-identical to before for every\nlevel on the real-world corpora. The rare split for sequences with more\nthan 56 extra bits (offsets over 2^24 with long literal and match\nlengths) is covered by TestEncoderLongOffsetSequence.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* huff0: keep the compress bit writer in registers\n\ncompress1xDo\u0027s bitWriter lived on the stack because flush32 appends with\na growslice path, so the container and bit count were reloaded and\nstored for every four symbols. Keep them in locals and flush with an\nunconditional 8-byte store, checking capacity once per run of symbols.\n\nAfter such a flush at most 7 bits remain, and four symbols add at most\n4*tableLogMax \u003d 44 bits, so the separate two-symbol path for table logs\nabove 8 is no longer needed. Output is byte-identical.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n* fixup! zstd: keep the sequence bit writer in registers\n\n* fixup! huff0: keep the compress bit writer in registers\n\n* zstd, huff0: mask the bit writer shifts with regmask\n\nFrom review: use the regmask constants instead of literal masks, so 386\ndoes not pay for masking it does not need. amd64 and arm64 code is\nunchanged.\n\nCo-Authored-By: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e\n\n---------\n\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e"
    },
    {
      "commit": "402c3a567166a64c1af49735f7f5f40178e48ebd",
      "tree": "cd0b4507b2079c9e0cd9c67f9e987ad7c01f863b",
      "parents": [
        "29f5f81f681bb2af88ca81956346288d677a648e"
      ],
      "author": {
        "name": "Raghuvardhan-Reddy78",
        "email": "raghuvardhan@labs.digiscrypt.com",
        "time": "Fri Oct 02 14:41:11 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Oct 02 14:41:11 2026"
      },
      "message": "s2: Reject short index chunk in RemoveIndexHeaders (#1254)"
    },
    {
      "commit": "29f5f81f681bb2af88ca81956346288d677a648e",
      "tree": "c524e9a1da34276d6e43ea59044d3cd7e8c27c1d",
      "parents": [
        "9b8ba6149408b157131b52e424ef97470ced32f7"
      ],
      "author": {
        "name": "dependabot[bot]",
        "email": "49699333+dependabot[bot]@users.noreply.github.com",
        "time": "Fri Oct 02 09:25:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Oct 02 09:25:25 2026"
      },
      "message": "build(deps): bump the github-actions group with 4 updates (#1252)\n\nBumps the github-actions group with 4 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/autobuild](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action](https://github.com/github/codeql-action).\n\n\nUpdates `github/codeql-action/init` from 4.37.9 to 4.38.2\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/cdf488f595d80d6e07e03d4674febd5ab45fa938...2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2)\n\nUpdates `github/codeql-action/autobuild` from 4.37.9 to 4.38.2\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/cdf488f595d80d6e07e03d4674febd5ab45fa938...2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2)\n\nUpdates `github/codeql-action/analyze` from 4.37.9 to 4.38.2\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/cdf488f595d80d6e07e03d4674febd5ab45fa938...2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2)\n\nUpdates `github/codeql-action` from 4.37.9 to 4.38.2\n- [Release notes](https://github.com/github/codeql-action/releases)\n- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/github/codeql-action/compare/v4.37.9...v4.38.2)\n\n---\nupdated-dependencies:\n- dependency-name: github/codeql-action/init\n  dependency-version: 4.38.2\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: github/codeql-action/autobuild\n  dependency-version: 4.38.2\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: github/codeql-action/analyze\n  dependency-version: 4.38.2\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n- dependency-name: github/codeql-action\n  dependency-version: 4.38.2\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n  dependency-group: github-actions\n...\n\nSigned-off-by: dependabot[bot] \u003csupport@github.com\u003e\nCo-authored-by: dependabot[bot] \u003c49699333+dependabot[bot]@users.noreply.github.com\u003e"
    },
    {
      "commit": "9b8ba6149408b157131b52e424ef97470ced32f7",
      "tree": "736587896d5b2bf6d2c686ec163b6a133142c400",
      "parents": [
        "da4df9cb2b3ca4fe6b813acd710711fd7b5c0dbc"
      ],
      "author": {
        "name": "Klaus Post",
        "email": "klauspost@gmail.com",
        "time": "Wed Sep 30 08:46:46 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Sep 30 08:46:46 2026"
      },
      "message": "dict: Stricter input validation (#1250)\n\nReject unusable inputs to dictionary builder."
    }
  ],
  "next": "da4df9cb2b3ca4fe6b813acd710711fd7b5c0dbc"
}
