excon breaking changes
excon 1.0.0 (October 24, 2024) is its newest release with breaking changes, 3 of them. The first: Decompress middleware is now enabled by default in excon 1.0.0. Every breaking API change we have recorded in excon on RubyGems: 51 breaking changes in 34 versions. Below, its 34 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.13.0, released December 4, 2026. Source repository
Its 0.101.0 release drops Ruby 1.9. Ruby end of life dates.
- From 0.101.0 to 1.0.0: 3 breaking changes in 1 version.
- From 0.10.0 to 1.0.0: 49 breaking changes in 33 versions.
excon 1.0.0 breaking changes
- Behavior changed
A decompress middleware is added to the default middlewares, so responses are decompressed automatically. Code that handles compressed responses itself may need to change. github.com - Behavior changed
Most client errors are removed from the default list of errors retried for idempotent requests. Code relying on these retries must configure them explicitly. github.com - Behavior changed
Requests no longer include the default port by default. If your code depends on the default port appearing in requests, set include_default_port. github.com
excon 0.101.0 breaking changes
- Removed
The release removes code paths that existed only for Ruby 1.9, so Ruby 1.9 is no longer supported. github.com
excon 0.95.0 breaking changes
- Behavior changed
read_nonblock
read_nonblock once again returns at most max_length bytes. Code that relied on it returning more data than max_length should read in smaller pieces or raise max_length. github.com
excon 0.93.0 breaking changes
- Behavior changed
ssl_verify_peer_host
When ssl_verify_peer_host is specified, it is now also used as the SNI value during TLS handshakes. Code that sets this option may see different SNI behavior. github.com
excon 0.87.0 breaking changes
- Behavior changed
Error messages for invalid header values now show only the header key so sensitive data is no longer exposed. Code that parses those error messages may need updating. github.com
excon 0.80.0 breaking changes
- Behavior changed
Hostname resolution switches to Ruby's Resolv library. Code that depends on the previous lookup behavior should be checked. github.com
Older versions
28 older versions, each with its first changes. Sign up to see every change
Show 28 older versions
excon 0.76.0 breaking changes
- Behavior changed
The bundled CA certificates were updated, so the set of trusted root certificates changes and certificate verification results may differ. github.com - Behavior changed
The release removes the hack that trusted the AddTrust root certificate, so connections that depended on it may now fail certificate verification. github.com
excon 0.74.0 breaking changes
- Behavior changed
The release disabled the code that added a trust certificate from the bundle because it expired. Users relying on that certificate for TLS connections may need to supply their own trust store. github.com
excon 0.66.0 breaking changes
- Behavior changed
redirect follower
The redirect follower now raises an error after following more than 10 redirects by default. Code that relied on it returning the response after too many redirects must handle the new error. github.com
excon 0.64.0 breaking changes
- Behavior changed
Excon 0.64.0 changes undefined middleware handling in parameter validation from raising an error to emitting a warning. Code relying on the error being raised must be updated. github.com
excon 0.63.0 breaking changes
- Behavior changed
Input containing CR or LF characters now produces an error rather than being replaced with a substitute character. Code relying on the substitution will see errors. github.com - Configuration changed
The logger is configured via datum rather than class variables. Code that set logging through class variables should move to the datum-based setting. github.com
excon 0.54.0 breaking changes
- Default changed
The default ciphers now follow the Mozilla intermediate list. Code that depends on the previous default cipher set should specify its ciphers explicitly. github.com
excon 0.52.0 breaking changes
- Behavior changed
The user/pass authorization header is now set at the request level rather than the connection level. Check code that relies on credentials being applied to every request from the connection. github.com - Behavior changed
String literals are frozen, so code that mutates strings returned by excon in place will now raise an error. Copy such strings before changing them. github.com
excon 0.50.0 breaking changes
- Behavior changed
The connection setup now checks the path component of the URL along with the host, so URLs that were previously accepted may now be rejected. Review connection URLs passed to the library. github.com
excon 0.49.0 breaking changes
- Behavior changed
Stubs are global by default again. Code that relied on per-connection stubs must now set the local option through defaults. github.com - Behavior changed
Certificate failures are raised as their own error class rather than a more general one. Code that rescues a general error for certificate failures must rescue the new class. github.com
excon 0.45.0 breaking changes
- Behavior changed
Credentials in the user/pass fields are removed when excon follows a redirect. Code that depends on credentials being sent to redirect targets must set them again. github.com - Configuration changed
When a default SSL config is available, excon now uses it in preference to the ENV-based SSL settings. Check code that relies on environment variables for SSL configuration. github.com
excon 0.43.0 breaking changes
- Default changed
The default value for the socket error changed from nil to a basic error. Code that checks for a nil socket error must be updated to handle the new default. github.com
excon 0.42.0 breaking changes
- Behavior changed
Excon now follows redirect responses for every request method, not only some of them. Code that relied on redirects not being followed for other methods may see different responses. github.com
excon 0.39.0 breaking changes
- Behavior changed
The client now removes the transfer-encoding header altogether when its only value is chunked. Code that reads or depends on that header in this case must change. github.com
excon 0.33.0 breaking changes
- Behavior changed
Header names are compared without regard to case in release 0.33.0. Check code that relies on header name casing. github.com
excon 0.32.0 breaking changes
- Behavior changed
The release applies stricter SSL settings where available, so existing SSL connections may be negotiated differently or fail certificate or protocol checks that previously passed. github.com
excon 0.31.0 breaking changes
- Default changed
:persistent
The new :persistent option defaults to true, so existing code now gets persistent connections unless it sets the option to false. github.com
excon 0.29.0 breaking changes
- Removed
nonblock
Passing nonblock as a request key is no longer allowed, so requests that set it must drop that key. github.com - Behavior changed
Requests that set both idempotent and pipeline are no longer allowed, so use only one of them. github.com
And 1 more in this version.
excon 0.28.0 breaking changes
- Behavior changed
Excon no longer modifies the connection data hash passed in by the caller. Code that read values back from that hash after a request may see different contents. github.com - Behavior changed
The redirect_follower middleware creates a new connection for each redirect instead of reusing the existing one. Code that relied on the original connection being reused must be checked. github.com
excon 0.26.0 breaking changes
- Behavior changed
Requests no longer modify the options hash passed in by the caller. Code that relied on those options being changed after a request must keep its own copy of the values. github.com
excon 0.25.0 breaking changes
- Behavior changed
Methods given to stubs are normalized, so stub matching may differ from earlier releases for code that passed methods in a different case or form. github.com - Behavior changed
The package now looks for the operating system's certificate store before the bundled certificates. Code that relied on the bundled certificates being used first may see different certificate validation. github.com
excon 0.23.0 breaking changes
- Behavior changed
Excon's warning output was consolidated into a single display path, which may change how and when warnings are shown. Code that depends on the previous warning output should be checked. github.com - Behavior changed
Excon now respects Ruby's verbosity settings when emitting warnings, so warning output may appear or disappear depending on $VERBOSE. Code that relies on seeing these warnings should check its verbosity setting. github.com
excon 0.22.0 breaking changes
- Behavior changed
Default error messages drop request and response info to avoid credential leaks. Code that depends on the exact text of these error messages may need updating. github.com
excon 0.21.0 breaking changes
- Removed
socket.connect
socket.connect is no longer public in 0.21.0, so code calling it directly will break and must stop calling it. github.com - Behavior changed
Basic auth credentials in URLs are URL-decoded in 0.21.0, so credentials that were already percent-encoded may now be sent differently and need adjusting. github.com
excon 0.20.0 breaking changes
- Behavior changed
Invalid keys are now logged at warning severity rather than error severity. Code that relies on the error log level for these events must change. github.com - Behavior changed
Inspect and instrument output no longer include the password. Code that reads the password from these outputs must change. github.com
excon 0.19.0 breaking changes
- Renamed
VALID_CONNECTION_KEYS
VALID_CONNECTION_KEYS was moved to constants, so code that references it at its old location must be updated. github.com - Behavior changed
expects middleware
The expects middleware output now passes response objects rather than hashes, so code reading it as a hash must be updated. github.com
And 1 more in this version.
excon 0.14.0 breaking changes
- Behavior changed
stubs
Stubs are now used in LIFO order, so the most recently added stub takes precedence. Check code that relies on earlier stubs being matched first. github.com
excon 0.12.0 breaking changes
- Configuration changed
SSL options are now read from each connection's params, so connections can differ. Code that relied on a single global SSL setting should pass SSL options per connection. github.com
excon 0.10.0 breaking changes
- Behavior changed
When credentials are included in a request URI, Excon now parses and sends them as basic auth. Code that passes credentials in a URI and expects them to be ignored or handled separately must be checked. github.com - Behavior changed
Excon no longer sets or passes Content-Length headers for GET requests that have no body. Code that depends on that header being present on GET requests must be updated. 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.