---
title: "zstandard 0.26.0 Breaking Changes on PyPI | Since.dev"
description: "What each zstandard release removed, renamed or changed: 25 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/zstandard
last_updated: 2026-12-05
---

# zstandard breaking changes

Every breaking API change we have recorded in zstandard on PyPI: 25 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 5, 2026

Latest version `0.26.0`, released December 4, 2026. [Source repository](https://github.com/indygreg/python-zstandard)

Its 0.24.0 release requires Python 3.9 or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.24.0](#v-0-24-0) to [0.26.0](#v-0-26-0): 22 breaking changes in 2 versions.

## zstandard 0.26.0 breaking changes

zstandard 0.26.0, released December 4, 2026: 16 breaking changes.

- **Signature changed** `zstandard.backend_cffi.ZstdCompressor.copy_stream`  

Was def copy_stream(self, ifh: IO\[bytes\], ofh: IO\[bytes\], size: int = -1, read_size: int = COMPRESSION_RECOMMENDED_INPUT_SIZE, write_size: int = COMPRESSION_RECOMMENDED_OUTPUT_SIZE) -> Tuple\[int, int\]; now def copy_stream(self, ifh... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.backend_cffi.ZstdCompressor.read_to_iter`  

Was def read_to_iter(self, reader: Union\[IO\[bytes\], ByteString\], size: int = -1, read_size: int = COMPRESSION_RECOMMENDED_INPUT_SIZE, write_size: int = COMPRESSION_RECOMMENDED_OUTPUT_SIZE) -> Generator\[bytes, None, None\]; now def... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.backend_cffi.ZstdCompressor.stream_reader`  

Was def stream_reader(self, source: Union\[IO\[bytes\], ByteString\], size: int = -1, read_size: int = COMPRESSION_RECOMMENDED_INPUT_SIZE, closefd: bool = True) -> ZstdCompressionReader; now def stream_reader(self, source: Union\[ByteString... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.backend_cffi.ZstdCompressor.stream_writer`  

Was def stream_writer(self, writer: IO\[bytes\], size: int = -1, write_size: int = COMPRESSION_RECOMMENDED_OUTPUT_SIZE, write_return_read: bool = True, closefd: bool = True) -> ZstdCompressionWriter; now def stream_writer(self, writer... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.backend_cffi.ZstdDecompressor.copy_stream`  

Was def copy_stream(self, ifh: IO\[bytes\], ofh: IO\[bytes\], read_size: int = DECOMPRESSION_RECOMMENDED_INPUT_SIZE, write_size: int = DECOMPRESSION_RECOMMENDED_OUTPUT_SIZE) -> Tuple\[int, int\]; now def copy_stream(self, ifh: \_Readable, ofh... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.backend_cffi.ZstdDecompressor.read_to_iter`  

Was def read_to_iter(self, reader: Union\[IO\[bytes\], ByteString\], read_size: int = DECOMPRESSION_RECOMMENDED_INPUT_SIZE, write_size: int = DECOMPRESSION_RECOMMENDED_OUTPUT_SIZE, skip_bytes: int = 0) -> Generator\[bytes, None, None\]; now def... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.backend_cffi.ZstdDecompressor.stream_reader`  

Was def stream_reader(self, source: Union\[IO\[bytes\], ByteString\], read_size: int = DECOMPRESSION_RECOMMENDED_INPUT_SIZE, read_across_frames: bool = False, closefd=True) -> ZstdDecompressionReader; now def stream_reader(self, source... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.backend_cffi.ZstdDecompressor.stream_writer`  

Was def stream_writer(self, writer: IO\[bytes\], write_size: int = DECOMPRESSION_RECOMMENDED_OUTPUT_SIZE, write_return_read: bool = True, closefd: bool = True) -> ZstdDecompressionWriter; now def stream_writer(self, writer: \_Writable... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.ZstdCompressor.copy_stream`  

Was def copy_stream(self, ifh: IO\[bytes\], ofh: IO\[bytes\], size: int = -1, read_size: int = COMPRESSION_RECOMMENDED_INPUT_SIZE, write_size: int = COMPRESSION_RECOMMENDED_OUTPUT_SIZE) -> Tuple\[int, int\]; now def copy_stream(self, ifh... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)
- **Signature changed** `zstandard.ZstdCompressor.read_to_iter`  

Was def read_to_iter(self, reader: Union\[IO\[bytes\], ByteString\], size: int = -1, read_size: int = COMPRESSION_RECOMMENDED_INPUT_SIZE, write_size: int = COMPRESSION_RECOMMENDED_OUTPUT_SIZE) -> Generator\[bytes, None, None\]; now def... [pypi.org](https://pypi.org/project/zstandard/0.26.0/)

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

## zstandard 0.25.0 breaking changes

zstandard 0.25.0, released September 14, 2025: 6 breaking changes.

- **Behavior changed**  

On Python 3.14 the cffi dependency must be at least 2.0.0b; older Pythons still require cffi 1.17. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.25.0)
- **Behavior changed**  

On free-threaded CPython builds older than 3.14 the cffi backend is now automatically disabled, because cffi lacked free-threaded support before 2.0. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.25.0)
- **Behavior changed**  

Wheels for Python 3.14 are built with manylinux_2_28 instead of manylinux2014, which may raise the minimum glibc and drop support for some old distributions. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.25.0)
- **Behavior changed**  

The setuptools build dependency is now >=77.0.0, which broke --config-settings=--build-option. Use --config-settings=--global-option instead. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.25.0)
- **Behavior changed** `zstandard.backend_c`  

Fully qualified type names changed from zstd.\* to zstandard.backend_c.\*, which mainly affects pickling of types such as ZstdError. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.25.0)
- **Configuration changed**  

The pyproject.toml build backend is now setuptools.build_meta instead of setuptools.build_meta:\_\_legacy\_\_. Check any build tooling that depends on the legacy backend. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.25.0)

## zstandard 0.24.0 breaking changes

zstandard 0.24.0, released August 17, 2025: 3 breaking changes.

- **Removed**  

Python 3.9 is now the minimum supported version. Python 3.8 is no longer officially supported, so users on 3.8 must upgrade Python. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.24.0)
- **Configuration changed**  

The package now requires cffi 1.17.0 or newer, so environments with older cffi versions must upgrade cffi. [github.com](https://github.com/indygreg/python-zstandard/releases/tag/0.24.0)
- **Signature changed** `zstandard.get_frame_parameters`  

Was def get_frame_parameters(data: ByteString) -> FrameParameters; now def get_frame_parameters(data: ByteString, format: Optional\[int\] = FORMAT_ZSTD1) -> FrameParameters. [pypi.org](https://pypi.org/project/zstandard/0.24.0/)

## 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.
