faraday breaking changes
faraday 2.0.0 (January 4, 2022) is its newest release with breaking changes, 12 of them. The first: Removed default_adapter. Every breaking API change we have recorded in faraday on RubyGems: 36 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.15.1. Source repository
Its 2.0.0 release requires Ruby 2.6 or later. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 12 breaking changes in 1 version.
- From 0.9.0 to 2.0.0: 29 breaking changes in 8 versions.
faraday 2.0.0 breaking changes
- Removed
default_adapter
There is no longer a default adapter, so connections must set one explicitly with the adapter method. github.com - Removed
dependency
Middleware should use a regular require at the top of the file instead of the dependency method. github.com - Removed
Faraday.Builder.build
Faraday::Builder#build is no longer exposed through Faraday::Connection and is meant for internal use only. github.com - Removed
Faraday.Request.method
The deprecated Faraday::Request#method was removed. Use the renamed http_method instead. github.com - Removed
Faraday.Response.Middleware
Use the on_complete callback provided by Faraday::Middleware instead. github.com - Removed
Faraday.UploadIO
The deprecated Faraday::UploadIO constant was removed. github.com - Removed
multipart
The multipart middleware moved to the faraday-multipart gem, which must be added to the Gemfile and required. github.com - Removed
retry
The retry middleware moved to the faraday-retry gem, which must be added to the Gemfile and required. github.com - Renamed
Faraday.Request.method
Code calling Faraday::Request#method must switch to #http_method. github.com - Behavior changed
Faraday 2.0 uses Ruby 2.6 or later, so older Ruby versions are no longer supported. github.com - Behavior changed
Faraday.default_connection_options
Faraday.default_connection_options is deep-merged into new connections instead of overriding nested values such as headers. github.com - Signature changed
Faraday.Middleware.register_middleware
Passing a symbol, string, proc, or array to register_middleware is no longer supported; use the name: klass form. github.com
faraday 1.0.0 breaking changes
- Removed
JRuby is no longer supported by this release. github.com - Removed
Faraday.Error.ClientError
The Faraday::Error::ClientError constant no longer exists. Rescue Faraday::ClientError instead. github.com - Behavior changed
ConnectionFailed
Rescue clauses that target ClientError no longer catch connection failures; check your rescue clauses. github.com - Behavior changed
env.body
Custom adapters must set status before body while processing the response, since body now maps to the separate request and response properties. github.com - Behavior changed
f.use
Adapters inheriting from Faraday::Adapter raise an exception when added with use; switch to the adapter method. github.com - Behavior changed
Faraday.ClientError
Server errors for 5xx status codes are raised as Faraday::ServerError, so rescue clauses for ClientError no longer catch them. github.com - Behavior changed
ParsingError
Rescue clauses that target ClientError no longer catch parsing errors; check your rescue clauses. github.com - Behavior changed
RetriableResponse
Rescue clauses that target ClientError no longer catch retriable responses; check your rescue clauses. github.com - Behavior changed
SSLError
Rescue clauses that target ClientError no longer catch SSL errors; check your rescue clauses. github.com - Behavior changed
TimeoutError
Rescue clauses that target ClientError no longer catch timeouts; check your rescue clauses. github.com
faraday 0.17.0 breaking changes
- Behavior changed
The v0.16.0 to v0.16.2 releases are pulled from RubyGems and their master changes move to v1.0, so 0.17.0 returns to the 0.15.4 line. Code written for 0.16.x may behave differently, and cached Faraday request/response data should be... github.com
faraday 0.16.0 breaking changes
- Renamed
UploadIO
UploadIO was renamed to FilePart; the UploadIO class name is preserved for backwards compatibility, so existing code keeps working but should move to FilePart. github.com
faraday 0.15.0 breaking changes
- Removed
error
The error class was removed as unused. Code that references it will fail, so check for any direct uses before upgrading. github.com
faraday 0.14.0 breaking changes
- Removed
Typhoeus adapter
The legacy Typhoeus adapter was removed in this release. Code that relies on it must switch to an external Typhoeus adapter. github.com - Behavior changed
When a proxy is set manually, it now takes precedence over the proxy found by find_proxy, which can change which proxy requests use. github.com
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
faraday 0.12.0 breaking changes
- Behavior changed
Proxy handling now relies on Ruby's URI::Generic#find_proxy and can read the no_proxy environment variable, so proxy resolution may differ from before. The feature is not compatible with Ruby versions earlier than 2.0. github.com
faraday 0.10.0 breaking changes
- Removed
Faraday 0.10.0 no longer supports Ruby 1.8. Users on Ruby 1.8 must stay on an earlier version. github.com
faraday 0.9.0 breaking changes
- Behavior changed
Adapter options are now structs instead of the previous option form, which can change how adapter options are set and read. github.com - Behavior changed
Faraday no longer autoloads its constants by default, so code that relied on automatic loading must require the needed files explicitly. github.com
And 2 more in this version.
faraday 0.9.0.rc6 breaking changes
- Behavior changed
The retry middleware now waits with backoff and randomness between attempts, so retry timing changes for existing code. github.com
faraday 0.9.0.rc5 breaking changes
- Behavior changed
Faraday.Options
Faraday::Options now returns false values, where previously they may have been hidden, which can change existing option lookups. github.com
faraday 0.9.0.rc3 breaking changes
- Behavior changed
Faraday.Adapter.Test
Faraday::Adapter::Test now honors the params_encoder request option, which can change encoded parameters in existing test stubs. github.com
Related packages
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.