Skip to content

chore(deps): bump pymupdf from 1.28.2 to 2.1 - #105

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymupdf-2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pymupdf-2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps pymupdf from 1.28.2 to 2.1.

Release notes

Sourced from pymupdf's releases.

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

Changes in version 2.1

Fixed issues:

Other:

  • Improve upgrade from 1.x to 2.x via pymupdf4llm or pymupdf_layout.
  • Reduced startup time using lazy internal import of large modules.
  • Retrospectively added date of 2.0 release.
  • Retrospectively marked #5115 as fixed in 2.0.
  • Use MuPDF-1.28.6.

PyMuPDF-2.0 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 2.0

Fixed issues:

... (truncated)

Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 2.1 (2026-11-02)

Fixed issues:

  • Fixed 5196 <https://github.com/pymupdf/PyMuPDF/issues/5196>_: PyMuPDF 2.0 eagerly initializes layout on import, increasing CPU and thread overhead in spawned workers
  • Fixed 5214 <https://github.com/pymupdf/PyMuPDF/issues/5214>_: get_label() and get_page_labels() mangle page-label prefixes that contain '/', string escapes or UTF-16 text
  • Fixed 5216 <https://github.com/pymupdf/PyMuPDF/issues/5216>_: Documentation: Mention PDF rotation in Page.show_pdf() documentation
  • Fixed 5220 <https://github.com/pymupdf/PyMuPDF/issues/5220>_: Page.get_texttrace(): character bbox height follows X scale instead of Y scale

Other:

  • Improve upgrade from 1.x to 2.x via pymupdf4llm or pymupdf_layout.
  • Reduced startup time using lazy internal import of large modules.
  • Retrospectively added date of 2.0 release.
  • Retrospectively marked #5115 as fixed in 2.0.
  • Use MuPDF-1.28.6.

Changes in version 2.0 (2026-10-19)

Fixed issues:

  • Fixed 4994 <https://github.com/pymupdf/PyMuPDF/issues/4994>_: Dehyphenate does no longer work since 1.27.1
  • Fixed 5054 <https://github.com/pymupdf/PyMuPDF/issues/5054>_: clean_contents(sanitize=True) drops glyph positioning, duplicating an overprinted leading glyph (regression in 1.28.0 from 1.27.2.3)
  • Fixed 5055 <https://github.com/pymupdf/PyMuPDF/issues/5055>_: insert_file(...) breaks radio button groups
  • Fixed 5059 <https://github.com/pymupdf/PyMuPDF/issues/5059>_: Annotations disappear or move when using Page.remove_rotation() for 90 or 270 rotated pages
  • Fixed 5067 <https://github.com/pymupdf/PyMuPDF/issues/5067>_: Memory leak in extractBLOCKS (_as_blocks): text object reference never released
  • Fixed 5077 <https://github.com/pymupdf/PyMuPDF/issues/5077>_: Page.remove_rotation() takes minutes on pages with thousands of links
  • Fixed 5082 <https://github.com/pymupdf/PyMuPDF/issues/5082>_: Regression in 1.28.x: get_pixmap() and get_text() hang at 100% CPU on a specific PDF; works in 1.27.2.3
  • Fixed 5100 <https://github.com/pymupdf/PyMuPDF/issues/5100>_: Import of fitz prints to console instead of generating a DeprecationWarning
  • Fixed 5101 <https://github.com/pymupdf/PyMuPDF/issues/5101>_: Cyclic Widget /Parent makes page operations fail with FzErrorFormat: code=7: cycle in resources
  • Fixed 5108 <https://github.com/pymupdf/PyMuPDF/issues/5108>_: Page.clip_to_rect() drops 'sh' (shading) operators
  • Fixed 5112 <https://github.com/pymupdf/PyMuPDF/issues/5112>_: Stack-based buffer overflow in JM_set_annot_callout_line
  • Fixed 5115 <https://github.com/pymupdf/PyMuPDF/issues/5115>_: Pixmap export 'unmultiply' option has no effect
  • Fixed 5122 <https://github.com/pymupdf/PyMuPDF/issues/5122>_: get_drawings() reports a wrong start point for a subpath following a re with negative width/height
  • Fixed 5125 <https://github.com/pymupdf/PyMuPDF/issues/5125>_: get_pixmap() never returns on a tagged PDF page with many MCIDs - pdf_lookup_mcid_in_mcids is a linear scan, making rendering O(n**2) per page
  • Fixed 5140 <https://github.com/pymupdf/PyMuPDF/issues/5140>_: Page.get_label() raises IndexError when the page precedes the first label definition
  • Fixed 5152 <https://github.com/pymupdf/PyMuPDF/issues/5152>_: apply_redactions() does not remove text shown with the ' operator after TL + Td (regression in 1.28)
  • Fixed 5154 <https://github.com/pymupdf/PyMuPDF/issues/5154>_: insert_pdf raises ValueError: is not in list when a widget's /Parent does not list it in /Kids
  • Fixed 5165 <https://github.com/pymupdf/PyMuPDF/issues/5165>_: Page.add_widget fails for radio buttons

Other:

  • Added support for form field hierarchies.
  • Added support for radio button groups.
  • Added support for widget aliases.

... (truncated)

Commits
  • 16c664f tests/test_metadata.py add tests for set_metadata() update to trailer.
  • fa222d0 src/init.py:xref_set_key(): fix update to trailer.
  • c109ebc tests/test_general.py:test_5182(): avoid failure with pyodide and free-thread...
  • d2423b1 changes.txt: updates for 2.1.
  • dbddcf2 tests/test_upgrade.py: new, checks upgrade from 1.x to current pymupdf 2.x ve...
  • f721d71 tests/util.py: added diff_dicts().
  • 27f4a6c setup.py: default to mupdf-1.28.6.
  • 659bae4 .github/ISSUE_TEMPLATE/bug_report.yml: update for 2.1.
  • f4c638d setup.py: update version to 2.1.
  • 4bdb17b tests/test_general.py: test_5182(), new, checks warnings/errors with old swig.
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from sparshsam as a code owner October 23, 2026 16:43
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 23, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Deploying reader with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5e4eba9
Status: ✅  Deploy successful!
Preview URL: https://bcbd89bf.reader-bsl.pages.dev
Branch Preview URL: https://dependabot-pip-pymupdf-2-0.reader-bsl.pages.dev

View logs

@dependabot dependabot Bot added the python Pull requests that update python code label Oct 23, 2026
Bumps [pymupdf](https://github.com/pymupdf/pymupdf) from 1.28.2 to 2.1.
- [Release notes](https://github.com/pymupdf/pymupdf/releases)
- [Changelog](https://github.com/pymupdf/PyMuPDF/blob/main/changes.txt)
- [Commits](pymupdf/PyMuPDF@1.28.2...2.1)

---
updated-dependencies:
- dependency-name: pymupdf
  dependency-version: '2.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump pymupdf from 1.28.2 to 2.0 chore(deps): bump pymupdf from 1.28.2 to 2.1 Nov 8, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/pymupdf-2.0 branch from 28e7a93 to 5e4eba9 Compare November 8, 2026 23:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants