JsonApiClient / json_api_client

Build client libraries compliant with specification defined by jsonapi.org
MIT License
361 stars 186 forks source link

Support for Faraday > 2.x #407

Closed bjedrocha closed 4 months ago

bjedrocha commented 1 year ago

Hi, this library currently depends on an older version of faraday (1.x) and the now deprecated faraday_middleware gem. This makes it difficult to use this library alongside others that also build on top of faraday and use the 2.x versions. Any plans/wip to support newer versions of faraday? If not, would you consider a PR that adds support for it? It would likely be a breaking change for those that use the connection object directly. Thoughts?

DavidHalman commented 9 months ago

Just wanted to chime in that this would be fantastic. Currently we are getting a huge number of deprecation warnings, and we would like to get onto a more recent version of Faraday regardless.