chargebee-ruby icon indicating copy to clipboard operation
chargebee-ruby copied to clipboard

Remove use of rest-client since it's no longer maintained

Open Oneill38 opened this issue 3 years ago • 3 comments

It looks like the rest-client gem no longer has any active maintainers and has not had a commit since 2019. A different http lib should be used that has active maintainers who are fixing bugs and security issues.

Oneill38 avatar Jun 21 '22 15:06 Oneill38

The bigger problem I see (until they have a replacement is that version 2.17 now has a restriction on version 2.0.2 of rest-client when older versions (like 2.8.6) worked perfectly fine with the version of 2.1.0 of rest-client.

I don't see how going back to an older version makes any sense.

jmlagace avatar Aug 12 '22 20:08 jmlagace

Given how frequently http vulnerabilities pop up, this is really neglectful of Chargebee.

lilith avatar Jan 18 '23 21:01 lilith

Any updates here?

jfloff avatar Oct 03 '24 14:10 jfloff

Hi @jfloff, @lilith, @jmlagace, @Oneill38 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!

cb-alish avatar Nov 05 '24 06:11 cb-alish

Hey @jfloff, @lilith, @jmlagace, @Oneill38! We've released the beta version of the library, now using Net::HTTP and removing rest-client as a dependency. Could you give it a spin in your test environments and share any feedback? Thanks! 🙌

cb-alish avatar Nov 14 '24 12:11 cb-alish

Hey @jfloff, @lilith, @jmlagace, @Oneill38! We've released the beta version of the library, now using Net::HTTP and removing rest-client as a dependency. Could you give it a spin in your test environments and share any feedback? Thanks! 🙌

I will take a look at this this weekend using our application. It uses just a couple CB calls but I will go through them in our tests

jfloff avatar Jan 02 '25 22:01 jfloff

Closing this issue as we've moved from rest-client to native Net::HTTP since v2.49.0. Sorry for the delay in execution. Please feel free to reopen or post in the issue section if you encounter any problems.

cb-alish avatar Jan 31 '25 05:01 cb-alish