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.2.0 #2096

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 26, 2025

This PR contains the following updates:

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

Release Notes

py-pdf/pypdf (pypdf)

v5.2.0

Compare Source

Deprecations (DEP)
  • Deprecate with replacement CCITParameters (#​3019)
  • Correct deprecation of interiour_color (#​2947)
New Features (ENH)
  • Support alternative (U)F names for embedded file retrieval (#​3072)
  • Adding support for reading .metadata.keywords (#​2939)
Bug Fixes (BUG)
  • Handle further Tf operators in text extraction layout mode (#​3073)
  • Ensure add_metadata can deal with _info = None (#​3040)
  • Handle IndirectObject in CCITTFaxDecode filter (#​2965)
  • Handle chained colorspace for inline images when no filter is set (#​3008)
  • Avoid extracting inline images twice and dropping other operators (#​3002)
  • Fixed reference of value with str.__new__ in TextStringObject (#​2952)
  • Handle indirect objects in font width calculations (#​2967)
  • Title sometimes is bytes and not str (#​2930)
  • Fix undefined variable for text extraction (regression) (#​2934)
  • Don't close stream passed to PdfWriter.write() (#​2909)
Robustness (ROB)
  • Handle zero height fonts when extracting text (#​3075)
  • Deal with content streams not containing streams (#​3005)
  • Gracefully handle some text operators when the operands are missing (#​3006)
  • Fall back to non-Adobe Ascii85 format for missing end markers (#​3007)
  • Ignore odd-length strings when processing cmap lines (#​3009)
  • Skip annotation destination being NullObject in PdfWriter (#​2964)
  • Skip destination page being None in PdfWriter (#​2963)
  • Fix infinite loop case when reading null objects within an Array
  • Fixing infinite loop in ArrayObject read_from_stream (#​2928)
Documentation (DOC)
  • Add note about default line colors (#​3014)
Developer Experience (DEV)
  • Remove ignoring Ruff rule PGH004 (#​3071)
  • Tidy ignore array in tool.ruff.lint (#​3069)
  • Move Windows CI to Python 3.13 (#​3003)
  • Move to Ubuntu 22.04 (#​3004)
Maintenance (MAINT)
  • Fix formatting of warning message and include exception message (#​3076)
  • Narrow return type for ContentStream.operations (#​2941)
Testing (TST)
  • Fix image similarity for upcoming Ubuntu 24.04 (#​3039)
  • Replace broken Apache Tika Corpora urls (#​3041)
Code Style (STY)
  • Add form feed to WHITESPACES (#​3054)
  • Lots of small internal changes

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 Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.72%. Comparing base (d27b00f) to head (b12c9ef).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2096   +/-   ##
=======================================
  Coverage   85.72%   85.72%           
=======================================
  Files         120      120           
  Lines        5338     5338           
=======================================
  Hits         4576     4576           
  Misses        762      762           
Flag Coverage Δ
unittests 85.72% <ø> (ø)

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