From 28c1381e4acb4a8bf272f962c7b41f629a609388 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Wed, 15 Jul 2026 18:50:16 +0200 Subject: [PATCH 1/2] Bump h2 to 0.11.0 Adds h2:peername/1, which returns the peer's {IpAddress, Port} for a live connection. Additive only; no behavior change for hackney. --- NEWS.md | 9 +++++++++ rebar.config | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 6acb3908..e91285fb 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,14 @@ # NEWS +4.6.1 - 2026-07-15 +------------------ + +### Changed + +- Bump `h2` to 0.11.0. It adds `h2:peername/1`, which returns the peer's + `{IpAddress, Port}` for a live connection. Additive only; no behavior + change for hackney. + 4.6.0 - 2026-07-15 ------------------ diff --git a/rebar.config b/rebar.config index ffd53501..00936e31 100644 --- a/rebar.config +++ b/rebar.config @@ -55,7 +55,7 @@ %% Pure Erlang QUIC + HTTP/3 stack {quic, "~>1.7.0"}, %% Pure Erlang HTTP/2 stack - {h2, "~>0.10.4"}, + {h2, "~>0.11.0"}, %% WebTransport client (HTTP/3 and HTTP/2) - powers the wt_* API {webtransport, "~>0.4.3"}, {idna, "~>7.1.0"}, From 313534092ecb7700ee0a9800aae67be76850dcd0 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Wed, 15 Jul 2026 19:01:39 +0200 Subject: [PATCH 2/2] Release 4.6.1 --- src/hackney.app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hackney.app.src b/src/hackney.app.src index 80f346c0..11092a21 100644 --- a/src/hackney.app.src +++ b/src/hackney.app.src @@ -4,7 +4,7 @@ {application, hackney, [ {description, "Simple HTTP client with HTTP/1.1, HTTP/2, and HTTP/3 support"}, - {vsn, "4.6.0"}, + {vsn, "4.6.1"}, {registered, [hackney_pool]}, {applications, [kernel, stdlib,