Open collimarco opened 3 years ago
The deprecation has been done to support backward compatibility. We are working on upgrading to the latest version of rest-client in the further releases.
Hi there is there any news on this? It's preventing upgrades to other critical gems that require rest_client >= 2.1
Any updates on this?
Bump
Any updates on this? @cb-khushbubibay @cb-rakesh
@cb-alish Could you please look into this and clarify why the old version of rest-client
is needed (sorry to mentioning you directly, but you seem to be the last person who committed to this repo).
Hi @loomchild, It seems to have some compatibility issues. Specifically, the rest_client
version 2.1.0
includes breaking changes. Please refer to #43 & #50 once.
Ah, it makes sense, thank you very much for the information. I will investigate what to do (since I also have a conflict with another gem requiring 2.1.0
).
@cb-alish The breaking change seems to be located in https://github.com/rest-client/rest-client/pull/597 and there's a workaround described in https://github.com/rest-client/rest-client/issues/740#issuecomment-778254696. Would you consider implementing it (looks like the change is located only in rest.rb
file).
If not, would you potentially accept a PR implementing it? (I would need help in testing the use cases reported in PRs you linked, but can give it a try).
Hi @loomchild, sure we'll consider implementing it but it might take a few weeks before we can get to this.
If you'd like to contribute, please create a PR and we can definitely test & include it in the SDK.
I had some ideas what could be the issue and how to solve it based on https://github.com/rest-client/rest-client/issues/722. But when I have simply tried to bump rest-client to 2.1.0, I was able to retrieve a subscription via (as described in #43):
ChargeBee::Subscription.retrieve(subscription_id).subscription
Could you clarify how to reproduce the issues described in #43 and #50? Do I perhaps need to use a specific version of Ruby? (I tested with 3.3.4
and 2.7.8
) Maybe Net::HTTP
has evolved so the issues no longer occur?
Hi @callahat & @DevStarks could you take a look at #85 when you have a moment? We're transitioning to Net::HTTP with the goal of removing rest-client as a dependency. Just want to make sure everything looks good from your side. Thanks!
Hello,
Why is there a downgrade of the rest-client gem? Your commit message is empty...
Please clarify the motivation and fix this in order to use the latest version. It is important to use always the latest gem version to avoid bugs and security issues.