Releases: pymupdf/langchain-pymupdf4llm
Release list
1.28.0
Updates to align with PyMuPDF4LLM 1.28.0 release - utilises PyMuPDF Layout by default.
1.27.2
Aligns versioning with PyMuPDF4LLM numbering
0.5.0
🚀 Overview
This release upgrades langchain-pymupdf4llm to full compatibility with LangChain v1.0+ and modern Python packaging standards.
It updates all dependencies, refreshes the Poetry configuration, and modernizes the documentation while preserving backward-compatible APIs.
🔧 Key Changes
Core
- Updated
langchain-coredependency to>=1.0.0,<2.0.0 - Updated
pymupdf4llmto>=0.1.0,<0.2.0 - Verified all loader and parser imports against LangChain v1.0+ APIs
- Maintained backward compatibility with previous loader behavior
Packaging / Poetry
- Modernized
pyproject.tomlandpoetry.lockfor Poetry 2.x - Clean dependency graph and explicit Python 3.11+ requirement
- Removed unused or redundant dependencies (e.g., LangGraph)
Testing
-
Upgraded testing stack:
pytest8.4.2pytest-asyncio1.2.0langchain-tests1.0.1
-
18 unit & integration tests all passing ✅
-
Verified under Python 3.11.14 inside Docker
Documentation
-
Updated
README.mdwith:- LangChain v1.0+ badge & compatibility notice
- Updated installation and usage examples
- Clear Docker-based development instructions
- Contribution and build guidelines
Versioning
- Bumped package version: 0.4.1 → 0.5.0
- Ready for publication to PyPI
🧪 Verification Results
| Check | Status |
|---|---|
Tests run with poetry run pytest -v |
✅ 18/18 passed |
| Poetry install / lock clean | ✅ |
Package build (poetry build) |
✅ |
| Docker dev environment | ✅ Python 3.11 / Poetry 2.2.1 |
📦 Upgrade Instructions
pip install -U langchain-pymupdf4llm
# or via poetry
poetry add langchain-pymupdf4llm@^0.5.0Requires:
- Python ≥ 3.11
- LangChain Core ≥ 1.0.0
- PyMuPDF4LLM ≥ 0.1.0
0.4.1
Fixed : #9
- Resolved an
AttributeErroroccurring during image extraction from PDFs. - Issue was due to incorrect handling of temporary directory object.
- Adjusted code to directly utilize the string value provided.
PyMuPDF4LLM version update
- 0.0.22 -> 0.0.24
Full Changelog: 0.4.0...0.4.1
0.4.0
What's Changed
- Expand PyMuPDF4LLM configuration options by @lakinduboteju in #7
The pymupdf4llm_kwargs parameter in the PyMuPDF4LLMLoader allows you to pass additional keyword arguments directly to the underlying pymupdf4llm.to_markdown function, which is used internally by the PyMuPDF4LLMParser.
This provides flexibility to customize the PDF parsing and markdown conversion process using options available in the pymupdf4llm library that are not explicitly exposed as parameters in the PyMuPDF4LLMLoader itself.
- Changes for version 0.4.0 by @lakinduboteju in #8
Support for latest pymupdf4llm version 0.0.22.
Full Changelog: 0.3.1...0.4.0
0.3.1
What's Changed
- Update pymupdf4llm version 0.0.19 -> 0.0.20 by @lakinduboteju in #6
Full Changelog: 0.3.0...0.3.1
0.3.0
0.2.0
What's Changed
- Merging source code for pre-release v0.2.0 by @lakinduboteju in #2
Full Changelog: 0.1.1...0.2.0