Releases: unjs/ofetch
Releases · unjs/ofetch
v1.3.1
v1.3.0
🚀 Enhancements
- Support customizable
retryStatusCodes(#109) - Add
optionsfield and improve the formatting of errors (#270) - Automatically enable duplex to stream request body (#275)
🩹 Fixes
- Avoid binding
.nativeto$fetch(#272) - Skip reading the body with
204responses andHEADrequests (#171, #84) - Improve response body check for node 16 compatibility (64d3aed)
- Avoid serializing buffer body (#273)
- Move body handling out of request block (15a28fb)
💅 Refactors
- Remove unused
response?: booleanoption (#223) - Pass all fetch context to the error (b70e6b0)
- error: Factory pattern for getters (6139785)
📖 Documentation
- Improve explanation about
bodyoption (#276)
❤️ Contributors
- Pooya Parsa (@pi0)
- Nozomu Ikuta
- Daniil Bezuglov
v1.2.1
v1.2.0
🚀 Enhancements
🩹 Fixes
- Always uppercase
methodoption (#259) - pkg: Fix ts type resolution for
/nodesubpath (#256) - Make all
createFetchoptions optional (#266)
📖 Documentation
❤️ Contributors
- Daniil Bezuglov
- Pooya Parsa (@pi0)
- Sébastien Chopin (@Atinux)
- Tmk (@tmkx)
- Murisceman murisceman@gmail.com
- Heb (@Hebilicious)
v1.1.1
v1.1.0
🚀 Enhancements
🩹 Fixes
- Pass empty object to headers initializer to prevent crash on chrome 49 (#235)
- Export
ResponseMaptype to allow composition ofofetch(#232) - Fix issues with native node fetch (#245)
- pkg: Add
./package.jsonsubpath (253707a) - Deep merge fetch options (#243)
📖 Documentation
- readme: Use
_datarather thandatafor raw requests (#239) - Mention
DELETEis no-retry be default (#241)
🏡 Chore
- readme: Small improvements (65921a1)
🤖 CI
- Enable tests against node
16,18and20(351fc80)
❤️ Contributors
- Dennis Meuwissen
- Pooya Parsa (@pi0)
- Alex Korytskyi (@alex-key)
- Arunanshu Biswas
- Jonathan Bakebwa codebender828@gmail.com
- Ilya Semenov (@IlyaSemenov)
- _lmmmmmm lmmmmmm12138@gmail.com
- Jonas Thelemann (@dargmuesli)
- Sébastien Chopin seb@nuxtjs.com