lostisland / faraday_middleware

Various Faraday middlewares for Faraday-based API wrappers
MIT License
556 stars 205 forks source link

Deprecation warning re Faraday::Error::ClientError #197

Closed niborg closed 4 years ago

niborg commented 4 years ago

Using Faraday 0.16.2 and the FollowRedirects middleware, a DEPRECATION WARNING: Faraday::Error::ClientError is deprecated! Use Faraday::ClientError instead. comes up. See this line.

lindsim commented 4 years ago

this is fixed here: https://github.com/lostisland/faraday_middleware/pull/196/files

jcoyne commented 4 years ago

Any chance we'll see this in a release soon?

rainerborene commented 4 years ago

+1

ghost commented 4 years ago

+1

iMacTia commented 4 years ago

Those warnings have been disabled by default in Faraday v0.17.3, you can re-enable them later when you'll be planning an upgrade to v1.0 with an ENV variable