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

# undici-types breaking changes

undici-types 8.6.0 (July 2, 2026) is its newest release with breaking changes. The first: Signature changed deleteCookie. Every breaking API change we have recorded in undici-types on npm: 149 breaking changes in 22 versions. Below, its 22 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.14.1`. [Source repository](https://github.com/nodejs/undici)

Its 7.0.0 release drops [Node.js 18](https://since.dev/calendar/nodejs/18.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [7.30.2](#v-7-30-2) to [8.6.0](#v-8-6-0): 24 breaking changes in 7 versions.
- From [7.0.0](#v-7-0-0) to [8.6.0](#v-8-6-0): 49 breaking changes in 17 versions.

## undici-types 8.6.0 breaking changes

undici-types 8.6.0, released July 2, 2026: 1 breaking change.

- **Signature changed** `deleteCookie`  

Was function deleteCookie (headers: Headers, name: string, attributes?: {name?: string, domain?: string}): void; now function deleteCookie (headers: Headers, name: string, attributes?: {path?: string, domain?: string}): void. [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.6.0)

## undici-types 8.5.0 breaking changes

undici-types 8.5.0, released June 15, 2026: 5 breaking changes.

- **Behavior changed** `EventSource`  

EventSource behavior was changed to match the specification. Code that depended on the previous non-spec behavior may need review. [github.com](https://github.com/nodejs/undici/releases/tag/v8.5.0)
- **Behavior changed** `parseSetCookie`  

parseSetCookie no longer percent-decodes cookie values, so encoded sequences such as %0D%0A stay as written. Code that relied on decoded values must decode them itself. [github.com](https://github.com/nodejs/undici/releases/tag/v8.5.0)
- **Behavior changed** `ProxyAgent`  

ProxyAgent with a SOCKS5 proxy now applies requestTls options such as ca, cert, key, rejectUnauthorized and servername. Setups that depended on them being ignored will see different TLS behavior. [github.com](https://github.com/nodejs/undici/releases/tag/v8.5.0)
- **Behavior changed** `Socks5ProxyAgent`  

Socks5ProxyAgent no longer shares one pool across origins. Users who reuse one agent for several origins should create a separate agent instance per origin. [github.com](https://github.com/nodejs/undici/releases/tag/v8.5.0)
- **Behavior changed** `WebSocket`  

The WebSocket payload limit now applies to the total size of a fragmented message and limits the number of fragments. Large or heavily fragmented messages from untrusted servers may now be rejected. [github.com](https://github.com/nodejs/undici/releases/tag/v8.5.0)

## undici-types 8.4.0 breaking changes

undici-types 8.4.0, released June 6, 2026: 2 breaking changes.

- **Signature changed** `buildConnector.BuildOptions`  

Was type BuildOptions = (ConnectionOptions | TcpNetConnectOpts | IpcNetConnectOpts) & {allowH2?: boolean; maxCachedSessions?: number | null; socketPath?: string | null; timeout?: number | null; port?: number; keepAlive?: boolean | null... [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.4.0)
- **Signature changed** `interceptors.RedirectInterceptorOpts`  

Was type RedirectInterceptorOpts = {maxRedirections?: number, throwOnMaxRedirect?: boolean}; now type RedirectInterceptorOpts = {maxRedirections?: number, throwOnMaxRedirect?: boolean, stripHeadersOnRedirect?: string\[\]... [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.4.0)

## undici-types 8.3.0 breaking changes

undici-types 8.3.0, released May 14, 2026: 3 breaking changes.

- **Removed** `Dispatcher.RequestOptions.throwOnError`  

The throwOnError option was removed from the Dispatcher.RequestOptions type. Code that sets this option in typed request options must stop using it. [github.com](https://github.com/nodejs/undici/releases/tag/v8.3.0)
- **Behavior changed**  

The package's type declarations were changed so they no longer alter the @types/node declarations. Code that relied on the previous global type interference may need adjusting. [github.com](https://github.com/nodejs/undici/releases/tag/v8.3.0)
- **Signature changed** `Client.connect`  

Was override connect (options: ClientConnectOptions): Promise\<Dispatcher.ConnectData> override connect (options: ClientConnectOptions, callback: (err: Error | null, data: Dispatcher.ConnectData) => void): void; now override connect\<TOpaque... [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.3.0)

## undici-types 8.2.0 breaking changes

undici-types 8.2.0, released May 1, 2026: 6 breaking changes.

- **Behavior changed**  

Requests with malformed content-length headers are now rejected instead of being sent. Check that request headers carry valid content-length values. [github.com](https://github.com/nodejs/undici/releases/tag/v8.2.0)
- **Behavior changed**  

A NaN value for the highWaterMark request option is now rejected during option validation. Pass a valid number instead. [github.com](https://github.com/nodejs/undici/releases/tag/v8.2.0)
- **Signature changed** `Dispatcher.DispatchController.rawHeaders`  

Was rawHeaders?: Buffer\[\] | string\[\] | null; now rawHeaders?: Buffer\[\] | string\[\] | IncomingHttpHeaders | null. [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.2.0)
- **Signature changed** `Dispatcher.DispatchController.rawTrailers`  

Was rawTrailers?: Buffer\[\] | string\[\] | null; now rawTrailers?: Buffer\[\] | string\[\] | IncomingHttpHeaders | null. [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.2.0)
- **Signature changed** `EnvHttpProxyAgent.Options.headers`  

Was headers?: IncomingHttpHeaders; now headers?: OutgoingHttpHeaders. [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.2.0)
- **Signature changed** `interceptors.RedirectInterceptorOpts`  

Was type RedirectInterceptorOpts = {maxRedirections?: number}; now type RedirectInterceptorOpts = {maxRedirections?: number, throwOnMaxRedirect?: boolean}. [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.2.0)

## undici-types 8.0.3 breaking changes

undici-types 8.0.3, released April 12, 2026: 2 breaking changes.

- **Removed**  

Stale interceptors option types are removed from constructor and pool options, so code that type-checks against them may fail to compile. [github.com](https://github.com/nodejs/undici/releases/tag/v8.0.3)
- **Removed** `AbortSignal`  

The legacy AbortSignal alias is removed from undici-types because @types/node now provides it. Import AbortSignal from @types/node instead. [github.com](https://github.com/nodejs/undici/releases/tag/v8.0.3)

## Older versions

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

### undici-types 8.0.0 breaking changes

undici-types 8.0.0, released April 2, 2026: 5 breaking changes.

- **Removed** `interceptors.DecompressInterceptorOpts.maxSize`  

DecompressInterceptorOpts.maxSize was removed in undici-types 8.0.0 [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.0.0)
- **Signature changed** `Dispatcher.DispatchController.rawHeaders`  

Was rawHeaders?: Buffer\[\] | string\[\] | IncomingHttpHeaders | null; now rawHeaders?: Buffer\[\] | string\[\] | null. [npmjs.com](https://www.npmjs.com/package/undici-types/v/8.0.0)

And 3 more in this version.

### undici-types 7.30.2 breaking changes

undici-types 7.30.2, released November 5, 2026: 3 breaking changes.

- **Behavior changed**  

Cache entries written to persistent SQLite storage by vulnerable 7.x releases are now invalidated, so users must expect those stored entries to be discarded and refetched. [github.com](https://github.com/nodejs/undici/releases/tag/v7.30.2)
- **Behavior changed**  

A 304 Not Modified response must now match the cached URL and stored validator before the cached body is replayed, so some previously accepted revalidations will fail. [github.com](https://github.com/nodejs/undici/releases/tag/v7.30.2)

And 1 more in this version.

### undici-types 7.29.1 breaking changes

undici-types 7.29.1, released September 4, 2026: 5 breaking changes.

- **Behavior changed**  

Cache reads and writes are restricted to safe HTTP methods, so responses to POST or DELETE are no longer cached; successful unsafe requests still invalidate entries. [github.com](https://github.com/nodejs/undici/releases/tag/v7.29.1)
- **Behavior changed**  

Oversized chunked responses without Content-Length are now aborted instead of being treated as truncated successes. [github.com](https://github.com/nodejs/undici/releases/tag/v7.29.1)

And 3 more in this version.

### undici-types 7.29.0 breaking changes

undici-types 7.29.0, released July 24, 2026: 3 breaking changes.

- **Behavior changed**  

Partial responses whose Content-Length does not match Content-Range are now rejected, so code that previously received such responses may now get an error. [github.com](https://github.com/nodejs/undici/releases/tag/v7.29.0)
- **Behavior changed**  

Whitespace around = in qualified no-cache and private directives is normalized, and the cache applies more conservative decisions, so some responses may now be cached differently. [github.com](https://github.com/nodejs/undici/releases/tag/v7.29.0)

And 1 more in this version.

### undici-types 7.28.0 breaking changes

undici-types 7.28.0, released June 15, 2026: 4 breaking changes.

- **Behavior changed**  

Whitespace-padded qualified Cache-Control field names are now trimmed, which changes which responses are cached in shared mode. [github.com](https://github.com/nodejs/undici/releases/tag/v7.28.0)
- **Behavior changed** `parseSetCookie`  

Cookie values are now kept as sent instead of being percent-decoded. Sanitize values before forwarding them into response headers if your code relies on the decoded form. [github.com](https://github.com/nodejs/undici/releases/tag/v7.28.0)

And 2 more in this version.

### undici-types 7.24.7 breaking changes

undici-types 7.24.7, released April 1, 2026: 5 breaking changes.

- **Signature changed** `RedirectHandler.constructor`  

Was constructor (dispatch: Dispatcher.Dispatch, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandler, redirectionLimitReached: boolean); now constructor (dispatch: Dispatcher.Dispatch... [npmjs.com](https://www.npmjs.com/package/undici-types/v/7.24.7)
- **Signature changed** `Request.clone`  

Was readonly clone: () => Request; now public clone (): Request. [npmjs.com](https://www.npmjs.com/package/undici-types/v/7.24.7)

And 3 more in this version.

### undici-types 7.24.2 breaking changes

undici-types 7.24.2, released March 14, 2026: 1 breaking change.

- **Removed** `WebSocketInit.maxDecompressedMessageSize`  

The maxDecompressedMessageSize option has been removed, so code that sets it should stop passing it. [npmjs.com](https://www.npmjs.com/package/undici-types/v/7.24.2)

### undici-types 7.24.0 breaking changes

undici-types 7.24.0, released March 12, 2026: 1 breaking change.

- **Signature changed** `interceptors.DeduplicateInterceptorOpts`  

Was type DeduplicateInterceptorOpts = {methods?: DeduplicateMethods\[\] skipHeaderNames?: string\[\] excludeHeaderNames?: string\[\]}; now type DeduplicateInterceptorOpts = {methods?: DeduplicateMethods\[\] skipHeaderNames?: string\[\]... [npmjs.com](https://www.npmjs.com/package/undici-types/v/7.24.0)

### undici-types 7.23.0 breaking changes

undici-types 7.23.0, released March 12, 2026: 1 breaking change.

- **Signature changed** `buildConnector.BuildOptions`  

Was type BuildOptions = (ConnectionOptions | TcpNetConnectOpts | IpcNetConnectOpts) & {allowH2?: boolean; maxCachedSessions?: number | null; socketPath?: string | null; timeout?: number | null; port?: number; keepAlive?: boolean | null... [npmjs.com](https://www.npmjs.com/package/undici-types/v/7.23.0)

### undici-types 7.22.0 breaking changes

undici-types 7.22.0, released February 13, 2026: 1 breaking change.

- **Default changed** `deduplicate`  

Requests with non-safe HTTP methods are no longer deduplicated by default. If you relied on deduplication for those requests, opt in explicitly. [github.com](https://github.com/nodejs/undici/releases/tag/v7.22.0)

### undici-types 7.19.0 breaking changes

undici-types 7.19.0, released January 21, 2026: 1 breaking change.

- **Behavior changed** `MockAgent`  

MockAgent origin matching now normalizes case and URL forms, so intercepts may match requests they did not match before. Check existing mock origins and tests that depend on exact matching. [github.com](https://github.com/nodejs/undici/releases/tag/v7.19.0)

### undici-types 7.0.0 breaking changes

undici-types 7.0.0, released November 28, 2024: 93 breaking changes.

- **Removed**  

Support for third-party fetch implementations was removed in fetch. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0)
- **Removed**  

Node.js v18 is no longer supported by this release. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0)

And 91 more in this version.

### undici-types 7.0.0-alpha.9 breaking changes

undici-types 7.0.0-alpha.9, released November 28, 2024: 2 breaking changes.

- **Behavior changed** `responseError`  

The responseError interceptor error now includes a body property; code depending on the previous error shape may be affected. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0-alpha.9)
- **Signature changed** `end`  

The statusMessage argument of end is now optional; code relying on its previous position or requirement may need updating. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0-alpha.9)

### undici-types 7.0.0-alpha.8 breaking changes

undici-types 7.0.0-alpha.8, released November 28, 2024: 1 breaking change.

- **Removed**  

Node.js v18 is no longer supported; upgrade Node.js to a supported version before using this release. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0-alpha.8)

### undici-types 7.0.0-alpha.7 breaking changes

undici-types 7.0.0-alpha.7, released November 28, 2024: 1 breaking change.

- **Behavior changed**  

Redirect responses with status 301 and 302 switch the request method to GET, which may change existing request behavior. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0-alpha.7)

### undici-types 7.0.0-alpha.2 breaking changes

undici-types 7.0.0-alpha.2, released November 28, 2024: 3 breaking changes.

- **Removed**  

Support for third-party fetch implementations was removed. Code relying on it must be updated. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0-alpha.2)
- **Removed** `throwOnError`  

The throwOnError option was removed. Code that sets it will no longer have effect or may break. [github.com](https://github.com/nodejs/undici/releases/tag/v7.0.0-alpha.2)

And 1 more in this version.

## Related packages

- [undici](https://since.dev/packages/npm/undici.md)

## 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.
