Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Add hackney to your `rebar.config`:
Add to your `mix.exs`:

```elixir
{:hackney, "~> 3.0"}
{:hackney, "~> 4.0"}
```

## Starting hackney
Expand Down
14 changes: 12 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# NEWS

UNRELEASED
----------
4.0.0 - 2026-04-16
------------------

Hackney 4 trims the client down. The HTTP/2 and HTTP/3 stacks are now
delegated to `erlang_h2` and `erlang_quic`, so hackney no longer ships
its own framing, HPACK / QPACK codecs, control streams or state
machines. The HTTP/3 path is fully spec-compliant via `quic_h3`, with
ALPN negotiation, Alt-Svc discovery (RFC 7838), and the same
`hackney:request/5` API as HTTP/1.1. The bundled metrics subsystem is
gone too, replaced by a Go-style middleware chain that lets users plug
in prometheus, telemetry or anything else without hackney owning the
policy. See `guides/middleware.md` and `guides/http3_guide.md`.

### Breaking

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Payload = <<"{\"key\": \"value\"}">>,
### Mix

```elixir
{:hackney, "~> 3.0"}
{:hackney, "~> 4.0"}
```

## Documentation
Expand Down
5 changes: 3 additions & 2 deletions src/hackney.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{application, hackney,
[
{description, "Simple HTTP client with HTTP/1.1, HTTP/2, and HTTP/3 support"},
{vsn, "3.2.1"},
{vsn, "4.0.0"},
{registered, [hackney_pool]},
{applications, [kernel,
stdlib,
Expand All @@ -16,7 +16,8 @@
mimerl,
certifi,
ssl_verify_fun,
h2]},
h2,
quic]},
{included_applications, []},
{mod, { hackney_app, []}},
{env, [{timeout, 150000},
Expand Down
Loading