---
title: "set-cookie-parser 4.0.0 Breaking Changes on npm | Since.dev"
description: "What each set-cookie-parser release removed, renamed or changed: 10 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/set-cookie-parser
last_updated: 2026-12-04
---

# set-cookie-parser breaking changes

set-cookie-parser 4.0.0 (November 18, 2026) is its newest release with breaking changes. The first: Expires times are now parsed as UTC instead of their specified timezone in set-cookie-parser 4.0.0. Every breaking API change we have recorded in set-cookie-parser on npm: 10 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released November 18, 2026. [Source repository](https://github.com/nfriedly/set-cookie-parser)

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

- From [3.2.2](#v-3-2-2) to [4.0.0](#v-4-0-0): 1 breaking change in 1 version.
- From [2.7.3](#v-2-7-3) to [4.0.0](#v-4-0-0): 9 breaking changes in 5 versions.

## set-cookie-parser 4.0.0 breaking changes

set-cookie-parser 4.0.0, released November 18, 2026: 1 breaking change.

- **Behavior changed**  

Expires values are read as UTC, ignoring any timezone in the header, and a warning is logged for non-UTC timezones unless the silent: true option is set. Check code that relies on the parsed expiry times. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v4.0.0/CHANGELOG.md)

## set-cookie-parser 3.2.2 breaking changes

set-cookie-parser 3.2.2, released October 30, 2026: 1 breaking change.

- **Behavior changed**  

A set-cookie string whose name-value pair is empty is now ignored when parsing. Code relying on such entries appearing in the parsed output must be updated. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.2.2/CHANGELOG.md)

## set-cookie-parser 3.2.0 breaking changes

set-cookie-parser 3.2.0, released October 21, 2026: 2 breaking changes.

- **Behavior changed**  

Attributes named name or value are no longer copied onto the output cookie object, because they would overwrite the cookie's name and value. Code that relied on reading those attributes from the parsed cookie must change. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.2.0/CHANGELOG.md)
- **Behavior changed** `options.silent`  

options.silent now covers all warnings and errors, so code that expected some warnings to still appear when silent is set will see fewer messages. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.2.0/CHANGELOG.md)

## set-cookie-parser 3.1.4 breaking changes

set-cookie-parser 3.1.4, released October 16, 2026: 2 breaking changes.

- **Behavior changed**  

Cookies with an unparsable Expires value no longer include an Invalid Date expires field; the value is dropped, so code reading expires must handle it being absent. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.1.4/CHANGELOG.md)
- **Behavior changed**  

Cookies with an invalid Max-Age value no longer get a numeric maxAge; the value is dropped, so code reading maxAge must handle it being absent. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.1.4/CHANGELOG.md)

## set-cookie-parser 3.0.0 breaking changes

set-cookie-parser 3.0.0, released January 12, 2026: 3 breaking changes.

- **Renamed** `parse`  

The parse function is renamed to parseSetCookie. The old name still works as an alias for backwards compatibility, but new code should use parseSetCookie. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

The library is written as an ES module, and a CJS build is generated automatically for backwards compatibility. Code that depends on the module format may need to be checked. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.0.0/CHANGELOG.md)
- **Default changed**  

Combined cookie strings are split automatically based on input type. Set the new split option to false to keep the previous behavior of never splitting automatically. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v3.0.0/CHANGELOG.md)

## set-cookie-parser 2.7.3 breaking changes

set-cookie-parser 2.7.3, released October 23, 2026: 1 breaking change.

- **Behavior changed**  

Cookie attributes named name or value are now dropped instead of overwriting the cookie's name and value on the output object. Code that relied on those attributes changing the cookie name or value must be updated. [github.com](https://github.com/nfriedly/set-cookie-parser/blob/v2.7.3/CHANGELOG.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.
