Skip to content

Releases: pymupdf/PyMuPDF

PyMuPDF-1.27.2 released

10 Mar 13:11

Choose a tag to compare

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 1.27.2

  • Use MuPDF-1.27.2.

  • Fixed issues:

  • Other:

    • Retrospectively marked #4907 as fixed in pymupdf-1.27.1.

    • Improved get_textpage_ocr().

      For partial OCR, all page areas outside legible text are now OCRed, not
      just those within images. This means that OCR will now also be performed
      for vector graphics, and for text containing illegible characters.

PyMuPDF-1.27.1 released

11 Feb 15:12

Choose a tag to compare

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

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.27.1 (2026-02-11)

  • Use MuPDF-1.27.1.

  • Fixed issues:

  • Other:

    • Added pymupdf.TEXT_CLIP.
    • Removed support for mupdf < 1.26.
    • New arg raise_on_repair in Document.save().
    • New method Document.repair().

PyMuPDF-1.26.7 released

11 Dec 23:17

Choose a tag to compare

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.26.7

  • Use MuPDF-1.26.12.

Other:

  • Retrospectively mark #4756 as fixed in 1.26.6.
  • Improved safety of pymupdf embed-extract. This now refuses to write to
    an existing file or outside current directory, unless -output or new flag
    -unsafe is specified.

PyMuPDF-1.26.6 released

05 Nov 16:07

Choose a tag to compare

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.26.6

  • Use MuPDF-1.26.11.

  • Supported Python versions are now 3.10-3.14.

  • Fixed issues:

PyMuPDF-1.26.5 released

10 Oct 14:07

Choose a tag to compare

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.26.5

  • Use MuPDF-1.26.10.

  • Fixed issues:

  • Other:

    • Supported Python versions are now 3.9-3.14.
    • We now define all class methods explicitly instead of with dynamic assignment; this improves type hints.
    • Removed pymupdf.utils.Shape class, was duplicate of pymupdf.Shape.
    • Allow use of cibuildwheel to build and test on Pyodide.
    • Fixed various Pyodide bugs.
    • In documentation, added section about Linux wheels and glibc compatibility.
    • Improved documentation of pymupdf.open()'s arg.
    • Retrospectively mark 4544 <https://github.com/pymupdf/PyMuPDF/issues/4544>_ as fixed in 1.26.4.

PyMuPDF-1.26.4 released

25 Aug 14:34

Choose a tag to compare

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.26.4

  • Use MuPDF-1.26.7.

  • Fixed issues:

  • Other:

    • Check that #4392 Segfault when running with pytest and -Werror is fixed if PyMuPDF is built with swig>=4.4.
    • Add Page.clip_to_rect().
    • Improved search for Tesseract data.
    • Retrospectively mark #4496 as fixed in 1.26.1.
    • Retrospectively mark #4503 as fixed in 1.26.3.
    • Added experimental support for Graal.

PyMuPDF-1.26.3 released

02 Jul 21:52

Choose a tag to compare

PyMuPDF-1.26.3 has been released.

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.26.3

  • Use MuPDF-1.26.3.

  • Fixed issues:

  • Other:

    • Class Shape is now available as pymupdf.Shape.
    • Added table cell markdown support.

PyMuPDF-1.26.1 released

11 Jun 22:30

Choose a tag to compare

PyMuPDF-1.26.1 has been released.

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.26.1

  • Use MuPDF-1.26.2.

  • Fixed issues:

  • Other:

    • Partial fix for #4503.
    • New method Document.rewrite_images(), useful for reducing file size, changing image formats, or converting color spaces.
    • Page.get_text(): restrict positional args to match docs.
    • Removed bogus definition of class Shape.
    • Removed release date from module, docs and changelog.
      • pymupdf.pymupdf_date and pymupdf.VersionDate are now both None.
      • They will be removed in a future release.

PyMuPDF-1.26.0 released

22 May 16:30

Choose a tag to compare

PyMuPDF-1.26.0 has been released.

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.26.0 (2025-05-22)

  • Use MuPDF-1.26.1.

  • Fixed issues:

  • Other:

    • Partial fixed for #4457.
    • Support image stamp annotations.
    • Support recoloring pages.
    • Added example of using Django's file storage API to open files with pymupdf.
    • Clarified FreeText annotation color options.
      We now raise an exception if an attempt is made to set attributes that can not be supported.
    • Fixed potential segv in Pixmap.is_unicolor().
    • Added runtime assert that that PyMuPDF and MuPDF were built with compatible
      NDEBUG settings (related to 4390 <https://github.com/pymupdf/PyMuPDF/issues/4390>_).
    • Simplified handling of filename/filetype when opening documents.

PyMuPDF-1.25.5 released

31 Mar 23:25

Choose a tag to compare

PyMuPDF-1.25.5 has been released.

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

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.25.5 (2025-03-31)

  • Fixed issues:

  • Other:

    • Use MuPDF-1.25.6.
    • Fixed MuPDF SEGV on MacOS with particular fonts.
    • Fixed Annot.get_textpage()'s clip arg.
    • Fixed Python-3.14 (pre-release) build error.