minimul / qbo_api

Ruby JSON-only client for QuickBooks Online API v3. Built on top of the Faraday gem.
MIT License
85 stars 45 forks source link

Remove dependency on faraday_middleware #113

Closed wheresrobert closed 1 year ago

wheresrobert commented 2 years ago

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.

minimul commented 2 years ago

Thanks for the heads up. Taking a look.

minimul commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

Closing. Version 3.0.0 removes faraday_middleware dependency.