From 281a52a90c61a0b932fb4fbbc6f2db72fb44fcc2 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Thu, 11 Jun 2026 08:25:21 +0200 Subject: [PATCH 1/2] Version 2.4.0 --- src/httpcore2/CHANGELOG.md | 8 ++++++++ src/httpx2/CHANGELOG.md | 15 +++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/httpcore2/CHANGELOG.md b/src/httpcore2/CHANGELOG.md index 57805c1a..26ee1955 100644 --- a/src/httpcore2/CHANGELOG.md +++ b/src/httpcore2/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## 2.4.0 (June 11th, 2026) + +### Fixed + +* Move HTTP/2 stream events cleanup inside `_state_lock`. ([#1013](https://github.com/pydantic/httpx2/pull/1013)) +* Release the HTTP/2 semaphore permit on `NoAvailableStreamIDError`. ([#1012](https://github.com/pydantic/httpx2/pull/1012)) +* Use `RLock` instead of `Lock` to prevent a thread deadlock. ([#1008](https://github.com/pydantic/httpx2/pull/1008)) + ## 2.3.0 (June 1st, 2026) ### Changed diff --git a/src/httpx2/CHANGELOG.md b/src/httpx2/CHANGELOG.md index 62c1fdad..670346a4 100644 --- a/src/httpx2/CHANGELOG.md +++ b/src/httpx2/CHANGELOG.md @@ -4,11 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## Unreleased +## 2.4.0 (June 11th, 2026) + +### Added + +* Add `HTTPXDeprecationWarning`, a `UserWarning` subclass shown by default so deprecations are visible without enabling warnings. ([#1029](https://github.com/pydantic/httpx2/pull/1029)) ### Changed -* Limit the number of chained `Content-Encoding` decoders to 5. +* Limit the number of chained `Content-Encoding` decoders to 5. ([#1027](https://github.com/pydantic/httpx2/pull/1027)) +* Bump `chardet` to `6.0.0.post1`. ([#1017](https://github.com/pydantic/httpx2/pull/1017)) +* Allow version 15 of `rich` in the `cli` extra. ([#1015](https://github.com/pydantic/httpx2/pull/1015)) + +### Fixed + +* Parse an empty `Digest` auth realm without crashing. ([#1023](https://github.com/pydantic/httpx2/pull/1023)) +* Decode IDNA labels in non-leading host positions. ([#1018](https://github.com/pydantic/httpx2/pull/1018)) ## 2.3.0 (June 1st, 2026) From 019f344f3b98c84746a0dfdcaa4d1009973046df Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Thu, 11 Jun 2026 08:26:56 +0200 Subject: [PATCH 2/2] Drop chardet bump from changelog --- src/httpx2/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/httpx2/CHANGELOG.md b/src/httpx2/CHANGELOG.md index 670346a4..df680940 100644 --- a/src/httpx2/CHANGELOG.md +++ b/src/httpx2/CHANGELOG.md @@ -13,7 +13,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed * Limit the number of chained `Content-Encoding` decoders to 5. ([#1027](https://github.com/pydantic/httpx2/pull/1027)) -* Bump `chardet` to `6.0.0.post1`. ([#1017](https://github.com/pydantic/httpx2/pull/1017)) * Allow version 15 of `rich` in the `cli` extra. ([#1015](https://github.com/pydantic/httpx2/pull/1015)) ### Fixed