pypi pymupdf 2.0
PyMuPDF-2.0 released

5 hours ago

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.

Don't miss a new pymupdf release

NewReleases is sending notifications on new releases.