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
On this page
Latest version 4.0.0, released November 18, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 3.2.2 to 4.0.0: 1 breaking change in 1 version.
- From 2.7.3 to 4.0.0: 9 breaking changes in 5 versions.
set-cookie-parser 4.0.0 breaking changes
- 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
set-cookie-parser 3.2.2 breaking changes
- 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
set-cookie-parser 3.2.0 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 - 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
set-cookie-parser 3.1.4 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 - 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
set-cookie-parser 3.0.0 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 - 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 - 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
set-cookie-parser 2.7.3 breaking changes
- 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.