Packages

@nestjs/common

12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed

Your version

7.0.0

major13 Mar 2020Where it was published

7.6.18 is the newest release of 7.x.

In short

1 removed8 new1 changed

  • Removed

    common: remove deprecated @ReflectMetadata decorator

Security

1 advisory affects 7.0.0; 10.4.16 fixes them

Release note

Features

  • common: automatically transform primitives (number, bool) with ValidationPipe #4110

  • common add ParseArrayPipe and ParseBoolPipe #4113

  • core: exclude middleware by path #3042

  • core: pass ExecutionContext to 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 @ReflectMetadata decorator

  • 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.