pymupdf breaking changes
Updated December 4, 2026
On this page
Latest version 2.2, released November 25, 2026. Source repository
Its 2.0 release requires Python 3.11 or later. Python end of life dates.
- From 1.28.2 to 2.2: 416 breaking changes in 3 versions.
- From 1.27.2 to 2.2: 503 breaking changes in 7 versions.
pymupdf 2.2 breaking changes
- Removed
pymupdf4llm.ocr.rapidocr_391_backend
pymupdf4llm.ocr.rapidocr_391_backend was removed in pymupdf 2.2 pypi.org - Behavior changed
get_text
Passing an unrecognized option to get_text now fails rather than falling back to the default. Code that relies on misspelled or unknown options must be corrected. github.com - Behavior changed
table.chars_in_rect
chars_in_rect now compares characters against top and bottom coordinates instead of y0 and y1, which can change which characters are found and therefore table detection output. github.com - Signature changed
pymupdf.table.extract_cells
Was def extract_cells(textpage, cell, markdown=False); now def extract_cells(textpage, cell, markdown=False, *, clean=False). pypi.org
pymupdf 2.1 breaking changes
- Removed
pymupdf.pymupdf.pymupdf
pymupdf.pymupdf.pymupdf was removed in pymupdf 2.1 pypi.org - Removed
pymupdf.pymupdf.pymupdf4llm
pymupdf.pymupdf.pymupdf4llm was removed in pymupdf 2.1 pypi.org
pymupdf 2.0 breaking changes
- Removed
pymupdf.Annot.update_timing_test
Annot.update_timing_test was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.fz_context.seed48
pymupdf.mupdf.fz_context.seed48 was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzActivityContext.__nonzero__
FzActivityContext.__nonzero__ was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzAes.__nonzero__
FzAes.__nonzero__ was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzAllocContext.__nonzero__
FzAllocContext.__nonzero__ was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzArc4.__nonzero__
FzArc4.__nonzero__ was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzArchive.__nonzero__
FzArchive.__nonzero__ was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzArchiveHandler.__nonzero__
FzArchiveHandler.__nonzero__ was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzArchiveHandlerContext.__nonzero__
FzArchiveHandlerContext.__nonzero__ was removed in pymupdf 2.0 pypi.org - Removed
pymupdf.mupdf.FzBandWriter.__nonzero__
FzBandWriter.__nonzero__ was removed in pymupdf 2.0 pypi.org
And 400 more in this version. Sign up to see every change
pymupdf 1.28.2 breaking changes
- Removed
pymupdf.table.TEXTPAGE
pymupdf.table.TEXTPAGE was removed in pymupdf 1.28.2 pypi.org - Signature changed
pymupdf.Document.ez_save
Was def ez_save(self, filename, garbage=3, clean=False, deflate=True, deflate_images=True, deflate_fonts=True, incremental=False, ascii=False, expand=False, linear=False, pretty=False, encryption=1, permissions=4095, owner_pw=None... pypi.org - Signature changed
pymupdf.Document.save
Was def save(self, filename, garbage=0, clean=0, deflate=0, deflate_images=0, deflate_fonts=0, incremental=0, ascii=0, expand=0, linear=0, no_new_id=0, appearance=0, pretty=0, encryption=1, permissions=4095, owner_pw=None, user_pw=None... pypi.org - Signature changed
pymupdf.Document.write
Was def write(self, garbage=False, clean=False, deflate=False, deflate_images=False, deflate_fonts=False, incremental=False, ascii=False, expand=False, linear=False, no_new_id=False, appearance=False, pretty=False, encryption=1... pypi.org - Signature changed
pymupdf.mupdf.fz_find_table_within_bounds
Was def fz_find_table_within_bounds(page, bounds); now def fz_find_table_within_bounds(page, bounds, opts). pypi.org - Signature changed
pymupdf.mupdf.fz_find_table_within_grid
Was def fz_find_table_within_grid(page, xpos, ypos, limit); now def fz_find_table_within_grid(page, xpos, ypos, limit, opts). pypi.org - Signature changed
pymupdf.mupdf.fz_find_table_within_grid_dividers
Was def fz_find_table_within_grid_dividers(page, xs, ys, limit); now def fz_find_table_within_grid_dividers(page, xs, ys, limit, opts). pypi.org - Signature changed
pymupdf.mupdf.fz_find_table_within_grid_floats
Was def fz_find_table_within_grid_floats(page, xs, ys, limit); now def fz_find_table_within_grid_floats(page, xs, ys, limit, opts). pypi.org - Signature changed
pymupdf.mupdf.fz_propose_table_within_bounds_outparams_fn
Was def fz_propose_table_within_bounds_outparams_fn(page, bounds); now def fz_propose_table_within_bounds_outparams_fn(page, bounds, opts). pypi.org - Signature changed
pymupdf.mupdf.fz_table_hunt
Was def fz_table_hunt(page); now def fz_table_hunt(page, opts). pypi.org
And 19 more in this version. Sign up to see every change
pymupdf 1.28.0 breaking changes
- Removed
pymupdf.mupdf.fz_context.throw_on_repair
pymupdf.mupdf.fz_context.throw_on_repair was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_copy_option
pymupdf.mupdf.fz_copy_option was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_end_throw_on_repair
pymupdf.mupdf.fz_end_throw_on_repair was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_has_option
pymupdf.mupdf.fz_has_option was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_has_option_outparams_fn
pymupdf.mupdf.fz_has_option_outparams_fn was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_match_quad
pymupdf.mupdf.fz_match_quad was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_option_eq
pymupdf.mupdf.fz_option_eq was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_search_result_details
pymupdf.mupdf.fz_search_result_details was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_search_set_options
pymupdf.mupdf.fz_search_set_options was removed in pymupdf 1.28.0 pypi.org - Removed
pymupdf.mupdf.fz_start_throw_on_repair
pymupdf.mupdf.fz_start_throw_on_repair was removed in pymupdf 1.28.0 pypi.org
And 44 more in this version. Sign up to see every change
pymupdf 1.27.2.3 breaking changes
- Behavior changed
The build tooling switched to the published pipcl package rather than the project's own pipcl.py file. Users building from source may need to adjust their build setup; ordinary installs are unaffected. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
pymupdf 1.27.2.2 breaking changes
- Removed
pymupdf.find_tables
pymupdf.find_tables was removed in pymupdf 1.27.2.2 pypi.org - Signature changed
pymupdf.Page.insert_textbox
Was def insert_textbox(page: 'Page', rect: rect_like, buffer: typing.Union[str, list], *, fontname: str = 'helv', fontfile: OptStr = None, set_simple: int = 0, encoding: int = 0, fontsize: float = 11, lineheight: OptFloat = None, color... pypi.org
And 1 more in this version.
pymupdf 1.27.2 breaking changes
- Behavior changed
get_textpage_ocr
For partial OCR, get_textpage_ocr() now OCRs all page areas outside legible text, not only areas within images. This also includes vector graphics and text with illegible characters, so OCR output can differ from earlier versions. github.com - Signature changed
pymupdf.Document.pages
Was def pages(self, start: OptInt = None, stop: OptInt = None, step: OptInt = None) -> _pages_ret; now def pages(self, start: OptInt = None, stop: OptInt = None, step: OptInt = None) -> collections.abc.Iterable[Page]. pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.