Help us test Restforce v6.0.0, with support for Faraday v2.x #733
Locked
timrogers
announced in
Announcements
Replies: 2 comments 2 replies
-
@thatguysimon @albandum @mcfoton 👋🏻 Hi there! Did any of you get a chance to test this out? I'd love to be able to do a final release. |
Beta Was this translation helpful? Give feedback.
2 replies
-
v6.0.0 has now been released 🥳 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Restforce uses a gem called
faraday
to make HTTP requests to the Salesforce API.Today, Restforce supports Faraday versions between v0.9.0 and v1.10.0. This stops you from using current, modern v2.x versions of Faraday.
This means that you can't benefit from Faraday's latest features and security fixes, and it may stop you upgrading other gems you use which require Faraday v2.0.0 or later. This isn't great.
To move Restforce forward, we've released a new, experimental version,
v6.0.0.rc.1
. You'll find the code in thev6
branch. This version:faraday
versionsv2.0.0
onwardsfaraday
versions beforev1.1.0
Clearly, dropping support for Faraday v0.x and the v1.0.x minor version is painful, but I do believe that it's the right thing to do. There are a lot of differences between the Faraday versions, and for an open-source project with one active maintainer, it's a tonne of work and cognitive load to manage all of that. It increases the complexity of the code, and makes bugs much more likely.
We're looking for Restforce users to help us test this new version,
v6.0.0.rc.1
. All you need to do is point your project to usev6.0.0.rc.1
in yourGemfile
, and let us know how you get on:If you have other code that depends on Faraday, you may be forced to update that code to support a later Faraday version - see our
UPGRADING.md
file for help with that.Once we've had some initial feedback to say that everything is working as expected, we will release a final
v6.0.0
version.Thanks for using Restforce ✨ 🚢 ❤️
Beta Was this translation helpful? Give feedback.
All reactions