diff --git a/python-zstandard.changes b/python-zstandard.changes index a6cabd8..62a9828 100644 --- a/python-zstandard.changes +++ b/python-zstandard.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Sun Nov 20 04:47:59 UTC 2022 - Mia Herkt + +- Update to 0.19.0 +Bug fixes + * The C backend implementation of + ZstdDecompressionObj.decompress() could have raised an + assertion in cases where the function was called multiple times + on an instance. In non-debug builds, calls to this method could + have leaked memory. +Changes + * PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added. + * Anaconda 3.6 support dropped. + * Official support for Python 3.11. This did not require + meaningful code changes and previous release(s) likely worked + with 3.11 without any changes. CFFI's build system now respects + distutils's compiler.preprocessor if it is set. + gh#indygreg/python-zstandard#179 + * The internal logic of ZstdDecompressionObj.decompress() was + refactored. This may have fixed unconfirmed issues where + unused_data was set prematurely. The new logic will also avoid + an extra call to ZSTD_decompressStream() in some scenarios, + possibly improving performance. + * ZstdDecompressor.decompress() how has a read_across_frames + keyword argument. It defaults to False. True is not yet + implemented and will raise an exception if used. The new + argument will default to True in a future release and is + provided now so callers can start passing + read_across_frames=False to preserve the existing functionality + during a future upgrade. + * ZstdDecompressor.decompress() now has an allow_extra_data + keyword argument to control whether an exception is raised if + input contains extra data. It defaults to True, preserving + existing behavior of ignoring extra data. It will likely + default to False in a future release. Callers desiring the + current behavior are encouraged to explicitly pass + allow_extra_data=True so behavior won't change during a future + upgrade. +- No changelog for 0.18.0 available + ------------------------------------------------------------------- Tue Feb 1 22:44:25 UTC 2022 - Ben Greiner diff --git a/python-zstandard.spec b/python-zstandard.spec index 6e6d053..6692ca3 100644 --- a/python-zstandard.spec +++ b/python-zstandard.spec @@ -16,10 +16,9 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-zstandard -Version: 0.17.0 +Version: 0.19.0 Release: 0 Summary: Zstandard bindings for Python License: BSD-3-Clause diff --git a/zstandard-0.17.0.tar.gz b/zstandard-0.17.0.tar.gz deleted file mode 100644 index 7f11415..0000000 --- a/zstandard-0.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa9194cb91441df7242aa3ddc4cb184be38876cb10dd973674887f334bafbfb6 -size 629456 diff --git a/zstandard-0.19.0.tar.gz b/zstandard-0.19.0.tar.gz new file mode 100644 index 0000000..b6a6465 --- /dev/null +++ b/zstandard-0.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31d12fcd942dd8dbf52ca5f6b1bbe287f44e5d551a081a983ff3ea2082867863 +size 633245