Open
Conversation
70a336c to
b3ca140
Compare
b3ca140 to
60a314e
Compare
41fa5e4 to
0b5cf16
Compare
6ef9623 to
395cd38
Compare
0bafbee to
835177e
Compare
5186d89 to
9ac69ea
Compare
9ac69ea to
08c2e83
Compare
f88748b to
a0449b6
Compare
5b7f8e8 to
974160e
Compare
9110f48 to
528bc9c
Compare
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/vvoyer/tzdb/8gh3hhrNqsMcsUgyk91uBmNjPvhW [Deployment for eca922d failed] |
101c72e to
2dbfbaf
Compare
2dbfbaf to
b48bfd7
Compare
b48bfd7 to
fd1ca4c
Compare
fd1ca4c to
a18ab51
Compare
a18ab51 to
010417a
Compare
010417a to
368eb87
Compare
368eb87 to
eca922d
Compare
eca922d to
6994925
Compare
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
6994925 to
e5668b2
Compare
e5668b2 to
e0ac864
Compare
e0ac864 to
9479d69
Compare
9479d69 to
d6ce0cb
Compare
d6ce0cb to
2b2f9c8
Compare
Contributor
Author
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
v4→v6v4→v65.6.0→6.2.111.8.6→15.0.02.3.0→3.7.222→242.2.0→3.0.0v4→v52.5.1→3.8.12.5.22→3.0.24.2.0→6.0.0v5→v7Release Notes
actions/checkout (actions/checkout)
v6Compare Source
v5Compare Source
actions/setup-node (actions/setup-node)
v6Compare Source
v5Compare Source
adaltas/node-csv (csv-parse)
v6.2.1Compare Source
Bug Fixes
v6.2.0Compare Source
Features
on_record(fix #461 #464 #466) (#468)Bug Fixes
v6.1.0Compare Source
Features
Bug Fixes
v6.0.0Compare Source
⚠ BREAKING CHANGES
Features
columnsproperty inInfoobject type (#390) (2dd2a92)Bug Fixes
Performance Improvements
Code Refactoring
sindresorhus/got (got)
v15.0.0Compare Source
Breaking changes
b933476a06ac6cpromise.cancel()is gone. Use thesignaloption withAbortControllerinstead.isStreamoptionc241c6cgot.stream()directly.FormDataglobal670b228FormDataglobal directly (available in Node.js 18+).responseType: 'buffer'returnsUint8Arrayinstead ofBuffer309e36dresponse.rawBodyandpromise.buffer()now return aUint8Array.Bufferis a subclass ofUint8Array, so most code will continue to work, but strict type checks will need updating.strictContentLengthdefaults totrue08e9dffContentLengthMismatchErrorby default ifContent-Lengthdoesn't match the actual body size. Set{strictContentLength: false}to restore the old behavior.retry.enforceRetryRulesdefaults totrue9bc8dfbcalculateDelayfunctions are now only called when a retry is actually allowed bylimit,methods,statusCodes, anderrorCodes. If yourcalculateDelaywas previously used to override retry eligibility unconditionally, set{retry: {enforceRetryRules: false}}.8e392f3{copyPipedHeaders: true}to re-enable. Hop-by-hop headers are never copied even when enabled (RFC 9110 §7.6.1).urlremoved from public options objects87de8d6urlproperty is no longer present on the options object passed to hooks. Useresponse.urlorrequest.requestUrlinstead.5fccaabImprovements
text/jsonbodies incrementally for lower peak memory usagec9a95b1uploadProgressnow emits granular per-chunk events forjsonandformrequest bodies13c889dMigration guide
Replace
promise.cancel()withAbortControllerBefore:
After:
Replace
isStream: truewithgot.stream()Before:
After:
Replace
form-data/form-data-encoderwith nativeFormDataBefore:
After:
Update
Bufferusage toUint8Arrayresponse.rawBodyandpromise.buffer()now returnUint8Arrayinstead ofBuffer.Before:
After:
If you need
Buffer-specific APIs, wrap withBuffer.from(data.buffer, data.byteOffset, data.byteLength).strictContentLengthis now on by defaultIf you send requests where the
Content-Lengthheader might not match the actual body size, opt out:retry.enforceRetryRulesis now on by defaultIf your
calculateDelayfunction was overriding retry eligibility (e.g. retrying on methods or status codes outside the defaults), opt out:Piped header copying is now opt-in
If you pipe streams into Got and rely on automatic header forwarding (e.g.
Content-Type), re-enable it:300 and 304 responses are no longer followed
If your code depended on Got auto-following 300 Multi-Choice or handling 304 Not Modified as a redirect, you now need to handle them yourself in an
afterResponsehook or checkresponse.statusCodemanually.v14.6.6Compare Source
4d5168cb65b0e1, where it incorrectly auto-closed streams for empty PATCH/DELETE/OPTIONS when using streams. This broke the documented use case of piping data to a got stream for these methods.v14.6.5Compare Source
got.extend()withresponseTypeoptionf7ab6e9v14.6.4Compare Source
dnsLookupoption type to accept Node.jsdns.lookup47c3155v14.6.3Compare Source
fb03d8461d5e3bv14.6.2Compare Source
0a16a9cv14.6.1Compare Source
v14.6.0Compare Source
Improvements
beforeCachehook1c3a041retryCounttobeforeRequesthook context91cdc48HTTPErrormessage to include method and URL6dd7574ecf56333e2a781beforeErrorhook1c71194449833af5c54a3strictContentLengthoption4206f0ehttps.secureOptionsoption7ec1714copyPipedHeadersoption to control automatic header copying from piped streamsd83daddstream.isReadonlyproperty to detect read-only streams030dfbbFixes
398c11af004564beforeRetryhooksbf84d36beforeErrorhook not being called forERR_UNSUPPORTED_PROTOCOLerrorfb86418prefixUrlin hooks9725fbd1e497812527bf6content-lengthwhen piping decompressed responses30b3b796ae3e7fe09a9bd6a544a3afterResponsehook validation to allownullbody values60a44193d66aectimings.endbeing undefined when stream is destroyed before completion4e75679e5659d4Meta
I managed to get it almost down to zero issues! 🎉
v14.5.0Compare Source
retry.enforceRetryRulesoption to fix statusCodes/limit bypassing7c0aee6serverNameHTTPS optioncdaab63preserveHooksoption forretryWithMergedOptions1abeba4IterableandAsyncIterableas request bodyb65b0e12ab94fda2812dedownloadProgressfiring for redirect responses9ec6ff0e899c07falseas agent value6961284d1d4ed223d0b6b724d592dc4f1e3v14.4.9Compare Source
content-encodingheaders but no bodycc434bcv14.4.8Compare Source
request.optionsinafterResponsehookdad6a91v14.4.7Compare Source
06029e0v14.4.6Compare Source
7a92064v14.4.5Compare Source
c079b93v14.4.4Compare Source
AbortSignal#timeout()(#2388)92b378ev14.4.3Compare Source
f2f8cb2v14.4.2Compare Source
f44ef43v14.4.1Compare Source
dfc54d9v14.4.0Compare Source
15ca4a0v14.3.0Compare Source
dbab6c3v14.2.1Compare Source
c81a611v14.2.0Compare Source
causeproperty with the original error toRequestError(#2327)4cbd01dv14.1.0Compare Source
RequestErrorresponse (#2325)5e4f6ffv14.0.0Compare Source
Breaking
a004263Improvements
followRedirectoption accept a function (#2306)7c3f147v13.0.0Compare Source
As a reminder, Got continues to require ESM. For TypeScript users, this includes having
"module": "node16", "moduleResolution": "node16"in your tsconfig.Breaking
52a1063enableUnixSocketsoption to befalseby default852c312Improvements
undefinedfor options (#2258)1cefe8bv12.6.1Compare Source
get-streamimport statement (#2266)67d5039v12.6.0Compare Source
88c88fb979272e0ca0b7fv12.5.3Compare Source
3cc40b5v12.5.2Compare Source
39f83b6v12.5.1Compare Source
3b3ea673e9d3afv12.5.0Compare Source
e049e948630815f0ac0b34c3762av12.4.1Compare Source
Fixes
options.contextbeing not extensibleb671480uploadProgressafter promise cancelation693de21v12.4.0Compare Source
Improvements
850773cFixes
beforeErrorhooks withHTTPErrorif thethrowHttpErrorsoption isfalse(#2104)3927348v12.3.1Compare Source
43b1467v12.3.0Compare Source
.off()method for events (#2092)88056bev12.2.0Compare Source
AbortController(#2020)6a6d2a9enableUnixSocketsoption (#2062)461b3d4v12.1.0Compare Source
Improvements
response.ok(#2043)22d58fb{throwHttpErrors: false}Fixes
861ccd9v12.0.4Compare Source
bb8eca9v12.0.3Compare Source
jsonoption (#2015)eb045bfv12.0.2Compare Source
encodingoption with{responseType: 'json'}(#1996)0703318v12.0.1Compare Source
nockcompatibility (#1959)bf39d2cRequestTypeScript type (#1940)0f9f2b8v12.0.0Compare Source
Introducing Got v12.0.0 🎉
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to sponsor the Got maintainers.
This package is now pure ESM
Please read this. Also see #1789.
[ERR_REQUIRE_ESM]andMust use import to load ES Moduleerrors. This is a problem with your setup, not Got.Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to v14 LTS.
HTTP/2 support
Every Node.js release, the native
http2module gets more stable.Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the
http2option.To run HTTP/2 requests, it is required to use Node.js v15.10 or above.
Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
49c16eecontent-lengthon ReadStream (#1510)472b8efff918fb1107cc6methodRewritingoption51d88a0urlnot being reused on retry in rare case (#1487)462bc63a59fac477df9c362305d706a2d3d1e1e506response.completewhen using cache9e15d88Cannot call enderror whenrequestreturns aWritable226cc393c23eea3c23eeagot.paginate does not call init hooks(#1574)3c23eeahttpsmodule (#1567)3c23eea9ecc5eesearchParams(#1814)1018c20732e9bd2453e5e439fb82eda69ffusernameandpasswordencoding in URL (#1169 #1317)d65d0ca1c4cefcConfiguration
📅 Schedule: Branch creation - "before 3am on Monday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.