# What changed in ofetch

> 5 changes in ofetch 1 from its official release notes, upgrade guides and advisories: 1 deprecations. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/ofetch/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## ofetch 1

### Deprecations

- Deprecated in favor of `query`. (1.5.0) — [release notes](https://github.com/unjs/ofetch/releases/tag/v1.5.0)

### Behavior and default changes

- Automatically detects text/event-stream as a stream response type. (1.5.0) — [release notes](https://github.com/unjs/ofetch/releases/tag/v1.5.0)
- Serializes with URLSearchParams when the content type is application/x-www-form-urlencoded. (1.5.0) — [release notes](https://github.com/unjs/ofetch/releases/tag/v1.5.0)

### Fixes and other changes

- Normalize options.headers again after the onRequest hook. (1.5.1) — [release notes](https://github.com/unjs/ofetch/releases/tag/v1.5.1)
- Marked as non-serializable for Bun compatibility. (1.5.0) — [release notes](https://github.com/unjs/ofetch/releases/tag/v1.5.0)
