Update got to version 7.0.0 🚀 #9
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello lovely humans,
got just published its new version 7.0.0.
This version is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of got.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project ✨
You rock!
🌴
The new version differs by 62 commits .
c20bc5e
7.0.0
6fc1902
Add ability to opt-out of using
electron.net
7964f2c
Request timeout (#308)
b45896a
Redirect on 307, 308, 303 (#307)
a299b00
Set up proxy event emitter before making a request (#304)
2130570
Improve use in Electron (#311)
359a5d1
Use class syntax for errors (#306)
f501fc2
Add WHATWG URL support (#289)
ff0cef0
Tiny cleanup
9ef7a5a
Add ability to cancel in-progress requests (#287)
c86706b
Only throw ParseError on 2xx responses (#301)
8b4d06e
Include response headers and redirect URLs in error object (#302)
6d19a72
Bump some devDependencies
578f38d
Set
url
andrequestUrl
directly on the response (#300)14d0859
reduce retries number and make delays shorter (#299)
There are 62 commits in total. See the full diff.