Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pypdf from 3.17.4 to 5.0.1 #1213

Merged
merged 5 commits into from
Oct 1, 2024
Merged

Bump pypdf from 3.17.4 to 5.0.1 #1213

merged 5 commits into from
Oct 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 30, 2024

Closes #1207
Bumps pypdf from 3.17.4 to 5.0.1.

Release notes

Sourced from pypdf's releases.

Version 5.0.1, 2024-09-29

New Features (ENH)

  • Add full parameter to PdfWriter constructor (#2865)

Bug Fixes (BUG)

  • Update pyproject.toml with minimum Python version of 3.8 (#2859)
  • Cope with unbalanced delimiters in dictionary object (#2878)
  • Cope with encoding with too many differences (#2873)
  • Missing spaces in extract_text() method (#1328) (#2868)
  • Tolerate truncated files and no warning when jumping startxref (#2855)

Robustness (ROB)

  • Repair PDF with invalid Root object (#2880)
  • Continue parsing dictionary object when error is detected (#2872)
  • Merge documents with invalid pages in named destinations (#2857)
  • Tolerate comments in arrays (#2856)

Developer Experience (DEV)

  • Use latest Python version for benchmarking (#2879)

Maintenance (MAINT)

  • Add tests to source distributions (#2874)
  • Refactor _update_field_annotation (#2862)

Full Changelog

Version 5.0.0, 2024-09-17

This version drops support for Python 3.7 (not maintained since July 2023), PdfMerger (use PdfWriter instead) and AnnotationBuilder (use annotations instead).

Deprecations (DEP)

  • Remove the deprecated PfdMerger and AnnotationBuilder classes and other deprecations cleanup (#2813)
  • Drop Python 3.7 support (#2793)

New Features (ENH)

  • Add capability to remove /Info from PDF (#2820)
  • Add incremental capability to PdfWriter (#2811)
  • Add UniGB-UTF16 encodings (#2819)
  • Accept utf strings for metadata (#2802)
  • Report PdfReadError instead of RecursionError (#2800)
  • Compress PDF files merging identical objects (#2795)

Bug Fixes (BUG)

  • Fix sheared image (#2801)

Robustness (ROB)

  • Robustify .set_data() (#2821)
  • Raise PdfReadError when missing /Root in trailer (#2808)

... (truncated)

Changelog

Sourced from pypdf's changelog.

Version 5.0.1, 2024-09-29

New Features (ENH)

  • Add full parameter to PdfWriter constructor (#2865)

Bug Fixes (BUG)

  • Update pyproject.toml with minimum Python version of 3.8 (#2859)
  • Cope with unbalanced delimiters in dictionary object (#2878)
  • Cope with encoding with too many differences (#2873)
  • Missing spaces in extract_text() method (#1328) (#2868)
  • Tolerate truncated files and no warning when jumping startxref (#2855)

Robustness (ROB)

  • Repair PDF with invalid Root object (#2880)
  • Continue parsing dictionary object when error is detected (#2872)
  • Merge documents with invalid pages in named destinations (#2857)
  • Tolerate comments in arrays (#2856)

Developer Experience (DEV)

  • Use latest Python version for benchmarking (#2879)

Maintenance (MAINT)

  • Add tests to source distributions (#2874)
  • Refactor _update_field_annotation (#2862)

Full Changelog

Version 5.0.0, 2024-09-15

This version drops support for Python 3.7 (not maintained since July 2023), PdfMerger (use PdfWriter instead) and AnnotationBuilder (use annotations instead).

Deprecations (DEP)

  • Remove the deprecated PfdMerger and AnnotationBuilder classes and other deprecations cleanup (#2813)
  • Drop Python 3.7 support (#2793)

New Features (ENH)

  • Add capability to remove /Info from PDF (#2820)
  • Add incremental capability to PdfWriter (#2811)
  • Add UniGB-UTF16 encodings (#2819)
  • Accept utf strings for metadata (#2802)
  • Report PdfReadError instead of RecursionError (#2800)
  • Compress PDF files merging identical objects (#2795)

Bug Fixes (BUG)

  • Fix sheared image (#2801)

Robustness (ROB)

  • Robustify .set_data() (#2821)
  • Raise PdfReadError when missing /Root in trailer (#2808)

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pypdf](https://github.com/py-pdf/pypdf) from 3.17.4 to 5.0.1.
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](py-pdf/pypdf@3.17.4...5.0.1)

---
updated-dependencies:
- dependency-name: pypdf
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@cjkindel cjkindel self-assigned this Sep 30, 2024
@cjkindel
Copy link
Contributor

Manually confirmed the output of updated PyPdf is accurate. Slight difference in PDF loading results in slightly different chunking which broke the assertion for 151 chunks.

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@cjkindel cjkindel requested a review from a team September 30, 2024 20:19
@collindutter
Copy link
Member

I don't know why dependabot keeps proposing major version updates.

Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 1, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/pypdf-5.0.1 branch October 1, 2024 16:22
@cjkindel cjkindel restored the dependabot/pip/pypdf-5.0.1 branch October 1, 2024 17:25
@cjkindel
Copy link
Contributor

cjkindel commented Oct 1, 2024

Although dependabot shouldn't be cutting major update PRs, these are valid updates that I patched for breaking changes.

@cjkindel cjkindel reopened this Oct 1, 2024
@collindutter
Copy link
Member

@cjkindel can you update the changelog with a breaking change?

@cjkindel cjkindel merged commit 6fcf712 into dev Oct 1, 2024
15 checks passed
@cjkindel cjkindel deleted the dependabot/pip/pypdf-5.0.1 branch October 1, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update pypdf version
2 participants