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