# What changed in pymupdf4llm

> 9 changes in pymupdf4llm 0.2 to 0.3 from its official release notes, upgrade guides and advisories: 1 breaking, 5 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/pypi/pymupdf4llm/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## pymupdf4llm 0.3

### New APIs and options

- A new parameter calls the supplied ocr_function on every page, skipping the OCR worthiness check; it requires ocr_function. (0.3.4) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/v0.3.4)
- OCR can combine RapidOCR and Tesseract-OCR for improved results. (0.3.4) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/v0.3.4)
- A new parameter accepts a callable that OCRs a page and provides it with a text layer. (0.3.4) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/v0.3.4)
- Support was added for using RapidOCR via a callable plugin. (0.3.4) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/v0.3.4)

### Behavior and default changes

- The default DPI for OCR changed from 400 to 300. (0.3.4) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/v0.3.4)

## pymupdf4llm 0.2

### Breaking changes

- Removed the OpenCV dependency; numpy is now used to check whether a page is worthwhile to OCR. (0.2.9) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/0.2.9)

### New APIs and options

- Added a top-level function to extract field names and values from Form PDFs; it is available whether or not PyMuPDF-Layout is active. (0.2.9) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/0.2.9)

### Fixes and other changes

- Fixed image saving when the document filename contains folder specifications. (0.2.9) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/0.2.9)
- Page chunk output may fail for erroneous layout bounding boxes; this is fixed. (0.2.9) — [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/v0.3.4), [release notes](https://github.com/pymupdf/pymupdf4llm/releases/tag/0.2.9)
