Packages

@nestjs/common

12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed

Your version

12.1.0

23 Sep 2026Where it was published

12.6.0 is the newest release of 12.x.

In short

1 security2 new5 fixed

  • Security

    common, core, platform-fastify: feat(common,core,fastify): built-in CSRF protection and security headers (@kamilmysliwiec)

Release note

The section about @nestjs/common of a note shared by several packages.

Bug fixes

  • core: fix(core): inherit optional ctor params when the ctor is not redeclared (@kamilmysliwiec)

  • core: fix(core): name the module when metadata entries are invalid (@thekhegay)

Enhancements

  • core: fix(core): do not skip subsequent middleware after a transient one (@lehafari)

  • core: fix(core): preserve route handler names (@Grmiade)

  • common, core: feat(core): add support for array of global prefixes (@micalevisk)

  • common, core: feat(common,core): add built-in, adapter-agnostic cookies (@kamilmysliwiec)

  • common: fix(common): apply the ParseDatePipe default to every missing value (@xia-chao)

  • Security

    common, core, platform-fastify: feat(common,core,fastify): built-in CSRF protection and security headers (@kamilmysliwiec)

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.