# Changelog

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/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.0.0] - 2026-11-27

First stable release of the fourteen coordinated packages, based on
`1.0.0-rc.21`. HTTP/1.1 and HTTP/2 clients and the documented TCP, UDP, and TLS
APIs enter stable support. QUIC, HTTP/3, and WebTransport remain beta under the
[1.0 release criteria](docs/release-1.0-criteria.md).

See the `1.0.0-rc.14` entry for the API changes to account for when upgrading
from a pre-1.0 release.

## [1.0.0-rc.21] - 2026-11-23

### Added
- **http_web_socket:** Open and Error events now expose
  `x-codex-websocket-max-message-bytes` in handshake metadata over HTTP/1,
  HTTP/2, and HTTP/3. Duplicate or oversized values are omitted and set
  `truncated?`. The unfragmented message limit remains a separate header (#174).

## [1.0.0-rc.20] - 2026-11-18

### Fixed
- **http_core:** HTTP/1 response header names and values own their bytes instead
  of retaining a read buffer containing response body data. Header order,
  duplicates, contents and incremental body delivery remain unchanged across
  separate and combined header/body reads (#173).

## [1.0.0-rc.19] - 2026-11-18

### Added
- **http_web_socket:** explicit HTTP forward proxies for HTTP/1 WS and WSS
  with optional proxy authentication and a bounded setup timeout. WS uses
  absolute HTTP form; WSS uses CONNECT with target TLS identity verification
  and excludes proxy credentials from the inner Upgrade. Failed proxy setup
  never falls back to direct dialing. Opening cancellation and timeout retain
  request-owned cleanup receipts, ACK delivery and ordered local send completion
  (#172).

## [1.0.0-rc.18] - 2026-11-13

### Added
- **abyss:** `Abyss.QUIC.wake/1` asks a QUIC connection worker (`self()` inside
  `Abyss.QUIC.Handler` callbacks) to run one event turn now instead of at its next
  poll. The turn delivers pending engine events and `:tick` to `handle_event/2`
  like a timed poll, and leaves the single poll timer unchanged; wakes queued
  before a turn are coalesced into it, and waking an uninitialized or exited
  worker does nothing (#170).

### Changed
- **http_fetch / http_core:** with `request_mode: :proxy`, `HTTP.fetch/2` and the
  HTTP/1.1, HTTP/2 and HTTP/3 request builders no longer add the default
  `User-Agent`, so a relayed request carries only the caller's fields and does not
  disclose the proxy's platform and runtime versions. A caller-supplied
  `User-Agent` is sent unchanged, and `request_mode: :fetch` keeps the default
  (#171).

## [1.0.0-rc.17] - 2026-11-12

### Added
- **ex_ssl:** `active_chunk_size` option (positive integer, default `:infinity`)
  for `SSL.listen/2` and `SSL.setopts/2`. Each active-once `{:ssl, socket, bytes}`
  message carries at most that many plaintext bytes; the rest stays buffered and
  is delivered in order by later arms. `recv/3` is unchanged. Client sockets
  accept it through `SSL.setopts/2`, and `Hell.Transports.SSL` passes it through,
  bounding each `handle_data/3` call (#169).

### Security
- **hell:** listener telemetry metadata (`[:hell, :listener, :start | :stop]`),
  listener state and `inspect/2` of `Hell.ServerConfig` (and so supervisor and
  crash reports) redact secret TLS transport options: `password`, `key`,
  `sni_fun`, the `key`/`password` of each `certs_keys` entry and the options of
  each `sni_hosts` entry become `:redacted`. `Hell.ServerConfig.redact_transport_options/1`
  exposes the same redaction (#168).

## [1.0.0-rc.16] - 2026-11-12

### Added
- **http_fetch:** `HTTP.fetch/2` option `http2_unprocessed_retry` (default `true`;
  string keys `"http2_unprocessed_retry"` / `"http2UnprocessedRetry"`). It controls
  the RFC 9113 §8.7 transparent replay of non-streamed HTTP/2 requests the server
  did not process: above a GOAWAY last-stream-id, `REFUSED_STREAM`, or a draining
  pooled connection. With `false`, the first
  `{:goaway, last_stream_id, error_code, :unprocessed}`, `{:stream_reset, :refused_stream}`
  or `:draining` is returned exactly as after the three connection attempts are
  exhausted, including under `error_mode: :structured`. Non-boolean values raise
  `ArgumentError`. HTTP/3 is unaffected (#167).
- **http_fetch:** each transparent HTTP/2 replay emits `[:http_fetch, :request, :retry]`
  with `delay: 0` and metadata `source: :http2_unprocessed` and
  `reason: :http2_goaway | :http2_refused_stream | :http2_open_refused`. Handlers
  that count `retry:` policy retries should filter on `source`; policy retry
  metadata is unchanged (#167).

## [1.0.0-rc.15] - 2026-11-12

### Fixed
- **ex_ssl:** after the peer closed, a client exact-length `SSL.recv/3` larger than
  the buffered plaintext returned the terminal (`:closed`/`:econnreset`) while
  plaintext was still buffered, so OTP-style readers truncated their input. It now
  returns `{:error, :timeout}` at once and keeps the bytes; the terminal is reported
  only once the buffer is drained, matching the server connection fixed in rc.14
  (#164). Only direct exact-length `SSL.recv/3` callers see the change; Fetch,
  WebSocket, EventSource and the runtime read with length 0.
- **ex_ssl:** the OS trust store (`:public_key.cacerts_get/0`) is loaded once when
  the `:ex_ssl` application starts. The first HTTPS request in a VM no longer spends
  part of its `timeout` (or a proxy CONNECT `timeout`) on the cold load, which could
  make a short-deadline request fail before it dialed. Hosts without an OS store
  still boot; their default-trust connections keep failing with
  `{:error, {:options, {:cacerts, :invalid}}}`. Explicit `cacerts`, `cacertfile`
  and `verify: :verify_none` never consult the OS store (#165).

### Internal
- The plain-UDP server consumer gate and the Abyss QUIC interop script no longer use
  the deprecated Abyss `handler_module:` mode (#166).

## [1.0.0-rc.14] - 2026-11-12

API freeze for 1.0.0 (see [the 1.0 release criteria](docs/release-1.0-criteria.md)).
This release contains breaking changes; each is listed below with its replacement.

### Added
- **http_fetch:** an opt-in, request-scoped retry policy for `HTTP.fetch/2` (#160):
  `retry: false (default) | :safe_transient | :transient | fun/2`, `max_retries:`
  (default 3) and `retry_delay:` (milliseconds or `fun(attempt)`; default 500 ms
  doubling, capped at 10 s). `:safe_transient` retries only attempts that received
  no response (`:econnrefused`, `:connect_timeout`, `:closed`, `:econnreset`,
  `:ehostunreach`, `:enetunreach`); `:transient` also retries 408/429/500/502/503/504.
  Built-in modes retry only idempotent methods. `Retry-After` (seconds or HTTP-date)
  is honored on 429/503. One `timeout` bounds all attempts and delays. Streamed
  upload bodies, `:aborted` and `:timeout` are never retried, and an aborted signal
  cancels a pending delay. A retried response's unread stream is cancelled before
  the next attempt. Invalid values raise `ArgumentError`; `retry` with
  `transport_scope` raises `ArgumentError`, and with retry enabled
  `HTTP.Promise.completion/1` reports `{:unsupported_completion, :retry}`. A new
  telemetry event `[:http_fetch, :request, :retry]` carries `attempt` and `delay`
  measurements and privacy-scoped `scheme`/`reason` metadata; request
  start/stop/exception stay one per `fetch/2` call. With `HTTP.Test`, each attempt
  claims one expectation.
- **hell:** handlers can pause and resume input (#162): `{:pause, state}` /
  `{:pause, state, {:continue, term}}` results, plus `Hell.Handler.pause_input/1` and
  `Hell.Handler.resume_input/1` for owner-side callbacks. Input is paused without
  the automatic `active: :once` re-arm; data the transport had already delivered is
  kept and delivered first, in order, on resume. Paused connections are not closed
  by the read-idle timeout; resume restarts the persistent `read_timeout`.
- **ex_ssl, hell:** `SSL.getopts/2` (and `Hell.Transports.SSL.getopts/2`) accepts an
  `SSL.ListenSocket` and returns the listening TCP port's options (#159).

### Removed
- **All packages (breaking):** the `tls_backend` option (including the
  `"tls_backend"`/`"tlsBackend"` aliases) and `config :http_core, :tls_backend`.
  `ex_ssl` is the only TLS engine. `HTTP.TLSBackend` is removed. Passing
  `tls_backend` is now an invalid option and raises `ArgumentError`.
- **http_fetch (breaking):** the `HTTP.Response` `stream` field and the `:stream`
  key of `HTTP.Response.new/1`. `body` holds the stream pid of a streamed response.
- **http_fetch (breaking):** the never-set `body_used` field of `HTTP.Response`.
  Buffered bodies can be re-read; streamed bodies are consumed once (use `clone/1`).
- **abyss (breaking):** the duplicate `Abyss.DhcpSocket.Native` facade. Call
  `AbyssDhcpSocket.Native` from `abyss_raw` directly.

### Changed
- **http_web_socket, http_event_source, http_runtime (breaking):** `delivery: :legacy`
  is renamed `delivery: :push` (still the default). `:legacy` is no longer accepted.
  `:ack` is unchanged.
- **http_fetch (breaking):** `HTTP.fetch/2` raises `ArgumentError` for unknown
  option keys and for a `signal` that is not an `HTTP.AbortController` pid or `nil`.
  Unknown keys used to be ignored.
- **http_web_socket, http_event_source, http_web_transport, http_runtime (breaking):**
  `HTTP.WebSocket.new/3`, `HTTP.EventSource.new/2`, `HTTP.WebTransport.new/2`,
  `HTTP.ProtocolClient.connect/2` and `HTTP.Runtime.Pool.start_link/1` raise
  `ArgumentError` for unknown option keys, malformed init, and invalid or
  conflicting option values. This replaces construction-time tuples such as
  `{:error, {:invalid_option, key}}`, `:invalid_options`, `:invalid_connect_timeout`,
  `{:invalid_limit, key}`, `:invalid_delivery`, `:proxy_requires_http1` and
  `:incompatible_alpn`; the message names the old reason. Constructors still return
  `{:error, reason}` for an invalid URL (and WebSocket subprotocols). Keys that were
  ignored before now raise: WebSocket `http3_resumption`, EventSource `timeout`.
  WebTransport normalizes string keys in a keyword list like map keys.
- **http_runtime (breaking):** `HTTP.ProtocolClient.connect/2` returns
  `{:error, :invalid_url}` (was `:invalid_options`) for a non-`http://` origin,
  userinfo or fragment.
- **abyss, hell (breaking):** invalid or unknown start options, including a missing
  Hell `handler_module`, raise `ArgumentError` (previously `KeyError` or
  `RuntimeError`).
- **http_fetch (breaking):** `HTTP.Response.read_all/1`, `text/1`, `arrayBuffer/1`,
  `array_buffer/1`, `blob/1` and `clone/1` raise `HTTP.ResponseError` (field
  `reason`) when a streamed body fails or times out, instead of
  `RuntimeError "stream read failed: ..."`.
- **http_fetch (breaking):** `HTTP.Response.json/1` and `read_as_json/1` return
  `{:error, reason}` on a stream failure instead of raising. Invalid JSON still
  returns `{:error, decode_error}`.
- **http_fetch (breaking):** `HTTP.Response.write_to/2` returns `{:error, reason}`
  with the file error (for example `:eisdir`) instead of raising `MatchError`.
- **http_fetch (breaking):** `HTTP.Promise.await/2` returns `{:error, :await_timeout}`
  when its own wait expires (was `{:error, :timeout}`). The request keeps running
  and can be awaited again.
- **http_fetch (breaking):** request deadline expiry (`timeout:`) is reported as
  `:timeout` instead of `:request_timeout`: in `HTTP.Promise.await/2` results,
  `%HTTP.RequestError{}` under `error_mode: :structured`,
  `[:http_fetch, :request, :exception]` telemetry `error` metadata,
  `{:stream_error, stream, _}` on response streams, `HTTP.Response` reader errors
  and `HTTP.Stream.chunk/3` results for upload producers.
- **http_test (breaking):** `HTTP.Test.gate/4` returns `{:error, :timeout}` (was
  `{:error, :request_timeout}`) when the request deadline or the gate's own
  timeout expires.
- **abyss_raw (breaking):** owner messages carry the socket returned by `open/2`:
  `{:dhcp_rx, socket, bin}`, `{:arp_rx, socket, bin}`,
  `{:dhcp_socket_down, socket, reason}` and `{:arp_socket_down, socket, reason}`.
  The socket is released by `close/1` or when the owner exits (detected within
  about 1 s), not when the handle is garbage-collected.

### Deprecated
- **abyss:** the `handler_module:` / `Abyss.Handler` server mode (compile-time
  warning on `use Abyss.Handler`, one-time runtime warning for `handler_module:`).
  It still works and is removed in 2.0. Use `Abyss.Endpoint` with
  `datagram_handler:`.

### Fixed
- **ex_ssl (server):** after the peer closes, an exact-length `SSL.recv/3` larger
  than the buffered plaintext returns `{:error, :timeout}` and keeps the bytes instead
  of returning the terminal and hiding them. The terminal (`:closed` after
  close_notify, `:econnreset` after a TCP close without it) is reported only once the
  buffer is drained (#163). OTP 28 `:ssl.shutdown(socket, :write)` on TLS 1.3 sends no
  close_notify.
- **ex_ssl (server):** a write blocked by a peer that is not reading no longer stops
  the connection. Received records are still decrypted and delivered, and `setopts`,
  `getopts`, `peercert`, `recv` and `close` answer promptly. Writes run in a writer
  process in record order (KeyUpdate-safe); `send_timeout`, `send_timeout_close` and
  `SSL.send/3` deadlines still bound the writer. `close/1`, owner exit or a peer
  close_notify settle an unfinished write as `{:error, :closed}`. Server carriers
  close without waiting for unsent output to flush. `{:error, :busy}` from
  `SSL.send/2,3` sends nothing and is retryable (documented) (#161).
- **http_fetch:** `HTTP.Response.write_to/2` no longer leaks the response stream
  when the destination cannot be opened or written.
- **http_event_source:** `MessageEvent.origin` uses WHATWG serialization
  (bracketed canonical IPv6, default port omitted), and same-origin redirect
  checks compare canonical IPv6 addresses and implicit default ports.
- **ex_ssl (tests):** `OpenSSLPeer.stop/1` no longer raises "OpenSSL test peer did
  not terminate" when called from an `on_exit` process that does not own the
  peer port. The KeyUpdate/backpressure lifecycle tests wait for the server
  handshake before pausing the proxy.

### Security
- **http_event_source, http_web_transport:** telemetry `url` metadata no longer
  contains userinfo, query or fragment, matching Fetch and WebSocket. Handlers
  that read query parameters from telemetry `url` must stop doing so.

### Documentation
- Error reason tables for Fetch (README and `HTTP` moduledoc), WebSocket,
  EventSource, WebTransport (moduledocs and README), Abyss and Hell. `:closed`
  is documented as covering both a closed client and an unreachable owner.
- Telemetry events, measurements with units, and metadata are documented for
  WebSocket, EventSource, WebTransport, `HTTP.Runtime.Telemetry` and Abyss. No
  event was renamed.
- Tests pin the remaining ex_ssl unclean-close delivery cases from #158
  (truncated trailing record, recv with a length, records queued at close).

## [1.0.0-rc.13] - 2026-11-11

### Changed
- **http_fetch:** the redirect limit is now the Fetch value of 20 for every
  protocol (was 5). HTTP/1 now matches HTTP/2 and HTTP/3: past the limit it
  returns `{:error, :too_many_redirects}` instead of the last 3xx response, and a
  307/308 that would replay a streamed body returns
  `:streaming_body_redirect_not_replayable` instead of the 3xx response.
- **http_web_transport:** options that were accepted but silently ignored are now
  rejected (`allow_pooling: true`, non-empty `socket_opts`, `send_order` other
  than 0, any `send_group`); `require_unreliable` is enforced, `idle_timeout` is
  passed to QUIC and datagram max-age is implemented. `anticipated_concurrent_*`
  and `congestion_control` are documented hints.
- **ex_ssl (server):** pre-authentication ClientHello buffering is capped at
  64 KiB and skipped rejected early-data records at 64.
- **elixir_quic:** the consumer contract now lists unimplemented QUIC features
  (stateless reset, version negotiation, ECN, PMTUD, persistent congestion,
  pacing, local key-update initiation, AEAD limits, server NEW_TOKEN) with their
  observable consequences.

### Fixed
- **elixir_quic:** authenticated 1-RTT protocol errors (flow control, stream
  limit, final size, stream state, malformed frames, invalid ACK, CID limit,
  invalid key update) now send CONNECTION_CLOSE with the RFC 9000 error code
  (KEY_UPDATE_ERROR is now reachable) instead of dropping the connection
  silently; STREAM data after a local STOP_SENDING is discarded and its
  flow-control credit released; NewReno reduces the window once per recovery
  period (RFC 9002 §7.3.2); lost ACK-only packets no longer fill the sent history
  and stall sending; retired connection IDs are evicted oldest-first and
  stream-count limits above 2^60 are rejected.
- **elixir_quic_http3:** HTTP/3 connection errors close the QUIC connection with
  their RFC 9114 code; WebTransport session close or CONNECT-stream end resets
  and stops associated streams with WT_SESSION_GONE, and rejected peer
  bidirectional streams no longer leak session state; malformed datagram
  quarter-stream IDs give H3_DATAGRAM_ERROR and peer bidirectional streams
  without a WebTransport session give H3_STREAM_CREATION_ERROR; raw requests
  reject CR, LF and NUL in field values; large unknown capsules are skipped; an
  upload ended early after a complete response uses H3_NO_ERROR. QPACK Huffman
  tables are built at compile time.
- **http_fetch / http_runtime:** HTTP/2 requests the server provably did not
  process (GOAWAY below the stream id, REFUSED_STREAM, a draining pooled
  connection) are retried transparently on another connection (at most 3
  attempts within the same deadline); streamed bodies are never replayed.
- **http_event_source:** URLs whose path or query hold whitespace or control
  characters are rejected (`{:error, :invalid_url}`, or `:invalid_redirect` for
  redirects) instead of making every reconnect fail with `:cleanup_capacity`
  forever; a crashed dial releases its cleanup capacity; an event terminated by a
  bare CR at a chunk end is dispatched immediately.
- **http_web_socket:** a Close frame without a status code reports 1005;
  `close()` while connecting emits an error event, then a 1006 close; IPv6
  literal hosts are bracketed in the HTTP/1 `Host` header.
- **http_web_transport:** `close/1` while connecting cancels the connect and
  releases resources; `get_stats/1` reports real session counters; close rejects
  codes above 0xFFFFFFFF and non-UTF-8 reasons; IPv6 `:authority` is bracketed.
- **ex_ssl (server):** every `certs_keys` entry is validated at listen and the
  identity is selected per handshake by the client's `signature_algorithms` and
  SNI host; an RSA+ECDSA server now serves ECDSA-only clients.
- **abyss:** the QUIC listener no longer stops with `:consumer_limit` during
  connection churn at `max_connections`, and handlers receive `{:closed, reason}`
  when a poll races a closed connection (the `event_poll_failed` noise); a stuck
  dispatcher callback can no longer stop UDP reception (calls are bounded by
  `admission_start_timeout`); dynamic scale-down drains in-flight handlers
  (bounded by `shutdown_timeout`) instead of killing them; the handler idle
  timeout uses `read_timeout` as its floor (it was effectively halved).
- **hell:** an acceptor no longer exits permanently when a TLS connection-process
  start failure is reported as `:closed` while the listener is alive.
- **abyss_raw:** compiles on FreeBSD (interface binding is macOS-only); DHCP
  datagrams up to 65,535 bytes are no longer truncated; send specs say `binary()`.

### Security
- **ex_ssl (server):** the handshake deadline now bounds `sni_fun` and handshake
  writes (including `send_timeout: :infinity`); handshake fragments interleaved
  with application data after the handshake are rejected (RFC 8446 §5.1);
  `*.tld` wildcard certificates no longer match (RFC 6125 §6.4.3). Server mTLS
  has no CRL/OCSP checking, now documented.

## [1.0.0-rc.12] - 2026-11-11

### Added
- **ex_ssl TCP TLS 1.3 server:** `SSL.listen/2`, `SSL.transport_accept/1,2`,
  server-side `SSL.handshake/2,3`, `SSL.getopts/2`, `SSL.getstat/1,2`,
  `SSL.shutdown/2` and `SSL.ListenSocket`, with ALPN, case-insensitive SNI
  (`sni_hosts`/`sni_fun`), mTLS (`verify: :verify_peer`), receive backpressure
  and rejected 0-RTT skipping. No TLS 1.2 server and no server session tickets.
  See `apps/ex_ssl/CHANGELOG.md`.
- Independent HTTP/3 acceptance in CI: Alt-Svc, dynamic QPACK,
  resumption/0-RTT and WebSocket/H3 against aioquic 1.2.0; WebSocket/H3 port and
  source-IP migration against quic-go/http3 v0.65.0; QUIC migration, reliable
  reset, resumption and 0-RTT negative matrices against quic-go v0.62.0 and
  quinn 0.11.11.

### Changed
- **Breaking (hell):** `Hell.Transports.SSL` now runs on `ex_ssl` instead of OTP
  `:ssl`: OTP 28+ only, TLS 1.3 only, a supported option subset (OTP-only keys,
  `active` other than `false`, `mode` other than `:binary` and `depth: 0` are
  rejected) and `ex_ssl` alert values. See `apps/hell/CHANGELOG.md`.
- **Contract change (elixir_quic):** `Quic.capabilities()` now reports
  `resumption: true` and `migration: %{peer: [:server], local: [:client]}`
  (previously `false` and `local: []`). The M2 client-migration and R1/R2
  resumption/0-RTT independent negative matrices pass in CI against unmodified
  quic-go v0.62.0 and quinn 0.11.11; rows that need a dishonest peer are
  covered by in-repo tests. Features stay opt-in; this capability flip (and the
  matching `SSL.QUIC.capabilities()` flags in ex_ssl) changes no runtime
  behavior. `http3` stays `false` and `HTTP.WebTransport.Profile.supported?/0`
  stays `false`. See `docs/quic/client-features-validation.md`.
- **Contract change (elixir_quic_http3, breaking):** `QuicHttp3.capabilities()`
  now reports `dynamic_qpack`, `zero_rtt`, `connection_migration` and
  `websocket_over_http3` as `true` (previously `false`), each backed by an
  independent CI gate (aioquic 1.2.0, quic-go/http3 v0.65.0). `webtransport`
  stays `false`: no independent draft-17 peer exists.
- HTTP/3 connection owners now end an orderly shutdown of an established
  connection with an application CONNECTION_CLOSE carrying H3_NO_ERROR (0x100)
  before retiring their cleanup lease (RFC 9114 section 5.2), so peers no longer
  wait for their idle timeout. The close is sent only when no live request
  remains (an extended CONNECT whose response stream finished does not count)
  and is skipped once the owner has already been retired. On exclusive release
  the pool no longer retires the lease itself; the cleanup receipt now follows
  the owner's guarded close, bounded by `operation_timeout` (default 1 s). A
  cleanly closed WebSocket over HTTP/3 retires its attempt without aborting it.

### Fixed
- **ex_ssl (#158):** an HTTPS response whose server closes TCP without
  `close_notify` (common for `connection: close` endpoints and load balancers)
  no longer ends in a spurious error or loses its tail. The ex_ssl client and
  server now deliver every byte already decrypted before reporting the close,
  so a chunked or Content-Length HTTP/1.1 response ends with `:stream_end` and
  a complete body, as it does over OTP `:ssl`. The close itself is still
  reported as `:econnreset` (a transport error keeps its reason), so a
  read-to-close body without `close_notify` fails instead of being silently
  truncated.
- `timeout: :infinity` no longer crashes HTTP/3 fetches (explicit
  `http_version: :http3`, or `:auto` with a cached Alt-Svc route) with an
  `ArithmeticError`, and `connect_timeout: :infinity` no longer crashes the
  HTTP/3 connection owner. QUIC handshakes stay finite: an infinite connection
  timeout uses the default 5,000 ms opening budget. `timeout` and
  `connect_timeout` are now validated as non-negative integer milliseconds or
  `:infinity`; other values raise `ArgumentError` instead of crashing the
  request task.
- `HTTP.Promise.then/3` no longer crashes every chain: the chained task awaited a
  task it did not own. Callbacks are now kept on the promise and run in the
  process that calls `HTTP.Promise.await/2`, so `then/3` stays non-blocking.
  `{:error, reason}` rejects the chain and skips success callbacks until an
  error callback; any other result (including `{:ok, value}`) is passed
  unchanged to the next callback, and a returned promise is awaited within the
  same `await/2` timeout. Chained promises keep the original `completion/1`
  handle.
- `Quic.IO.GenUDP.open/1` no longer kills its caller when the UDP bind fails
  (`:eaddrinuse`, `:eaddrnotavail`); the failure is returned as
  `{:error, reason}`, so a migration to an unusable local address reports
  `{:bind_failed, reason}`. An actor that stops before `open/1` returns can no
  longer kill a non-trapping caller with `:noproc`.
- `HTTP.FormData.get_content_type/1` (http_core) now uses the form's own
  `boundary`, so it matches the body `to_body/1` and `to_stream/2` produce for
  that form.

### Security
- Response Content-Encoding decoding is now bounded (decompression bomb). gzip
  and deflate bodies inflate incrementally with `:zlib.safeInflate/2` and fail
  with `{:error, :decoded_body_too_large}` (buffered) or a stream error with
  that reason (streamed) once the decoded body exceeds the new
  `max_decoded_body_size` fetch option. It accepts positive bytes or
  `:infinity` and defaults to `HTTP.Config.max_decoded_body_size/0` (ten times
  the streaming threshold, 50,000,000 bytes). Previously a small compressed
  response could expand without limit in the request process.
- The HTTP/1 response field parser (`HTTP.HTTP1`, http_core) now rejects
  obs-fold continuation lines, whitespace between a field name and its colon,
  non-token field names and field values with control characters
  (`{:error, :invalid_header}`), per RFC 9112 sections 5.1 and 5.2. Previously
  `"X-A: 1\r\n Transfer-Encoding: chunked"` produced a real `Transfer-Encoding`
  field and `"Content-Length : 3"` was honoured, a response-desync vector on
  reused connections and in proxy mode. Optional whitespace around values is
  still trimmed.
- `HTTP.FormData` (http_core) multipart encoding now escapes `"`, CR and LF in
  part names and filenames as `%22`, `%0D` and `%0A` (WHATWG multipart/form-data
  encoding), so a filename such as `"f\r\nContent-Type: text/html\r\n\r\n..."`
  can no longer inject part headers or body content. A part content type with a
  control character raises `ArgumentError` from `append_file/5` and `to_body/1`
  and returns `{:error, :invalid_multipart_content_type}` from `to_stream/2`.
- `HTTP.FormData.generate_boundary/0` now returns `"http-fetch-"` followed by 16
  hex-encoded bytes from `:crypto.strong_rand_bytes/1`, replacing the
  sequential, guessable `"--boundary-<integer>"` value.
- WebSocket upgrade responses (http_web_socket) are parsed with the same
  hardened HTTP/1 field parser, rejecting obs-fold and whitespace before the
  colon instead of reinterpreting them.

## [1.0.0-rc.11] - 2026-11-09

### Added
- Add opt-in Fetch Alt-Svc discovery for HTTP/3 (`http_version: :auto,
  alt_svc: true`) with a bounded per-origin cache. Fallback to HTTP/2 or
  HTTP/1.1 happens only before the HTTP/3 connection is ready, so a request is
  never sent twice; a failing origin is marked broken for 300 seconds.
- Add a dynamic-table QPACK decoder (RFC 9204) with blocked streams and
  decoder-stream instructions. Connections now advertise a 4,096-byte table
  and 16 blocked streams; configure 0/0 for the previous static-only behavior.
  The request encoder stays static/literal.
- Add beta opt-in HTTP/3 session resumption (`http3_resumption`) and 0-RTT
  (`early_data`) for GET, HEAD and OPTIONS without a body. Unsafe requests are
  never sent early; a rejected 0-RTT or 425 Too Early response is retried once
  after the handshake. `HTTP.Response.http3` reports resumption and early data.
- Run WebTransport draft-17 live over an exclusive HTTP/3 owner, including
  datagrams and reliable stream resets that preserve the stream prefix.
  `Profile.supported?/0` remains false pending independent peer acceptance.
- Add beta `migrate/2` for exclusive WebSocket over HTTP/3
  (`http3_reuse: false`) and WebTransport sessions; shared connections refuse it.
- Give WebSocket over HTTP/3 a certified cleanup receipt and drop its
  experimental label.

### Fixed
- Admit reliable resets and migrations as QUIC cleanup-scope operations.
- Bind migration sockets for QUIC clients created without a cleanup scope.
- Answer STOP_SENDING on prefixed streams with RESET_STREAM_AT, and ignore
  STOP_SENDING after a local reset instead of failing the connection.
- Register Alt-Svc TCP fallbacks with the request lifecycle and lift the TCP
  `ex_ssl` reference identity onto QUIC connections.

### Validation
- Engine, QUIC HTTP/3, runtime HTTP/3, WebTransport, Fetch HTTP/3 and
  EventSource HTTP/3 suites pass with strict compilation. Independent aioquic
  1.2.0 gates pass for Alt-Svc, dynamic QPACK, resumption/0-RTT and
  WebSocket/H3.
- Not validated: independent WebTransport acceptance (no draft-17 peer with
  reliable reset exists), HTTP-level independent migration, and the Caddy
  Alt-Svc variant. Global QUIC capability flags remain false.
- Remote Test, E2E, Server packages and public HTTP/3 acceptance passed. This RC
  is published with these CI failures explicitly accepted, all unchanged from
  rc.10 or outside the changed apps: the `ex_ssl` Dialyzer warning at
  `lib/ssl/quic.ex:181`, the stale no-OTP production source census, and one
  Hell handler timing test.

## [1.0.0-rc.10] - 2026-11-08

### Added
- Add explicit exclusive-client QUIC migration, negotiated reliable-prefix stream
  reset, endpoint-local PSK-DHE resumption and opt-in replayable early-data source
  APIs. Preserve finite operation references, path/resource limits, authenticated
  readiness and the no-automatic-replay contract.
- Add the pure QUIC TLS continuation provider, bounded ticket actions and
  transcript/binder regressions without changing TCP TLS policy.
- Add explicit WebSocket over HTTP/3 through extended CONNECT, with existing
  framing, masking, delivery credit, Close handling and strict protocol selection.
- Add versioned WebTransport draft-17 primitives and bounded application session,
  waiter, stream and operation lifecycles. Its default network backend remains
  unsupported pending live runtime integration and matching independent acceptance.

### Fixed
- Retire migrated QUIC sockets without processing stale path traffic or returning
  receive credit to an already terminated IO process.
- Deliver authenticated readiness before retained early application events.

### Validation
- Combined current-source regression: 1,077 tests with zero failures, strict
  compilation, root Credo and formatting passed. Three independent WebSocket/H3
  gates passed before the final behavior-preserving TLS lint refactoring.
  Separate QUIC positive wire gates passed; complete adversarial acceptance
  remains open and the corresponding global capability flags remain unchanged.
- Remote CI reports five Dialyzer warnings and a stale no-OTP production source
  audit census. This RC is published with those failures explicitly accepted;
  Test, Integration, E2E and public HTTP/3 acceptance passed.

## [1.0.0-rc.9] - 2026-11-08

### Added
- Extract H1 idle ownership and H2 reservation policy into the independent
  `http_pool` package. Add validated named runtime pool families, stable
  generation references, explicit Fetch selection and sanitized snapshots.
- Add caller-prepared Fetch adapters and the independent `http_test` package:
  owner-isolated expectations, Task/allowance propagation, retained exit
  verification, acknowledged streams, cancellation and an optional bounded Plug
  bridge. Unmatched fixtures fail without network fallback.
- Include both packages in unified versions, dependency-ordered publication,
  CI impact selection and standalone candidate consumers with and without Plug.

## [1.0.0-rc.8] - 2026-11-07

### Fixed
- Complete authenticated TLS 1.2 full handshakes with legacy OTP servers that
  omit EMS, using the RFC 5246 master-secret derivation while preserving server
  trust, hostname, ECDHE signature, Finished, AEAD and downgrade checks (#157).
- Keep TLS 1.2 session retention, caching and `session_data` export restricted
  to EMS connections. Reject an accepted EMS resumption without EMS; a declined
  session may take one fresh full handshake. Renegotiation and application key
  exporters remain unsupported.

## [1.0.0-rc.7] - 2026-11-07

### Fixed
- Normalize default ExSSL mixed-version offers to TLS 1.3 first for either public
  `versions` list order, matching OTP client behavior and avoiding unnecessary
  downgrade rejection against dual-version OTP servers. Preserve explicit
  WireProfile ordering, certificate verification and downgrade checks (#157).
- Add OTP control coverage for ordinary TLS and in-memory RSA mTLS. TLS 1.2
  still requires EMS; OTP servers that omit EMS remain unsupported, so #157's
  TLS 1.2-only acceptance remains blocked.

## [1.0.0-rc.6] - 2026-11-07

### Added
- Accept authenticated client NAT rebinding and IP migration on established
  Quic and Abyss server connections, preserving streams and operation handles.
  Bound path validation, amplification reservations, congestion/RTT controllers,
  and local/peer CID issuance and retirement. Report the server-only capability
  and public path/resource observations; local migration and 0-RTT remain deferred.
- Require pinned independent UDP port/IP migration, exact STREAM bytes/FIN,
  DATAGRAM continuity, wire CID separation, concurrent listener isolation and
  cleanup in source, candidate-package and published-package gates.

### Fixed
- Let a bounded PTO probe retransmit retained reliable data when its path's
  congestion window is full. Keep original and probe bytes in flight, preserve
  the congestion window, and prevent queued application data or unreliable
  DATAGRAM payloads from spending the one-shot probe allowance.

## [1.0.0-rc.5] - 2026-11-07

### Added
- Expose opt-in QUIC DATAGRAM through `Abyss.QUIC.send_datagram/3` and
  `read_datagrams/3`, with validated per-connection receive limits and handler
  readability events. Preserve engine negotiation, operation references,
  unreliable delivery and congestion/resource accounting.
- Require independent aioquic DATAGRAM and reliable-stream traffic through
  Abyss in both candidate and published Hex server consumer gates.

## [1.0.0-rc.4] - 2026-11-07

### Fixed
- Scope CI Credo checks to their selected application and resolve imported
  server lint/type findings. Observe QUIC handshake expiry and Hell read
  timeout directly, and preserve legacy rebar3 installations in cold consumers.

### Changed
- Require Elixir 1.18 and Erlang/OTP 27 or later for Abyss and abyss_raw;
  retire their unsupported imported minimum and validate both at the new floor.
- Coordinate Abyss, Hell and abyss_raw with the HTTP family at one RC/stable
  version. Publish eleven portable packages through the unified release and
  publish abyss_raw asynchronously after verified Abyss publication, with
  separate native acceptance and status.
- Keep the original nine-client/engine no-OTP-SSL verification scoped explicitly;
  Hell retains its OTP TLS transport and server ExSSL remains a future feature.

## [1.0.0-rc.3] - 2026-11-06

### Fixed
- Add request-local WebSocket connection addresses without changing Host or TLS
  identity, bounded handshake metadata on Open/Error, and independent frame and
  read-buffer receive limits across HTTP/1 and HTTP/2 (#152).
- Return the documented timeout tuple when a finite Promise wait expires,
  preserving the active request, its eventual result and explicit cleanup
  handle (#153).

## [1.0.0-rc.2] - 2026-11-05

### Fixed
- Preserve opaque TLS socket types across construction and nested-carrier
  operations, and reject malformed private carrier handles without stranding
  pending writes or their lifecycle permits.
- Resolve the configured Credo and Dialyzer findings while preserving TLS/QUIC
  validation, HTTP/2 delivery acknowledgments and primary connection errors.

## [1.0.0-rc.1] - 2026-11-05

### Fixed
- Reclaim managed request slots released during completion checks, preventing
  false request-capacity errors after confirmed cleanup (#151).
- Run current TLS benchmarks through ExSSL and keep OTP comparisons in an
  explicit historical runtime with separate source and build identities.

### Documentation
- Align TLS guides with the ExSSL-only runtime and identify historical results,
  required performance coverage and remaining validation limits explicitly.

## [1.0.0-rc.0] - 2026-11-02

The initial coordinated TLS migration release candidate is `1.0.0-rc.0`.
Candidate production releases pass the supported traffic matrix with OTP SSL
unavailable. The release workflow also requires cold published consumers to
repeat the critical checks. See the
[migration checklist](docs/tls-migration-plan.md)
and [validation ledger](docs/tls-migration-validation.md) for executed gates.

### Changed
- Use ExSSL by default for Fetch, EventSource, WebSocket and managed HTTP/1 and
  HTTP/2. HTTPS supports TLS 1.3 and the documented TLS 1.2 profile through one
  negotiation, with certificate verification enabled by default.
- Use ExSSL for HTTPS origins inside HTTPS proxy CONNECT tunnels, retaining
  separate origin/proxy verification and cleanup evidence for both TLS layers.
- Preserve ordinary verification callbacks, partial-chain trust, CRL/OCSP,
  encrypted private keys and multiple client identities within the documented
  [TLS compatibility bounds](apps/ex_ssl/docs/COMPATIBILITY.md).
- Keep request completion and managed connection retirement tied to public
  `SSL.Lifecycle` evidence, including setup failure, cancellation and ownership
  transfer. Existing HTTP/3 completion remains `unsupported_completion`.

### Removed
- Remove the production OTP SSL transport and unconditional OTP SSL application
  dependencies. Explicit `tls_backend: :ssl` and `"ssl"` return a configuration
  error. The public `SSL` facade, `ssl:` options and compatibility message names
  remain supported.

## [0.21.19] - 2026-10-29

### Fixed
- Retain HTTP/1 WebSocket transport references while draining buffered control
  frames after EOF, preventing nil-transport Close writes. Preserve delivery ACK
  backpressure without repeated reads, and finish failed protocol Close writes
  abnormally with their original error instead of leaving cleanup pending (#150).

## [0.21.18] - 2026-10-27

### Added
- Request-local HTTP/1 response head, field, count, informational-response and
  CONNECT budgets with structured, content-free limit errors (#145).
- Lazy fixed-length multipart envelopes with bounded regular-file reads and
  upload cancellation/source-finalization coverage (#146).
- Opt-in IPv6 preference with connection-only IPv4 fallback under one deadline,
  strict address/family pins and no retry after TLS or HTTP begins (#147).
- Public `HTTP.ProtocolClient` for retained cleartext HTTP/1 and HTTP/2 sessions,
  stream reset, explicit receive credit and live SETTINGS on one connection (#148).
- Independently verified HTTPS origin TLS inside authenticated HTTPS proxy
  CONNECT, including HTTP/1 and HTTP/2, isolated credentials and completion
  accounting for both TLS layers. Nested routes require OTP `:ssl`; ExSSL fails
  before dialing. Missing TLS setup handles retain unconfirmed cleanup (#149).

### Fixed
- Serialize policy HTTP socket close with TLS retirement, preserving exact
  auxiliary cleanup evidence through cancellation and setup deadline races.
- Preserve HTTP/1 cancellation when a socket closes during active-once rearming
  after a fragmented response head, retaining actual cleanup confirmation.
- Normalize HTTP/3 owner deadline expiry to the public request timeout only
  after the total request deadline, preserving earlier operation failures.
- Preserve OTP OCSP and certificate callback error normalization when runtime
  values exceed upstream typespecs.
- Preserve opaque TLS/QUIC cleanup capabilities across module boundaries and
  declare accurate completion/transport contracts for strict Dialyzer checks.
- Make integration fixtures observe the matching transport, provider lifetime
  and pool notification, and bound TLS receive batches for blocked-write tests.

## [0.21.17] - 2026-10-24

### Added
- Support disabling QUIC local idle expiry with `idle_timeout: :infinity`
  and bounded public PING admission for caller-managed keepalive. Preserve peer
  idle constraints and independent handshake, operation and closing bounds (#143).

## [0.21.16] - 2026-10-22

### Added
- Document the role-neutral `HTTP.HTTP2.HPACK` public codec API, including
  stateful contexts, encoding policies, complete-block decoding limits and
  SETTINGS table-size coordination for client and server consumers (#141).

## [0.21.15] - 2026-10-22

### Fixed
- Preserve opaque request-completion types across the public Fetch and Promise
  APIs so consumer Fetch/await composition passes Dialyzer without suppressing
  opacity checks (#139).

## [0.21.14] - 2026-10-19

### Added
- Confirmed pre-HTTP TLS setup failure evidence for ordinary direct HTTP/1
  structured requests after ServerHello, with tracked receiver/sender cleanup.
  Earlier or ambiguous TLS failures remain unconfirmed; caller-managed failover
  still requires successful completion and deadline/cancellation checks (#135).

### Fixed
- Redact private WebSocket connection state, messages and errors from OTP
  status and termination diagnostics. Normalize abnormal process exits and
  cleanup failures to `:shutdown` to suppress independent private crash reports
  while preserving normal transport processing (#136).
- Report cleanup as unconfirmed when OTP TLS setup fails without returning a
  trackable TLS socket, including proxy and HTTP/2 setup. TCP closure or dial
  helper termination cannot certify the missing TLS receiver/sender cleanup (#135).

## [0.21.13] - 2026-10-16

### Added
- Per-request ordinary HTTP/1 response consumer delivery/acknowledgement deadlines,
  including `:infinity`, across both Stream and socket producer waits. Existing
  finite defaults, network idle policies, cancellation and total limits stay
  independent (#131).

### Fixed
- Confirm fixed-length HTTP/1 upload source completion before exposing an
  immediate peer response, preserving enumerable resource finalization. Source
  failures and bounded completion expiry fail the request; genuinely early
  responses and cancellation retain bounded teardown (#132).

## [0.21.12] - 2026-10-16

### Added
- Per-request HTTP/1 response stream idle policy, including `:infinity`, without
  changing global configuration or consumer acknowledgement safety. Response
  readers follow the policy; socket idle deadlines, cancellation and owned
  cleanup remain independent (#129).

## [0.21.11] - 2026-10-15

### Added
- Independent HTTP/1 read and write idle deadlines for TCP, OTP TLS and ExSSL,
  with positive millisecond options, direction-specific progress, typed timeout
  reasons and owned cleanup. Preserve total request/connect limits, cancellation
  and streaming backpressure; reject unsupported protocols and managed scopes
  explicitly (#126).

## [0.21.10] - 2026-10-15

### Fixed
- Preserve HTTP/1 cancellation when cleanup closes the socket during post-send
  activation or final send result delivery, retaining independent transport and
  protocol failures and the existing logical cleanup barrier (#122).
- Reject non-HTTP/1 textual response versions before accepting headers or bodies
  on OTP TLS and ex_ssl, preserving compatible HTTP/1 minor versions and closing
  rejected connections without replay or reuse (#121).

## [0.21.9] - 2026-10-15

### Fixed
- Support unlimited HTTP/1 request and connection timeouts without deadline
  arithmetic crashes. Preserve independent finite connection/request limits,
  streamed upload/download cancellation and owner cleanup.

## [0.21.8] - 2026-10-14

### Fixed
- Reject malformed HTTP/1 status lines and chunk syntax, conflicting response
  Transfer-Encoding/Content-Length, and oversized completed chunk lines while
  preserving valid extension grammar and connection cleanup without replay.
- Accept valid ASCII HTTP extension methods, including DAV `PROPFIND` and
  `REPORT`, preserving binary method case, bodies and authorization without
  creating atoms from caller-supplied method strings.
- Validate a certificate path ending at a supplied trust anchor when the peer
  includes trailing cross-signed alternatives. Preserve PKIX signatures,
  hostname, validity, depth and certificate-signature policy checks.

## [0.21.7] - 2026-10-14

### Fixed
- Observe connection worker exits and promptly return a sanitized connection
  failure instead of waiting for the connect timeout. Preserve socket cleanup,
  cancellation, subscriber death and finite deadlines during connection setup.

## [0.21.6] - 2026-10-14

### Added
- Accept the optional fixed `alpn_advertised_protocols: ["http/1.1"]` policy
  for managed HTTP/1 OTP TLS scopes. Preserve the default without ALPN and
  reject conflicting protocol overrides.

### Fixed
- Bound QUIC receive ACK history by retiring old ranges instead of closing
  active connections when historical packet-number gaps fill the range limit.
  Ignore duplicate and retired packets before applying stream or control effects,
  while preserving valid reordering and retransmissions with fresh packet numbers.

## [0.21.5] - 2026-10-13

### Fixed
- Make HTTP/3 Session uploads progress when peer stream or connection credit
  cannot admit a complete transport fragment. Split definitely blocked sends
  while preserving byte order, the terminal FIN and the original deadline;
  reconcile uncertain sends without replaying accepted data.

## [0.21.4] - 2026-10-13

### Fixed
- Send ordered, repeated HTTP/3 request trailers through `HTTP.Stream.finish/2`,
  including zero-DATA uploads and valid `Trailer` declarations. Trailing HEADERS
  finish the request exactly once; asynchronous failures, cancellation, finite
  deadlines and unknown-operation reconciliation retain their existing behavior.
- Use a stable managed HTTP/1 response writer session with consumer-driven
  chunk acknowledgements instead of creating a stream monitor for every chunk.
  Retain uncertain chunk ownership after timeout, abort and deadline.
- Coalesce HTTP/1 pool expiration into a reference-matched maintenance timer
  while enforcing pending handoff and idle checkout deadlines independently.
  Validate handoff deadlines before tracker monitors are released; ignore stale
  scope reconciliation timers and wait for tracker termination on completion.

### Documentation
- Record the pinned OTP managed-H1 control-accounting audit, workload/build
  manifest, proof gaps and empirical TLS stress evidence. These hardening changes
  do not certify native/deferred memory reclamation or a numerical activation
  budget. Issue #97 remains open; Gaoxy numerical managed production stays disabled.

## [0.21.3] - 2026-10-11

### Fixed
- Preserve the original streamed response failure during internal request cleanup,
  including HTTP/1 chunk-line and trailer parser errors. Late first readers can
  observe the terminal error; unread responses retain their request lease and
  keep completion pending until consumed or explicitly cancelled.
- Preserve abort and deadline errors for late readers of response streams from
  requests without a completion tracker, including default redirect-follow requests.

## [0.21.2] - 2026-10-11

### Fixed
- Track OTP 27 and OTP 28 TLS receiver and sender processes independently
  through connection setup, HTTP/1 reuse and HTTP/2 pool handoff. Retain managed
  connection capacity and retirement barriers until both processes terminate.
- Retire managed generations with unconfirmed cleanup when TLS setup returns
  no resource inventory or an unsupported socket representation. Preserve
  durable retirement receipts after the coordinator has terminated.

## [0.21.1] - 2026-10-11

### Fixed
- Bound HTTP/2 informational response notifications per request and coalesce
  pool capacity updates, preserving sibling streams and shared HPACK state.
  Compact retained header fragments, raw HPACK literals and frame remainders.
- Normalize managed request inputs into owned binaries, bound buffered iodata
  traversal, and charge generated HTTP/1 and HTTP/2 fields before admission.
- Own compact frozen TLS/socket policy binaries while preserving credential
  verification, policy identity and redacted status. Document retained payload,
  representation and preparation transient limits separately.
- Return the documented managed connection-capacity error while HTTP/2
  connections drain, preserving completion, retirement and explicit replacement.

## [0.21.0] - 2026-10-11

### Added
- Add caller-owned managed HTTP/1 and HTTP/2 transport scopes with private
  pools, finite admission, frozen destination and TLS policy, bounded status,
  and durable graceful/abort retirement receipts. Keep request cleanup
  completion separate from whole-scope retirement. Managed scopes support
  direct TCP/OTP TLS, explicit protocols, and raw streamed responses with
  manual/error redirects; reject unsupported policies before dialing.
- Extend request completion to supported explicit HTTP/HTTPS proxy routes,
  including pending CONNECT/TLS, uploads, response streams, cancellation and
  safe pooled return. Preserve proxy identity and authentication isolation.

### Fixed
- Limit each inbound HTTP/2 header block to 256 frames, including empty
  HEADERS/CONTINUATION and the final frame, and omit empty fragment storage.
  Reject excess fragmentation at connection scope while preserving separate
  connections and existing compressed-byte, HPACK and decoded-header limits.

## [0.20.0] - 2026-10-10

### Added
- Extend request cleanup completion to pooled HTTP/1 and explicit HTTP/2/h2c
  requests. Confirm safe HTTP/1 pool handoff or closure, and HTTP/2 stream,
  helper, delivery and reservation release without closing healthy siblings.
- Support bounded HTTP/2 upload trailers through `HTTP.Stream.finish/2`, with
  ordered fields, shared HPACK encoding, atomic HEADERS/CONTINUATION writes,
  peer header-list limits and request-local validation failures.
- Add opt-in `error_mode: :structured` and `HTTP.RequestError.pre_send?/1`
  evidence for confirmed failures before direct TCP establishment. Preserve
  raw errors by default and leave validated-address failover to the caller.
- Support explicit HTTPS proxies for HTTP origins with verified proxy TLS,
  absolute-form HTTP/1 forwarding and isolated pooled connections. Reject
  HTTPS origins through HTTPS proxies before dialing; never fall back directly.

### Fixed
- Stop caller upload streams and wake blocked producers on terminal request
  failures, including proxy and pooled-route failures before connection setup.
  Preserve successful header-first responses and early-response cleanup.

## [0.19.1] - 2026-10-10

### Fixed
- Preserve the `?` delimiter for a present empty query in HTTP request targets,
  including streaming proxy-mode requests and HTTP proxy absolute-form targets.

## [0.19.0] - 2026-10-10

### Added
- Expose `HTTP.Promise.completion/1` and bounded
  `HTTP.RequestCompletion.await/2` / `abort_and_await/2` for request-scoped
  cleanup confirmation on explicit HTTP/1 requests without connection reuse,
  using manual/error redirects and direct TCP or OTP TLS transport.
- Distinguish confirmed cleanup, cleanup still pending at the caller's deadline,
  and cleanup whose completion cannot be confirmed. Preserve asynchronous
  AbortController cancellation and streaming Promise response behavior.

### Fixed
- Abort the WebSocket transport when its owner exits during a blocked TLS
  write, and settle pending writes before stopping the connection.

## [0.18.1] - 2026-10-10

### Fixed
- Preserve the original IPv4/IPv6 certificate identity with ExSSL when
  upgrading HTTP proxy CONNECT tunnels or dialing a different pinned address.
- Allow an explicit ExSSL certificate reference identity independently of
  SNI while retaining mandatory peer verification and socket upgrade checks.
- Isolate TLS session tickets by both certificate reference identity and SNI.
- Retain SNI-derived certificate verification for ordinary ExSSL calls unless
  an explicit independent reference identity is supplied.
- Process already-delivered HTTP/1 WebSocket frames before finalizing
  TCP or TLS read termination; retain abnormal closure when no valid peer Close exists.

## [0.18.0] - 2026-10-10

### Added
- Return header-first Fetch responses with `stream_response: true` and retain
  acknowledged streaming backpressure and cancellation.
- Preserve GET, HEAD and DELETE request bodies with `request_mode: :proxy`;
  ordinary Fetch behavior remains the default.
- Expose bounded HTTP/1 WebSocket proxy frames, acknowledged frame writes,
  configurable automatic pong and validated wire close codes.
- Support explicit HTTP proxies with absolute-form forwarding and HTTPS
  CONNECT tunnels, isolated proxy authorization and origin TLS verification.
- Add opt-in bounded HTTP/1 keep-alive reuse with route, TLS and caller isolation.
- Accept validated IPv4/IPv6 `connect_address` pins while preserving original
  HTTP authority, TLS identity and trust. Require explicit redirect handling;
  reject unsupported proxy, Unix and HTTP/3 combinations before network I/O.
  ExSSL cannot yet verify a distinct original literal IP against a pinned
  address; this case rejects explicitly pending upstream issue #49.

### Fixed
- Return consistent closed readiness errors when a QUIC connection exits
  normally during a call; retain timeouts and unexpected exit reasons.

### Changed
- Update Dialyxir, Earmark Parser, Erlex, ExDoc, Jason, Makeup, Makeup Erlang
  and Telemetry to current compatible releases. Retain Credo 1.7.13 because
  newer releases report unrelated existing nesting violations.
- Verify candidate-package Telemetry archives against the version and checksum
  in the lockfile instead of a fixed historical version.

## [0.17.2] - 2026-10-09

### Added
- Expose bounded HTTP/1 request and response trailers, including
  `HTTP.Stream.finish/2` for streamed request trailers.
- Provide acknowledged WebSocket writes with finite deadlines and document
  the public WebSocket client boundary for reverse proxies.
- Support `decode_body: false` to preserve original response bytes across
  HTTP/1, HTTP/2 and HTTP/3, for both buffered and streamed responses.

### Fixed
- Read HTTP/1 responses while streaming uploads are backpressured; stop
  unfinished uploads on early final responses and bound cancellation for
  plain TCP, OTP TLS and ExSSL without replaying uncertain writes.
- Remove credentials and nested request secrets from Fetch telemetry by
  default and honor per-request and global telemetry opt-outs.
- Validate WebSocket handshakes and clean up blocked writes on cancellation,
  deadlines and owner loss, including verified secure connections.

## [0.17.1] - 2026-10-09

### Fixed
- Preserve declared Content-Length for streaming HTTP/1 and HTTP/2 uploads,
  reject length mismatches, and retain producer backpressure and cancellation.
- Transparently decode gzip and zlib-wrapped deflate response Content-Encoding
  for buffered and streamed Fetch consumers across HTTP/1, HTTP/2, and HTTP/3;
  preserve archive bytes when Content-Encoding is absent.
- Strip URL credentials from every WebSocket telemetry event and support
  omitting or explicitly replacing telemetry URLs without changing handshakes.
- Correct migration provenance to describe the available synchronized Hex graph.

## [0.17.0] - 2026-10-06

### Added
- Preserve bounded, ordered HTTP/2 informational responses and separate buffered
  and streamed trailers through the existing response and stream APIs.
- Gate shared transport and tooling changes against affected Fetch, EventSource
  and WebSocket consumers, with independent peer traffic and package evidence.
- Document the scoped HTTP/2 beta support contract and rollout/rollback runbook.

### Fixed
- Bound reusable automatic HTTPS negotiation before dialing, settle HTTP/1.1
  fallback claims, and clean up admission on cancellation, deadlines and exit.
- Honor peer stream capacity after the single initial automatic H2 reservation,
  including zero capacity and saturated admission queues.

### Validation
- Frozen HTTP/2 candidate passed all 78 acceptance gates, both genuine
  30-minute soaks, automatic CI and full CI/Test/E2E. Retain measured resources,
  package checksums, rejected attempts and limits in `docs/http2-beta-validation.md`.

## [0.16.7] - 2026-10-06

### Added
- Report HTTP/3 beta and static/literal QPACK capabilities in the companion;
  keep raw QUIC HTTP/3 and deferred application features unsupported.
- Require digest-pinned Caddy and aioquic public acceptance, isolated candidate
  and published Hex traffic, negative TLS checks, and retained peer diagnostics
  in coordinated releases.
- Add the scoped 24-hour canary with explicit cleanup, memory, mailbox, process,
  endpoint and error thresholds, as separate asynchronous validation against
  the release tag and published packages; interrupted pre-release evidence is
  retained without claiming a completed 24-hour pass.

### Fixed
- Transfer owner-proven unopened requests at concurrent lifetime rotation using
  their original deadlines and untouched bodies; sent or unknown admissions
  retain their original reconciliation path.

## [0.16.6] - 2026-10-05

### Added
- Enable strict, verified HTTP/3 Fetch with binary and streamed uploads,
  process-backed downloads, abort and total-deadline handling.
- Expose actual network protocol in Response and request-stop telemetry;
  retain bounded informational fields and expose buffered/streamed trailers.
- Add explicit HTTP/3 EventSource with acknowledged deliveries, cursor-aware
  reconnect, secure readiness, redirects and native error classification.

### Fixed
- Remove known-unsent queued requests promptly on abort or subscriber death;
  preserve reconciliation for already-pending native operations.
- Reject streamed-body redirect replay and cross-origin client-identity reuse.

### Validation
- Native public API regressions and pinned independent aioquic/Caddy public
  integrity, TLS negatives, multiplexing, SSE and connection-rotation evidence.
  Final required CI/artifact/canary acceptance is recorded separately in WP5.

## [0.16.5] - 2026-10-05

### Added
- Supervised HTTP/3 owners, bounded leases and request relays, demand-driven
  body bridges, safe connection identity, GOAWAY draining and lifetime rotation.
- Bounded receive credit for 32 concurrent streams, with explicit validation of
  owned and borrowed endpoints and isolation for paused consumers.

### Fixed
- Accept valid QUIC NEW_TOKEN frames and authenticated RFC 9001 peer key updates,
  preserving reordered previous-phase packets and rejecting invalid transitions.
- Install production dependencies before each staged Hex publication and verify
  the prepared package still rebuilds to the audited archive bytes.
- Move the HTTP/3 facade into runtime and declare its companion dependency in
  source, CI closures, portable packages and isolated consumers.

### Validation
- Native and pinned aioquic runtime integrity, concurrency, backpressure and
  cleanup gates; authenticated stock Caddy binary POST interoperability.
  Public Fetch HTTP/3 remains unsupported until WP4.

## [0.16.4] - 2026-10-05

### Fixed
- Frame binary and demand-driven uploads as HTTP/3 DATA, retain blocked work
  without freezing sibling reads, and retire completed requests exactly once.
- Decode responses incrementally with separate header and retained-byte limits,
  informational/final/trailer validation, critical streams, and GOAWAY admission.
- Correct all 99 QPACK static indexes and preserve indexed/literal field order.
- Use uv to install the release peer dependencies in its Python environment.

### Validation
- Native adapter regressions and a pinned independent aioquic binary echo gate.
  Public Fetch HTTP/3 remains unsupported pending runtime integration.

## [0.16.3] - 2026-10-05

### Fixed
- Compose HTTP/3 sessions with native QUIC generations, authenticated H3
  readiness, consistent stream handles, retained operation references, and
  explicit endpoint ownership and terminal teardown.
- Preserve cancellation isolation and reconcile ambiguous admission without
  replaying request bytes or destructive reads.
- Repair the baseline ServerHello Dialyzer warning without changing GREASE
  handling, and make release tests independent of the prepared patch version.

### Validation
- WP1 native-contract seams and local UDP session tests; public Fetch HTTP/3
  remains unsupported until the runtime and independent acceptance gates.

## [0.16.2] - 2026-10-05

### Fixed
- Restore Fetch's test dependency in isolated WebSocket and EventSource CI jobs.
- Inspect candidate Hex archives in memory using Hex's supported unpack mode.

### Validation
- WP0 baseline restoration; see `docs/http3-wp0-baseline.md` and
  `docs/http3-implementation-audit.md`. HTTP/3 remains unsupported at this step.

## [0.16.1] - 2026-10-01

### Changed
- Remove the `elixir_quic_http3` sub-app after its migration to
  `gsmlg-dev/ex_quic`, including unused dependencies from Fetch and WebTransport.
- Update six-package CI, release, and consumer tooling and current documentation
  to reflect the new ownership boundary. HTTP/3 and WebTransport selectors
  remain explicitly unsupported pending integration and interoperability work.

### Fixed
- Keep isolated package consumers on explicit shared local dependency overrides
  after removing the migrated package.

## [0.16.0] - 2026-10-01

### Added
- Extract `http_runtime` as the shared, independently installable HTTP/2 owner,
  pool and stream application used by Fetch, EventSource and WebSocket.
- Add explicitly selected HTTP/2/h2c EventSource and RFC 8441 WebSocket support,
  acknowledged delivery, finite parsing/send/delivery bounds and actual-version
  accessors. Preserve HTTP/1 defaults and explicit TLS backend selection.
- Add independent SSE/WebSocket/mixed peers, standalone package traffic gates and
  a reproducible final acceptance entrypoint with original Fetch42 workloads.

### Fixed
- Preserve ordinary Fetch early-response upload cleanup while accepted CONNECT
  tunnels remain duplex; gate admission on peer capability without blocking
  ordinary siblings or consuming stream capacity while waiting.
- Settle logical stream resources on close, owner death, reset and runtime restart,
  retain accepted bytes before terminal errors, and stop parsing after an internal
  WebSocket terminal failure.
- Mask WebSocket payloads using binary words to avoid per-byte list heap growth.

### Validation
- See `docs/http2-stream-clients-validation.md` for exact phase/final-candidate
  results, source and artifact checksums, backend/peer matrices and resource
  observations. Short runner checks are explicitly distinct from 30-minute soaks.

## [0.15.1] - 2026-09-30

### Fixed
- Stop abandoned HTTP/2 uploads atomically after final response headers, retain
  incomplete response bodies and trailers, and close unfinished request halves
  before releasing peer capacity without replaying upload DATA.
- Promote queued, never-sent requests when connection capacity becomes available,
  including owner shutdown, draining, cross-origin capacity release, and a
  saturated surviving sibling, while preserving deadlines and connection limits.
- Preserve sibling upload scheduling when an already-stopped stream is removed
  again during cleanup.

### Validation
- Add deterministic wire-level early-response, queued-admission, lifecycle and
  package-consumer regressions with explicit event barriers.
- Complete all 42 local HTTP/2 acceptance gates, including both independent peers,
  supported transports, 10-MiB transfers, 10,000-request reuse workloads and a
  full 30-minute mixed soak. See `docs/http2-production-validation.md` for exact
  candidate provenance, outcomes, resource bounds and archived evidence.

## [0.15.0] - 2026-09-30

### Added
- Include `elixir_quic_http3` in the coordinated six-package release, with
  versioned HTTP/3 dependencies for Fetch and WebTransport and standalone
  package-consumer validation.

### Changed
- Route explicit HTTP/2 and h2c requests through supervised, profile-aware pooled
  owners, including requests without an explicit wire profile.
- Reclaim completed protocol streams; slice binary and streaming uploads by
  available peer credit; bound download admission and return stream credit on
  consumption.
- Validate frame boundaries, response phases and lengths, HPACK table updates,
  and peer settings; preserve typed reset/GOAWAY outcomes and original deadlines.
- Advertise no server push in wire-profile revision 2, with cold/warm header
  ordering applied once. Keep synthetic profiles explicitly synthetic.
- Add redacted connection/pool telemetry and independent peer/package/soak gates.

### Known limitations
- HTTP/2 production acceptance remains in progress; see
  `docs/http2-production-validation.md` for failing or unrun blocking gates.

## [0.14.0] - 2026-09-29

### Added
- Add an internal authenticated QUIC client adapter with bounded stream I/O,
  cancellation, operation outcome tracking, and lifecycle validation.
- Add published TLS consumer provenance and independent resumption coverage
  for HTTP/1.1, HTTP/2, WebSocket, and EventSource.
- Add validated versioned HTTP/2 wire profiles, ordered serialization controls,
  pure connection/stream state models, and bounded redacted fingerprint observations.
- Add flat HTTP/2 profile, reuse, scope, and priority option validation.
- Add bounded PRIORITY_UPDATE handling, upload credit recovery after
  WINDOW_UPDATE, peer MAX_FRAME_SIZE DATA fragmentation, and capture provenance
  manifest validation.

### Changed
- Use Hex `elixir_quic ~> 0.2.2` and `ex_ssl ~> 0.7.2`, with no runtime Git pins.
- Preserve OTP TLS defaults and existing production HTTP/3/WebTransport paths.

### Known limitations
- The new adapter does not implement HTTP/3 sessions or QPACK. The Abyss joint
  raw-stream test awaits its published-engine namespace migration (abyss #5).
- Full drain-deadline policy, broader independent mature-implementation
  interoperability, and captured browser-profile verification remain pending.
  Profiled h2c and HTTPS h2 pooling support overlapping socket streams while
  preserving TLS/profile identity isolation.

## [0.13.0] - 2026-09-22

### Changed
- Publish all five packages at the shared 0.13.0 version and update their
  internal `http_core` dependency requirements to `~> 0.13.0`.
- Retain the ex_ssl `~> 0.4.0` integration from 0.12.0 without further runtime
  changes; OTP `:ssl` remains the default TLS backend.

## [0.12.0] - 2026-09-22

### Added
- Add verified ex_ssl 0.4.0 TLS 1.2 support across Fetch, HTTP/2, WebSocket,
  and EventSource, and opt-in TLS 1.3 ticket resumption over fresh HTTP/1.1
  connections. The default remains verified TLS 1.3 with tickets disabled.
- Forward validated ex_ssl client identities, TCP socket options, and ordered
  TLS 1.3 algorithm preferences. Pin client identities to the redirect origin.

### Changed
- Keep OTP `:ssl` as the default TCP TLS backend while allowing verified TLS
  1.3 or explicitly selected TLS 1.2 through the optional `:ex_ssl` backend.
  HTTP/3 and
  WebTransport continue to use QUIC's independent TLS implementation.
- Run individual app tests and E2E suites from the umbrella root after explicit
  test-environment preparation, so transitive runtime applications are compiled
  and on the code path even on cold checkouts.
- Validate all five built packages in an isolated external consumer, including
  transitive dependencies and verified local TLS requests.

### Fixed
- Deliver complete HTTP/2 responses when the peer closes immediately after an
  END_STREAM DATA frame and a non-essential WINDOW_UPDATE or acknowledgement
  returns `:closed`. Incomplete responses and required request writes before
  response completion still fail normally.
- Preserve unread ex_ssl TLS records when an HTTP/2 control write fails after
  normal peer closure. Drain them through the existing active-once receiver and
  require a complete HTTP/2 response, without extending deadlines or accepting
  truncated responses, error resets, or protocol errors.
- Preserve valid HTTP/2 early final responses while cancelling remaining upload
  DATA, including queued DATA released by WINDOW_UPDATE. Accept NO_ERROR resets
  only after response completion; require END_STREAM and a complete field block
  even for responses with no body.
- Enforce HTTP/2 response Content-Length and bounded frame/header parsing while
  preserving valid cross-record and streaming completion after peer closure.

## [0.11.0] - 2026-07-04

### Added
- Added Fetch-style streaming response bodies by exposing the stream PID in
  `response.body`, while keeping `response.stream` as a compatibility alias.
- Added HTTP/1.1 streaming request uploads with `HTTP.Stream` bodies and
  `duplex: "half"` chunked request framing.

### Changed
- Updated response helpers, docs, and e2e coverage for the new streamed body
  shape.
- Return explicit unsupported errors for streaming request bodies on HTTP/2 and
  HTTP/3 instead of buffering or misframing them.

## [0.10.0] - 2026-07-01

### Added
- Added independent `http_web_socket`, `http_event_source`, and
  `http_web_transport` umbrella apps with browser-like protocol APIs.
- Added e2e coverage for EventSource, WebSocket, and WebTransport workflows.

### Changed
- Extracted shared HTTP primitives into the `http_core` app so protocol apps
  share common code without depending on `http_fetch`.
- Updated CI, test, e2e, and release workflows to cover every umbrella app and
  publish all packages with one shared version.

## [0.9.1] - 2026-06-23

### Changed
- Removed legacy `:httpc` compatibility option buckets from `HTTP.fetch/2`.
  Fetch init options are now flat, and redirects use `redirect: :follow | :manual | :error`.

### Fixed
- Validate response `Transfer-Encoding` framing instead of falling back to
  `Content-Length` for unsupported transfer codings.
- Keep completed empty streams readable for late consumers.
- Make the Unix socket e2e coverage independent of a host Docker daemon.
- Align release metadata, README examples, and project guidance with the socket
  transport.

## [0.9.0] - 2026-06-17

### Changed
- Replaced `:httpc` with the internal socket transport while preserving the default
  redirect-following behavior; pass `autoredirect: false` to return redirect responses.
- Legacy `:httpc` options that are not implemented by the socket transport are documented
  as compatibility-only options.

## [0.7.0] - 2025-01-XX

### Added - Browser Fetch API Compatibility (~85% API Parity)
- **HTTP.StatusText module** - Maps HTTP status codes to standard status text messages (60+ codes)
- **Response.status_text** - Status message property (e.g., "OK", "Not Found")
- **Response.ok** - Boolean property indicating success (true for 200-299 status codes)
- **Response.body_used** - Tracks body consumption (field exists for API compatibility)
- **Response.redirected** - Indicates if response was redirected
- **Response.type** - Response type (`:basic`, `:cors`, `:error`, `:opaque`)
- **Response.new/1** - Constructor helper that auto-populates Browser API fields
- **Response.clone/1** - Clone response for multiple reads (buffers streaming responses)
- **Response.arrayBuffer/1** - Read body as binary (ArrayBuffer equivalent)
- **Response.array_buffer/1** - Snake_case alias for arrayBuffer
- **HTTP.Blob module** - Blob struct with `data`, `type`, and `size` fields
- **Response.blob/1** - Read body as Blob with metadata (extracts MIME type from headers)
- Comprehensive Browser API compatibility documentation in README
- 41 new tests covering all Browser Fetch API features

### Changed - Breaking Changes for Browser API Compatibility
- **Response struct fields added**: `status_text`, `ok`, `body_used`, `redirected`, `type`
  - **Migration**: Update pattern matches to ignore new fields or use variable binding
  - Example: `%Response{status: 200} = response` (ignores new fields)
- **Response construction**: All internal Response creation now uses `Response.new/1`
  - Ensures consistent Browser API field population
  - **Migration**: Use `Response.new/1` instead of direct `%Response{}` for consistency
- **body_used field**: Present for Browser API compatibility but doesn't enforce in Elixir
  - Due to Elixir's immutability, multiple reads of the same response value work
  - Use `clone/1` for clarity when reading multiple times

### Documentation
- Added "Browser Fetch API Compatibility" section to README with examples
- Documented Elixir-specific differences (immutability, synchronous returns, streams)
- Updated all Response documentation to reflect new Browser API properties
- Added comprehensive examples for `clone/1`, `arrayBuffer/1`, and `blob/1`

### Notes
- This release prioritizes Browser Fetch API compatibility over Elixir-specific patterns
- The `body_used` field exists for API compatibility but cannot prevent multiple reads due to immutability
- All critical Browser Fetch API Response properties and methods are now supported

## [0.5.0] - 2025-08-01

### Added
- **HTTP.Telemetry module** - Complete telemetry integration for HTTP request monitoring
  - Request lifecycle events with rich metadata
  - Response body reading events for tracking download progress
  - Streaming events for real-time data transfer monitoring
  - Zero configuration integration with Elixir's :telemetry library

### Changed
- Updated default User-Agent string format to include library version 0.5.0
- Enhanced telemetry event metadata with improved error reporting

## [0.4.3] - 2025-08-01

### Added
- Added `HTTP.Headers.set_default/3` method to set headers only if they don't already exist
  - Uses case-insensitive header name matching
  - Preserves existing headers when they already contain the specified name
- Added automatic default `User-Agent` header to all HTTP requests
  - Format: `Mozilla/5.0 (macOS; aarch64-apple-darwin24.3.0) OTP/27 BEAM/15.2.3 Elixir/1.18.3 http_fetch/0.4.3`
  - Includes OS information, system architecture, OTP version, BEAM version, Elixir version, and library version
  - Uses dynamic version detection via `Application.spec(:http_fetch, :vsn)`
  - Preserves custom `User-Agent` headers when provided
- Added `HTTP.Headers.user_agent/0` method to access the default User-Agent string
- Added comprehensive `HTTP.Telemetry` module for HTTP request metrics and monitoring
  - **Request lifecycle events**: `[:http_fetch, :request, :start]`, `[:http_fetch, :request, :stop]`, `[:http_fetch, :request, :exception]`
  - **Response body reading events**: `[:http_fetch, :response, :body_read_start]`, `[:http_fetch, :response, :body_read_stop]`
  - **Streaming events**: `[:http_fetch, :streaming, :start]`, `[:http_fetch, :streaming, :chunk]`, `[:http_fetch, :streaming, :stop]`
  - **Rich metadata**: Includes URLs, HTTP status codes, response sizes, durations, and error reasons
  - **Automatic integration**: All HTTP.fetch operations automatically emit telemetry events
  - **Zero configuration**: Works out of the box with Elixir's :telemetry library

### Changed
- Enhanced User-Agent string to include system architecture information
- Refactored User-Agent generation for consistency across the codebase
- Updated default headers handling to use `set_default/3` for better extensibility

## [0.4.2] - 2025-08-01

### Added
- Added `HTTP.Response.write_to/2` method to write response bodies to files
  - Supports both streaming and non-streaming responses
  - Automatically creates directories if they don't exist
  - Returns `:ok` or `{:error, reason}` for proper error handling

### Fixed
- Fixed streaming implementation message format for complete responses
- Increased streaming threshold from 100KB to 5MB to prevent issues with large files
- Fixed test assertion for content-length comparison using `byte_size/1` instead of `length/1`

### Changed
- Updated streaming threshold to prevent streaming for files under 5MB
- Improved streaming process error handling

## [0.4.1] - 2025-07-31

### Added
- **URI struct support** - HTTP.fetch/2 now accepts both string URLs and %URI{} structs
- **Enhanced URL handling** - Automatic conversion from string to %URI{} for internal processing
- **Type safety improvements** - HTTP.Request and HTTP.Response now use %URI{} internally
- **Improved Request field naming** - More intuitive field names for :httpc.request mapping

### Changed
- **Refactored URL handling** - All internal representations now use %URI{} instead of string
- **Updated type specifications** - HTTP.Request.url type changed from String.t() | charlist() to URI.t()
- **Updated Response.url type** - Changed from String.t() to URI.t()
- **Updated function signatures** - handle_httpc_response and related functions now accept URI.t()
- **HTTP.Request field renaming** for better clarity:
  - `options` → `http_options` (3rd argument to :httpc.request)
  - `opts` → `options` (4th argument to :httpc.request)

### Technical Details
- **Backward compatibility** - String URLs are automatically parsed to URI structs
- **Consistent URI handling** - All internal operations use parsed URI structs
- **Eliminated redundant parsing** - Removed duplicate URI.parse calls in streaming functions
- **Enhanced type safety** - Stronger typing throughout the codebase
- **Updated test suite** - Request tests updated to use URI.parse/1 for consistency
- **Improved field documentation** - Clear mapping to :httpc.request arguments

## [0.4.0] - 2025-07-30

### Added
- **HTTP.FetchOptions module** - New dedicated module for processing fetch options with full httpc support
- **Enhanced option handling** - Support for all :httpc.request options including timeout, SSL, streaming, etc.
- **Multiple input formats** - Accept keyword lists, maps, or HTTP.FetchOptions struct
- **Complete httpc integration** - Proper separation of HttpOptions and Options for :httpc.request
- **Type-safe configuration** - Structured approach to HTTP request configuration
- **Comprehensive option coverage** - All documented :httpc.request options supported
- **HTTP.FormData module** - New dedicated module for handling form data and multipart/form-data encoding
- **File upload support** - Support for file uploads with streaming via `File.Stream.t()`
- **Automatic content type detection** - Automatically chooses between `application/x-www-form-urlencoded` and `multipart/form-data`
- **Streaming file uploads** - Efficient large file uploads using Elixir streams
- **Form data builder API** - Fluent interface with `new/0`, `append_field/3`, `append_file/4-5`
- **Multipart boundary generation** - Automatic random boundary generation for multipart requests
- **Comprehensive test coverage** - Full test suite for form data and fetch options functionality

### Changed
- **HTTP.fetch refactored** - Now uses HTTP.FetchOptions for consistent option processing
- **HTTP.Request body parameter** - Now accepts `HTTP.FormData.t()` for form submissions
- **Enhanced content type handling** - Automatic content-type detection and header setting
- **Improved multipart encoding** - Proper multipart/form-data format with boundaries
- **Unified configuration API** - All configuration goes through HTTP.FetchOptions

### Technical Details
- **HTTP.FetchOptions struct** with comprehensive field support for all httpc options
- **FormData struct** with parts array for form fields and file uploads
- **Streaming support** via `File.Stream.t()` for memory-efficient file uploads
- **URL encoding fallback** for simple form data without file uploads
- **Backward compatibility** maintained for existing string/charlist body usage

## [0.3.0] - 2025-07-30

### Fixed
- **HTTP option placement** - Fixed `body_format: :binary` option being passed to wrong :httpc argument
- **Eliminated warning messages** - Removed "Invalid option {body_format,binary} ignored" notices during tests
- **Improved error handling** - Enhanced response handling for malformed URLs and network errors

### Technical Details
- **Corrected httpc arguments** - Proper separation of request options vs client options
- **Cleaned up streaming setup** - Removed redundant option configurations
- **Enhanced test reliability** - Reduced external dependency flakiness

## [0.2.0] - 2025-07-30

### Added
- **HTTP.Headers module** - New dedicated module for HTTP header processing
- **Structured headers** - HTTP.Request and HTTP.Response now use `HTTP.Headers.t()` struct
- **Header manipulation utilities** - `new/1`, `get/2`, `set/3`, `merge/2`, `delete/2`, etc.
- **Header parsing** - Content-Type parsing with media type and parameters extraction
- **Case-insensitive header access** via `HTTP.Headers.get/2` and `HTTP.Response.get_header/2`
- **Backward compatibility** - HTTP.fetch still accepts list/map formats with auto-conversion

### Changed
- **Refactored header storage** from plain lists to `HTTP.Headers` struct
- **Enhanced type safety** with proper struct types throughout the codebase
- **Updated Response API** - Added `get_header/2` and `content_type/1` helper methods

### Technical Details
- **New HTTP.Headers struct** with comprehensive header manipulation capabilities
- **Immutable operations** - All header operations return new struct instances
- **Automatic conversion** - Input formats (list/map) auto-converted to struct
- **Enhanced documentation** with examples for new header functionality
- **Maintained backward compatibility** - Existing code continues to work

## [0.1.0] - 2025-07-30

### Added
- Initial project setup with Mix
- Basic project structure and configuration
- Core HTTP fetch functionality
- Response and Request struct definitions
- Promise implementation for async operations
- AbortController for request cancellation
- Comprehensive test coverage
- Documentation and README
