* API Changes (Backward Incompatible)**
- Support for Python 3.6 has been removed.
- Support for Python 3.7 has been removed.
- Support for Python 3.8 has been removed.
- Renamed `InvalidTableIndex` exception to `InvalidTableIndexError`.
* API Changes (Backward Compatible)**
- Support for Python 3.9 has been added.
- Support for Python 3.10 has been added.
- Support for Python 3.11 has been added.
- Support for Python 3.12 has been added.
- Support for Python 3.13 has been added.
- Optimized bytes encoding of headers.
- Updated packaging and testing infrastructure.
- Code cleanup and linting.
- Added type hints.
- Refresh healthcheck.patch
- Refresh test_fixtures.tar.xz
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
* Update name for dist directory in %files section
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=24
- remove pytest5.patch, which was included in the upstream tarball.
- support for Python < 3.6 (including 2.7) has been removed.
- support for Python 3.8 has been added.
- Performance improvement of static header search. Use dict search
instead of linear search.
- Fix debug output of headers during encoding.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=18
- Fixed messy changelog.
- Update to version 2.2.0:
API Changes (Backward Compatible)
* Added HeaderTuple and NeverIndexedHeaderTuple classes that signal
whether a given header field may ever be indexed in HTTP/2 header
compression.
* Changed Decoder.decode() to return the newly added HeaderTuple
class and subclass. These objects behave like two-tuples, so this
change does not break working code.
Bugfixes
* Improve Huffman decoding speed by 4x using an approach borrowed
from nghttp2.
* Improve HPACK decoding speed by 10% by caching header table sizes.
- Bugfixes since 2.1.1:
* When passing a dictionary or dictionary subclass to Encoder.encode,
HPACK now ensures that HTTP/2 special headers (headers whose names
begin with `:` characters) appear first in the header block.
- Changes in 2.1.0 (2016-02-02)
API Changes (Backward Compatible)
* Added new InvalidTableIndex exception, a subclass of
HPACKDecodingError.
* Instead of throwing IndexError when encountering invalid encoded
integers HPACK now throws HPACKDecodingError.
* Instead of throwing UnicodeDecodeError when encountering headers
that are not UTF-8 encoded, HPACK now throws HPACKDecodingError.
* Instead of throwing IndexError when encountering invalid table
offsets, HPACK now throws InvalidTableIndex.
* Added raw flag to decode, allowing decode to return bytes instead
of attempting to decode the headers as UTF-8.
OBS-URL: https://build.opensuse.org/request/show/393287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=3
- Update to version 2.0.1
* Fixed a bug where the Python HPACK implementation would only
emit header table size changes for the total change between one
header block and another, rather than for the entire sequence
of changes.
- Additional changes from version 2.0.0 (2015-10-12)
* Remove unused HPACKEncodingError.
* Add the shortcut ability to import the public API (Encoder,
Decoder, HPACKError, HPACKDecodingError) directly, rather than
from hpack.hpack.
OBS-URL: https://build.opensuse.org/request/show/368721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hpack?expand=0&rev=2