Packages

@nestjs/common

12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed

Your version

10.0.0

major15 Jun 2023Where it was published

10.4.22 is the newest release of 10.x.

In short

1 breaking8 new6 fixed66 internal

  • Breaking

    ⚠️ Node v12 is no longer supported (>= v16 is required).

Security

1 advisory affects 10.0.0; 10.4.16 fixes them

Release note

Migration guide: docs.nestjs.com/migration-guide

⚠️ Node v12 is no longer supported (>= v16 is required).

Bug fixes

  • core: fix(core): apply middleware to versioned controllers (ctrl-level) (@kamilmysliwiec)

  • core: fix(core): global prefix exclude when versioning is turned on (@kamilmysliwiec)

  • platform-fastify: fix(fastify): validate middleware paths (@kamilmysliwiec)

  • microservices: fix(microservices): allow falsy values in options (@Papooch)

Enhancements

  • platform-express: feat(express): add support for multer.none (@mathewtrivett)

  • common, core, websockets: feat: create method on client to get websocket pattern (@jmcdo29)

  • common: fix(common): loosen http exception cause type (@namoscato)

  • common: fix(common)!: when transforming optional boolean parameters on ValidationPipe (@micalevisk)

  • core: feat(core): middleware runs once for matching route (@rychardvale)

  • core: feat(core): add support to named groups (@elplancton)

  • core: feat: Support async local storage in interceptors (@nordfjord)

  • common, core: feat(core/common): Add @Search decorator to the available HTTP route handlers (@Gustrb)

  • microservices: feat(microservices): enable wildcards in redis microservice patterns (@tijsmoree)

  • common, platform-express, platform-fastify: feat(common)!: narrow getInstance return type for http adapters (@micalevisk)

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.