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
On this page
Latest version 0.26.0, released December 4, 2026. Source repository
Its 0.24.0 release requires Python 3.9 or later. Python end of life dates.
zstandard 0.26.0 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
And 6 more in this version. Sign up to see every change
zstandard 0.25.0 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 - 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 - 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 - 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 - 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 - 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
zstandard 0.24.0 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 - Configuration changed
The package now requires cffi 1.17.0 or newer, so environments with older cffi versions must upgrade cffi. github.com - 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
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.