---
title: "pypdfium2 5.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each pypdfium2 release removed, renamed or changed: 1,253 breaking changes in 7 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pypdfium2
last_updated: 2026-12-04
---

# pypdfium2 breaking changes

pypdfium2 5.0.0 (October 26, 2025) is its newest release with breaking changes, 8 of them. The first: Signature changed pypdfium2.PdfBitmap.new_native. Every breaking API change we have recorded in pypdfium2 on PyPI: 1,253 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.15.2`, released November 9, 2026. [Source repository](https://github.com/pypdfium2-team/pypdfium2)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 43 breaking changes in 3 versions.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 1,213 breaking changes in 5 versions.

## pypdfium2 5.0.0 breaking changes

pypdfium2 5.0.0, released October 26, 2025: 8 breaking changes.

- **Signature changed** `pypdfium2.PdfBitmap.new_native`  

Was @classmethod def new_native(cls, width, height, format, rev_byteorder=False, buffer=None); now @classmethod def new_native(cls, width, height, format, rev_byteorder=False, buffer=None, stride=None). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)
- **Signature changed** `pypdfium2.PdfDocument.save`  

Was def save(self, dest, version=None, flags=pdfium_c.FPDF_NO_INCREMENTAL); now def save(self, dest, version=None, flags=0). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)
- **Signature changed** `pypdfium2.PdfFormEnv.__init__`  

Was def \_\_init\_\_(self, raw, config, pdf); now def \_\_init\_\_(self, raw, pdf, config). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)
- **Signature changed** `pypdfium2.PdfImage.get_bitmap`  

Was def get_bitmap(self, render=False); now def get_bitmap(self, render=False, scale_to_original=True). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)
- **Signature changed** `pypdfium2.PdfObject.__init__`  

Was def \_\_init\_\_(self, raw, page=None, pdf=None, level=0); now def \_\_init\_\_(self, raw, page=None, pdf=None, container=None, level=0). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)
- **Signature changed** `pypdfium2.PdfPage.get_objects`  

Was def get_objects(self, filter=None, max_depth=2, form=None, level=0); now def get_objects(self, filter=None, max_depth=15, form=None, level=0). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)
- **Signature changed** `pypdfium2.PdfTextPage.get_text_range`  

Was def get_text_range(self, index=0, count=-1, errors='ignore', force_this=False); now def get_text_range(self, index=0, count=-1, errors='ignore'). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)
- **Signature changed** `pypdfium2.PdfTextPage.search`  

Was def search(self, text, index=0, match_case=False, match_whole_word=False, consecutive=False); now def search(self, text, index=0, match_case=False, match_whole_word=False, consecutive=False, flags=0). [pypi.org](https://pypi.org/project/pypdfium2/5.0.0/)

## pypdfium2 5.0.0b2 breaking changes

pypdfium2 5.0.0b2, released October 26, 2025: 24 breaking changes.

- **Removed**  

The bash ./run file is replaced by a justfile; use just to run tasks. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed**  

Drops .reuse/dep5 license file in favor of REUSE.toml in pypdfium2 5.0.0b2 [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `PdfBitmap.get_info`  

Take the bitmap info directly from the PdfBitmap object instead of calling get_info(). [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `PdfBitmapInfo`  

Read bitmap properties from the PdfBitmap object directly. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `PdfDocument.get_toc`  

get_toc() now yields PdfBookmark and PdfDest objects instead of PdfOutlineItem, and the signed count is given as-is rather than n_kids and is_closed. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `PdfDocument.render`  

PdfDocument.render() is gone. Use PdfPage.render() with a loop or process pool instead. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `PdfImage.extract`  

Drop the fb_render option; use get_bitmap(render=True) to get the rendered bitmap. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `V_BUILDNAME`  

Use PDFIUM_INFO instead. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `V_LIBPDFIUM`  

Use PDFIUM_INFO instead. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)
- **Removed** `V_LIBPDFIUM_FULL`  

Use PDFIUM_INFO instead. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b2)

And 14 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pypdfium2 5.0.0b1 breaking changes

pypdfium2 5.0.0b1, released October 26, 2025: 11 breaking changes.

- **Removed**  

Code relying on the legacy version flags must stop using them. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Removed** `PdfBitmap.get_info`  

Take the info from the PdfBitmap object directly instead of calling get_info(). [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Removed** `PdfBitmapInfo`  

Take the info from the PdfBitmap object directly instead of using PdfBitmapInfo. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Removed** `PdfDocument.render`  

Use PdfPage.render() with a loop or process pool instead of PdfDocument.render(). [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Removed** `PdfImage.extract`  

Use get_bitmap(render=True) to get the rendered bitmap instead of fb_render. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Removed** `PdfOutlineItem`  

Use the PdfBookmark and PdfDest wrapper classes returned by get_toc() instead of PdfOutlineItem. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Renamed** `PdfImage.get_size`  

Call get_px_size() instead of get_size(). [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Renamed** `PdfObject.get_pos`  

Call get_bounds() instead of get_pos(). [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Behavior changed** `get_text_range`  

Default calls now use UCS-2 text; call get_text_bounded() explicitly for full Unicode support. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)
- **Behavior changed** `PdfBitmap.to_numpy`  

Single-channel bitmaps now produce a 2d shape instead of wrapping each pixel value in a list. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/5.0.0b1)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pypdfium2 4.0.0 breaking changes

pypdfium2 4.0.0, released February 28, 2023: 1,167 breaking changes.

- **Removed** `pypdfium2.__main__.main`  

pypdfium2.\_\_main\_\_.main was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.BitmapConv`  

pypdfium2.BitmapConv was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.BitmapConvAliases`  

pypdfium2.BitmapConvAliases was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.BitmapConvBase`  

pypdfium2.BitmapConvBase was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.BitmapStrReverseToRegular`  

pypdfium2.BitmapStrReverseToRegular was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.BitmapTypeToNChannels`  

pypdfium2.BitmapTypeToNChannels was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.BitmapTypeToStr`  

pypdfium2.BitmapTypeToStr was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.BitmapTypeToStrReverse`  

pypdfium2.BitmapTypeToStrReverse was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.c_double`  

pypdfium2.c_double was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)
- **Removed** `pypdfium2.c_float`  

pypdfium2.c_float was removed in pypdfium2 4.0.0 [pypi.org](https://pypi.org/project/pypdfium2/4.0.0/)

And 1,157 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## pypdfium2 4.0.0b1 breaking changes

pypdfium2 4.0.0b1, released February 28, 2023: 3 breaking changes.

- **Behavior changed**  

Many existing features changed in the support model rewrite; users must read the updated documentation and migrate their code. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/4.0.0b1)
- **Behavior changed**  

Raw API bindings no longer encode strings implicitly; callers must encode strings themselves. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/4.0.0b1)
- **Behavior changed** `pypdfium2.raw`  

The raw API is now only available under pypdfium2.raw. Code importing raw bindings from the top-level package must be updated. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/4.0.0b1)

## pypdfium2 3.0.0 breaking changes

pypdfium2 3.0.0, released September 24, 2022: 26 breaking changes.

- **Removed** `BitmapDataHolder`  

BitmapDataHolder has been removed; render_base returns a ctypes array directly. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Removed** `no_antialias`  

Use the separate options no_smoothtext, no_smoothimage and no_smoothpath instead. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Removed** `PdfPage.count_objects`  

Use PdfPage.get_objects() or the raw PDFium API instead. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Removed** `PdfPageObject.get_type`  

Replace calls to get_type() with the type attribute. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Renamed** `$PYP_TARGET_PLATFORM`  

The setup variable was renamed to PDFIUM_BINARY, and its sdist value was renamed to none. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Renamed** `annotations`  

Rename the annotations rendering parameter to draw_annots. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Renamed** `colour`  

Rename colour to fill_colour; it now only accepts a list of 4 values, not 3 values or None. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Behavior changed**  

Setup only checks system commands now; if opting out of build isolation, install setup dependencies beforehand. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Behavior changed**  

Platform files are procured implicitly on installation and outdated ones are updated by default; create .lock_autoupdate.txt in data/ to opt out. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)
- **Behavior changed** `OutlineItem.is_closed`  

OutlineItem.is_closed is now None rather than False if the bookmark has no kids. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0)

And 16 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### pypdfium2 3.0.0b1 breaking changes

pypdfium2 3.0.0b1, released September 24, 2022: 14 breaking changes.

- **Removed** `BitmapDataHolder`  

BitmapDataHolder was removed, since rendering now uses a Python-allocated buffer. Callers no longer need to free resources. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0b1)
- **Removed** `no_antialias`  

no_antialias was replaced with separate boolean options no_smoothtext, no_smoothimage, and no_smoothpath. Update calls that pass no_antialias. [github.com](https://github.com/pypdfium2-team/pypdfium2/releases/tag/3.0.0b1)

And 12 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
