Skip to content

chore(deps): bump pypdfium2 from 4.30.0 to 5.7.1#81

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pypdfium2-5.7.1
Open

chore(deps): bump pypdfium2 from 4.30.0 to 5.7.1#81
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pypdfium2-5.7.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Bumps pypdfium2 from 4.30.0 to 5.7.1.

Release notes

Sourced from pypdfium2's releases.

5.7.1

Changes (Release 5.7.1)

Summary (pypdfium2)

  • The pdfium update fixes a regression in FPDFText_GetLooseCharBox() / PdfTextPage.get_charbox(i, loose=True) results introduced in the previous release. (Since conda pdfium-binaries are updated only once a month, this release downgrades to pdfium 7713 on conda)
  • Fixed an oversight in the CLI that caused pypdfium2.__init__ to run before preparation after all. This had regressed shortly before the previous release. DEBUG_AUTOCLOSE=1 pypdfium2 -h should now show Initialize PDFium at first.
  • Changed output string handling once more, as even slicing the buffer directly still implies a copy – so let's use memoryview and codecs.decode() instead. Also, we now create buffers of the expected type directly to avoid casts, and convert number of bytes to units via ceil division where needed. Updated the Readme's raw API examples accordingly.
  • PdfTextPage.get_text_bounded() no longer unconditionally calls page.get_bbox() each time. Instead, call it only if needed, when at least one of the boundary values is None. If all bounds are given, skip the call. This eliminates extra overhead when get_text_bounded() is called many times on given rectangles, like from PdfTextPage.get_rect(). Though the API probably is not meant to be used this way. Consider PdfPage.get_objects(filter=(FPDF_PAGEOBJ_TEXT,)) and textobj.extract() as a possible alternative.
  • Added PdfFont.is_embedded property.

Commits between 5.7.0 and 5.7.1 (latest commit first):

  • 8980e64 [autorelease main] update 5.7.1
  • 6f9d5d4 Update static clang images to 22.1.3.0
  • 25efe1b just check: skip htmlcov dir
  • e50ba09 Readme: Update raw API output strings examples
  • 570a437 Prepare changelog
  • 62e3b97 Mark next release as humble (minor cipher update)
  • 8cd9947 get_text_bounded(): defer get_bbox() and point out why
  • e0570ff nit: use == 1 rather than bool()
  • fa866df Add PdfFont.is_embedded property
  • c67d34c Simplify _ENC_ERRHANDLER passing
  • 717999b Improved coverage reporting
  • 8cde38c Rework output strings: use memoryview and codecs.decode, avoid casts (#425)
  • a6705a3 fix: don't import from pypdfium2 before logging setup
  • c07697b tests: forward rather than wrap
  • d765528 cibw: update comment on windows arm
  • 95e7211 get_text_bounded: avoid cast, create c_ushort array directly
  • 8e5f396 build(deps): bump actions/upload-pages-artifact from 4 to 5
  • 00e729e build(deps): bump cross-platform-actions/action from 0.32.0 to 1.0.0
  • 1ecd0e6 Fix internal use of deprecated API
  • 7fcf2a5 nit: use iterator comprehension
  • 241673b Minor doc updates

Commits between 7776 and 7802 (latest commit first):

  • 2558d5d97 Bound FPDFText_GetLooseCharBox() top/bottom by /FontBBox

... (truncated)

Commits
  • 8980e64 [autorelease main] update 5.7.1
  • 6f9d5d4 Update static clang images to 22.1.3.0
  • 25efe1b just check: skip htmlcov dir
  • e50ba09 Readme: Update raw API output strings examples
  • 570a437 Prepare changelog
  • 62e3b97 Mark next release as humble (minor cipher update)
  • 8cd9947 get_text_bounded(): defer get_bbox() and point out why
  • e0570ff nit: use == 1 rather than bool()
  • fa866df Add PdfFont.is_embedded property
  • c67d34c Simplify _ENC_ERRHANDLER passing
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 27, 2026
Bumps [pypdfium2](https://github.com/pypdfium2-team/pypdfium2) from 4.30.0 to 5.7.1.
- [Release notes](https://github.com/pypdfium2-team/pypdfium2/releases)
- [Commits](pypdfium2-team/pypdfium2@4.30.0...5.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/pypdfium2-5.7.1 branch from a37146c to 0f93c19 Compare May 2, 2026 23:22
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants