Skip to content

Commit

Permalink
Merge 0a85093 into 3fc35da
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Feb 7, 2022
2 parents 3fc35da + 0a85093 commit a60ff0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions UPGRADING.md
Expand Up @@ -113,6 +113,12 @@ Instead, you should be using the equivalent middleware, as explained in [this pa

For more details, see https://github.com/lostisland/faraday/pull/1306

### The `dependency` method in middlewares has been removed

In Faraday 1, a deferred require was used with the `dependency` method.

In Faraday 2, that method has been removed. In your middlware gems, use a regular `require` at the top of the file,

### Others

* Rename `Faraday::Request#method` to `#http_method`.
Expand Down

0 comments on commit a60ff0c

Please sign in to comment.