serve-static breaking changes
serve-static 2.1.0 (September 10, 2024) is its newest release with breaking changes. The first: Redirect responses no longer include a link in their HTML body in serve-static 2.1.0. Every breaking API change we have recorded in serve-static on npm: 6 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 2.2.1, released December 15, 2025. Source repository
Its 2.0.0-beta.1 release drops Node.js 0.8. Node.js end of life dates.
serve-static 2.1.0 breaking changes
- Behavior changed
When serving a redirect, the generated HTML no longer renders a link to the target. Code that parses or depends on that HTML link must be updated. github.com
serve-static 2.0.0 breaking changes
- Removed
mime
mime was removed in serve-static 2.0.0 npmjs.com - Removed
RequestHandlerConstructor.mime
RequestHandlerConstructor.mime was removed in serve-static 2.0.0 npmjs.com
serve-static 2.0.0-beta.1 breaking changes
- Removed
Node.js 0.8 is no longer supported. Code running on it must upgrade the Node.js version. github.com - Removed
hidden
The hidden option is removed. Use the dotfiles option instead. github.com - Default changed
dotfiles
The dotfiles option now defaults to 'ignore'. Code that relied on the old default must set dotfiles explicitly. 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.