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

Update dependency pypdf to v5 #2055

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update dependency pypdf to v5 #2055

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pypdf (changelog) ==4.3.1 -> ==5.0.1 age adoption passing confidence

Release Notes

py-pdf/pypdf (pypdf)

v5.0.1

Compare Source

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

v5.0.0

Compare Source

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)
Robustness (ROB)
  • Robustify .set_data() (#​2821)
  • Raise PdfReadError when missing /Root in trailer (#​2808)
  • Fix extract_text() issues on damaged PDFs (#​2760)
  • Handle images with empty data when processing an image from bytes (#​2786)
Developer Experience (DEV)

Full Changelog


Configuration

📅 Schedule: 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 becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.45%. Comparing base (a6c972f) to head (e20d809).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2055   +/-   ##
=======================================
  Coverage   85.45%   85.45%           
=======================================
  Files         120      120           
  Lines        5281     5281           
=======================================
  Hits         4513     4513           
  Misses        768      768           
Flag Coverage Δ
unittests 85.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

0 participants