News / Press

PyMuPDF 1.24.0 Release

By Kayla Klein - Thursday, March 21, 2024

We are pleased to announce the release of PyMuPDF 1.24.0. Please read on to see what's new.

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
 

Changes in version 1.24.0 (2024-03-21)

  • Use MuPDF-1.24.0.
  • Add support for redacting vector graphics.
  • Several fixes for table module:
    • Add new method for outputting the table as a markdown string.
    • Address errors in computing the table header object:

We now allow None as the cell value, because this will be resolved where
needed (e.g. in the pandas DataFrame).

We previously tried to enforce rect-like tuples in all header cell
bboxes, however this fails for tables with all-None columns. This fix
enables this and constructs an empty string in the corresponding cell
string.

We now correctly include start / stop points of lines in the bbox of the
clustered graphic. We previously joined the line's rectangle - which had
no effect because this is always empty.

  • Improved exception text if we fail to open document.
  • Fixed build with new libclang 18.

Feedback and bugs can be reported to our development team by email or our PyMuPDF Discord channel.

Download PyMuPDF