ethon breaking changes
ethon 0.19.0 (October 28, 2026) is its newest release with breaking changes, 20 of them. The first: Easy and Multi handles cannot be used after fork in ethon 0.19.0. Every breaking API change we have recorded in ethon on RubyGems: 31 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.19.2. Source repository
Its 0.17.0 release requires Ruby 2.6 or later. Ruby end of life dates.
ethon 0.19.0 breaking changes
- Behavior changed
Handles created before a fork can no longer be used or cleaned up in the child process and raise Ethon::Errors::ForkSafety. Create handles after forking or use fork plus exec. github.com - Behavior changed
Requiring ethon no longer loads MIME::Types; code that depends on it must require it itself. github.com - Behavior changed
With params_encoding :none, ordinary arrays are sent as data. Raw String bodies are rejected when multipart is requested. github.com - Behavior changed
Unknown named enum and bitmask option values raise Ethon::Errors::InvalidValue instead of silently becoming 0. github.com - Behavior changed
An empty value for a header suppresses libcurl's default header, while a header name ending in a semicolon with an empty value sends an empty header. Review header hashes that used empty values. github.com - Behavior changed
curl_easy_setopt
Unknown options raise Ethon::Errors::UnsupportedOption and rejected values raise Ethon::Errors::SetOption. Code that set options the loaded libcurl lacks must guard them with Curl.supports_option?. github.com - Behavior changed
curl_multi_perform
Fatal errors from curl_multi_perform now raise Ethon::Errors::MultiPerform instead of letting Multi execution continue. Code that relied on continuing after such errors must rescue this exception. github.com - Behavior changed
Easy.cleanup
After Easy#cleanup the handle cannot be reused and raises Ethon::Errors::EthonError when used. Applications that reused cleaned-up handles must create new ones. github.com - Behavior changed
Easy.dup
Easy#dup and Easy#clone now raise Ethon::Errors::EthonError when the Easy is still attached to a Multi. Detach it before copying. github.com - Behavior changed
Easy.file=
Writable path-like objects such as Pathname are now treated as paths instead of caller-owned IOs. Code that passed such objects as IOs must change. github.com - Behavior changed
Easy.handle=
Easy#handle= now rejects assignment while the Easy is performing, completing, attached to a Multi, or cleaned up. github.com - Behavior changed
Easy.perform
Easy#perform and Easy#reset now raise while the handle is attached to a Multi. Detach the handle first or create a new one. github.com - Behavior changed
Easy.postfields=
Setting postfields now sets CURLOPT_POSTFIELDSIZE from the retained bytes and resets it when cleared. Set postfieldsize after postfields when sending a different length. github.com - Behavior changed
Ethon.logger
Verbose output is written through Ethon.logger at debug level instead of stdout. Set Ethon.logger.level to Logger::DEBUG to keep seeing the messages. github.com - Behavior changed
ioctlfunction=
Low-level callback setters for unsupported libcurl ABIs now raise NotImplementedError instead of being registered with the generic callback signature. Code that set these callbacks must handle the error or stop using them. github.com - Behavior changed
Multi.dup
Multi#dup and Multi#clone now raise TypeError instead of returning a shallow copy that shares the native handle. github.com - Behavior changed
on_body
Exceptions raised by on_body callbacks are re-raised for both Easy and Multi transfers, including in verbose mode. Applications that relied on swallowing them must handle them explicitly. github.com - Default changed
Easy.each_header
Easy#each_header now defaults to the last request (request = -1). Pass 0 to read the first request. github.com - Default changed
Easy.header
Easy#header now defaults to the last request (request = -1) so headers describe the response after a redirect. Pass 0 to read the first request. github.com - Signature changed
Share.unlockfunction
Unlock callbacks now receive (handle, data, userp) as curl_unlock_function defines them instead of the lock callback signature. Update callbacks that used the old arguments. github.com
ethon 0.18.0 breaking changes
- Behavior changed
on_headers
The on_headers callback is now called once with all headers instead of once per header line. Code that expects a call per line must be updated. github.com
ethon 0.17.0 breaking changes
- Removed
Ruby 2.5 is no longer tested by the project; this does not change the package code itself. github.com - Configuration changed
Files used only for development and tests are no longer shipped inside the gem, so code relying on them will not find them after installing. github.com - Configuration changed
The gem now requires Ruby 2.6+, so users on older Ruby versions must upgrade before installing this release. github.com
ethon 0.5.0 breaking changes
- Renamed
response_header
The response_header method was renamed to response_headers in this release. Update calls to use the new name. github.com
ethon 0.3.0 breaking changes
- Behavior changed
httpauth
Passing a wrong key for httpauth now raises an invalid value error. Code that passes unrecognized keys must use a valid key. github.com - Behavior changed
sslversion
Passing a wrong key for sslversion now raises an invalid value error. Code that passes unrecognized keys must use a valid key. github.com
ethon 0.2.0 breaking changes
- Behavior changed
GET requests now use a custom HTTP request method only when a request body is present. Code that relied on the previous method behavior for GET requests may need review. github.com - Behavior changed
Errors.GlobalInit
When libcurl's global init fails, the package now raises Errors::GlobalInit rather than a generic runtime error. Code that rescues RuntimeError for this case must rescue Errors::GlobalInit instead. github.com - Behavior changed
Errors.InvalidOption
Setting an invalid option now raises Errors::InvalidOption. Code that passes invalid options and expects them to be ignored must be updated. github.com
Older versions
1 older version.
Show 1 older version
ethon 0.1.0 breaking changes
- Behavior changed
ssl_verifyhost
The ssl_verifyhost libcurl option takes an integer value now, so code that passed other values 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.