← Back to Pull requests

Update module github.com/klauspost/compress to v1.20.5 #1382

Closed
unknown closed this pull request without merging on Nov 24, 2026 19:27 UTC
View on GitHub
unknown unknown commented on Nov 20, 2026 14:18 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/klauspost/compress | v1.20.4 → v1.20.5 | !age | !confidence |

---

Release Notes

<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>

v1.20.5

Compare Source

What's Changed

  • flate: count the whole window for the level 9 literal cost estimate by @&#8203;yxshee in #&#8203;1306

  • gzhttp: return buffered write errors from FlushError by @&#8203;yxshee in #&#8203;1310

  • xpress: reject a Huffman match that runs past the declared size by @&#8203;yxshee in #&#8203;1309

  • flate: keep the reader failed after WriteTo short write by @&#8203;CJstate in #&#8203;1304

  • s2: omit empty indexes and check stream bounds by @&#8203;yxshee in #&#8203;1311

  • gzip: mark reader ended after WriteTo of a single stream by @&#8203;CJstate in #&#8203;1302

  • gzhttp: preserve status selected by buffered writes by @&#8203;hakarrr in #&#8203;1318

  • zip: honor zipinsecurepath set by //go:debug or go.mod godebug by @&#8203;Raghuvardhan-Reddy78 in #&#8203;1319

  • gzip: report short writes of the CRC/ISIZE footer from Close by @&#8203;CJstate in #&#8203;1316

  • zstd: state that encoder output is only stable within one version by @&#8203;lizthegrey in #&#8203;1314

  • zstd: faster and smaller small frames with dictionaries by @&#8203;spotdemo4 in #&#8203;1280

  • s2, zstd: consume bytes.Buffer input in ReadFrom and Decoder.Reset by @&#8203;klauspost in #&#8203;1320

  • s2: report truncated skippable chunks read by a callback by @&#8203;Raghuvardhan-Reddy78 in #&#8203;1326

  • flate: fix inflate checkpoints after stored blocks and at the final block by @&#8203;klauspost in #&#8203;1327

  • s2/cmd: Harden CLI output creation and self-extractor tar extraction by @&#8203;deepnemesis in #&#8203;1297

  • s2: report ErrCorrupt when skippable callback returns io.EOF on truncated stream (#&#8203;1330) by @&#8203;Yshuro in #&#8203;1331

  • gzhttp: do not compress 206 responses without Content-Range, read Accept-Encoding across field lines by @&#8203;waw666waw666 in #&#8203;1332

  • s2: clear stream type when resetting Reader by @&#8203;anishpentyala in #&#8203;1324

  • s2c: return failure for stdin-to-stdout stream errors by @&#8203;perfloop-agent in #&#8203;1328

  • flate: clear the decoding table for an empty Huffman code by @&#8203;klauspost in #&#8203;1334

  • zstd: don't return stale output when sequence execution fails by @&#8203;klauspost in #&#8203;1335

  • flate: reject a checkpoint BitOffset above 7 by @&#8203;Raghuvardhan-Reddy78 in #&#8203;1325
  • New Contributors

  • @&#8203;hakarrr made their first contribution in #&#8203;1318

  • @&#8203;spotdemo4 made their first contribution in #&#8203;1280

  • @&#8203;deepnemesis made their first contribution in #&#8203;1297

  • @&#8203;Yshuro made their first contribution in #&#8203;1331

  • @&#8203;waw666waw666 made their first contribution in #&#8203;1332

  • @&#8203;anishpentyala made their first contribution in #&#8203;1324

  • @&#8203;perfloop-agent made their first contribution in #&#8203;1328
  • Full Changelog: <https://github.com/klauspost/compress/compare/v1.20.4...v1.20.5>

    </details>

    ---

    Configuration

    📅 Schedule: (in timezone UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR was generated by Mend Renovate. View the repository job log.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNDkuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: mtrmac Review duration: 6068m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1382"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%