content-disposition breaking changes
content-disposition 3.0.0 (August 13, 2026) is its newest release with breaking changes, 3 of them. The first: Rejects invalid percent-encoding in ISO-8859-1 ext-values in content-disposition 3.0.0. Every breaking API change we have recorded in content-disposition on npm: 9 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.0, released November 18, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 2.0.0 to 3.0.0: 3 breaking changes in 1 version.
- From 1.0.0 to 3.0.0: 8 breaking changes in 2 versions.
content-disposition 3.0.0 breaking changes
- Behavior changed
Parsing an ISO-8859-1 ext-value with invalid percent-encoding is now rejected instead of accepted. github.com - Behavior changed
The package is now published as ESM only, so code that loads it with require() must switch to import. github.com - Behavior changed
format
With extended: true and both param and param* present, format now ignores param and uses param* when encoding. With extended: false, both are still included. github.com
content-disposition 2.0.0 breaking changes
- Removed
basename
create no longer normalizes filenames with basename. Pass a plain filename rather than a full path. github.com - Removed
default export
The default export is gone and was renamed to create. Import create instead of the default export. github.com - Renamed
default export
The default export was renamed to create. Update imports to use create. github.com - Behavior changed
create
Filenames passed to create are no longer normalized, so paths may leak directory structure. Use plain filenames. github.com - Behavior changed
parse
The decoder no longer falls back on invalid UTF-8, so such headers are no longer handled as before. github.com
content-disposition 1.0.0 breaking changes
- Behavior changed
The package no longer supports Node.js versions older than 18. Users on older Node.js must upgrade Node.js before using this release. github.com
Related packages
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.