Skip to content
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

fix reqwest breaking change #55

Merged
merged 1 commit into from
Oct 7, 2019
Merged

fix reqwest breaking change #55

merged 1 commit into from
Oct 7, 2019

Conversation

mainrs
Copy link
Contributor

@mainrs mainrs commented Sep 30, 2019

As of v0.9.18, the reqwest dependency behaves differently and actually
crashes on usage. This commit fixes the version to the latest working
one, v0.9.17.

I have no idea why this is happening. I checked the commits between v0.9.17 and v0.9.18 (here) and the only one that stood out was this one. The commit message and the error I got in #54 sound feasible together.

The library is used within Spotifyd. We had a lot of issues opened whose source ultimately was rspotify. I could fix the errors we got by pinning down the version of reqwest in our Cargo.lock file to v0.9.17.

To prevent other people from stumbling across this problem, I opened this PR to pin the version down to v0.9.17 for now.

The error message I received got discussed here: seanmonstar/reqwest#541. This comment draws attention to the problem that the patch version got updated with a breaking change. The issue creation date is 4 days after v0.9.18 released, so the comment is referring to that version tag.

There might be some larger refactoring needed for the long run. reqwest did huge changes to thee code on the master branch and even noted in the readme that the next release WILL break.

Closes #54.

As of v0.9.18, the reqwest dependency behaves differently and actually
crashes on usage. This commit fixes the version to the latest working
one, v0.9.17.
@ramsayleung ramsayleung merged commit 4529601 into ramsayleung:master Oct 7, 2019
@daniel-tp daniel-tp mentioned this pull request Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reqwest introduced breaking change on patch version change.
2 participants