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

# @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

Latest version `11.0.0`, released November 26, 2026. [Source repository](https://github.com/fastify/fastify-static)

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

- From [10.1.12](#v-10-1-12) to [11.0.0](#v-11-0-0): 1 breaking change in 1 version.
- From [9.2.0](#v-9-2-0) to [11.0.0](#v-11-0-0): 5 breaking changes in 5 versions.

## @fastify/static 11.0.0 breaking changes

@fastify/static 11.0.0, released November 26, 2026: 1 breaking change.

- **Default changed** `dotfiles`  

Files and directories starting with a dot now return 404 unless you set dotfiles to 'allow' explicitly. [github.com](https://github.com/fastify/fastify-static/releases/tag/v11.0.0)

## @fastify/static 10.1.12 breaking changes

@fastify/static 10.1.12, released November 19, 2026: 1 breaking change.

- **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](https://github.com/fastify/fastify-static/releases/tag/v10.1.12)

## @fastify/static 10.1.11 breaking changes

@fastify/static 10.1.11, released November 13, 2026: 1 breaking change.

- **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](https://github.com/fastify/fastify-static/releases/tag/v10.1.11)

## @fastify/static 10.1.10 breaking changes

@fastify/static 10.1.10, released November 4, 2026: 1 breaking change.

- **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](https://github.com/fastify/fastify-static/releases/tag/v10.1.10)

## @fastify/static 10.1.8 breaking changes

@fastify/static 10.1.8, released October 27, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/@fastify/static/v/10.1.8)

## @fastify/static 9.2.0 breaking changes

@fastify/static 9.2.0, released July 8, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/@fastify/static/v/9.2.0)

## Related packages

- [@fastify/busboy](https://since.dev/packages/npm/@fastify/busboy.md)
- [@fastify/rate-limit](https://since.dev/packages/npm/@fastify/rate-limit.md)
- [@fastify/swagger](https://since.dev/packages/npm/@fastify/swagger.md)
- [@fastify/swagger-ui](https://since.dev/packages/npm/@fastify/swagger-ui.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.
