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

# 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

Latest version `2.15.1`. [Source repository](https://github.com/lostisland/faraday)

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

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 12 breaking changes in 1 version.
- From [0.9.0](#v-0-9-0) to [2.0.0](#v-2-0-0): 29 breaking changes in 8 versions.

## faraday 2.0.0 breaking changes

faraday 2.0.0, released January 4, 2022: 12 breaking changes.

- **Removed** `default_adapter`  

There is no longer a default adapter, so connections must set one explicitly with the adapter method. [github.com](https://github.com/lostisland/faraday/releases/tag/v2.0.0)
- **Removed** `dependency`  

Middleware should use a regular require at the top of the file instead of the dependency method. [github.com](https://github.com/lostisland/faraday/blob/main/UPGRADING.md)
- **Removed** `Faraday.Builder.build`  

Faraday::Builder#build is no longer exposed through Faraday::Connection and is meant for internal use only. [github.com](https://github.com/lostisland/faraday/blob/main/UPGRADING.md)
- **Removed** `Faraday.Request.method`  

The deprecated Faraday::Request#method was removed. Use the renamed http_method instead. [github.com](https://github.com/lostisland/faraday/releases/tag/v2.0.0)
- **Removed** `Faraday.Response.Middleware`  

Use the on_complete callback provided by Faraday::Middleware instead. [github.com](https://github.com/lostisland/faraday/blob/main/UPGRADING.md)
- **Removed** `Faraday.UploadIO`  

The deprecated Faraday::UploadIO constant was removed. [github.com](https://github.com/lostisland/faraday/releases/tag/v2.0.0)
- **Removed** `multipart`  

The multipart middleware moved to the faraday-multipart gem, which must be added to the Gemfile and required. [github.com](https://github.com/lostisland/faraday/releases/tag/v2.0.0)
- **Removed** `retry`  

The retry middleware moved to the faraday-retry gem, which must be added to the Gemfile and required. [github.com](https://github.com/lostisland/faraday/releases/tag/v2.0.0)
- **Renamed** `Faraday.Request.method`  

Code calling Faraday::Request#method must switch to #http_method. [github.com](https://github.com/lostisland/faraday/blob/main/UPGRADING.md)
- **Behavior changed**  

Faraday 2.0 uses Ruby 2.6 or later, so older Ruby versions are no longer supported. [github.com](https://github.com/lostisland/faraday/releases/tag/v2.0.0)
- **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](https://github.com/lostisland/faraday/blob/main/UPGRADING.md)
- **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](https://github.com/lostisland/faraday/blob/main/UPGRADING.md)

## faraday 1.0.0 breaking changes

faraday 1.0.0, released January 1, 2020: 10 breaking changes.

- **Removed**  

JRuby is no longer supported by this release. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **Removed** `Faraday.Error.ClientError`  

The Faraday::Error::ClientError constant no longer exists. Rescue Faraday::ClientError instead. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **Behavior changed** `ConnectionFailed`  

Rescue clauses that target ClientError no longer catch connection failures; check your rescue clauses. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **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](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **Behavior changed** `f.use`  

Adapters inheriting from Faraday::Adapter raise an exception when added with use; switch to the adapter method. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **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](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **Behavior changed** `ParsingError`  

Rescue clauses that target ClientError no longer catch parsing errors; check your rescue clauses. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **Behavior changed** `RetriableResponse`  

Rescue clauses that target ClientError no longer catch retriable responses; check your rescue clauses. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **Behavior changed** `SSLError`  

Rescue clauses that target ClientError no longer catch SSL errors; check your rescue clauses. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)
- **Behavior changed** `TimeoutError`  

Rescue clauses that target ClientError no longer catch timeouts; check your rescue clauses. [github.com](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)

## faraday 0.17.0 breaking changes

faraday 0.17.0, released October 6, 2019: 1 breaking change.

- **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](https://github.com/lostisland/faraday/releases/tag/v0.17.0)

## faraday 0.16.0 breaking changes

faraday 0.16.0, released September 27, 2019: 1 breaking change.

- **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](https://github.com/lostisland/faraday/releases/tag/v0.16.0)

## faraday 0.15.0 breaking changes

faraday 0.15.0, released April 19, 2018: 1 breaking change.

- **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](https://github.com/lostisland/faraday/releases/tag/v0.15.0)

## faraday 0.14.0 breaking changes

faraday 0.14.0, released January 19, 2018: 2 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](https://github.com/lostisland/faraday/releases/tag/v0.14.0)
- **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](https://github.com/lostisland/faraday/releases/tag/v0.14.0)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### faraday 0.12.0 breaking changes

faraday 0.12.0, released April 1, 2017: 1 breaking change.

- **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](https://github.com/lostisland/faraday/releases/tag/v0.12.0)

### faraday 0.10.0 breaking changes

faraday 0.10.0, released November 11, 2016: 1 breaking change.

- **Removed**  

Faraday 0.10.0 no longer supports Ruby 1.8. Users on Ruby 1.8 must stay on an earlier version. [github.com](https://github.com/lostisland/faraday/releases/tag/v0.10.0)

### faraday 0.9.0 breaking changes

faraday 0.9.0, released January 16, 2014: 4 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](https://github.com/lostisland/faraday/releases/tag/v0.9.0)
- **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](https://github.com/lostisland/faraday/releases/tag/v0.9.0)

And 2 more in this version.

### faraday 0.9.0.rc6 breaking changes

faraday 0.9.0.rc6, released January 16, 2014: 1 breaking change.

- **Behavior changed**  

The retry middleware now waits with backoff and randomness between attempts, so retry timing changes for existing code. [github.com](https://github.com/lostisland/faraday/releases/tag/v0.9.0.rc6)

### faraday 0.9.0.rc5 breaking changes

faraday 0.9.0.rc5, released January 16, 2014: 1 breaking change.

- **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](https://github.com/lostisland/faraday/releases/tag/v0.9.0.rc5)

### faraday 0.9.0.rc3 breaking changes

faraday 0.9.0.rc3, released January 16, 2014: 1 breaking change.

- **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](https://github.com/lostisland/faraday/releases/tag/v0.9.0.rc3)

## Related packages

- [faraday_middleware](https://since.dev/packages/gem/faraday%5Fmiddleware.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.
