@nestjs/common
12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed
Upgrading @nestjs/common From 10.0.0 to 12.5.1
137 releases in betweennotes for 95
Counted from 95 of 137 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking12.2.0
- Breaking11.1.29
- Breaking11.0.0
- Deprecated12.2.0
Security
Fixes 1 advisory affecting 10.0.0
- nest allows a remote attacker to execute arbitrary code via the Content-Type headermoderate · GHSA-cj7v-w2c7-cp7c
- 12.3.0
platform-express: fix(deps): update dependency multer to v2.5.0 [security] (@renovate[bot])
- 12.1.0
common, core, platform-fastify: feat(common,core,fastify): built-in CSRF protection and security headers (@kamilmysliwiec)
- 11.2.9
@nestjs/platform-express: fix(deps): update dependency multer to v2.5.0 — resolves GHSA-q7qp-rjg7-q26m
- 11.2.6
@nestjs/platform-express: fix(deps): update dependency multer to v2.4.0 [security] — fixes CVE-2026-88932 (GHSA-3pph-fpjx-jg34)
- 11.1.28
platform-express: fix(deps): update dependency multer to v2.2.0 [security] (@renovate[bot])
- 11.0.21
platform-fastify: fix(deps): update dependency fastify to v5.3.2 [security] (@renovate[bot])
- 10.4.22
express: Update body-parser to 1.20.4 for CVE-2025-15284
- 10.4.21
express: Update express to 4.22.1 to address CVE-2025-15284
Release by release
- New
core: feat(core): accept module metadata as the root module (@kamilmysliwiec)
- New
microservices: feat(microservices): graceful shutdown for the rmq server (@samuelmbabhazi)
- New
microservices: feat(microservices): graceful shutdown for the tcp server (@samuelmbabhazi)
- New
microservices: feat(microservices): graceful shutdown for the mqtt server (@samuelmbabhazi)
- New
- Fixed
platform-fastify: fix(fastify): fail an object-mode file stream on a non-bytes chunk (@kamilmysliwiec)
- Fixed
platform-fastify: fix(fastify): release file streams of pipelined requests on close (@kamilmysliwiec)
- Fixed
platform-fastify: fix(fastify): handle a failed file stream on a raw response (@kamilmysliwiec)
- Fixed
platform-fastify: fix(fastify): match routes whose parameter names the router misreads (@kamilmysliwiec)
- Fixed
12.4.2no release note
- New
platform-node: feat(node): inject requests into the node adapter like the fastify one (@thekhegay)
- New
platform-node: feat(node): set req.route on the node adapter like express does (@thekhegay)
- Fixed
core: fix(core): roll back modules on failed lazy load (@Asadshah7950)
- Fixed
common, core: fix(core,common): warn when decorator metadata is missing (@kamilmysliwiec)
- New
- New
common, core: feat(core,common): send a web response or stream a handler returns (@kamilmysliwiec)
- Fixed
common: fix(common): keep the fields of grouped item errors in parse array pipe (@pavstev)
- Fixed
common: fix(common): keep console logger from mutating the caller options (@pavstev)
- Fixed
core, testing: fix(core): apply a provider override whose value is undefined (@pavstev)
- Fixed
core: fix(core): run middleware on subpaths next to an all-methods route (@beyondwin)
- Fixed
core: fix(core): cache external handler metadata per context type (@kamilmysliwiec)
- New
12.3.1 – 12.3.33 releases, no release note
- Security
platform-express: fix(deps): update dependency multer to v2.5.0 [security] (@renovate[bot])
- Fixed
common: fix(common): report the detected file type in file type errors (@DenisCDev)
- Fixed
common: fix(common): avoid throwing for arrow prototype constructors (@fengxueweilai)
- Fixed
common: fix(common): abort the response when a streamable file fails midway (@thekhegay)
- Security
- Breaking
FileTypeValidatormatches a stringfileTypeup to the end of a name (e.g.font/woffno longer acceptsfont/woff2; use a RegExp for that) – 770c6f1a19 - Deprecated
microservices: feat(microservices): deprecate event handlers replying to send() (@kamilmysliwiec)
- New
core: perf(core): resolve route params without a promise when no pipe runs (@thekhegay)
- New
core: perf(core): avoid AsyncResource.bind() per request in the interceptor chain (@thekhegay)
- Breaking
102 other lines we could not sort, mostly version bumps
- 12.5.0
WsAdaptertakesmaxPayload, the largest message a client may send (1 MB by default, was 100 MB; a gateway's ownmaxPayloadtakes precedence,0lifts the limit); a larger message closes the connection with code 1009 – 109e52cd9b - 12.5.0
IoAdaptertakesmaxWaitingMessages, the number of a client's messages of one event that may wait beyond those being handled (10,000 by default;Infinitylifts it) – c98b5f782e - 12.5.0
TCP server:
maxConcurrentMessages(1000 per connection by default;0lifts it) – 42c619cd69 - 12.5.0
gRPC server:
maxPendingResponses(1000 by default;0disables), after which a streaming call whose client leaves its responses unread fails withRESOURCE_EXHAUSTED– ce6d44d858 - 12.5.0
Redis server:
maxWildcardChannelLength(1024 characters by default;0disables) for requests matched through a wildcard subscription – 074dcf7c60 - 12.5.0
RabbitMQ:
maxMessageSize(16 MiB by default) for messages and replies decoded as JSON – da6b3fc5bc - 12.5.0
@nestjs/platform-fastify: multipartlimits.jsonFieldsSize(1 MiB by default) for the fields of a request sent asapplication/json– 958316696f - 12.5.0
TCP:
maxBufferSizedefaults to 16 Mi characters (was 128 Mi), in both directions – 55da0b0d33 – and now applies to each packet rather than to everything received in one read, so a burst of small packets no longer closes the connection (#18502) – ce285e6ad3 - 12.5.0
TCP server: an empty or unset
hostnow listens on localhost; sethost: '0.0.0.0'(or'::') to listen on every interface – 4196d3655d - 12.5.0
@nestjs/platform-express,@nestjs/platform-node: multipart requests default to at most 1000 parts, which also caps afields,filesormaxCountabove 1000 unlesslimits.partsis raised – b2bbc17122
833 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.