Update dependency pymupdf to v1.28.2 #108

Open
renovate[bot] wants to merge 1 commit from renovate/pymupdf-1.x into main
renovate[bot] commented 2026-09-04 03:07:12 +00:00 (Migrated from github.com)

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pymupdf (changelog) ==1.25.5 → ==1.28.2 age adoption passing confidence

Release Notes

pymupdf/pymupdf (pymupdf)

v1.28.2: PyMuPDF-1.28.2 released

Compare Source

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.28.2 ()

Fixed issues:

Other:

  • Use MuPDF-1.28.2.
  • Output warning when legacy fitz module is imported.
  • Cope better with markdown containing illegal utf8 sequences.
  • Fixed building with PYMUPDF_SETUP_MUPDF_VS_UPGRADE.
  • pymupdf.Page.find_tables():
    • new args use_layout: bool = True union: bool = False refine: bool = False.
    • Improved speed.
  • Retrospectively added fix for #​4936 in release 1.28.0 below.

v1.28.0: PyMuPDF-1.28.0 released.

Compare Source

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

Fixed issues:

Other:

  • Use MuPDF-1.28.0.
  • pymupdf.Document.init(): new arg archive to support documents with archives.
  • pymupdf.Document.convert_to_pdf(): also generate links.
  • Fixed MacOS x64 platform tag - used to be macosx_10_9_x86_64, but we actually
    require MacOS 10.15, so platform tag is now macosx_10_15_x86_64.
  • Support Windows builds with free thread python.
  • pymupdf.Document.save() now saves non-PDF documents in PDF format.
  • New method pymupdf.Document.apply_css().

v1.27.2.3: PyMuPDF-1.27.2.3 released

Compare Source

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

  • Fixed issues:

  • Other:

    • Fixed incorrect generation of lineJoin j in PDF content, introduced in 1.27.2.2.
    • Allow build to (incorrectly) claim to be thread-safe, for #​4760. See setup.py for details.
    • Use pypi.org's pipcl package instead of our own pipcl.py file.

v1.27.2.2: PyMuPDF-1.27.2.2 released

Compare Source

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

v1.27.2: PyMuPDF-1.27.2 released

Compare Source

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.

v1.27.1: PyMuPDF-1.27.1 released

Compare Source

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().

v1.26.7: PyMuPDF-1.26.7 released

Compare Source

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.

v1.26.6: PyMuPDF-1.26.6 released

Compare Source

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

v1.26.5: PyMuPDF-1.26.5 released

Compare Source

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.

v1.26.4: PyMuPDF-1.26.4 released

Compare Source

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

v1.26.3: PyMuPDF-1.26.3 released

Compare Source

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.

v1.26.1: PyMuPDF-1.26.1 released

Compare Source

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.

v1.26.0: PyMuPDF-1.26.0 released

Compare Source

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.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [pymupdf](https://redirect.github.com/pymupdf/pymupdf) ([changelog](https://pymupdf.readthedocs.io/en/latest/changes.html)) | `==1.25.5` → `==1.28.2` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pymupdf/1.28.2?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pymupdf/1.28.2?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pymupdf/1.25.5/1.28.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pymupdf/1.25.5/1.28.2?slim=true) | --- ### Release Notes <details> <summary>pymupdf/pymupdf (pymupdf)</summary> ### [`v1.28.2`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.28.2): PyMuPDF-1.28.2 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.28.0...1.28.2) 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.28.2** () Fixed issues: - **Fixed** [#&#8203;4670](https://redirect.github.com/pymupdf/pymupdf/issues/4670) - **Fixed** [#&#8203;4943](https://redirect.github.com/pymupdf/pymupdf/issues/4943) - **Fixed** [#&#8203;5030](https://redirect.github.com/pymupdf/pymupdf/issues/5030) - **Fixed** [#&#8203;5042](https://redirect.github.com/pymupdf/pymupdf/issues/5042) - **Fixed** [#&#8203;5044](https://redirect.github.com/pymupdf/pymupdf/issues/5044) - **Fixed** [#&#8203;5049](https://redirect.github.com/pymupdf/pymupdf/issues/5049) Other: - Use MuPDF-1.28.2. - Output warning when legacy `fitz` module is imported. - Cope better with markdown containing illegal utf8 sequences. - Fixed building with PYMUPDF\_SETUP\_MUPDF\_VS\_UPGRADE. - pymupdf.Page.find\_tables(): - new args `use_layout: bool = True` `union: bool = False` `refine: bool = False`. - Improved speed. - Retrospectively added fix for [#&#8203;4936](https://redirect.github.com/pymupdf/pymupdf/issues/4936) in release 1.28.0 below. ### [`v1.28.0`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.28.0): PyMuPDF-1.28.0 released. [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.27.2.3...1.28.0) 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.28.0** Fixed issues: - **Fixed** [#&#8203;4114](https://redirect.github.com/pymupdf/pymupdf/issues/4114) - **Fixed** [#&#8203;4950](https://redirect.github.com/pymupdf/pymupdf/issues/4950) - **Fixed** [#&#8203;5001](https://redirect.github.com/pymupdf/pymupdf/issues/5001) - **Fixed** [#&#8203;5033](https://redirect.github.com/pymupdf/pymupdf/issues/5033) Other: - Use MuPDF-1.28.0. - pymupdf.Document.**init**(): new arg `archive` to support documents with archives. - pymupdf.Document.convert\_to\_pdf(): also generate links. - Fixed MacOS x64 platform tag - used to be macosx\_10\_9\_x86\_64, but we actually require MacOS 10.15, so platform tag is now macosx\_10\_15\_x86\_64. - Support Windows builds with free thread python. - pymupdf.Document.save() now saves non-PDF documents in PDF format. - New method pymupdf.Document.apply\_css(). ### [`v1.27.2.3`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.27.2.3): PyMuPDF-1.27.2.3 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.27.2.2...1.27.2.3) 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.3** - Fixed issues: - **Fixed** [#&#8203;4928](https://redirect.github.com/pymupdf/pymupdf/issues/4928) - **Fixed** [#&#8203;4942](https://redirect.github.com/pymupdf/pymupdf/issues/4942) - **Fixed** [#&#8203;4954](https://redirect.github.com/pymupdf/pymupdf/issues/4954) - **Fixed** [#&#8203;4958](https://redirect.github.com/pymupdf/pymupdf/issues/4958) - Other: - Fixed incorrect generation of `lineJoin j` in PDF content, introduced in 1.27.2.2. - Allow build to (incorrectly) claim to be thread-safe, for [#&#8203;4760](https://redirect.github.com/pymupdf/pymupdf/issues/4760). See setup.py for details. - Use pypi.org's pipcl package instead of our own pipcl.py file. ### [`v1.27.2.2`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.27.2.2): PyMuPDF-1.27.2.2 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.27.2...1.27.2.2) 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.2** - Fixed issues: - **Fixed** [#&#8203;4902](https://redirect.github.com/pymupdf/pymupdf/issues/4902) - **Fixed** [#&#8203;4932](https://redirect.github.com/pymupdf/pymupdf/issues/4932) - Other: - Added `Annot.__bool__()`. ### [`v1.27.2`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.27.2): PyMuPDF-1.27.2 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.27.1...1.27.2) 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** [#&#8203;4903](https://redirect.github.com/pymupdf/pymupdf/issues/4903) - Other: - Retrospectively marked [#&#8203;4907](https://redirect.github.com/pymupdf/pymupdf/issues/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. ### [`v1.27.1`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.27.1): PyMuPDF-1.27.1 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.26.7...1.27.1) 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: - **Fixed** [#&#8203;4599](https://redirect.github.com/pymupdf/pymupdf/issues/4599) - **Fixed** [#&#8203;4751](https://redirect.github.com/pymupdf/pymupdf/issues/4751) - **Fixed** [#&#8203;4762](https://redirect.github.com/pymupdf/pymupdf/issues/4762) - **Fixed** [#&#8203;4790](https://redirect.github.com/pymupdf/pymupdf/issues/4790) - **Fixed** [#&#8203;4857](https://redirect.github.com/pymupdf/pymupdf/issues/4857) - **Fixed** [#&#8203;4886](https://redirect.github.com/pymupdf/pymupdf/issues/4886) - Other: - Added `pymupdf.TEXT_CLIP`. - Removed support for mupdf < 1.26. - New arg `raise_on_repair` in `Document.save()`. - New method `Document.repair()`. ### [`v1.26.7`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.26.7): PyMuPDF-1.26.7 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.26.6...1.26.7) 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 [#&#8203;4756](https://redirect.github.com/pymupdf/pymupdf/issues/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. ### [`v1.26.6`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.26.6): PyMuPDF-1.26.6 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.26.5...1.26.6) 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: - **Fixed** [#&#8203;4699](https://redirect.github.com/pymupdf/pymupdf/issues/4699) - **Fixed** [#&#8203;4712](https://redirect.github.com/pymupdf/pymupdf/issues/4712) - **Fixed** [#&#8203;4720](https://redirect.github.com/pymupdf/pymupdf/issues/4720) - **Fixed** [#&#8203;4742](https://redirect.github.com/pymupdf/pymupdf/issues/4742) - **Fixed** [#&#8203;4746](https://redirect.github.com/pymupdf/pymupdf/issues/4746) ### [`v1.26.5`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.26.5): PyMuPDF-1.26.5 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.26.4...1.26.5) 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: - **Fixed** [#&#8203;2883](https://redirect.github.com/pymupdf/pymupdf/issues/2883) - **Fixed** [#&#8203;4507](https://redirect.github.com/pymupdf/pymupdf/issues/4507) - **Fixed** [#&#8203;4613](https://redirect.github.com/pymupdf/pymupdf/issues/4613) - **Fixed** [#&#8203;4700](https://redirect.github.com/pymupdf/pymupdf/issues/4700) - **Fixed** [#&#8203;4716](https://redirect.github.com/pymupdf/pymupdf/issues/4716) - 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 <filetype> arg. - Retrospectively mark `4544 <https://github.com/pymupdf/PyMuPDF/issues/4544>`\_ as fixed in 1.26.4. ### [`v1.26.4`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.26.4): PyMuPDF-1.26.4 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.26.3...1.26.4) 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: - **Fixed** [#&#8203;3806](https://redirect.github.com/pymupdf/pymupdf/issues/3806) - **Fixed** [#&#8203;4388](https://redirect.github.com/pymupdf/pymupdf/issues/4388) - **Fixed** [#&#8203;4457](https://redirect.github.com/pymupdf/pymupdf/issues/4457) - **Fixed** [#&#8203;4462](https://redirect.github.com/pymupdf/pymupdf/issues/4462) - **Fixed** [#&#8203;4533](https://redirect.github.com/pymupdf/pymupdf/issues/4533) - **Fixed** [#&#8203;4565](https://redirect.github.com/pymupdf/pymupdf/issues/4565) - **Fixed** [#&#8203;4571](https://redirect.github.com/pymupdf/pymupdf/issues/4571) - **Fixed** [#&#8203;4590](https://redirect.github.com/pymupdf/pymupdf/issues/4590) - **Fixed** [#&#8203;4614](https://redirect.github.com/pymupdf/pymupdf/issues/4614) - **Fixed** [#&#8203;4639](https://redirect.github.com/pymupdf/pymupdf/issues/4639) - Other: - Check that [#&#8203;4392](https://redirect.github.com/pymupdf/pymupdf/issues/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 [#&#8203;4496](https://redirect.github.com/pymupdf/pymupdf/issues/4496) as fixed in 1.26.1. - Retrospectively mark [#&#8203;4503](https://redirect.github.com/pymupdf/pymupdf/issues/4503) as fixed in 1.26.3. - Added experimental support for Graal. ### [`v1.26.3`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.26.3): PyMuPDF-1.26.3 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.26.1...1.26.3) 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: - **Fixed** [#&#8203;4462](https://redirect.github.com/pymupdf/pymupdf/issues/4462) - **Fixed** [#&#8203;4527](https://redirect.github.com/pymupdf/pymupdf/issues/4527) - **Fixed** [#&#8203;4564](https://redirect.github.com/pymupdf/pymupdf/issues/4564) - **Fixed** [#&#8203;4575](https://redirect.github.com/pymupdf/pymupdf/issues/4575) - Other: - Class Shape is now available as pymupdf.Shape. - Added table cell markdown support. ### [`v1.26.1`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.26.1): PyMuPDF-1.26.1 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.26.0...1.26.1) 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: - **Fixed** [#&#8203;4520](https://redirect.github.com/pymupdf/pymupdf/issues/4520) - **Fixed** [#&#8203;4524](https://redirect.github.com/pymupdf/pymupdf/issues/4524) - **Fixed** [#&#8203;4412](https://redirect.github.com/pymupdf/pymupdf/issues/4412) - Other: - Partial fix for [#&#8203;4503](https://redirect.github.com/pymupdf/pymupdf/issues/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. ### [`v1.26.0`](https://redirect.github.com/pymupdf/PyMuPDF/releases/tag/1.26.0): PyMuPDF-1.26.0 released [Compare Source](https://redirect.github.com/pymupdf/pymupdf/compare/1.25.5...1.26.0) 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: - **Fixed** [#&#8203;4324](https://redirect.github.com/pymupdf/pymupdf/issues/4324) - **Fixed** [#&#8203;4363](https://redirect.github.com/pymupdf/pymupdf/issues/4363) - **Fixed** [#&#8203;4404](https://redirect.github.com/pymupdf/pymupdf/issues/4404) - **Fixed** [#&#8203;4412](https://redirect.github.com/pymupdf/pymupdf/issues/4412) - **Fixed** [#&#8203;4423](https://redirect.github.com/pymupdf/pymupdf/issues/4423) - **Fixed** [#&#8203;4435](https://redirect.github.com/pymupdf/pymupdf/issues/4435) - **Fixed** [#&#8203;4439](https://redirect.github.com/pymupdf/pymupdf/issues/4439) - **Fixed** [#&#8203;4445](https://redirect.github.com/pymupdf/pymupdf/issues/4445) - **Fixed** [#&#8203;4447](https://redirect.github.com/pymupdf/pymupdf/issues/4447) - **Fixed** [#&#8203;4479](https://redirect.github.com/pymupdf/pymupdf/issues/4479) - **Fixed** [#&#8203;4505](https://redirect.github.com/pymupdf/pymupdf/issues/4505) - Other: - Partial fixed for [#&#8203;4457](https://redirect.github.com/pymupdf/pymupdf/issues/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. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/sarumaj/rag-agent). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS4zIiwidXBkYXRlZEluVmVyIjoiNDQuNjEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/pymupdf-1.x:renovate/pymupdf-1.x
git switch renovate/pymupdf-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/pymupdf-1.x
git switch renovate/pymupdf-1.x
git rebase main
git switch main
git merge --ff-only renovate/pymupdf-1.x
git switch renovate/pymupdf-1.x
git rebase main
git switch main
git merge --no-ff renovate/pymupdf-1.x
git switch main
git merge --squash renovate/pymupdf-1.x
git switch main
git merge --ff-only renovate/pymupdf-1.x
git switch main
git merge renovate/pymupdf-1.x
git push origin main
Sign in to join this conversation.
No description provided.