Releases: pymupdf/PyMuPDF
PyMuPDF-1.27.2 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 1.27.2
-
Use MuPDF-1.27.2.
-
Fixed issues:
- Fixed #4903
-
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
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)
PyMuPDF-1.26.7 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.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-outputor new flag
-unsafeis specified.
PyMuPDF-1.26.6 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.6
PyMuPDF-1.26.5 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.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.Shapeclass, was duplicate ofpymupdf.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
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 -Werroris 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.
- Check that #4392
PyMuPDF-1.26.3 released
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
PyMuPDF-1.26.1 released
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_dateandpymupdf.VersionDateare now both None.- They will be removed in a future release.
PyMuPDF-1.26.0 released
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 to4390 <https://github.com/pymupdf/PyMuPDF/issues/4390>_). - Simplified handling of filename/filetype when opening documents.
PyMuPDF-1.25.5 released
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)