pypdf breaking changes
Updated December 4, 2026
On this page
Latest version 7.2.0, released November 26, 2026. Source repository
Its 7.0.0 release drops Python 3.9. Python end of life dates.
- From 6.0.0 to 7.2.0: 37 breaking changes in 4 versions.
- From 5.0.0 to 7.2.0: 56 breaking changes in 5 versions.
pypdf 7.2.0 breaking changes
- Signature changed
pypdf.Configuration.__init__
Was def __init__(self, maximum_declared_stream_length: int = 75000000, array_based_stream_maximum_output_length: int = 75000000, array_maximum_element_count: int = 100000, dictionary_maximum_element_count: int = 100000... pypi.org - Signature changed
pypdf.generic.TreeObject.insert_child
Was def insert_child(self, child: Any, before: Any, pdf: PdfWriterProtocol, inc_parent_counter: Callable[..., Any] | None = None) -> IndirectObject; now def insert_child(self, child: Any, before: IndirectObject | None, pdf... pypi.org - Signature changed
pypdf.PdfReader.__init__
Was def __init__(self, stream: StrByteType | Path, strict: bool = False, password: str | bytes | None = None, *, root_object_recovery_limit: int | None = 10000, xref_stream_maximum_entries: int = 2000000) -> None; now def __init__(self... pypi.org
pypdf 7.1.1 breaking changes
- Removed
pypdf.filters.CCITT
pypdf.filters.CCITT was removed in pypdf 7.1.1 pypi.org - Removed
pypdf.filters.FT
pypdf.filters.FT was removed in pypdf 7.1.1 pypi.org - Removed
pypdf.filters.FTA
pypdf.filters.FTA was removed in pypdf 7.1.1 pypi.org - Removed
pypdf.filters.LZW
pypdf.filters.LZW was removed in pypdf 7.1.1 pypi.org - Behavior changed
Cross-reference streams exceeding the new work and memory restrictions are now rejected, so code reading very large or unusual PDFs may now fail. github.com - Behavior changed
Inline images larger than the new limit on the known-size fallback path are now rejected, so code processing very large inline images may now fail. github.com - Behavior changed
Page label data above the overall size limit no longer falls back to default labels, so files with very large page label data may now be handled differently. github.com - Signature changed
pypdf.PdfWriter.update_page_form_field_values
Was def update_page_form_field_values(self, page: PageObject | list[PageObject] | None, fields: Mapping[str, str | list[str] | tuple[str, str, float]], flags: FA.FfBits = FFBITS_NUL, auto_regenerate: bool | None = True, flatten: bool =... pypi.org
pypdf 7.1.0 breaking changes
- Signature changed
pypdf.PdfWriter.add_outline_item
Arguments to add_outline_item beyond the first must now be passed by keyword name instead of position. pypi.org
pypdf 7.0.0 breaking changes
- Removed
The package no longer supports Python 3.9. Use a newer Python version. github.com - Removed
Versions of the cryptography package older than 43 are no longer supported. Upgrade cryptography to 43 or later. github.com - Removed
Deprecated features were cleaned up for the next major release. Code that still uses them may break and should move to the current replacements. github.com - Removed
pypdf.constants.deprecate_with_replacement
pypdf.constants.deprecate_with_replacement was removed in pypdf 7.0.0 pypi.org - Removed
pypdf.filters.CCITParameters
pypdf.filters.CCITParameters was removed in pypdf 7.0.0 pypi.org - Removed
pypdf.filters.deprecate
pypdf.filters.deprecate was removed in pypdf 7.0.0 pypi.org - Removed
pypdf.filters.deprecation_with_replacement
pypdf.filters.deprecation_with_replacement was removed in pypdf 7.0.0 pypi.org - Removed
pypdf.generic.NameObject.surfix
NameObject.surfix was removed in pypdf 7.0.0 pypi.org - Removed
pypdf.PdfReader.decode_permissions
PdfReader.decode_permissions was removed in pypdf 7.0.0 pypi.org - Removed
pypdf.PdfWriter.decode_permissions
PdfWriter.decode_permissions was removed in pypdf 7.0.0 pypi.org
And 15 more in this version. Sign up to see every change
pypdf 6.0.0 breaking changes
- Removed
Features that were deprecated in earlier releases were removed in this release. The document does not name them, so check your code for deprecation warnings from pypdf 5.9.0 and replace those calls. github.com - Removed
Python 3.8 is no longer supported by this release. Users on Python 3.8 must upgrade their Python version before installing pypdf 6.0.0. github.com - Removed
pypdf.constants.Ressources
pypdf.constants.Ressources was removed in pypdf 6.0.0 pypi.org - Removed
pypdf.filters.BooleanObject
pypdf.filters.BooleanObject was removed in pypdf 6.0.0 pypi.org - Removed
pypdf.filters.deprecate
pypdf.filters.deprecate was removed in pypdf 6.0.0 pypi.org - Removed
pypdf.filters.deprecation_no_replacement
pypdf.filters.deprecation_no_replacement was removed in pypdf 6.0.0 pypi.org - Removed
pypdf.filters.DeprecationError
pypdf.filters.DeprecationError was removed in pypdf 6.0.0 pypi.org - Removed
pypdf.filters.StreamObject.initializeFromDictionary
StreamObject.initializeFromDictionary was removed in pypdf 6.0.0 pypi.org - Removed
pypdf.generic.AnnotationBuilder
pypdf.generic.AnnotationBuilder was removed in pypdf 6.0.0 pypi.org - Removed
pypdf.PdfMerger
pypdf.PdfMerger was removed in pypdf 6.0.0 pypi.org
And 9 more in this version. Sign up to see every change
pypdf 5.0.0 breaking changes
- Removed
Python 3.7 is no longer supported by this release. github.com - Removed
AnnotationBuilder
AnnotationBuilder has been removed; use annotations instead. github.com - Removed
PdfMerger
PdfMerger has been removed; use PdfWriter instead. github.com - Removed
pypdf.constants.classproperty
pypdf.constants.classproperty was removed in pypdf 5.0.0 pypi.org - Removed
pypdf.constants.deprecate_with_replacement
pypdf.constants.deprecate_with_replacement was removed in pypdf 5.0.0 pypi.org - Removed
pypdf.constants.Ressources.COLOR_SPACE
pypdf.constants.Ressources.COLOR_SPACE was removed in pypdf 5.0.0 pypi.org - Removed
pypdf.constants.Ressources.EXT_G_STATE
pypdf.constants.Ressources.EXT_G_STATE was removed in pypdf 5.0.0 pypi.org - Removed
pypdf.constants.Ressources.FONT
pypdf.constants.Ressources.FONT was removed in pypdf 5.0.0 pypi.org - Removed
pypdf.constants.Ressources.PATTERN
pypdf.constants.Ressources.PATTERN was removed in pypdf 5.0.0 pypi.org - Removed
pypdf.constants.Ressources.PROC_SET
pypdf.constants.Ressources.PROC_SET was removed in pypdf 5.0.0 pypi.org
And 48 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.