qbo_api icon indicating copy to clipboard operation
qbo_api copied to clipboard

Remove dependency on faraday_middleware

Open wheresrobert opened this issue 2 years ago • 3 comments

faraday_middleware is deprecated.

https://github.com/lostisland/faraday_middleware

qbo_api is the only gem in my project that depends on faraday_middleware, which in turn, prevents upgrading of faraday itself.

wheresrobert avatar Jul 11 '22 19:07 wheresrobert

Thanks for the heads up. Taking a look.

minimul avatar Jul 12 '22 12:07 minimul

FWIW: I did just release v2.1.0 that locks in Faraday 1.10.x until I'm able to get off the middleware the gem is using.

minimul avatar Jul 12 '22 20:07 minimul

Notes:

The qbo_api gem is utilizing two aspects of thefaraday_middleware gem:

  1. A homebrew middleware "RaiseHttpException" module that inherits from Faraday::Middleware;
  2. and the OAuth2 middleware included in the faraday_middleware gem.

If anyone would like to tackle these two?

minimul avatar Jul 13 '22 12:07 minimul

Closing. Version 3.0.0 removes faraday_middleware dependency.

minimul avatar Jan 03 '23 12:01 minimul