- Upgraded libbrotli to v1.1.0
- Added explicit support for Python 3.10, 3.11, and 3.12
- Removed support for Python 2.7, 3.5, and 3.6
- Added
manylinux_aarch64
wheels
- Avoid byte/string comparison warning in error message construction
- Updated to v1.0.9 of the Brotli library
- Library version now follows Brotli version
- Removed the
dictionary
parameter fromcompress
andCompressor
- NOTE: Python 2.7 wheels for Windows likely won't work until google/brotli#848 is resolved
- Renamed the package on PyPI to
brotlicffi
, all further updates will be published to the new package. Using thebrotlipy
is deprecated. - Changed the importable namespace from
brotli
tobrotlicffi
to no longer conflict with theBrotli
PyPI package. - Added
process()
method toCompressor
andDecompressor
. - Added
is_finished()
method toDecompressor
.
- Update to v0.6.0 of the Brotli library.
- Resolved a bug where
decompress()
would return an empty bytestring instead of erroring if the provided bytestring was small enough. - Added the
finish()
method to the streaming decompressor.
- Update to v0.5.2 of the Brotli library.
- Add new exception type (
Error
). - Add compatibility with C++ brotli library by aliasing
Error
toerror
. - Extra error checking of input parameters to the compressor.
- Update to v0.5.0 of the Brotli library.
- Extend one-shot compression API to include all control parameters.
- Added streaming/incremental compression API.
- Added flags to control compression mode.
Update to v0.4.0 of the Brotli library.
Update to v0.3.0 of the Brotli library.
Fix broken brotli.compress
support on Windows.
- Added basic for
brotli.compress
through a C wrapper included in this library.