Releases: sindresorhus/ky
Releases · sindresorhus/ky
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
v0.19.1
- Fix the
NormalizedOptions.headers
TypeScript type (#243)
- Ensure
HTTPError
always has a defined message (#249)