Skip to content

chore(deps): bump pymupdf from 1.28.2 to 2.0 - #105

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymupdf-2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymupdf-2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 23, 2026

Copy link
Copy Markdown
Contributor

Bumps pymupdf from 1.28.2 to 2.0.

Release notes

Sourced from pymupdf's releases.

PyMuPDF-2.0 released

Wheels for Windows, Linux and MacOS, and the sdist, are available on https://pypi.org and can be installed in the usual way, for example:

python -m pip install --upgrade pymupdf

Changes in version 2.0

Fixed issues:

Other:

  • Added support for form field hierarchies.
  • Added support for radio button groups.
  • Added support for widget aliases.
  • Fixed builds with swig-4.5.
  • Fixed https://bugs.ghostscript.com/show_bug.cgi?id=709683_ Path Traversal and Arbitrary File Write in PyMuPDF CLI Font Extraction (CVE-2026-82035)
  • Fixed ignoring aspect ratio for square images.
  • Fixed potential SEGV in pymupdf.Page.get_cdrawings() if callback raises exception.
  • Fixed use with python-3.15.
  • Remove the debug timing loop from Annot.update().
  • Retrospectively marked #3478 fixed in 1.25.3.
  • Retrospectively marked #4158 fixed in 1.27.2.2
  • Retrospectively marked #4896 fixed in 1.28.0.
  • Retrospectively marked #4918 fixed in 1.28.0.
  • Supported Python versions are now 3.11-3.15.
  • Use MuPDF-1.28.5.
  • Warning for use of deprecated fitz API now uses warnings.warn() with FutureWarning.
Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 2.0 (2026-10-19)

Fixed issues:

  • Fixed 4994 <https://github.com/pymupdf/PyMuPDF/issues/4994>_: Dehyphenate does no longer work since 1.27.1
  • Fixed 5054 <https://github.com/pymupdf/PyMuPDF/issues/5054>_: clean_contents(sanitize=True) drops glyph positioning, duplicating an overprinted leading glyph (regression in 1.28.0 from 1.27.2.3)
  • Fixed 5055 <https://github.com/pymupdf/PyMuPDF/issues/5055>_: insert_file(...) breaks radio button groups
  • Fixed 5059 <https://github.com/pymupdf/PyMuPDF/issues/5059>_: Annotations disappear or move when using Page.remove_rotation() for 90 or 270 rotated pages
  • Fixed 5067 <https://github.com/pymupdf/PyMuPDF/issues/5067>_: Memory leak in extractBLOCKS (_as_blocks): text object reference never released
  • Fixed 5077 <https://github.com/pymupdf/PyMuPDF/issues/5077>_: Page.remove_rotation() takes minutes on pages with thousands of links
  • Fixed 5082 <https://github.com/pymupdf/PyMuPDF/issues/5082>_: Regression in 1.28.x: get_pixmap() and get_text() hang at 100% CPU on a specific PDF; works in 1.27.2.3
  • Fixed 5100 <https://github.com/pymupdf/PyMuPDF/issues/5100>_: Import of fitz prints to console instead of generating a DeprecationWarning
  • Fixed 5101 <https://github.com/pymupdf/PyMuPDF/issues/5101>_: Cyclic Widget /Parent makes page operations fail with FzErrorFormat: code=7: cycle in resources
  • Fixed 5108 <https://github.com/pymupdf/PyMuPDF/issues/5108>_: Page.clip_to_rect() drops 'sh' (shading) operators
  • Fixed 5112 <https://github.com/pymupdf/PyMuPDF/issues/5112>_: Stack-based buffer overflow in JM_set_annot_callout_line
  • Fixed 5115 <https://github.com/pymupdf/PyMuPDF/issues/5115>_: Pixmap export 'unmultiply' option has no effect
  • Fixed 5122 <https://github.com/pymupdf/PyMuPDF/issues/5122>_: get_drawings() reports a wrong start point for a subpath following a re with negative width/height
  • Fixed 5125 <https://github.com/pymupdf/PyMuPDF/issues/5125>_: get_pixmap() never returns on a tagged PDF page with many MCIDs - pdf_lookup_mcid_in_mcids is a linear scan, making rendering O(n**2) per page
  • Fixed 5140 <https://github.com/pymupdf/PyMuPDF/issues/5140>_: Page.get_label() raises IndexError when the page precedes the first label definition
  • Fixed 5152 <https://github.com/pymupdf/PyMuPDF/issues/5152>_: apply_redactions() does not remove text shown with the ' operator after TL + Td (regression in 1.28)
  • Fixed 5154 <https://github.com/pymupdf/PyMuPDF/issues/5154>_: insert_pdf raises ValueError: is not in list when a widget's /Parent does not list it in /Kids
  • Fixed 5165 <https://github.com/pymupdf/PyMuPDF/issues/5165>_: Page.add_widget fails for radio buttons

Other:

  • Added support for form field hierarchies.
  • Added support for radio button groups.
  • Added support for widget aliases.
  • Fixed builds with swig-4.5.
  • Fixed https://bugs.ghostscript.com/show_bug.cgi?id=709683_ Path Traversal and Arbitrary File Write in PyMuPDF CLI Font Extraction (CVE-2026-82035)
  • Fixed ignoring aspect ratio for square images.
  • Fixed potential SEGV in pymupdf.Page.get_cdrawings() if callback raises exception.
  • Fixed use with python-3.15.
  • Remove the debug timing loop from Annot.update().
  • Retrospectively marked #3478 fixed in 1.25.3.
  • Retrospectively marked #4158 fixed in 1.27.2.2
  • Retrospectively marked #4896 fixed in 1.28.0.
  • Retrospectively marked #4918 fixed in 1.28.0.
  • Supported Python versions are now 3.11-3.15.
  • Use MuPDF-1.28.5.
  • Warning for use of deprecated fitz API now uses warnings.warn() with FutureWarning.

Changes in version 1.28.2 (2026-08-06)

Fixed issues:

... (truncated)

Commits
  • b8904b2 Revert "setup.py: require python<3.15 if we contain layout code."
  • 1f02569 Tweaks to PyMuPDF Office page
  • d40fc8e Updates documentation to reflect new 2.0 API.
  • a2fa1fe Update show_features.py
  • 4f2762d Update show_features.py
  • 902bacf Add Configuration overview
  • d262679 setup.py: require python<3.15 if we contain layout code.
  • 690d196 docs/installation.rst: minimum python version is now 3.11.
  • ec825ce changes.txt: added note about new python version range 3.11-3.15.
  • dbe7a6a README.md: updated python version range to 3.11-3.15.
  • Additional commits viewable in compare view

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 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 [pymupdf](https://github.com/pymupdf/pymupdf) from 1.28.2 to 2.0.
- [Release notes](https://github.com/pymupdf/pymupdf/releases)
- [Changelog](https://github.com/pymupdf/PyMuPDF/blob/main/changes.txt)
- [Commits](pymupdf/PyMuPDF@1.28.2...2.0)

---
updated-dependencies:
- dependency-name: pymupdf
  dependency-version: '2.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot requested a review from sparshsam as a code owner October 23, 2026 16:43
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 23, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Deploying reader with  Cloudflare Pages  Cloudflare Pages

Latest commit: 28e7a93
Status: ✅  Deploy successful!
Preview URL: https://3fe6f5c1.reader-bsl.pages.dev
Branch Preview URL: https://dependabot-pip-pymupdf-2-0.reader-bsl.pages.dev

View logs

@dependabot dependabot Bot added the python Pull requests that update python code label Oct 23, 2026

This branch has not been deployed

No deployments
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