scripts
scripts copied to clipboard
Bump pypdf from 3.17.2 to 4.2.0
Bumps pypdf from 3.17.2 to 4.2.0.
Release notes
Sourced from pypdf's releases.
Version 4.2.0, 2024-04-07
What's new
New Features (ENH)
- Allow multiple charsets for NameObject.read_from_stream (#2585) by
@pubpub-zz- Add support for /Kids in page labels (#2562) by
@stefan6419846- Allow to update fields on many pages (#2571) by
@pubpub-zz- Tolerate PDF with invalid xref pointed objects (#2335) by
@pubpub-zz- Add Enforce from PDF2.0 in viewer_preferences (#2511) by
@pubpub-zz- Add += and -= operators to ArrayObject (#2510) by
@pubpub-zzBug Fixes (BUG)
- Fix merge_page sometimes generating unknown operator 'QQ' (#2588) by
@rfotino- Fix fields update where annotations are kids of field (#2570) by
@pubpub-zz- Process CMYK images without a filter correctly (#2557) by
@pubpub-zz- Extract text in layout mode without finding resources (#2555) by
@pubpub-zz- Prevent recursive loop in some PDF files (#2505) by
@pubpub-zzRobustness (ROB)
- Tolerate "truncated" xref (#2580) by
@pubpub-zz- Replace error by warning for EOD in RunLengthDecode/ASCIIHexDecode (#2334) by
@pubpub-zz- Rebuild xref table if one entry is invalid (#2528) by
@pubpub-zz- Robustify stream extraction (#2526) by
@pubpub-zzDocumentation (DOC)
- Update release process for latest changes (#2564) by
@stefan6419846- Encryption/decryption: Clone document instead of copying all pages (#2546) by
@redfast00- Minor improvements (#2542) by
@j-t-1- Update annotation list (#2534) by
@j-t-1- Update references and formatting (#2529) by
@j-t-1- Correct threads reference, plus minor changes (#2521) by
@j-t-1- Minor readability increases (#2515) by
@j-t-1- Simplify PaperSize examples (#2504) by
@j-t-1- Minor improvements (#2501) by
@j-t-1Developer Experience (DEV)
- Remove unused dependencies (#2572) by
@stefan6419846- Remove page labels PR link from message (#2561) by
@stefan6419846- Fix changelog generator regarding whitespace and handling of "Other" group (#2492) by
@stefan6419846- Add REL to known PR prefixes (#2554) by
@stefan6419846- Release using the REL commit instead of git tag (#2500) by
@MartinThoma- Unify code between PdfReader and PdfWriter (#2497) by
@pubpub-zz- Bump softprops/action-gh-release from 1 to 2 (#2514) by
@dependabot[bot]Maintenance (MAINT)
- Ressources → Resources (and internal name childs) (#2550) by
@pubpub-zz- Fix typos found by codespell (#2549) by
@stefan6419846- Update Read the Docs configuration (#2538) by
@j-t-1- Add root_object, _info and _ID to PdfReader (#2495) by
@pubpub-zz
... (truncated)
Changelog
Sourced from pypdf's changelog.
Version 4.2.0, 2024-04-07
New Features (ENH)
- Allow multiple charsets for NameObject.read_from_stream (#2585)
- Add support for /Kids in page labels (#2562)
- Allow to update fields on many pages (#2571)
- Tolerate PDF with invalid xref pointed objects (#2335)
- Add Enforce from PDF2.0 in viewer_preferences (#2511)
- Add += and -= operators to ArrayObject (#2510)
Bug Fixes (BUG)
- Fix merge_page sometimes generating unknown operator 'QQ' (#2588)
- Fix fields update where annotations are kids of field (#2570)
- Process CMYK images without a filter correctly (#2557)
- Extract text in layout mode without finding resources (#2555)
- Prevent recursive loop in some PDF files (#2505)
Robustness (ROB)
- Tolerate "truncated" xref (#2580)
- Replace error by warning for EOD in RunLengthDecode/ASCIIHexDecode (#2334)
- Rebuild xref table if one entry is invalid (#2528)
- Robustify stream extraction (#2526)
Documentation (DOC)
- Update release process for latest changes (#2564)
- Encryption/decryption: Clone document instead of copying all pages (#2546)
- Minor improvements (#2542)
- Update annotation list (#2534)
- Update references and formatting (#2529)
- Correct threads reference, plus minor changes (#2521)
- Minor readability increases (#2515)
- Simplify PaperSize examples (#2504)
- Minor improvements (#2501)
Developer Experience (DEV)
- Remove unused dependencies (#2572)
- Remove page labels PR link from message (#2561)
- Fix changelog generator regarding whitespace and handling of "Other" group (#2492)
- Add REL to known PR prefixes (#2554)
- Release using the REL commit instead of git tag (#2500)
- Unify code between PdfReader and PdfWriter (#2497)
- Bump softprops/action-gh-release from 1 to 2 (#2514)
Maintenance (MAINT)
- Ressources → Resources (and internal name childs) (#2550)
- Fix typos found by codespell (#2549)
- Update Read the Docs configuration (#2538)
- Add root_object, _info and _ID to PdfReader (#2495)
Testing (TST)
... (truncated)
Commits
2ac88e6REL: 4.2.0561b1b0BUG: Fix merge_page sometimes generating unknown operator 'QQ' (#2588)ae0d27bTST: Allow loading truncated images if required (#2586)956fd03ENH: Allow multiple charsets for NameObject.read_from_stream (#2585)0f7c8feROB: Tolerate "truncated" xref (#2580)6152893TST: Fix download issues from #2562 (#2578)bc29901ENH: Add support for /Kids in page labels (#2562)4bdca16ENH: Allow to update fields on many pages (#2571)4d3d797DEV: Remove unused dependencies (#2572)50bb7f2BUG: Fix fields update where annotations are kids of field (#2570)- 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 mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)