Skip to content

Releases: sindresorhus/ky

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

v0.21.0

12 Jul 13:45
Compare
Choose a tag to compare

v0.20.0...v0.21.0

v0.20.0

16 May 10:48
Compare
Choose a tag to compare
  • Add ability to remove headers using ky.extend() (#235) 70826b2

v0.19.1...v0.20.0

v0.19.1

17 Apr 13:06
Compare
Choose a tag to compare
  • Fix the NormalizedOptions.headers TypeScript type (#243)
  • Ensure HTTPError always has a defined message (#249)