---
title: "ethon 0.19.0 Breaking Changes on RubyGems | Since.dev"
description: "What each ethon release removed, renamed or changed: 31 breaking changes in 7 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/ethon
last_updated: 2026-12-04
---

# 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

Latest version `0.19.2`. [Source repository](https://github.com/typhoeus/ethon)

Its 0.17.0 release requires Ruby 2.6 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.1.0](#v-0-1-0) to [0.19.0](#v-0-19-0): 30 breaking changes in 6 versions.

## ethon 0.19.0 breaking changes

ethon 0.19.0, released October 28, 2026: 20 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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed**  

Requiring ethon no longer loads MIME::Types; code that depends on it must require it itself. [github.com](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed**  

With params_encoding :none, ordinary arrays are sent as data. Raw String bodies are rejected when multipart is requested. [github.com](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed**  

Unknown named enum and bitmask option values raise Ethon::Errors::InvalidValue instead of silently becoming 0. [github.com](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed** `Easy.handle=`  

Easy#handle= now rejects assignment while the Easy is performing, completing, attached to a Multi, or cleaned up. [github.com](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.19.0/CHANGELOG.md)

## ethon 0.18.0 breaking changes

ethon 0.18.0, released November 3, 2025: 1 breaking change.

- **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](https://github.com/typhoeus/ethon/blob/v0.18.0/CHANGELOG.md)

## ethon 0.17.0 breaking changes

ethon 0.17.0, released August 20, 2025: 3 breaking changes.

- **Removed**  

Ruby 2.5 is no longer tested by the project; this does not change the package code itself. [github.com](https://github.com/typhoeus/ethon/blob/v0.17.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.17.0/CHANGELOG.md)
- **Configuration changed**  

The gem now requires Ruby 2.6+, so users on older Ruby versions must upgrade before installing this release. [github.com](https://github.com/typhoeus/ethon/blob/v0.17.0/CHANGELOG.md)

## ethon 0.5.0 breaking changes

ethon 0.5.0, released September 25, 2012: 1 breaking change.

- **Renamed** `response_header`  

The response_header method was renamed to response_headers in this release. Update calls to use the new name. [github.com](https://github.com/typhoeus/ethon/blob/v0.5.0/CHANGELOG.md)

## ethon 0.3.0 breaking changes

ethon 0.3.0, released July 2, 2012: 2 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](https://github.com/typhoeus/ethon/blob/v0.3.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.3.0/CHANGELOG.md)

## ethon 0.2.0 breaking changes

ethon 0.2.0, released June 29, 2012: 3 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](https://github.com/typhoeus/ethon/blob/v0.2.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.2.0/CHANGELOG.md)
- **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](https://github.com/typhoeus/ethon/blob/v0.2.0/CHANGELOG.md)

## Older versions

1 older version.

### ethon 0.1.0 breaking changes

ethon 0.1.0, released June 26, 2012: 1 breaking change.

- **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](https://github.com/typhoeus/ethon/blob/v0.1.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
