* API Changes (Backward Incompatible)
- Reject header names and values containing illegal characters, based on
RFC 9113, section 8.2.1. The main Python API is compatible, but some
previously valid requests/response headers might now be blocked. Use the
`validate_inbound_headers` config option if needed. Thanks to Sebastiano
Sartor (sebsrt) for the report.
* API Changes (Backward Compatible)
- h2 events now have tighter type bounds, e.g. `stream_id` is guaranteed to
not be `None` for most events now. This simplifies downstream type
checking.
- Various typing-related improvements.
* Bugfixes
- Fix error value when opening a new stream on too many open streams.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=39
- Update to 4.2.0
* Support for Python 3.6 has been removed.
* Support for Python 3.7 has been removed.
* Support for Python 3.8 has been removed.
* Remove mistakenly set `max_inbound_frame_size` attribute on `H2Stream`.
* Support for Python 3.11 has been added.
* Support for Python 3.12 has been added.
* Support for Python 3.13 has been added.
* Add an ability to send outbound cookies separately to improve headers compression.
* Updated packaging and testing infrastructure.
* Fix repr() checks for Python 3.11
* Fix asyncio / wsgi examples.
* Clarify docs on using curl with http2.
- Adjust path for patching tests/conftest.py
- Drop fix-repr-checks-for-py311.patch, merged upstream
- 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
OBS-URL: https://build.opensuse.org/request/show/1245024
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=37
- Update to 4.1.0
* Support for Python 3.9 has been added.
* Support for Python 3.10 has been added.
* New example for a Python socket HTTP/2 client.
* New `OutputLogger` for use with ``h2.config.logger``. This is
only provided for convenience and not part of the stable API.
* Header validation now rejects empty header names with a
ProtocolError. While hpack decodes such header blocks without
issues, they violate the HTTP semantics.
* Fix TE header name in error message.
- Drop h2-pr1248-disable-hypothesis-healthcheck.patch merged
upstream
- Register hypothesis profile for slow obs executions.
OBS-URL: https://build.opensuse.org/request/show/944490
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=32
- Set URL to more useful https://github.com/python-hyper/hyper-h2
- Update to v3.1.0
* API Changes (Backward-Incompatible)
+ h2.connection.H2Connection.data_to_send first and only
argument ``amt`` was renamed to ``amount``
+ Support for Python 3.3 has been removed.
* API Changes (Backward-Compatible)
+ h2.connection.H2Connection.send_data now supports ``data``
parameter being a ``memoryview`` object.
+ Refactor ping-related events: a h2.events.PingReceived event is
fired when a PING frame is received and a h2.events.PingAckReceived
event is fired when a PING frame with an ACK flag is received
+ h2.events.PingAcknowledged is deprecated in favour of the
identical h2.events.PingAckReceived
+ Added ENABLE_CONNECT_PROTOCOL to h2.settings.SettingCodes
+ Support CONNECT requests with a ``:protocol`` pseudo header
thereby supporting RFC 8441.
+ A limit to the number of closed streams kept in memory by the
connection is applied. It can be configured by
h2.connection.H2Connection.MAX_CLOSED_STREAMS
* Debug logging when stream_id is None is now fixed and no longer errors.
OBS-URL: https://build.opensuse.org/request/show/689237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h2?expand=0&rev=6