---
title: "@nestjs/platform-fastify 12.6.3 Breaking Changes on npm"
description: "What each @nestjs/platform-fastify release removed, renamed or changed: 92 breaking changes in 16 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@nestjs/platform-fastify
last_updated: 2026-12-04
---

# @nestjs/platform-fastify breaking changes

@nestjs/platform-fastify 12.6.3 (November 26, 2026) is its newest release with breaking changes, 7 of them. The first: Route conflict detection matches paths case-insensitively on Express in @nestjs/platform-fastify 12.6.3. Every breaking API change we have recorded in @nestjs/platform-fastify on npm: 92 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `12.6.3`, released November 26, 2026. [Source repository](https://github.com/nestjs/nest)

Its 12.0.0 release requires Node.js 20.19 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [11.2.12](#v-11-2-12) to [12.6.3](#v-12-6-3): 81 breaking changes in 11 versions.
- From [11.2.8](#v-11-2-8) to [12.6.3](#v-12-6-3): 86 breaking changes in 15 versions.

## @nestjs/platform-fastify 12.6.3 breaking changes

@nestjs/platform-fastify 12.6.3, released November 26, 2026: 7 breaking changes.

- **Behavior changed**  

Routes that differ only in letter case, such as GET /users and GET /Users, are now reported as the same route, so duplicate: 'error' aborts bootstrap. Rename or remove one of them. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `@Body`  

With a falsy primitive body ("", 0 or false), @Body('key') now yields undefined instead of the whole body. Code that relied on receiving the whole body must be updated. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `enableCsrfProtection`  

A path excluded without a version in the exclude option of enableCsrfProtection() now also excludes the routes of the default version(s). Check exclusions that relied on the old behavior. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `MiddlewareConsumer.exclude`  

A path excluded without a version in MiddlewareConsumer.exclude() now also excludes the routes of the default version(s), as forRoutes() does. Check exclusions that relied on the old behavior. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `ParseDatePipe`  

Numeric dates without a year such as 2/30 or 4/31, and year-first month-name dates after a weekday, are now rejected. Inputs that were accepted before will now fail validation. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `referrerPolicy.policy`  

An undefined entry in referrerPolicy.policy is now rejected like any other invalid value. Configurations that passed undefined there will now fail. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Signature changed** `FastifyAdapter.render`  

Was render(response: TReply & {view: Function;}, view: string, options: any): FastifyReply\<RouteGenericInterface, RawServerDefault, http.IncomingMessage, http.ServerResponse\<http.IncomingMessage>, unknown, import("fastify").FastifySchema... [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.6.3)

## @nestjs/platform-fastify 12.6.2 breaking changes

@nestjs/platform-fastify 12.6.2, released November 25, 2026: 1 breaking change.

- **Behavior changed** `StreamableFile`  

On Fastify, a StreamableFile answered with status 205 now sends no body. Code that expected a body on 205 responses must change. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.2)

## @nestjs/platform-fastify 12.6.1 breaking changes

@nestjs/platform-fastify 12.6.1, released November 25, 2026: 7 breaking changes.

- **Removed**  

Since @fastify/middie 9.3.7 the Fastify adapter needs Node.js 20.19 or later on the 20 line, or 22.12 or later on the 22 line, so older Node.js versions no longer work. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.1)
- **Behavior changed** `applyDecorators`  

A returned descriptor replaces the method and a returned class replaces the class, as TypeScript does; composed parameter decorators now receive the parameter index. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.1)
- **Behavior changed** `ConsoleLogger`  

redact now also masks Headers, URLSearchParams, FormData, URL credentials and search params, and SuppressedError error fields, which JSON mode now serializes. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.1)
- **Behavior changed** `ParseArrayPipe`  

With stopAtFirstError: false, custom exceptionFactory errors that are not HttpException are collected for every item instead of throwing the first one, as before 12.5.0. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.1)
- **Behavior changed** `ParseDatePipe`  

Dates such as 2/30/2024, Feb 30, 2024 and 4/31/24 that used to roll over are now rejected with an error, so inputs that relied on the rollover must be corrected. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.1)
- **Behavior changed** `ParseEnumPipe`  

For an enum with both a string and a numeric match, '0' now returns '0' instead of 0. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.1)
- **Signature changed** `FastifyAdapter.redirect`  

Was redirect(response: TReply, statusCode: number, url: string): FastifyReply\<RouteGenericInterface, TServer, TRawRequest, TRawResponse, unknown, import("fastify").FastifySchema, import("fastify").FastifyTypeProviderDefault, unknown>; now... [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.6.1)

## @nestjs/platform-fastify 12.6.0 breaking changes

@nestjs/platform-fastify 12.6.0, released November 20, 2026: 8 breaking changes.

- **Behavior changed**  

Routes on host patterns are now compared as patterns, so routes that overlap may now be reported as conflicts. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed**  

Calls still running after gracePeriod are cancelled when the server closes. Raise gracePeriod if you have long-running streams. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed**  

A custom parameter decorator that gives the handler the response object now passes it unchanged and runs no pipe on it, as with @Res(), on every adapter. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed**  

Requests whose target does not start with / (other than \* and absolute-form URLs) now get a 400 FST_ERR_BAD_URL instead of reaching the not-found handler. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `@Res`  

A method that overrides a passthrough handler with a plain @Res() no longer keeps passthrough, so it must set passthrough itself if needed. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `createNestApplication`  

logger: true now keeps the logger instead of turning logging off, and forceConsole: true logs through console, as NestFactory does. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `DiscoveryService`  

Classes that extend a class with a discovery decorator are now found by DiscoveryService, so code that relied on them being missed may change. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `inject`  

A response to HEAD, or a 204 or 304 response, now has no body when using inject(), so code reading those bodies may change. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)

## @nestjs/platform-fastify 12.5.0 breaking changes

@nestjs/platform-fastify 12.5.0, released November 12, 2026: 12 breaking changes.

- **Behavior changed**  

A guard, interceptor or pipe that cannot run now fails the application at startup instead of later. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed**  

Kafka events can no longer request a reply through reply headers, and replies no longer carry them. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed**  

A route upload option set to undefined or null now inherits the module's value; use Infinity to lift a limit. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `ClassSerializerInterceptor`  

Serialization rules such as Exclude, groups and schemas now apply to every object a streamed HTTP response yields. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `enableCsrfProtection`  

A request is excluded from enableCsrfProtection() only when the exclude predicate returns true. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `forRoutes`  

Middleware given to forRoutes() now mounts where the router serves the covered routes, including routes excluded from the global prefix. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `host`  

An empty or unset host now listens on localhost only; set host to '0.0.0.0' or '::' to listen on every interface. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `limits.jsonFieldsSize`  

Fields of a multipart request sent as application/json are now limited to 1 MiB by default; raise limits.jsonFieldsSize for larger fields. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `maxMessageSize`  

Messages and replies decoded as JSON are now limited to 16 MiB by default through maxMessageSize. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Default changed** `maxBufferSize`  

The default TCP maxBufferSize is now 16 Mi characters instead of 128 Mi, in both directions. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @nestjs/platform-fastify 12.3.0 breaking changes

@nestjs/platform-fastify 12.3.0, released October 27, 2026: 1 breaking change.

- **Signature changed** `NestFastifyApplication.listen`  

Was listen(opts: FastifyListenOptions, callback?: (err: Error | null, address: string) => void): Promise\<TServer> listen(opts?: FastifyListenOptions): Promise\<TServer>; now listen(opts: NestFastifyListenOptions, callback?: (err: Error |... [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.3.0)

## Older versions

10 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @nestjs/platform-fastify 12.2.0 breaking changes

@nestjs/platform-fastify 12.2.0, released October 19, 2026: 16 breaking changes.

- **Behavior changed**  

Long pattern keys no longer match any handler; shorten keys to 256 characters or fewer. [github.com](https://github.com/nestjs/nest/releases/tag/v12.2.0)
- **Behavior changed**  

Files uploaded with a request that a pipe rejects are now deleted from storage. [github.com](https://github.com/nestjs/nest/releases/tag/v12.2.0)

And 14 more in this version.

### @nestjs/platform-fastify 12.1.3 breaking changes

@nestjs/platform-fastify 12.1.3, released October 12, 2026: 2 breaking changes.

- **Signature changed** `FastifyAdapter.end`  

Was end(response: TReply, message?: string): void; now end(response: TRawResponse | TReply, message?: string): void. [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.1.3)
- **Signature changed** `FastifyAdapter.isHeadersSent`  

Was isHeadersSent(response: TReply): boolean; now isHeadersSent(response: TRawResponse | TReply): boolean. [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.1.3)

### @nestjs/platform-fastify 12.1.1 breaking changes

@nestjs/platform-fastify 12.1.1, released September 28, 2026: 2 breaking changes.

- **Signature changed** `FastifyAdapter.setViewEngine`  

Was setViewEngine(options: FastifyViewOptions | string): Promise\<any>; now setViewEngine(options: FastifyViewOptions | string): any. [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.1.1)
- **Signature changed** `FastifyAdapter.useStaticAssets`  

Was useStaticAssets(options: FastifyStaticOptions): Promise\<any>; now useStaticAssets(options: FastifyStaticOptions): any. [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.1.1)

### @nestjs/platform-fastify 12.1.0 breaking changes

@nestjs/platform-fastify 12.1.0, released September 23, 2026: 2 breaking changes.

- **Signature changed** `FastifyAdapter.close`  

Was close(): Promise\<undefined>; now close(): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.1.0)
- **Signature changed** `FastifyAdapter.initHttpServer`  

Was initHttpServer(): void; now initHttpServer(options?: NestApplicationOptions): void. [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/12.1.0)

### @nestjs/platform-fastify 12.0.0 breaking changes

@nestjs/platform-fastify 12.0.0, released August 27, 2026: 23 breaking changes.

- **Removed**  

Packages require Node.js v20.19+ or v22.12+; the upgrade command refuses to run on older releases including 21.x. Upgrade Node.js before upgrading Nest. [github.com](https://github.com/nestjs/nest/releases/tag/v12.0.0)
- **Removed**  

Running a Nest 12 application needs Node.js v20.19 or later, or v22.12 or later on the 22.x line. The 21.x line is not supported. [docs.nestjs.com](https://docs.nestjs.com/migration-guide)

And 21 more in this version.

### @nestjs/platform-fastify 11.2.12 breaking changes

@nestjs/platform-fastify 11.2.12, released November 25, 2026: 1 breaking change.

- **Behavior changed**  

Importing the package on earlier 20.x and 22.x Node.js releases fails with ERR_REQUIRE_ESM. Users must run Node.js 20.19 or later, or 22.12 or later. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.12)

### @nestjs/platform-fastify 11.2.11 breaking changes

@nestjs/platform-fastify 11.2.11, released November 18, 2026: 1 breaking change.

- **Behavior changed** `*path`  

Middleware bound to \`\*path\` no longer runs for \`/\`. Bind it to \`{\*path}\` if it must still cover the root path. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.11)

### @nestjs/platform-fastify 11.2.10 breaking changes

@nestjs/platform-fastify 11.2.10, released November 12, 2026: 2 breaking changes.

- **Behavior changed** `@All`  

An @All() route declared above a webdav or search method on the same path now stops the application at startup. Split the routes or change the method declarations. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.10)
- **Signature changed** `FastifyAdapter.getRouteMatchingOptions`  

Was getRouteMatchingOptions(): {caseSensitive: boolean; ignoreTrailingSlash: boolean;}; now getRouteMatchingOptions(): {caseSensitive: boolean; ignoreTrailingSlash: boolean; removesTrailingSlash: boolean; maxParamLength: number... [npmjs.com](https://www.npmjs.com/package/@nestjs/platform-fastify/v/11.2.10)

### @nestjs/platform-fastify 11.2.9 breaking changes

@nestjs/platform-fastify 11.2.9, released November 9, 2026: 1 breaking change.

- **Behavior changed**  

An absolute-form request target with a \`/\` after a query that comes before its path is now answered with 404, and fastify 5.12.8 with find-my-way 9.10.0 routes such targets as \`/\`. Check any client or proxy that sends absolute-form request... [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.9)

### @nestjs/platform-fastify 11.2.8 breaking changes

@nestjs/platform-fastify 11.2.8, released October 23, 2026: 6 breaking changes.

- **Behavior changed**  

Validation of classes now rejects arrays and primitive values that were previously accepted. Make sure request bodies sent to validated classes are objects. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.8)
- **Behavior changed**  

Validation errors no longer include the validated object. Code that reads the object from validation errors must change. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.8)

And 4 more in this version.

## Related packages

- [@nestjs/microservices](https://since.dev/packages/npm/@nestjs/microservices.md)
- [@nestjs/common](https://since.dev/packages/npm/@nestjs/common.md)
- [@nestjs/core](https://since.dev/packages/npm/@nestjs/core.md)
- [@nestjs/testing](https://since.dev/packages/npm/@nestjs/testing.md)
- [@nestjs/platform-express](https://since.dev/packages/npm/@nestjs/platform-express.md)
- [@nestjs/cli](https://since.dev/packages/npm/@nestjs/cli.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.
