ky

🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API

MIT License

Downloads
7.7M
Stars
11.4K
Committers
108

Bot releases are hidden (Show)

ky - Latest Release

Published by sindresorhus 7 months ago

  • TypeScript: Fix usage with exactOptionalPropertyTypes config and compatibility with TypeScript 5.4 (#565) 08f912d

https://github.com/sindresorhus/ky/compare/v1.2.2...v1.2.3

ky -

Published by sindresorhus 8 months ago

ky -

Published by sindresorhus 8 months ago

  • Fix compatibility with Cloudflare Workers (#559) d8ee602

https://github.com/sindresorhus/ky/compare/v1.2.0...v1.2.1

ky -

Published by sindresorhus 10 months ago

Improvements

  • Make types compatible with both DOM and Node.js (#543) 3cf5064
  • Export the Input TypeScript type (#552) 4dd4077

FIxes

  • Fix the retryCount option retrying an incorrect amount (#547) 917ab12

https://github.com/sindresorhus/ky/compare/v1.1.3...v1.2.0

ky -

Published by sindresorhus 12 months ago

ky -

Published by sindresorhus 12 months ago

  • Fix multipart boundary mismatch (#540) 0e9d7bb

https://github.com/sindresorhus/ky/compare/v1.1.1...v1.1.2

ky -

Published by sindresorhus 12 months ago

  • Fix support for environments that add custom fetch options (#536) e93bc6d

https://github.com/sindresorhus/ky/compare/v1.1.0...v1.1.1

ky -

Published by sindresorhus about 1 year ago

  • Add retry.delay option to control the time between retries (#533) c6181ef

https://github.com/sindresorhus/ky/compare/v1.0.1...v1.1.0

ky -

Published by sindresorhus about 1 year ago

  • Change Options and NormalizedOptions TypeScript types back to be interface 4d63a21

https://github.com/sindresorhus/ky/compare/v1.0.0...v1.0.1

ky -

Published by sindresorhus about 1 year ago

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-universal is no longer needed.

https://github.com/sindresorhus/ky/compare/v0.33.3...v1.0.0

ky -

Published by sindresorhus over 1 year ago

  • Fix compatibility with native Fetch being disabled on Node.js (#494) 00e45d0

https://github.com/sindresorhus/ky/compare/v0.33.2...v0.33.3

ky -

Published by sindresorhus almost 2 years ago

  • Fix the name of the error when aborting a request (#482) ce8588d

https://github.com/sindresorhus/ky/compare/v0.33.1...v0.33.2

ky -

Published by sindresorhus almost 2 years ago

  • Fix compatibility with Unidici ae2fe07

https://github.com/sindresorhus/ky/compare/v0.33.0...v0.33.1

ky -

Published by sindresorhus almost 2 years ago

ky -

Published by sindresorhus almost 2 years ago

  • Fix the empty check for .json() (#466) bf9eca6

https://github.com/sindresorhus/ky/compare/v0.32.1...v0.32.2

ky -

Published by sindresorhus almost 2 years ago

  • Don't return empty string for .json() if Transfer-Encoding is chunked (#464) 195e0e2

https://github.com/sindresorhus/ky/compare/v0.32.0...v0.32.1

ky -

Published by sindresorhus almost 2 years ago

  • Parse empty response bodies without throwing when using .json() (#459) 1cc6bbb
  • Fix abortions between retries (#433) dddf7ba

https://github.com/sindresorhus/ky/compare/v0.31.4...v0.32.0

ky -

Published by sindresorhus about 2 years ago

  • Fix Firefox compatibility for the onDownloadProgress option bccbfdb

https://github.com/sindresorhus/ky/compare/v0.31.3...v0.31.4

ky -

Published by sindresorhus about 2 years ago

ky -

Published by sindresorhus about 2 years ago

  • Fix Chrome 105 compatibility (#451) 316fffe

https://github.com/sindresorhus/ky/compare/v0.31.1...v0.31.2

Package Rankings
Top 0.62% on Npmjs.org
Top 14.85% on Deno.land
Top 3.88% on Proxy.golang.org
Top 13.52% on Repo1.maven.org
Badges
Extracted from project README
Coverage Status