@nestjs/common
12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed
7.6.18 is the newest release of 7.x.
In short
7 new5 fixed
Security
1 advisory affects 7.5.0; 10.4.16 fixes them
- Moderatenest allows a remote attacker to execute arbitrary code via the Content-Type headerGHSA-cj7v-w2c7-cp7c · 14 Mar 2025Fixed in 10.4.16
Release note
Features
common: support conditional cache TTL value (support async factories) #5366
core: add Server-Sent Events (SSE) support #4842
core: add
abortOnErroroption. When enabled, Nest will rethrow the exception instead of killing the process #5327microservices: pass
GrpcCallreference to call handlers #5143
Improvements
microservices: update Kafka configuration interfaces, add missing options #5443 #5634 #5638
microservices: add
persistentoption #5597 and supporturlsobject #5609 (RabbitMQ)
Bug fixes
common:
expectedTypeshould take precedence overmetatypein theValidationPipe#5605core: use
.toString()as functions representation when serialising dynamic modules metadata #5189core: fix invalid middleware execution order when request-scoped dependencies are being used by a host middleware #5623
microservices: await consumer and producer disconnect operations #5422
microservices: check
replyTochannel presence (NATS) #5530platform-fastify: add missing chaining API to the
inject()method #5628
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.