Skip to content

Conversation

@exoego
Copy link
Contributor

@exoego exoego commented Feb 22, 2023

Purpose

Added Faraday 2.x support while keeping Faraday 1.x support.

Overview

  • Middleware usage is rewritten in a way compatible with both Faraday 1.x and 2.x.
  • Added Faraday version to CI matrix.

Note

You can see that Faraday 2.7.4 and 1.10.3 are used in each CI jobs.

https://github.com/treasure-data/trino-client-ruby/actions/runs/4239442131/jobs/7367502926
image

https://github.com/treasure-data/trino-client-ruby/actions/runs/4239441863/jobs/7367502185
image

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

@github-actions github-actions bot added the doc label Feb 22, 2023
@exoego exoego marked this pull request as ready for review February 22, 2023 04:37
@exoego exoego requested a review from a team as a code owner February 22, 2023 04:37
@exoego exoego changed the title Faraday 2.x support Faraday 2.x support (1.x support is maintained) Feb 22, 2023
@exoego exoego changed the title Faraday 2.x support (1.x support is maintained) Faraday 2.x and 1.x cross support Feb 22, 2023
Copy link
Collaborator

@yuokada yuokada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. LGTM ✅

@exoego exoego merged commit 401639e into master Feb 22, 2023
@exoego exoego deleted the faraday-2-support branch February 22, 2023 05:04
@yuokada yuokada removed the doc label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants