Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Update faraday dependency to support faraday 2.x #42

Merged
merged 2 commits into from
Dec 13, 2022

Conversation

lostie
Copy link
Contributor

@lostie lostie commented Aug 17, 2022

Breaking change

New Faraday 2.x:

  • faraday-middleware has been deprecated and it's no longer supported
  • The Faraday interface has changed (upgrade guide)

Minimum Ruby version

  • The minimum Ruby version was changed to align with Faraday's Ruby version requirements

Note: While the Faraday interface has changed, this gem does not get affected by those changes. The Faraday middleware that this gem is using is now part of the core Faraday gem, so the gem does not need this dependency anymore.

@lostie
Copy link
Contributor Author

lostie commented Aug 17, 2022

@renyuanz @Bossa573 can you please take a look?

@lostie
Copy link
Contributor Author

lostie commented Sep 20, 2022

@aftership-admin @renyuanz @Bossa573 @teddychan Hi! any chance you could have a look at this PR and review it?

@lostie
Copy link
Contributor Author

lostie commented Nov 23, 2022

Hi @Beaelf ! I can see there's some recent activity in aftership-sdk-go but this SDK didn't get updates for a while.

Is this SDK still actively maintained? It would be good to bring some of these dependencies up to date.

@Bossa573
Copy link
Member

if this is a breaking change, a major version bump is required.
and this package is no longer actively maintained for quite a while,
let me loop the related teams and investigate

@liguangbo
Copy link
Contributor

https://github.com/lostisland/faraday/blob/main/UPGRADING.md
Seems we should upgrade faraday at least 2.0.1?
@lostie

@Bossa573 Bossa573 merged commit 5a45993 into AfterShip:master Dec 13, 2022
@lostie lostie deleted the update-faraday-dependency branch January 4, 2023 15:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants