New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking change: 2.50.0 #1663
Comments
Without reading your bug report - can you switch to a newer version and test again? 2.50 is broken! |
Sorry, I should have said, I originally tried to update to the very latest (v2.58.0) in order to fix this bug: #1522 within my module. Every version after 2.50.0 has this change in it that breaks for me. I know we're dealing with a third party service in this issue, I'm just trying to track down what would cause them to provide a different response, purely from a change in the module. The breaking versions for me are: 2.50.0 - 2.58.0 (latest npm) Thanks for you lightning fast response! |
You should either pass your object via
The documentation wasn't changed, so I'm assuming that this behavior was fixed in #1310 As for the breaking change - while we try to minimize braking changes, it happens, plus currently request does not follow the semver semantics, so your best option would be to stick with specific version of request, and always run your tests after upgrading to a newer one. |
Fantastic! Thank you, that was the change I was missing. Running on v2.58.0 without issues now. Thanks for your time! |
Hi there,
I'm really struggling to update a private module of mine past v2.49.0 because 2.50.0 seems to have a breaking change in my code.
Through request debug each version shows near identical data. Logging the request objects that are sent shows identical data, yet the response from the site who's API I am using fails.
Does anyone have any knowledge of what changed in 2.50.0 to create this I am having?
(Opts is passed as obj to the send function)
Thanks in advance anyone who may have an idea as per what is causing such a difference between the two minor versions of request. All requests go through the send function, GET's work fine, POST's seem to be the ones to break. It is not a cookie issue, as the GET's correctly return. POST's respond with a server code of "requestError", even though I know that doesn't really mean much...
The text was updated successfully, but these errors were encountered: