← Back to Pull requests

chore(deps): Bump pypdf from 6.21.2 to 6.21.4 #1356

Closed
unknown closed this pull request without merging on Nov 06, 2026 16:04 UTC
View on GitHub
unknown unknown commented on Nov 06, 2026 15:37 UTC
Author

Bumps pypdf from 6.21.2 to 6.21.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/py-pdf/pypdf/releases">pypdf's releases</a>.</em></p>
<blockquote>
<h2>Version 6.21.4, 2026-10-28</h2>
<h2>What's new</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Limit the number of copied page attributes during flattening (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4290">#4290</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
<li>Detect EOF when reading standard xref table trailer (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4289">#4289</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
<li>Fix loop detection when cloning DictionaryObject (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4288">#4288</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
</ul>
<h3>Documentation (DOC)</h3>
<ul>
<li>Exclude performance issues from security reports (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4280">#4280</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.3...6.21.4">Full Changelog</a></p>
<h2>Version 6.21.3, 2026-10-27</h2>
<h2>What's new</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Use the validated page count after decrypting a document (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4270">#4270</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
<li>Limit total number of cross-reference stream entries (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4269">#4269</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
<li>Avoid excessive error messages (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4265">#4265</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
</ul>
<h3>Performance Improvements (PI)</h3>
<ul>
<li>Read flat page label number trees once for all pages (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4251">#4251</a>) by <a href="https://github.com/kholdrex"><code>@​kholdrex</code></a></li>
<li>Collect the named destinations once when resolving links (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4249">#4249</a>) by <a href="https://github.com/MartinThoma"><code>@​MartinThoma</code></a></li>
<li>Avoid scanning all objects in get_outline_root (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4245">#4245</a>) by <a href="https://github.com/kholdrex"><code>@​kholdrex</code></a></li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Resolve indirect widths in CID font /W arrays (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4267">#4267</a>) by <a href="https://github.com/tim-hilde"><code>@​tim-hilde</code></a></li>
</ul>
<h3>Documentation (DOC)</h3>
<ul>
<li>Block incremental writes of encrypted documents (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4246">#4246</a>) by <a href="https://github.com/metsw24-max"><code>@​metsw24-max</code></a></li>
</ul>
<h3>Developer Experience (DEV)</h3>
<ul>
<li>Update to PyPy 3.12 and pinned requirements (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4244">#4244</a>) by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
</ul>
<h3>Maintenance (MAINT)</h3>
<ul>
<li>Revert: Reject unsupported key lengths in the /Encrypt dictionary by <a href="https://github.com/stefan6419846"><code>@​stefan6419846</code></a></li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.2...6.21.3">Full Changelog</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md">pypdf's changelog</a>.</em></p>
<blockquote>
<h2>Version 6.21.4, 2026-10-28</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Limit the number of copied page attributes during flattening (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4290">#4290</a>)</li>
<li>Detect EOF when reading standard xref table trailer (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4289">#4289</a>)</li>
<li>Fix loop detection when cloning DictionaryObject (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4288">#4288</a>)</li>
</ul>
<h3>Documentation (DOC)</h3>
<ul>
<li>Exclude performance issues from security reports (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4280">#4280</a>)</li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.3...6.21.4">Full Changelog</a></p>
<h2>Version 6.21.3, 2026-10-27</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Use the validated page count after decrypting a document (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4270">#4270</a>)</li>
<li>Limit total number of cross-reference stream entries (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4269">#4269</a>)</li>
<li>Avoid excessive error messages (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4265">#4265</a>)</li>
</ul>
<h3>Performance Improvements (PI)</h3>
<ul>
<li>Read flat page label number trees once for all pages (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4251">#4251</a>)</li>
<li>Collect the named destinations once when resolving links (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4249">#4249</a>)</li>
<li>Avoid scanning all objects in get_outline_root (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4245">#4245</a>)</li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Resolve indirect widths in CID font /W arrays (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4267">#4267</a>)</li>
</ul>
<h3>Documentation (DOC)</h3>
<ul>
<li>Block incremental writes of encrypted documents (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4246">#4246</a>)</li>
</ul>
<h3>Developer Experience (DEV)</h3>
<ul>
<li>Update to PyPy 3.12 and pinned requirements (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4244">#4244</a>)</li>
</ul>
<h3>Maintenance (MAINT)</h3>
<ul>
<li>Revert: Reject unsupported key lengths in the /Encrypt dictionary</li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.2...6.21.3">Full Changelog</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/py-pdf/pypdf/commit/b2c3fa2ee689f582a0de256a45e30bd96c68f807"><code>b2c3fa2</code></a> REL: 6.21.4</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e"><code>ea4ac66</code></a> SEC: Limit the number of copied page attributes during flattening (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4290">#4290</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/06593f993789a4b573dd955730c1a7051128bb2a"><code>06593f9</code></a> SEC: Detect EOF when reading standard xref table trailer (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4289">#4289</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/f176db1a1f7f9af3e472e69a843ef1175653b044"><code>f176db1</code></a> SEC: Fix loop detection when cloning DictionaryObject (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4288">#4288</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/c7d391c2d70d76f899f12dd1b8b320d62773d5fc"><code>c7d391c</code></a> PI: Speed up transformation matrix handling for layout mode text extraction (...</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/b330dcd784d65a642a5a63119bcd00c4e33d97d9"><code>b330dcd</code></a> DEV: Bump actions/setup-python from 7.0.0 to 7.1.0 (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4278">#4278</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/8901534705d9bc7aa87762c61ca2565a2e9725c0"><code>8901534</code></a> DOC: Exclude performance issues from security reports (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4280">#4280</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/70eab9bcbfae5b6cbfa18d1c559be26169dd69f0"><code>70eab9b</code></a> PI: Speed up parse_bfchar (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4273">#4273</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/4ef744f96e5ebe6780ae637f657578f5de446450"><code>4ef744f</code></a> ROB: Skip an embedded file specification that is not a dictionary (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4256">#4256</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/945216fb51835a534ee6712bab34fe24fa91e11e"><code>945216f</code></a> ROB: Keep the text state when a text state operator has no operand in layout ...</li>
<li>Additional commits viewable in <a href="https://github.com/py-pdf/pypdf/compare/6.21.2...6.21.4">compare view</a></li>
</ul>
</details>
<br />

Diff: 650 lines (+487 / -163) across 8 files Reviewer: sicoyle Review duration: 27m
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 #1356"
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%