http
http copied to clipboard
chore(deps): update dependency ky to v1
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| ky | ^0.25.1 -> ^1.14.1 |
Release Notes
sindresorhus/ky (ky)
v1.14.1
v1.14.0
- Add
ky.retry()to force retries fromafterResponsehooks (#779)68a5228 - Allow
throwHttpErrorsoption to be a function (#781)84ff3b9
v1.13.0
Improvements
- Add
contextoption (#772)1e749ba - Add
retry.shouldRetryoption (#767)f0fdbd4 - Add
retry.retryOnTimeoutoption (#767)f0fdbd4 - Add
retry.jitteroption (#760)081c924 - Allow
beforeRetryhooks to return aRequestorResponse(#774)a51bb1e
Fixes
- Fix Next.js edge runtime
nextoption support (#775)caf78d2 - Fix compatibility with a non-standard Retry-After header (#771)
c488be0
v1.12.0
Improvements
- Add retry count to
afterResponseandbeforeErrorhooks (#763)37fc250 - Add retry count to
beforeRequesthook (#754)b7572d0 - Add type guards for errors (#746)
7e1fd0b
Fixes
- Fix
dispatcheroption being ignored (#757)5a3fc90 - Fix
hooksfield incorrectly included inNormalizedOptions(#726) (#756)0f2f00a - Fix
searchParamsoption merging withURLSearchParamsinstances (#755)c847eec - Fix
signalmerging when using both instance and request options (#751)2b0a100 - Fix FormData
content-typeboundary regeneration when retrying in hooks (#752)d02b636
v1.11.0
- Improve progress events for
onDownloadProgressandonUploadProgress(#736)60958f9 - Fix hang on stream request cleanup in Node.js (#741)
9a89a35
v1.10.0
- Support
undefinedvalues forsearchParamsobject (#729)a87d9e9 - Fix race condition issue with
.json()(#731)8cd79d3
v1.9.1
v1.9.0
v1.8.2
v1.8.1
v1.8.0
- Add
onUploadProgressoption (#632)a53fd34 - Fix memory leak caused by shared abort signals (#683)
e48386e - Fix memory leak for cloning the body for retry (#651)
b49cd03
v1.7.5
v1.7.4
v1.7.3
v1.7.2
v1.7.1
v1.7.0
v1.6.0
- Add support for the
RateLimit-Resetheader (#618)8531b05 - Allow explicitly unsetting hooks on
.extend()(#599)0017053 - Fix signal handling for Request objects (#613)
2376cf2
v1.5.0
- Add
retry.afterStatusCodesoption (#598)8764419 - Add support for passing a function to
ky.extend()(#611)9587c9d - TypeScript: Add
KyRequestandKyResponsetypes (#610)8e171f5 - Retry request even if retry delay is zero (#604)
4886b66
v1.4.0
- Add request method and URL to error messages (#595)
36d0bd3 - Clamp
Retry-Aftertime toretry.maxRetryAfter(#603)f0f9111 - Fetch with an uncloned request when possible (#601)
c5be841 - Improve robustness of request construction (#600)
974f1e9 - Improve detection of streaming request support (#581) (#582)
b1effd9
v1.3.0
- Add
stringifyJsonoption (#579)2eea67e
v1.2.4
v1.2.3
- TypeScript: Fix usage with
exactOptionalPropertyTypesconfig and compatibility with TypeScript 5.4 (#565)08f912d
v1.2.2
- Fix missing type dependency
c0a4dfa
v1.2.1
v1.2.0
Improvements
- Make types compatible with both DOM and Node.js (#543)
3cf5064 - Export the
InputTypeScript type (#552)4dd4077
FIxes
v1.1.3
- Export the
KyInstancetype16eb51d
v1.1.2
v1.1.1
v1.1.0
v1.0.1
- Change
OptionsandNormalizedOptionsTypeScript types back to beinterface4d63a21
v1.0.0
Breaking
- Require Node.js 18 (when used in Node.js)
a8a3a26
Improvements
- Ky can now run natively in Node.js without any polyfills 🎉
- This is thanks to Node.js 18+ having built-in support for
fetch. - This means
ky-universalis no longer needed.
- This is thanks to Node.js 18+ having built-in support for
v0.33.3
v0.33.2
v0.33.1
- Fix compatibility with Unidici
ae2fe07
v0.33.0
- Add
retry.backoffLimitoption (#454)ab19baf
v0.32.2
v0.32.1
v0.32.0
- Parse empty response bodies without throwing when using
.json()(#459)1cc6bbb - Fix abortions between retries (#433)
dddf7ba
v0.31.4
- Fix Firefox compatibility for the
onDownloadProgressoptionbccbfdb
v0.31.3
- Fix Node.js compatibility
0b141f1
v0.31.2
v0.31.1
v0.31.0
Breaking
- Require Node.js 14 when used in Node.js
e557973
Improvements
Fixes
v0.30.0
v0.29.0
- Add
beforeErrorhook (#417)616d276
v0.28.7
v0.28.6
v0.28.5
- Export more TypeScript types
ad991fa
v0.28.4
v0.28.3
v0.28.2
v0.28.1
v0.28.0
Breaking
- Make
HTTPErrorandTimeoutErrornamed exports6ec7fd7
Improvements
Fixes
- Fix merging of
searchParamsin.create()and.extend()(#335)b3c9e88 - Throw timeouts even if
throwHttpErrorsoption is false (#334)eefcde5
Meta
v0.27.0
v0.26.0
Breaking
- Ky is now a pure ESM module (#313)
d976029 - Drop UMD build (#315)
1a7ec7f - Require Node.js 12 when used in Node.js (#315)
1a7ec7f
Improvements
Fixes
- Fix aborting when
onDownloadProgressthrows an exception (#301)87c94fd - Fix support for
ky.stopas return type inBeforeRetryHookTypeScript type (#307)b86ff0a - Fix
BeforeRetryHookandNormalizedOptionsTypeScript type definitions (#308)5da3da0
Docs
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.