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

# @nestjs/core breaking changes

@nestjs/core 12.6.3 (November 26, 2026) is its newest release with breaking changes, 7 of them. The first: Route conflicts are detected case-insensitively on Express in @nestjs/core 12.6.3. Every breaking API change we have recorded in @nestjs/core on npm: 205 breaking changes in 22 versions. Below, its 22 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): 128 breaking changes in 11 versions.
- From [10.0.0](#v-10-0-0) to [12.6.3](#v-12-6-3): 188 breaking changes in 21 versions.

## @nestjs/core 12.6.3 breaking changes

@nestjs/core 12.6.3, released November 26, 2026: 7 breaking changes.

- **Behavior changed**  

On Express, GET /users and GET /Users are now reported as the same route, so duplicate: 'error' can abort bootstrap. Rename one of the routes if both were intended. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `@Body`  

With a falsy primitive body such as an empty string, 0 or false, @Body('key') now returns undefined instead of the whole body. Code that read the whole body in this case must change. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `app.listen`  

With Fastify, the third argument of app.listen(port, host, ...) is now passed as the backlog rather than the callback. Code that passed a callback there must move it. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)
- **Behavior changed** `enableCsrfProtection`  

A path listed in the exclude option of enableCsrfProtection() without a version now also covers 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 covers 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`  

ParseDatePipe now rejects a day past the end of its month in a numeric date without a year, such as 2/30 or 2/29, and in year-first month-name dates after a weekday. Inputs that were accepted before now fail. [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 must be changed. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.3)

## @nestjs/core 12.6.2 breaking changes

@nestjs/core 12.6.2, released November 25, 2026: 2 breaking changes.

- **Behavior changed** `ParseDatePipe`  

ParseDatePipe rejects dates such as Feb 30 or Sep 31 and Feb 29 that were previously accepted. Inputs like these must be corrected. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.2)
- **Behavior changed** `StreamableFile`  

A StreamableFile answered with status 204, 205 or 304 no longer sends a body and the stream is not read on Express and Node. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.2)

## @nestjs/core 12.6.1 breaking changes

@nestjs/core 12.6.1, released November 25, 2026: 5 breaking changes.

- **Behavior changed** `applyDecorators`  

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

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

Dates such as 2/30/2024 or Feb 30, 2024 that new Date() would roll over are now rejected. Code that relied on such inputs being accepted must handle the error. [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** `NestContainer.replace`  

Was replace(toReplace: any, options: {scope: any\[\] | null;}): void; now replace(toReplace: any, options: {scope: any\[\] | null; isProvider?: boolean;}): void. [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/12.6.1)

## @nestjs/core 12.6.0 breaking changes

@nestjs/core 12.6.0, released November 20, 2026: 14 breaking changes.

- **Behavior changed**  

Kafka, MQTT, Redis and RabbitMQ clients now reject pending requests with Connection closed where they used to leave them waiting. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed**  

Gateways now refuse new clients as soon as the application starts closing. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed**  

listen() now fails with Connection closed when the server is closed before its client connects, instead of starting. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed**  

Routes on host patterns like :tenant.example.com may now be reported as conflicting, which can fail startup for existing apps. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed**  

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

A method overriding a passthrough @Res handler with a plain @Res() no longer inherits passthrough. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `createNestApplication`  

logger: true now keeps logging on in the testing module's createNestApplication(), where it used to turn logging off. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `createNestMicroservice`  

forceConsole: true now logs through console in the testing module's createNestMicroservice(). [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `gracefulShutdown`  

Calls still running when the grace period ends are now cancelled instead of waited on without limit. Raise gracePeriod for long-running streams. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)
- **Behavior changed** `gracePeriod`  

Closing the Kafka server now waits for in-progress replies, for gracePeriod (10 s by default) at most, after the consumer disconnects. [github.com](https://github.com/nestjs/nest/releases/tag/v12.6.0)

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

## @nestjs/core 12.5.1 breaking changes

@nestjs/core 12.5.1, released November 16, 2026: 2 breaking changes.

- **Behavior changed**  

The parse date pipe now rejects a date such as February 30 instead of accepting it. Code that relied on the old rollover behavior must validate its input differently. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.1)
- **Signature changed** `IEntryNestModule`  

Was type IEntryNestModule = Type\<any> | DynamicModule | ForwardReference | Promise\<IEntryNestModule>; now type IEntryNestModule = Type\<any> | DynamicModule | ForwardReference | ModuleMetadata | Promise\<IEntryNestModule>. [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/12.5.1)

## @nestjs/core 12.5.0 breaking changes

@nestjs/core 12.5.0, released November 12, 2026: 15 breaking changes.

- **Behavior changed**  

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

A route that sets an upload option to undefined or null now inherits the module's value instead of its own; use Infinity to lift a limit. [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 include them, so code relying on those headers must change. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `ClassSerializerInterceptor`  

ClassSerializerInterceptor serializes every object a streamed HTTP response yields, so Exclude, groups and schemas now apply to each NDJSON line. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `enableCsrfProtection`  

The exclude predicate of enableCsrfProtection now excludes a request only when it returns true, so truthy non-boolean results no longer skip the check. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `forRoutes`  

Middleware given to forRoutes is now mounted 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 listens on localhost only; set host to 0.0.0.0 or :: to accept connections on every interface. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `maxMessageSize`  

Messages and replies decoded as JSON are now capped at 16 MiB by default; set maxMessageSize to raise or lift the limit. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `maxPendingResponses`  

A streaming call whose client leaves responses unread now fails with RESOURCE_EXHAUSTED after 1000 pending responses by default; set maxPendingResponses to raise the limit or 0 to disable. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)
- **Behavior changed** `maxWildcardChannelLength`  

Requests matched through a wildcard subscription are now limited to 1024 characters by default; set the option to 0 to disable the limit. [github.com](https://github.com/nestjs/nest/releases/tag/v12.5.0)

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

## Older versions

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

### @nestjs/core 12.4.1 breaking changes

@nestjs/core 12.4.1, released November 9, 2026: 7 breaking changes.

- **Signature changed** `internal:DependenciesScanner.insertModule`  

Was insertModule(moduleDefinition: any, scope: Type\<unknown>\[\]): Promise<{moduleRef: Module; inserted: boolean;} | undefined>; now insertModule(moduleDefinition: any, scope: Type\<unknown>\[\], insertedModules?: Module\[\]): Promise<{moduleRef... [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/12.4.1)
- **Signature changed** `internal:DependenciesScanner.scanForModules`  

Was scanForModules({moduleDefinition, lazy, scope, ctxRegistry, overrides}: ModulesScanParameters): Promise\<Module\[\]>; now scanForModules({moduleDefinition, lazy, scope, ctxRegistry, overrides, insertedModules}: ModulesScanParameters)... [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/12.4.1)

And 5 more in this version.

### @nestjs/core 12.2.0 breaking changes

@nestjs/core 12.2.0, released October 19, 2026: 22 breaking changes.

- **Behavior changed**  

A global enhancer the injector cannot instantiate stops the application at startup. [github.com](https://github.com/nestjs/nest/releases/tag/v12.2.0)
- **Behavior changed**  

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

And 20 more in this version.

### @nestjs/core 12.1.3 breaking changes

@nestjs/core 12.1.3, released October 12, 2026: 5 breaking changes.

- **Behavior changed**  

Request-scoped class global enhancers used to be silently ignored; now application startup fails for them. Move such enhancers to a non-request scope or register them another way. [github.com](https://github.com/nestjs/nest/releases/tag/v12.1.3)
- **Behavior changed** `ParseArrayPipe`  

Nested arrays in ParseArrayPipe items are now rejected instead of accepted. Code that relied on nested arrays passing validation must be adjusted. [github.com](https://github.com/nestjs/nest/releases/tag/v12.1.3)

And 3 more in this version.

### @nestjs/core 12.1.0 breaking changes

@nestjs/core 12.1.0, released September 23, 2026: 1 breaking change.

- **Behavior changed** `ParseDatePipe`  

The ParseDatePipe default value is now applied to every missing value, so code that relied on missing values staying undefined may see different results. [github.com](https://github.com/nestjs/nest/releases/tag/v12.1.0)

### @nestjs/core 12.0.0 breaking changes

@nestjs/core 12.0.0, released August 27, 2026: 48 breaking changes.

- **Removed**  

Nest 12 requires Node.js v20.19+ or v22.12+; the 21.x line is not supported. Upgrade Node.js before upgrading. [github.com](https://github.com/nestjs/nest/releases/tag/v12.0.0)
- **Removed**  

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

And 46 more in this version.

### @nestjs/core 11.2.12 breaking changes

@nestjs/core 11.2.12, released November 25, 2026: 1 breaking change.

- **Removed**  

@nestjs/platform-fastify 11.2.12 needs Node.js 20.19+ or 22.12+. On earlier 20.x and 22.x releases, importing it fails with ERR_REQUIRE_ESM, so upgrade Node.js first. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.12)

### @nestjs/core 11.2.10 breaking changes

@nestjs/core 11.2.10, released November 12, 2026: 6 breaking changes.

- **Behavior changed**  

A guard, interceptor or pipe binding that cannot run now stops the application at startup. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.10)
- **Behavior changed**  

An invalid middleware target now stops the application at startup, so such entries must be corrected. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.10)

And 4 more in this version.

### @nestjs/core 11.2.8 breaking changes

@nestjs/core 11.2.8, released October 23, 2026: 5 breaking changes.

- **Behavior changed**  

Global enhancers whose dependency tree is request-scoped were silently skipped before and now run. Code that relied on them being skipped will now see them execute. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.8)
- **Behavior changed**  

Middleware with transient scope was previously skipped and is now mounted, which also mounts middleware listed after a transient one. [github.com](https://github.com/nestjs/nest/releases/tag/v11.2.8)

And 3 more in this version.

### @nestjs/core 11.1.13 breaking changes

@nestjs/core 11.1.13, released February 3, 2026: 1 breaking change.

- **Signature changed** `repl`  

Was function repl(module: Type | DynamicModule, replOptions?: ReplOptions): Promise\<import("repl").REPLServer>; now function repl(module: Type | DynamicModule, replOptions?: ReplOptions): Promise\<import("node:repl").REPLServer>. [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/11.1.13)

### @nestjs/core 11.1.10 breaking changes

@nestjs/core 11.1.10, released December 22, 2025: 2 breaking changes.

- **Signature changed** `NestApplicationContext.enableShutdownHooks`  

Was enableShutdownHooks(signals?: (ShutdownSignal | string)\[\]): this; now enableShutdownHooks(signals?: (ShutdownSignal | string)\[\], options?: ShutdownHooksOptions): this. [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/11.1.10)
- **Signature changed** `NestApplicationContext.listenToShutdownSignals`  

Was protected listenToShutdownSignals(signals: string\[\]): void; now protected listenToShutdownSignals(signals: string\[\], options?: ShutdownHooksOptions): void. [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/11.1.10)

### @nestjs/core 11.1.9 breaking changes

@nestjs/core 11.1.9, released November 14, 2025: 1 breaking change.

- **Behavior changed** `get`  

Calling get() on a provider in an implicitly request-scoped tree now throws instead of returning a value. Code relying on the old lookup must use resolve() or adjust its scoping. [github.com](https://github.com/nestjs/nest/releases/tag/v11.1.9)

### @nestjs/core 11.1.4 breaking changes

@nestjs/core 11.1.4, released July 16, 2025: 1 breaking change.

- **Default changed** `RMQ_DEFAULT_QUEUE`  

The RMQ_DEFAULT_QUEUE constant was changed to an empty string. Code that relied on the previous default queue name must set the queue explicitly. [github.com](https://github.com/nestjs/nest/releases/tag/v11.1.4)

### @nestjs/core 11.0.0 breaking changes

@nestjs/core 11.0.0, released January 16, 2025: 41 breaking changes.

- **Removed**  

Exporting promises from modules is no longer supported. Export the resolved values or classes directly instead. [github.com](https://github.com/nestjs/nest/releases/tag/v11.0.0)
- **Removed**  

Nest 12 applications need Node.js v20.19+ or v22.12+ on the 22.x line. The 21.x line is not supported. [docs.nestjs.com](https://docs.nestjs.com/migration-guide)

And 39 more in this version.

### @nestjs/core 10.4.2 breaking changes

@nestjs/core 10.4.2, released September 16, 2024: 1 breaking change.

- **Signature changed** `SerializedGraph.insertEdge`  

Was insertEdge(edgeDefinition: WithOptionalId\<Edge>): {id: string; metadata: ({type: "module-to-module";} & {sourceModuleName: string; targetModuleName: string;}) | ({type: "class-to-class"; sourceClassName: string; targetClassName... [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/10.4.2)

### @nestjs/core 10.3.2 breaking changes

@nestjs/core 10.3.2, released February 7, 2024: 1 breaking change.

- **Signature changed** `AbstractHttpAdapter.search`  

Was search(port: string | number, callback?: () => void): any search(port: string | number, hostname: string, callback?: () => void): any; now search(handler: RequestHandler): any search(path: any, handler: RequestHandler): any. [npmjs.com](https://www.npmjs.com/package/@nestjs/core/v/10.3.2)

### @nestjs/core 10.0.0 breaking changes

@nestjs/core 10.0.0, released June 15, 2023: 17 breaking changes.

- **Removed**  

Node v12 is no longer supported, so users must run Node v16 or later. [github.com](https://github.com/nestjs/nest/releases/tag/v10.0.0)
- **Removed** `angular schematic`  

The CLI no longer ships the angular schematic. [docs.nestjs.com](https://docs.nestjs.com/migration-guide)

And 15 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/platform-fastify](https://since.dev/packages/npm/@nestjs/platform-fastify.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.
