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

fix(deps): update dependency pypdf to v5 #2292

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 18, 2024

This PR contains the following updates:

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

Release Notes

py-pdf/pypdf (pypdf)

v5.1.0

Compare Source

New Features (ENH)
  • Add layout_mode_font_height_weight argument to PageObject.extract_text() (#​2920)
Bug Fixes (BUG)
  • Fix font specificier for FreeText annotation (#​2893)
  • Line breaks are not generated due to incorrect calculation of text leading (#​2890)
  • Improve handling of spaces in text extraction (#​2882)
Robustness (ROB)
  • Soft failure for flate encode image mode 1 with wrong LUT size (#​2900)
Documentation (DOC)
  • Use latest package versions (#​2907)
  • Correct example of reading FileAttachment annotation (#​2906)
Developer Experience (DEV)
  • Update pinned requirements (#​2918)
  • Make make_release.py compatible with Windows environment (#​2894)
Maintenance (MAINT)
  • Remove references to outdated Python versions (#​2919)
  • Generalize the method of obtaining space_code (#​2891)
  • Unnecessary character mapping process (#​2888)
  • New LZW decoding implementation (#​2887)
Testing (TST)
Code Style (STY)
  • Capitalize error messages (#​2903)
  • Modify error messages in PdfWriter (#​2902)

Full Changelog

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 - "after 6pm every weekday,every weekend" in timezone Australia/Sydney, Automerge - "after 6pm every weekday,every weekend" in timezone Australia/Sydney.

🚦 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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 18, 2024
@renovate renovate bot force-pushed the renovate/pypdf-5.x branch 5 times, most recently from 9a04af7 to c6863fa Compare September 21, 2024 22:00
@renovate renovate bot force-pushed the renovate/pypdf-5.x branch 4 times, most recently from ae7184e to c981051 Compare October 3, 2024 12:42
@renovate renovate bot force-pushed the renovate/pypdf-5.x branch 6 times, most recently from ad89c47 to ceed79a Compare November 1, 2024 17:16
@renovate renovate bot force-pushed the renovate/pypdf-5.x branch 3 times, most recently from e5082b6 to 197d356 Compare November 11, 2024 10:30
@renovate renovate bot force-pushed the renovate/pypdf-5.x branch 4 times, most recently from 066d5e0 to 218df52 Compare November 19, 2024 12:06
@renovate renovate bot force-pushed the renovate/pypdf-5.x branch 2 times, most recently from 50641ce to c1ce8d7 Compare November 22, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant