Packages

@nestjs/common

12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed

Your version

12.1.3

12 Oct 2026Where it was published

12.6.0 is the newest release of 12.x.

In short

33 fixed

Release note

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

Bug fixes

  • core, microservices: fix(core,microservices): flush buffered logs when initialization fails (@thekhegay)

  • core, microservices: fix(core,microservices): run transient global enhancers on controllers (@johnnyhuirilef)

  • core: fix(core): fail at startup for request-scoped class global enhancers (@thekhegay)

  • core: fix(core): stop silently dropping request-scoped global enhancers (@OmBhandwaldar)

  • core: fix(core): resolve uri versioned exclusions for the not-found handler (@basteez)

  • core: fix(core): normalize slashes when mapping controllers for middleware (@basteez)

  • core: fix(core): do not mutate the message when assigning an sse event id (@Metehan-Bicer)

  • core: fix(core): end sse streams whose event data cannot be serialized (@OmBhandwaldar)

  • core: fix(core): send status and headers set by handlers on sse responses (@johnnyhuirilef)

  • core: fix(core): honor a shutdown signal received while close() is in flight (@maxymlyskov)

  • core: fix(core): settle SSE lifecycle on early disconnect (@jackie-cqz)

  • core: fix(core): commit SSE headers for empty streams (@jackie-cqz)

  • core: fix(core): preserve explicit null values in reflectable decorators (@gophersg)

  • core: fix(core): run the shutdown sequence after a failed init (@kamilmysliwiec)

  • core: fix(core): send the expires header on sse responses (@Mohamed-Elshesheny)

  • core: fix(core): honor global prefix exclusions for overlapping versions (@Chaoqi31)

  • core: fix(core): let a GET middleware exclusion cover HEAD requests (@Chaoqi31)

  • core: fix(core): reset the listening state when the application closes (@Chaoqi31)

  • core: fix(core): hash Map, Set and RegExp options in deep-hash tokens (@Chaoqi31)

  • core: fix(core): treat VERSION_NEUTRAL in middleware routes as no version (@Chaoqi31)

  • core: fix(core): turn off express x-powered-by in useSecurityHeaders() (@Chaoqi31)

  • core: fix(core): name dynamic host modules in import error messages (@Chaoqi31)

  • core: fix(core): isolate nested transient providers injected into properties (@Chaoqi31)

  • common: fix(common): keep custom decorator data that has schema or pipes keys (@Ahmad-Mosha)

  • common: fix(common): reject arrays nested in ParseArrayPipe items (@KAPUIST)

  • common: fix(common): collect configurable module alias dependencies (@jackie-cqz)

  • common: fix(common): isolate file type regexp state (@jackie-cqz)

  • common: fix(common): preserve parent validation constraints (@jackie-cqz)

  • common: fix(common): let a redeclared @Inject() property replace the parent's (@Chaoqi31)

  • common: fix(common): keep inherited @Optional() properties optional (@Chaoqi31)

  • common, core, platform-express: fix(common,core,express): answer method miss on an excluded route (@thekhegay)

  • core, websockets: fix(websockets): resolve global scoped enhancers per connection (@jackie-cqz)

  • core, testing: fix(core): take the scope of the class in useClass() overrides (@Chaoqi31)

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.