---
title: "node-fetch 3.3.2 Breaking Changes on npm | Since.dev"
description: "What each node-fetch release removed, renamed or changed: 128 breaking changes in 12 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/node-fetch
last_updated: 2026-12-04
---

# node-fetch breaking changes

node-fetch 3.3.2 (July 25, 2023) is its newest release with breaking changes. The first: Stops sending a default connection close header on requests in node-fetch 3.3.2. Every breaking API change we have recorded in node-fetch on npm: 128 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.3.2`, released July 25, 2023. [Source repository](https://github.com/node-fetch/node-fetch)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.6.13](#v-2-6-13) to [3.3.2](#v-3-3-2): 98 breaking changes in 9 versions.
- From [2.0.0](#v-2-0-0) to [3.3.2](#v-3-3-2): 100 breaking changes in 11 versions.

## node-fetch 3.3.2 breaking changes

node-fetch 3.3.2, released July 25, 2023: 1 breaking change.

- **Behavior changed**  

Requests no longer include the default Connection: close header, so connections may be kept open. Code that relied on that header being sent should set it explicitly. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.2)

## node-fetch 3.3.1 breaking changes

node-fetch 3.3.1, released March 11, 2023: 2 breaking changes.

- **Signature changed** `default`  

Was function fetch(url: RequestInfo, init?: RequestInit): Promise\<Response>; now function fetch(url: URL | RequestInfo, init?: RequestInit): Promise\<Response>. [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.3.1)
- **Signature changed** `Request.constructor`  

Was constructor(input: RequestInfo, init?: RequestInit); now constructor(input: URL | RequestInfo, init?: RequestInit). [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.3.1)

## node-fetch 3.2.9 breaking changes

node-fetch 3.2.9, released July 18, 2022: 1 breaking change.

- **Behavior changed**  

Secure headers are no longer forwarded when a redirect changes protocol. Code relying on those headers being sent across a protocol change must adjust. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9)

## node-fetch 3.2.4 breaking changes

node-fetch 3.2.4, released April 28, 2022: 1 breaking change.

- **Behavior changed**  

Request methods that are not standard HTTP methods are now sent exactly as given instead of being converted to uppercase. Code that relied on the uppercased form must pass the uppercase method itself. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4)

## node-fetch 3.2.1 breaking changes

node-fetch 3.2.1, released March 1, 2022: 4 breaking changes.

- **Removed** `AbortSignal`  

AbortSignal was removed in node-fetch 3.2.1 [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.2.1)
- **Removed** `BodyMixin`  

BodyMixin was removed in node-fetch 3.2.1 [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.2.1)
- **Removed** `ResponseType`  

ResponseType was removed in node-fetch 3.2.1 [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.2.1)
- **Signature changed** `RequestInit.agent`  

Was agent?: Agent | ((parsedUrl: URL) => Agent); now agent?: RequestOptions\['agent'\] | ((parsedUrl: URL) => RequestOptions\['agent'\]). [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.2.1)

## node-fetch 3.1.1 breaking changes

node-fetch 3.1.1, released January 16, 2022: 2 breaking changes.

- **Behavior changed**  

GET and HEAD requests with a non-empty body are now disallowed. Code that sent a body with these methods must change the method or remove the body. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1)
- **Behavior changed**  

Sensitive headers such as cookies and authentication are no longer sent to a different host after a redirect. Code that relied on those headers reaching a redirected host must set them explicitly. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### node-fetch 3.1.0 breaking changes

node-fetch 3.1.0, released November 8, 2021: 2 breaking changes.

- **Behavior changed** `Body.body`  

Body.body now returns a node:stream stream rather than its previous form. Code that depends on the old type of Body.body may need to adjust. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0)
- **Signature changed** `BodyInit`  

Was type BodyInit = | Blob | Buffer | URLSearchParams | NodeJS.ReadableStream | string; now type BodyInit = | Blob | Buffer | URLSearchParams | FormData | NodeJS.ReadableStream | string. [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.1.0)

### node-fetch 3.0.0 breaking changes

node-fetch 3.0.0, released August 31, 2021: 84 breaking changes.

- **Removed** `AbortError.constructor`  

new AbortError() was removed in node-fetch 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.0.0)
- **Removed** `Blob`  

Blob was removed in node-fetch 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-fetch/v/3.0.0)

And 82 more in this version.

### node-fetch 3.0.0-beta.10 breaking changes

node-fetch 3.0.0-beta.10, released August 31, 2021: 1 breaking change.

- **Behavior changed** `res.blob().stream`  

Code that expects a Node.js stream from res.blob().stream() must be updated to work with a WHATWG ReadableStream. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0-beta.10)

### node-fetch 2.6.13 breaking changes

node-fetch 2.6.13, released August 18, 2023: 1 breaking change.

- **Behavior changed**  

Requests no longer include a default Connection: close header. Code that relied on that header being sent by default must set it explicitly. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v2.6.13)

### node-fetch 2.6.11 breaking changes

node-fetch 2.6.11, released May 9, 2023: 1 breaking change.

- **Behavior changed**  

The earlier change that stripped a byte order mark from text and json results is reverted, so those results may again include the BOM. Code that relied on the BOM being stripped must handle it itself. [github.com](https://github.com/node-fetch/node-fetch/releases/tag/v2.6.11)

### node-fetch 2.0.0 breaking changes

node-fetch 2.0.0, released February 3, 2018: 28 breaking changes.

- **Removed** `Headers.getAll`  

Headers.getAll was removed in node-fetch 2.0.0 [npmjs.com](https://www.npmjs.com/package/node-fetch/v/2.0.0)
- **Signature changed** `Body.json`  

The signature of Body.json changed in node-fetch 2.0.0 [npmjs.com](https://www.npmjs.com/package/node-fetch/v/2.0.0)

And 26 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
