Skip to content

Support Faraday version 2.x#63

Merged
michaelklishin merged 3 commits intoruby-amqp:mainfrom
BranchIntl:support_faraday_2_X
Jan 30, 2024
Merged

Support Faraday version 2.x#63
michaelklishin merged 3 commits intoruby-amqp:mainfrom
BranchIntl:support_faraday_2_X

Conversation

@shashankmehra
Copy link
Copy Markdown
Contributor

Adds support for Faraday 2.x. For this upgrade the Faraday Upgrading guide was used.

Unfortunately basic authentication implementations for Faraday 1.x and 2.x are completely different and therefore I had to add a version check to support both versions.

@shashankmehra shashankmehra marked this pull request as draft January 30, 2024 12:04
@michaelklishin
Copy link
Copy Markdown
Member

We don't have to support both versions. Let's move to Faraday 2.x.

Older versions of this client will cover the needs of a very large percentage of users who may still be stuck on Faraday 1.x for any reason.

@michaelklishin
Copy link
Copy Markdown
Member

Thank you for contributing, by the way :)

@shashankmehra
Copy link
Copy Markdown
Contributor Author

We don't have to support both versions. Let's move to Faraday 2.x.

Sure. I have removed the version check and made it simple.

@shashankmehra shashankmehra marked this pull request as ready for review January 30, 2024 16:11
@michaelklishin michaelklishin merged commit 6b5a22b into ruby-amqp:main Jan 30, 2024
@michaelklishin michaelklishin added this to the 2.3.0 milestone Jan 30, 2024
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.

2 participants