http_gun breaking changes
http_gun 0.4.0 (November 26, 2026) is its newest release with breaking changes, 12 of them. The first: Removed config.RequestTimeout. Every breaking API change we have recorded in http_gun on Hex: 16 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.4.1, released December 3, 2026. Apache-2.0 license. Source repository
http_gun 0.4.0 breaking changes
- Removed
config.RequestTimeout
The RequestTimeout setting is gone; set the timeout on the client handle with http_gun.with_timeout. github.com - Removed
config.with_request_timeout
Set the request timeout on the client handle with http_gun.with_timeout instead of in the configuration. github.com - Behavior changed
Response, informational and trailer header names and values that are not UTF-8 are read as ISO-8859-1 rather than passed on as raw bytes. github.com - Behavior changed
Gun's closing timer is off, so a streamed response after connection close or GOAWAY is no longer cut at 15 seconds. github.com - Behavior changed
A request Gun refuses on a closing connection fails with RequestFailed(PeerDraining) and NotSent, so retry code matching MaybeSent must change. github.com - Behavior changed
body.next_within
next_within now returns within its wait plus the grace even when the body owner cannot answer, and a read from the owning process replaces an abandoned read. github.com - Behavior changed
config.with_idle_timeout
Streamed responses are no longer cut 15 seconds after connection close; set the bound with with_timeout or with_idle_timeout. github.com - Behavior changed
http_gun.batch
When the client does not report its byte limit before the deadline, batch runs no request and every position fails with DeadlineExceeded and NotSent. github.com - Behavior changed
http_gun.with_timeout
Every request now has a finite deadline, default 30 seconds, and returns DeadlineExceeded with MaybeSent after the deadline plus 500 ms. github.com - Behavior changed
testing.verify
A client that does not answer before the deadline now yields NotAnswered instead of ClientStopped. github.com - Behavior changed
testing.VerifyError
Add the NotAnswered variant to every case over VerifyError; ClientStopped is returned only for a stopped client. github.com - Signature changed
http_gun.with_timeout
Pass a gleam/time/duration.Duration to http_gun.with_timeout; config.Infinity no longer lifts the request bound. github.com
http_gun 0.2.0 breaking changes
- Removed
Convert existing cassettes on commit 0974868199378dd774e5979bff8f503cf645fd4c before upgrading, because this release only reads schema 3. github.com - Behavior changed
A recording that fit its budget under schema 2 can now exceed it, since the envelope and separators are charged too. github.com - Behavior changed
cassette.encode
Apply cassette.redact with redaction.default() before encoding hand-built or parsed scripts, since encode now keeps credentials as given. github.com - Behavior changed
cassette.record
A recording budget below 42 bytes is refused at once with CaptureLimit instead of at the first request. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.