NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3171 most downloaded on npm
A better fetch API. Works on node, browser and workers.
Last release 11 months ago
01 Nov 2025
Release timing varies
gaps range from 2 weeks to 13 months
Most releases are documented
notes for 13 of 18 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
21 releases · first in 2022
One column per quarter.
compare changes ### 📦 Build - Fix exports field
compare changes ### 📦 Build - Add main field
⚡️Bundle: 17.4 KB (6.5 KB gz) → 6.3 KB (2.4 KB gz)
Normalize options.headers (again) after onRequest hook
options.headers (again) after onRequest hook (#524)Deprecate params in favor of query
URLSearchParams for application/x-www-form-urlencoded content type header (#482)text/event-stream as stream response type (#486)FormData & URLSearchParams as non-serializable for bun compatibility (#483)params in favor of query (#511)ProxyAgent in example (#465)retryStatusCodes option to auto retry example (#480)FetchOptions (#487)Remove undefined method and query/params from fetch options for older chrome compat
method and query/params from fetch options for older chrome compat (#451)response._bodyInit as fallback for react-native and qq (#398)> This is not a breaking change as ofetch >=1.4 will narrow 3 possibilities of HeadersInit to be always normalized Headers.
[!IMPORTANT] In the interceptors, the
ctx.options.headersis now always normalized toHeaders. This is not a breaking change as ofetch >=1.4 will narrow 3 possibilities ofHeadersInitto be always normalizedHeaders. If you were previously not handling theHeaderscase and implicitly depending on input, you need to update the logic.
retryDelay with callback function (#372)$fetch.create (#401)options.headers and options.query (#436)node export condition (#407)fetch (#377)agent and dispatcher options (node-specific) (#308)Clear abort timeout after response was received
react-native field (03680dd)Augment FetchError type to include IFetchError
FetchError type to include IFetchError (#279)Hide getters from console and pass cause
compare changes ### 🏡 Chore - Update dependencies (c72976f) ### ❤️ Contributors - Pooya Parsa (@pi0)
Support customizable retryStatusCodes
retryStatusCodes (#109)options field and improve the formatting of errors (#270).native to $fetch (#272)204 responses and HEAD requests (#171, #84)response?: boolean option (#223)body option (#276)Add missing node export condition
Support timeout and AbortController
method option (#259)/node subpath (#256)createFetch options optional (#266)compare changes ### 🏡 Chore - Update destr to v2 ### ❤️ Contributors - Pooya Parsa (@pi0)
Support ignoreResponseError option
ResponseMap type to allow composition of ofetch (#232)./package.json subpath (253707a)_data rather than data for raw requests (#239)DELETE is no-retry be default (#241)16, 18 and 20 (351fc80)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →