Skip to content

Releases: pymupdf/langchain-pymupdf4llm

1.28.0

Choose a tag to compare

@jamie-lemon jamie-lemon released this 01 Jul 22:25

Updates to align with PyMuPDF4LLM 1.28.0 release - utilises PyMuPDF Layout by default.

1.27.2

Choose a tag to compare

@jamie-lemon jamie-lemon released this 10 Jun 23:26

Aligns versioning with PyMuPDF4LLM numbering

0.5.0

Choose a tag to compare

@lakinduboteju lakinduboteju released this 05 Nov 19:08
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

0.4.1

Choose a tag to compare

@lakinduboteju lakinduboteju released this 13 May 02:39
7f2a64b

Fixed : #9

  • Resolved an AttributeError occurring 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

Choose a tag to compare

@lakinduboteju lakinduboteju released this 02 May 02:20
cd1ad40

What's Changed

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.

Support for latest pymupdf4llm version 0.0.22.

Full Changelog: 0.3.1...0.4.0

0.3.1

Choose a tag to compare

@lakinduboteju lakinduboteju released this 09 Apr 02:24
3fe6148

What's Changed

Full Changelog: 0.3.0...0.3.1

0.3.0

Choose a tag to compare

@lakinduboteju lakinduboteju released this 30 Mar 21:59
876ec6d

Full Changelog: 0.2.0...0.3.0

0.2.0

Choose a tag to compare

@lakinduboteju lakinduboteju released this 24 Feb 10:18

What's Changed

Full Changelog: 0.1.1...0.2.0

0.1.1

Choose a tag to compare

@lakinduboteju lakinduboteju released this 19 Feb 06:55

Initial version