Skip to content

PyMuPDF-1.24.0 released

Compare
Choose a tag to compare
@julian-smith-artifex-com julian-smith-artifex-com released this 21 Mar 21:34
· 373 commits to main since this release

PyMuPDF-1.24.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.24.0 (2024-03-21)

  • Fixed issues:

  • Other:

    • 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.