unstale

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 init

@unstale/cli on npm

ofetch 15 changes

Deprecations 1

Behavior and default changes 2

  • Automatically detects text/event-stream as a stream response type.

    1.5.0release notes

  • Serializes with URLSearchParams when the content type is application/x-www-form-urlencoded.

    1.5.0release notes

Fixes and other changes 2

  • Normalize options.headers again after the onRequest hook.

    1.5.1release notes

  • Marked as non-serializable for Bun compatibility.

    1.5.0release notes