@nestjs/common
12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed
7.6.18 is the newest release of 7.x.
In short
1 removed8 new1 changed
- Removed
common: remove deprecated
@ReflectMetadatadecorator
Security
1 advisory affects 7.0.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: automatically transform primitives (number, bool) with
ValidationPipe#4110common add
ParseArrayPipeandParseBoolPipe#4113core: exclude middleware by path #3042
core: pass
ExecutionContextto custom decorators #3070
Improvements
core: make built-in exceptions serializable #3053
core: standardize http exception schema #4045
microservices: introduce more descriptive microservices channels #3040
microservices: more lighweight packets (request/response) #3071
Other
- Removed
common: remove deprecated
@ReflectMetadatadecorator graphql: built-in code-first support + CLI plugin #634
Breaking changes
Read more here docs.nestjs.com/migration-guide
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.