Bump pypdf from 6.6.2 to 6.19.0
Closed
DE
1mo ago+140+140+012345678901234567890123456789-126-126-012345678901234567890123456789
Bumps pypdf from 6.6.2 to 6.19.0.
Release notes
Sourced from pypdf's releases.
Version 6.19.0, 2026-09-16
What's new
Security (SEC)
- Limit size of alphabetical page labels (#4096) by
@stefan6419846Deprecations (DEP)
Performance Improvements (PI)
- Move static value out of loop body for appearance stream data (#4087) by
@stefan6419846- Reduce number of full data lookups for attachment mapping API (#4081) by
@stefan6419846Bug Fixes (BUG)
- Do not copy unrelated pages when appending pages with non-terminal fields (#4078) by
@anandghegde- Use page reference for existing internal link targets (#4076) by
@r-kamei- Arabic-Indic digits are reversed during text extraction (#4077) by
@Syamjith-NK- Parse a string rect for add_uri into a rectangle (#4074) by
@RavSinghChandanVersion 6.18.1, 2026-09-11
What's new
Security (SEC)
- Further restrict FlateDecode recovery (#4073) by
@stefan6419846- Limit entry count for TrueType and Type1 font
/Widths(#4072) by@stefan6419846- Limit allowed length of tokens in parse_bfchar (#4071) by
@stefan6419846Bug Fixes (BUG)
- Use current text matrix for visitor_text (#4062) by
@r-kamei- Repeat the letter for /S /A and /S /a page labels past Z (#4065) by
@youdie006- Use font color for FreeText default appearance (#4051) by
@Yuki9814Robustness (ROB)
- Fix compatibility with fonttools < 4.58.0 (#4050, #4059) by
@MeggyCaland@stefan6419846Documentation (DOC)
Version 6.18.0, 2026-09-07
What's new
Please note that this release requires users which previously overwrote the default limits to migrate to the new approach: Docs
In short:
- Use
apply_configurationas a context manager to temporarily overwrite configuration values.
... (truncated)
Changelog
Sourced from pypdf's changelog.
Version 6.19.0, 2026-09-16
Security (SEC)
- Limit size of alphabetical page labels (#4096)
Deprecations (DEP)
- Replace PdfWriter method add_js (#3979)
Performance Improvements (PI)
- Move static value out of loop body for appearance stream data (#4087)
- Reduce number of full data lookups for attachment mapping API (#4081)
Bug Fixes (BUG)
- Do not copy unrelated pages when appending pages with non-terminal fields (#4078)
- Use page reference for existing internal link targets (#4076)
- Arabic-Indic digits are reversed during text extraction (#4077)
- Parse a string rect for add_uri into a rectangle (#4074)
Version 6.18.1, 2026-09-11
Security (SEC)
- Further restrict FlateDecode recovery (#4073)
- Limit entry count for TrueType and Type1 font
/Widths(#4072)- Limit allowed length of tokens in parse_bfchar (#4071)
Bug Fixes (BUG)
- Use current text matrix for visitor_text (#4062)
- Repeat the letter for /S /A and /S /a page labels past Z (#4065)
- Use font color for FreeText default appearance (#4051)
Robustness (ROB)
Documentation (DOC)
- Use combined matrix in visitor examples (#4066)
Version 6.18.0, 2026-09-07
Security (SEC)
- Limit allowed length of indirect object tokens (#4055)
Deprecations (DEP)
- Rework configuration value handling (#4044)
New Features (ENH)
- Draw borders and backgrounds for appearance streams and annotations (#4033)
... (truncated)
Commits
d62cb58REL: 6.19.00d8b5a8SEC: Limit size of alphabetical page labels (#4096)959467aPI: Move static value out of loop body for appearance stream data (#4087)20822b2DEV: Bump zizmorcore/zizmor-action from 0.6.3 to 0.6.4 (#4093)25f2301DEP: Replace PdfWriter method add_js (#3979)a924438BUG: Do not copy unrelated pages when appending pages with non-terminal field...cf5cec2BUG: Use page reference for existing internal link targets (#4076)96d81f0BUG: Arabic-Indic digits are reversed during text extraction (#4077)2d21901DEV: Fix Color class for latest mypy (#4082)893a010MAINT: Split PdfDocCommon._flatten (#4070)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrades pypdf from 6.6.2 to 6.19.0; the release series is primarily security hardening plus a few bug fixes and deprecations.
Dependencies
- Applies stricter token, page label, and font width limits to guard against malformed PDFs.
- Deprecates
PdfWriter.add_js; any code overriding default limits must move to theapply_configurationcontext manager. - The lock file regeneration also rewrites some
pyobjcframework markers and adds apyobjc-framework-pubsubentry.