Closed ndushay closed 3 years ago
@jcoyne I was only thinking about stopping the warnings. Do you want me to upgrade faraday also? Seems like more of a patch party thing, no?
@ndushay it looks to me like you are relying on new syntax in Faraday that is only available in certain versions. So, we should encode which version we are expecting that feature to be in the gemspec. Otherwise they could use an old version of Faraday that doesn't support this syntax.
@jcoyne I only updated the apps that were giving the warnings. :-) This one definitely was, in the integraton tests.
AFAICT, this was always ok syntax; I gave up hunting through the release changes and the code after finding the below:
We're covered by the version we have, per Faraday's own documents:
from:
The recent change is only to add the deprecation warnings, which spam out quite a bit
I looked at https://github.com/lostisland/faraday/blame/main/lib/faraday/connection.rb in blame mode and was not further illuminated, btw.
Why was this change made?
To avoid this:
How was this change tested?
analogous change made in infra-int tests
Which documentation and/or configurations were updated?