npm / ofetch
ofetch
What changed in ofetch 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 deprecations2 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initofetch 15 changes
Deprecations 1
Deprecated in favor of
query.
Behavior and default changes 2
Automatically detects text/event-stream as a stream response type.
Serializes with URLSearchParams when the content type is application/x-www-form-urlencoded.
Fixes and other changes 2
Normalize options.headers again after the onRequest hook.
Marked as non-serializable for Bun compatibility.