Skip to content

Upgrade faraday#46

Closed
che-burashco wants to merge 2 commits into
phaxio:masterfrom
che-burashco:upgrade-faraday
Closed

Upgrade faraday#46
che-burashco wants to merge 2 commits into
phaxio:masterfrom
che-burashco:upgrade-faraday

Conversation

@che-burashco
Copy link
Copy Markdown

@che-burashco che-burashco commented Feb 7, 2023

Faraday 2.0 has long been out however the gem has been locked to version being < 2.0. This is blocking us from being able to upgrade some of the gems in our repositories.
The upgrade guide that I followed can be found here.

What changed?

  1. Bumped faraday dependency to 2.0.1 (note that it was recommended to skip 2.0.0 explicitly)
  2. Added faraday-multipart as a dependency in gemspec
  3. Added require of faraday-multipart, since it's not required by default anymore
  4. Bumped gem version, since the change is not compatible with the older faraday versions

Note
Despite the fact that Faraday::UploadIO has been deprecated in Faraday 2.0 in favor of Faraday::FilePart I didn't have to change it in the code, since faraday-multipart takes care of it here

@ManickYoj
Copy link
Copy Markdown

ManickYoj commented Aug 25, 2023

Encountering the same issue - phaxio's dependency on faraday < 2 is preventing us from using current versions of other gems. Please merge this!

@billsimon
Copy link
Copy Markdown
Contributor

Fixed in release v2.1.2

@billsimon billsimon closed this Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants