-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecation warning since Faraday 1.7.1 #1357
Comments
These methods have been deleted on Faraday HEAD: lostisland/faraday#1308 |
Thanks for the fix! Looking forward to seeing this PR merging in soon because we use tons of octokit APIs and got tons of warnings now :p |
I'm seeing a lot of deprecation warnings now that I've had to update faraday because of a critical dependency. Is there any word on getting this change into a release soon? |
In the meantime, I fixed this in my own usage (scripts) by putting this in my
|
@ybiquitous thanks for your solution on: https://github.com/ybiquitous/octokit.rb/tree/issue-1357 I'll be using it until we get a final solution on master. |
Since Faraday 1.7.1, the following methods of the
Faraday::Connection
class emits a deprecation warning:#basic_auth
#token_auth
#authorization
See also PR lostisland/faraday#1306
When running the specs on my local machine with the current HEAD revision (605a08a), we can see the many warnings:
Used gem versions are as below:
I think Octokit needs to fix the warnings to prevent users' application logs from being flooded with them.
The text was updated successfully, but these errors were encountered: