From 1aae569315eb170cdff00582644aca37ee38db62 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sat, 23 Aug 2025 19:06:57 +0200 Subject: [PATCH] v4.3.0 --- CHANGELOG.rst | 12 ++++++++---- src/h2/__init__.py | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1a2deb8..06111c3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,21 +1,25 @@ Release History =============== -dev ---- +4.3.0 (2025-08-23) +------------------ **API Changes (Backward Incompatible)** -- Reject header names and values containing unpermitted characters `\r`, `\n`, or `\0x00`. +- 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. 4.2.0 (2025-02-01) ------------------ diff --git a/src/h2/__init__.py b/src/h2/__init__.py index 35bfe39..7f0ccd7 100644 --- a/src/h2/__init__.py +++ b/src/h2/__init__.py @@ -3,4 +3,4 @@ HTTP/2 protocol implementation for Python. """ from __future__ import annotations -__version__ = "4.3.0+dev" +__version__ = "4.3.0"