Backwards Compatibility Notes
ZstdDecompressor.decompressobj()
will changeread_across_frames
to
default toTrue
in a future release. If you depend on the current
functionality of stopping at frame boundaries, start explicitly passing
read_across_frames=False
to preserve the current behavior.manylinux2010
wheels are no longer published since this wheel format
is no longer supported by the pypa/manylinux project.- Removed CI coverage for PyPy 3.7 and 3.8, which are no longer supported
PyPy versions. - Support for Python 3.7 has been dropped because it reached end of life.
Python 3.8 is the minimum supported Python version. The code should still be
compatible with Python 3.7 and removing of version checks fromsetup.py
will likely yield a working install. However, this is no officially supported.
Bug Fixes
ZstdDecompressor.decompress()
withallow_extra_data=False
would
previously allow extra data to exist after an empty zstd frame (a frame
holding 0 length input). This scenario now raises an exception.
Changes
ZstdDecompressor.decompressobj()
now accepts aread_across_frames
boolean named argument to control whether to transparently read across
multiple zstd frames. It defaults toFalse
to preserve existing
behavior.- Added CI coverage for PyPy 3.10.
- Added CI coverage for newer Anaconda Python versions.
- Packages used in CI have been upgraded to latest versions. This should
nominally only impact developers of this project and not end-users. pyproject.toml
now declares a[build-system]
section saying to build
with setuptools.- CI now builds wheels with pip instead of
setup.py
directly. - Official support for CPython 3.12. Binary wheels for 3.12 are now published
during releases. There were no meaningful code changes to support Python 3.12. - Binary wheels for musllinux_1_1 x86_64 and aarch64 are now being built and
published.