---
title: "@nestjs/common 12.5.1: release notes, upgrades and advisories"
description: "@nestjs/common 12.5.1: release notes, breaking changes by major version and 1 known advisory with their fix."
url: https://inlinr.com/packages/@nestjs/common
lang: en
---

[Packages](https://inlinr.com/packages)

# @nestjs/common

12.5.1 · 16 Nov 2026 MIT 26M / week [Repository](https://github.com/nestjs/nest) [Homepage](https://nestjs.com/) [npm](https://www.npmjs.com/package/@nestjs/common) [Atom feed](https://inlinr.com/packages/feed/@nestjs/common)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@nestjs/common/upgrade)

LineNewestSecurity

- 12.x 12.6.0 No known advisory Latest line
- 11.x 11.2.11 Safe from 11.0.16 [To 12.5.1](https://inlinr.com/packages/@nestjs/common/upgrade/11.2.11-12.5.1)
- 10.x 10.4.22 Safe from 10.4.16 [To 12.5.1](https://inlinr.com/packages/@nestjs/common/upgrade/10.4.22-12.5.1)
- 9.x and older 9.4.3 9 open advisories, worst moderate  · last release Jun 2023, no longer updated [To 12.5.1](https://inlinr.com/packages/@nestjs/common/upgrade/9.4.3-12.5.1)

## Latest releases

[All 420 releases](https://inlinr.com/packages/@nestjs/common/releases)

1. 12.x · latest line
2. ### [12.6.0](https://inlinr.com/packages/@nestjs/common/releases/12.6.0 "Open this release") [](https://github.com/nestjs/nest/releases/tag/v12.6.0 "Read this release where it was published")  
20 Nov 2026

  - `NestFactory.create()` infers the application type from the adapter: `NestFactory.create(AppModule, new FastifyAdapter())` returns a `NestFastifyApplication` with no type argument, and the same goes for `ExpressAdapter` and `NodeAdapter`. An explicit type argument still works. A custom adapter declares its application type as the fourth type argument of `AbstractHttpAdapter` – [#18623](https://github.com/nestjs/nest/pull/18623 "https://github.com/nestjs/nest/pull/18623")
  - `WsAdapter` takes `gracefulShutdown` (`false` by default) and `gracePeriod` (10,000 ms by default). With `gracefulShutdown`, closing the application stops accepting connections (an upgrade on a server shared with the HTTP adapter gets a 503), ignores new messages, waits up to `gracePeriod` for message handlers and pending replies, and closes each socket with code 1001 – [#18589](https://github.com/nestjs/nest/pull/18589 "https://github.com/nestjs/nest/pull/18589")
  - gRPC server: `gracePeriod` (10,000 ms by default) for `gracefulShutdown` – [#18566](https://github.com/nestjs/nest/pull/18566 "https://github.com/nestjs/nest/pull/18566")
3. ### [12.5.1](https://inlinr.com/packages/@nestjs/common/releases/12.5.1 "Open this release") [](https://github.com/nestjs/nest/releases/tag/v12.5.1 "Read this release where it was published")  
16 Nov 2026

  - **core:** feat(core): accept module metadata as the root module ([@kamilmysliwiec](https://github.com/kamilmysliwiec "https://github.com/kamilmysliwiec"))
  - **common:** fix(common): reject a date past the end of its month in parse date pipe ([@jaeminbird](https://github.com/jaeminbird "https://github.com/jaeminbird"))
  - **microservices:** fix(microservices): decode each value of a repeated kafka header ([@yuvrajtiwary-bitmesraece](https://github.com/yuvrajtiwary-bitmesraece "https://github.com/yuvrajtiwary-bitmesraece"))
4. ### [12.5.0](https://inlinr.com/packages/@nestjs/common/releases/12.5.0 "Open this release") [](https://github.com/nestjs/nest/releases/tag/v12.5.0 "Read this release where it was published")  
12 Nov 2026

  - `WsAdapter` takes `maxPayload`, the largest message a client may send (1 MB by default, was 100 MB; a gateway's own `maxPayload` takes precedence, `0` lifts the limit); a larger message closes the connection with code 1009 – [109e52cd9b](https://github.com/nestjs/nest/commit/109e52cd9be3cbd59b9a146303f8af754226b9be "https://github.com/nestjs/nest/commit/109e52cd9be3cbd59b9a146303f8af754226b9be")
  - `IoAdapter` takes `maxWaitingMessages`, the number of a client's messages of one event that may wait beyond those being handled (10,000 by default; `Infinity` lifts it) – [c98b5f782e](https://github.com/nestjs/nest/commit/c98b5f782e06c0beb672ebdb8b285cc5beeaaee7 "https://github.com/nestjs/nest/commit/c98b5f782e06c0beb672ebdb8b285cc5beeaaee7")
  - TCP server: `maxConcurrentMessages` (1000 per connection by default; `0` lifts it) – [42c619cd69](https://github.com/nestjs/nest/commit/42c619cd692ddf3557998a1fecca2ecbbbfb1b0c "https://github.com/nestjs/nest/commit/42c619cd692ddf3557998a1fecca2ecbbbfb1b0c")

Dependency tracking

## Know when your own dependencies move

@nestjs/common shipped a new major in the last 12 months, among 54 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/@nestjs/common/security)

- [nest allows a remote attacker to execute arbitrary code via the Content-Type header](https://inlinr.com/advisories/GHSA-cj7v-w2c7-cp7c) Moderate · fixed in 11.0.16, 10.4.16

## Health of 12.5.1

[Details](https://inlinr.com/packages/@nestjs/common/security#signals)

- **Provenance**: None
- **Publisher**: nestjscore
- **Maintainers**: 1
- **Scorecard**: 6.8 / 10
- **Size**: 605 kB

## Weekly downloads

## Works with

- [rxjs](https://inlinr.com/packages/rxjs)
- [reflect-metadata](https://inlinr.com/packages/reflect-metadata)
- [class-validator optional](https://inlinr.com/packages/class-validator)
- [class-transformer optional](https://inlinr.com/packages/class-transformer)

## Same family

- [@nestjs/core 25.4M/wk](https://inlinr.com/packages/@nestjs/core)
- [@nestjs/platform-express 17.5M/wk](https://inlinr.com/packages/@nestjs/platform-express)
- [@nestjs/mapped-types 14.1M/wk](https://inlinr.com/packages/@nestjs/mapped-types)
- [@nestjs/config 12.8M/wk](https://inlinr.com/packages/@nestjs/config)
- [@nestjs/cli 12.8M/wk](https://inlinr.com/packages/@nestjs/cli)
- [@nestjs/schedule 7.3M/wk](https://inlinr.com/packages/@nestjs/schedule)
- [@nestjs/axios 7.1M/wk](https://inlinr.com/packages/@nestjs/axios)
- [@nestjs/bull-shared 3.8M/wk](https://inlinr.com/packages/@nestjs/bull-shared)

Registry facts last checked 18 Nov 2026\. Releases and advisories last read 23 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
