Faraday: Breaking change for octokit in 0.16.1

Created on 28 Sep 2019  路  2Comments  路  Source: lostisland/faraday

Basic Info

  • Faraday Version: 0.16.1
  • Ruby Version: 2.6.4

Issue description

Been having issues related to faraday with a new project using octokit.

~/.rvm/gems/ruby-2.6.4/gems/octokit-4.14.0/lib/octokit/middleware/follow_redirects.rb:14:in `<module:Middleware>': superclass must be a Class (Faraday::DeprecatedConstant given) (TypeError)

Tested with 0.15.4 and there is no issue there.
If it is a desired breaking change then let me know, I will gladly report this to the octokit repository, maybe they will freeze faraday usage to a compatible version.

Steps to reproduce

Create a new ruby file, install octokit, which will depends at some point on faraday latest, then at line require octokit this error will happen.

Most helpful comment

I ran into this issue yesterday. It broke my dev site. Just updated to 0.16.2. My dev site is back up. I.e., no more superclass must be a Class (Faraday::DeprecatedConstant given) error.

All 2 comments

I ran into this issue yesterday. It broke my dev site. Just updated to 0.16.2. My dev site is back up. I.e., no more superclass must be a Class (Faraday::DeprecatedConstant given) error.

Hello everyone, we are really sorry for all the disruptions caused by the v0.16.x releases.
We've just performed a ROLLBACK RELEASE v0.17.0 which follows directly the latest working release v0.15.4.
Please update to that version to solve the backwards-compatibility issues.
More info here: https://github.com/lostisland/faraday/releases/tag/v0.17.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aleksb86 picture aleksb86  路  3Comments

mokolabs picture mokolabs  路  3Comments

Lewiscowles1986 picture Lewiscowles1986  路  4Comments

jedeleh picture jedeleh  路  3Comments

t3hk0d3 picture t3hk0d3  路  3Comments