Skip to content
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

Upgrade faraday to 2.x #33

Merged
merged 2 commits into from
Aug 13, 2023
Merged

Conversation

dgarwood
Copy link
Contributor

No description provided.

this removes faraday_middleware (due to faraday 2.0 changes), adds faraday-multipart and updates related class references.

additionally, faraday's minimum version is now set at 2.0.1 per https://github.com/lostisland/faraday/blob/main/UPGRADING.md to avoid missing net_http issues
@dblock
Copy link
Owner

dblock commented Jul 1, 2023

Let's bump to 0.4.0 as part of this PR?

Please check slack-ruby/slack-ruby-client#406 and slack-ruby/slack-ruby-client#434 that had to do more involved things for this upgrade. Looks like some error handling differences, etc. Also do we need something in UPGRADING.md?

@andreibondarev
Copy link

Any chance we can get this PR pushed through? We'd like to bump https://github.com/andreibondarev/langchainrb faraday to 2.x and this gem is one of the deps. Thank you!

@dblock dblock merged commit 1e94653 into dblock:master Aug 13, 2023
@dblock
Copy link
Owner

dblock commented Aug 13, 2023

I merged it since it's green, will increment the version and cut a release.

@dblock
Copy link
Owner

dblock commented Aug 13, 2023

@andreibondarev And done, use 0.4.0.

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