Releases: sindresorhus/ky
Releases 路 sindresorhus/ky
v0.28.0
Breaking
- Make
HTTPError
and TimeoutError
named exports 6ec7fd7
Improvements
Fixes
- Fix merging of
searchParams
in .create()
and .extend()
(#335) b3c9e88
- Throw timeouts even if
throwHttpErrors
option is false (#334) eefcde5
Meta
v0.27.0...v0.28.0
v0.26.0
Breaking
Improvements
Fixes
- Fix aborting when
onDownloadProgress
throws an exception (#301) 87c94fd
- Fix support for
ky.stop
as return type in BeforeRetryHook
TypeScript type (#307) b86ff0a
- Fix
BeforeRetryHook
and NormalizedOptions
TypeScript type definitions (#308) 5da3da0
Docs
v0.25.1...v0.26.0
v0.25.0
Possibly breaking for TypeScript users
- Fix Deno and React Native compatibility (#295) 2bff89a
- If you use TypeScript and don't already include the
dom
library in your tsconfig, you need to do this now.
Improvements
v0.24.0...v0.25.0
v0.24.0
Breaking
- Remove
response
property for the first argument passed to beforeRetry
hooks (#276) 9876da1
You can access it on error.response
instead. See #276 for details.
Fixes
- Fix handling of network errors for
beforeRetry
hook (#276) 9876da1
v0.23.0...v0.24.0