@fastify/static breaking changes
@fastify/static 11.0.0 (November 26, 2026) is its newest release with breaking changes. The first: Default changed dotfiles. Every breaking API change we have recorded in @fastify/static on npm: 6 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 11.0.0, released November 26, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 10.1.12 to 11.0.0: 1 breaking change in 1 version.
- From 9.2.0 to 11.0.0: 5 breaking changes in 5 versions.
@fastify/static 11.0.0 breaking changes
- Default changed
dotfiles
Files and directories starting with a dot now return 404 unless you set dotfiles to 'allow' explicitly. github.com
@fastify/static 10.1.12 breaking changes
- Behavior changed
dotfiles
With dotfiles set to 'deny' or 'ignore' and directory listing enabled, requests for denied dot-directories are now refused instead of returning their file listing. Code that relied on listing those directories must change. github.com
@fastify/static 10.1.11 breaking changes
- Behavior changed
With wildcard set to false and multiple roots, directory index routes are now served from the first root that provides an index file, matching wildcard mode. Check code that relied on the previous root order. github.com
@fastify/static 10.1.10 breaking changes
- Removed
status
The 403 response for forbidden paths now includes code FST_STATIC_FORBIDDEN_PATH, and the error no longer has a status property. Read statusCode instead. github.com
@fastify/static 10.1.8 breaking changes
- Signature changed
FastifyStaticOptions
Was type FastifyStaticOptions = SendOptions & RootOptions & Omit<import('fastify').RegisterOptions, 'logLevel'> & {prefix?: string; prefixAvoidTrailingSlash?: boolean; decorateReply?: boolean; schemaHide?: boolean; setHeaders?: (reply... npmjs.com
@fastify/static 9.2.0 breaking changes
- Signature changed
FastifyStaticOptions
Was type FastifyStaticOptions = SendOptions & RootOptions & {prefix?: string; prefixAvoidTrailingSlash?: boolean; decorateReply?: boolean; schemaHide?: boolean; setHeaders?: (res: SetHeadersResponse, path: string, stat: Stats) => void... npmjs.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.