Skip to content

Releases: sindresorhus/ky

v0.28.2

25 May 13:40
Compare
Choose a tag to compare
  • Fix missing Options TypeScript type 3ad1eab
  • Restore main field in package.json (#342) 1338996

v0.28.1...v0.28.2

v0.28.1

14 May 13:35
Compare
Choose a tag to compare
  • Fix searchParams option TypeScript type (#344) 010b082

v0.28.0...v0.28.1

v0.28.0

04 May 06:51
Compare
Choose a tag to compare

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.27.0

20 Feb 12:55
Compare
Choose a tag to compare
  • Don't mangle user-provided searchParams string (#325) 5815518

v0.26.0...v0.27.0

v0.26.0

08 Jan 08:23
Compare
Choose a tag to compare

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.1

08 Dec 05:10
Compare
Choose a tag to compare

v0.25.0...v0.25.1

v0.25.0

14 Nov 23:40
Compare
Choose a tag to compare

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

28 Sep 19:45
Compare
Choose a tag to compare

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.23.0

21 Jul 07:23
Compare
Choose a tag to compare
  • Add option for custom fetch implementation (#273) ccda3b9

v0.22.0...v0.23.0

v0.22.0

17 Jul 13:45
Compare
Choose a tag to compare

v0.21.0...v0.22.0