Breaking
- Hooks now always receive a
Requestinstance as the first argument instead of the input URL, which could previously either be astring,Request, orURL(#180) c5821a7
Enhancements
- Pass all Ky options to hooks (#188) a5c249e
- Allow overriding the default accept headers (#200) 65f38f9
- Add ability to stop retries in
beforeRetryhooks (#198) 0bc6fb1 beforeRequesthooks can now return aRequestinstance to replace the existing request (#180)
Fixes
- Avoid body method parse errors on 204 responses (#196) a1c000e
- Fix global property lookup (#203) c0d9d2b
Docs
- Document
prefixUrlreasonings (#175) 4e05289 - Improve example in documentation for using umd.js (#190) 3b87b93