Skip to content

0.5.0

Choose a tag to compare

@lakinduboteju lakinduboteju released this 05 Nov 19:08
· 21 commits to main since this release
c114980

🚀 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-core dependency to >=1.0.0,<2.0.0
  • Updated pymupdf4llm to >=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.toml and poetry.lock for Poetry 2.x
  • Clean dependency graph and explicit Python 3.11+ requirement
  • Removed unused or redundant dependencies (e.g., LangGraph)

Testing

  • Upgraded testing stack:

    • pytest 8.4.2
    • pytest-asyncio 1.2.0
    • langchain-tests 1.0.1
  • 18 unit & integration tests all passing ✅

  • Verified under Python 3.11.14 inside Docker

Documentation

  • Updated README.md with:

    • 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.0

Requires:

  • Python ≥ 3.11
  • LangChain Core ≥ 1.0.0
  • PyMuPDF4LLM ≥ 0.1.0