README.md in faraday_middleware-1.2.0 vs README.md in faraday_middleware-1.2.1

- old
+ new

@@ -1,12 +1,25 @@ Faraday Middleware ================== -[![Gem Version](https://badge.fury.io/rb/faraday_middleware.svg)](https://rubygems.org/gems/faraday_middleware) -![GitHub Actions CI](https://github.com/lostisland/faraday_middleware/workflows/CI/badge.svg) +<a href="https://badge.fury.io/rb/faraday_middleware"><img src="https://badge.fury.io/rb/faraday_middleware@2x.png" alt="Gem Version" height="20"></a> +[![CI](https://github.com/lostisland/faraday_middleware/actions/workflows/ci.yml/badge.svg)](https://github.com/lostisland/faraday_middleware/actions/workflows/ci.yml) A collection of useful [Faraday][] middleware. [See the documentation][docs]. gem install faraday_middleware + +## ⚠️ DEPRECATION WARNING ⚠️ + +As highlighted in Faraday's [UPGRADING](https://github.com/lostisland/faraday/blob/main/UPGRADING.md) guide, `faraday_middleware` is DEPRECATED, and will not be updated to support Faraday 2.0. +If you rely on `faraday_middleware` in your project and would like to support Faraday 2.0: +* The `json` middleware (request and response) are now both bundled with Faraday 🙌 +* The `instrumentation` middleware is bundled with Faraday +* All other middlewares, they'll be re-released as independent gems compatible with both Faraday v1 and v2, look for [`awesome-faraday`](https://github.com/lostisland/awesome-faraday) + +Most of the middlewares are up for adoption, contributors that would like to maintain them. +If you'd like to maintain any middleware, have any question or need any help, we're here! +Please reach out opening an issue or a discussion. + Dependencies ------------ Ruby >= 2.3.0