rest-client breaking changes
rest-client 2.0.0 (July 2, 2016) is its newest release with breaking changes, 21 of them. The first: rest-client 2.0.0 drops support for Ruby 1.9. Every breaking API change we have recorded in rest-client on RubyGems: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.1.0. Source repository
Its 2.0.0 release drops Ruby 1.9. Ruby end of life dates.
rest-client 2.0.0 breaking changes
- Removed
Code that runs on Ruby 1.9 must move to a newer Ruby before using rest-client 2.0. github.com - Removed
RestClient.MaxRedirectsReached
Redirect-limit errors now use the normal ExceptionWithResponse subclasses, with the response on .response. github.com - Removed
RestClient.Response
Request arguments are read from the request object instead of a hash passed to the response. github.com - Renamed
:timeout
Use :read_timeout instead; passing :timeout now sets both :read_timeout and :open_timeout. github.com - Behavior changed
URIs that already have a scheme are no longer altered. github.com - Behavior changed
Multiple headers with the same name are combined with a comma space, except Set-Cookie. github.com - Behavior changed
Deeply nested arrays and hashes, and null or empty values, are encoded with a new convention. github.com - Behavior changed
An explicit Authorization header now prevents the basic auth header from being set. github.com - Behavior changed
Payloads that respond to read are streamed instead of converted with to_s. github.com - Behavior changed
:cookies
The :cookies option is handled through cookie jars; passing it to Request#initialize now raises ArgumentError. github.com - Behavior changed
Request.transmit
Calling Request#transmit from outside the class is no longer supported. github.com - Behavior changed
Response.body
It now returns a plain String rather than the response object itself. github.com - Behavior changed
Response.to_i
It no longer returns the HTTP status code; use response.code instead. github.com - Behavior changed
Response.to_s
It now returns a plain String rather than the response object itself. github.com - Behavior changed
RestClient.ExceptionWithResponse
HTTP 304, 401 and 404 exceptions now also inherit from RestClient::RequestFailed. github.com - Behavior changed
RestClient.Payload.Base.inspect
Payload objects no longer present themselves as a String when inspected. github.com - Behavior changed
RestClient.RequestTimeout
Network timeouts now raise ReadTimeout or OpenTimeout; rescue RestClient::Exceptions::Timeout to catch both. github.com - Behavior changed
RestClient.Response
Responses that declare a charset now return a String in that encoding instead of the Net::HTTP default. github.com - Default changed
Connections no longer offer RC4-MD5 by default. github.com - Default changed
Requests now send Accept: */* by default instead of the previous default. github.com - Default changed
The default User-Agent header is now more descriptive. 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.