NestJS v12.1.3

v12.1.3
Fixed 20
  • Flush buffered logs when application initialization fails
  • Run transient global enhancers on controllers
  • Guard async request hook completion in the Express platform
  • Destroy the StreamableFile source when the client disconnects
  • Run wildcard middleware on the bare global prefix path in Express
  • Fail at startup for request-scoped class global enhancers behavior changed · inferred, marked in the notes below

3 changes to check, marked in the notes below

From NestJS

v12.1.3 (2026-10-12)
Bug fixes
  • core, microservices
    • #18111 fix(core,microservices): flush buffered logs when initialization fails (@thekhegay)
    • #17993 fix(core,microservices): run transient global enhancers on controllers (@johnnyhuirilef)
  • platform-express
    • #18110 fix(express): guard async request hook completion (@GiHoon1123)
    • #17973 fix(express): destroy the StreamableFile source on client disconnect (@maxymlyskov)
    • #17942 fix(express): run wildcard middleware on the bare global prefix path (@Chaoqi31)
  • core
    • #18104 fix(core): fail at startup for request-scoped class global enhancers (@thekhegay) behavior changed · inferred
    • #18066 fix(core): stop silently dropping request-scoped global enhancers (@OmBhandwaldar)
    • #18072 fix(core): resolve uri versioned exclusions for the not-found handler (@basteez)
    • #18075 fix(core): normalize slashes when mapping controllers for middleware (@basteez)
    • #18086 fix(core): do not mutate the message when assigning an sse event id (@Metehan-Bicer)
    • #18025 fix(core): end sse streams whose event data cannot be serialized (@OmBhandwaldar)
    • #18011 fix(core): send status and headers set by handlers on sse responses (@johnnyhuirilef)
    • #18021 fix(core): honor a shutdown signal received while close() is in flight (@maxymlyskov)
    • #17987 fix(core): settle SSE lifecycle on early disconnect (@jackie-cqz)
    • #17986 fix(core): commit SSE headers for empty streams (@jackie-cqz)
    • #17978 fix(core): preserve explicit null values in reflectable decorators (@gophersg)
    • #17966 fix(core): run the shutdown sequence after a failed init (@kamilmysliwiec)
    • #17963 fix(core): send the expires header on sse responses (@Mohamed-Elshesheny)
    • #17953 fix(core): honor global prefix exclusions for overlapping versions (@Chaoqi31)
    • #17950 fix(core): let a GET middleware exclusion cover HEAD requests (@Chaoqi31)
    • #17951 fix(core): reset the listening state when the application closes (@Chaoqi31)
    • #17945 fix(core): hash Map, Set and RegExp options in deep-hash tokens (@Chaoqi31)
    • #17947 fix(core): treat VERSION_NEUTRAL in middleware routes as no version (@Chaoqi31)
    • #17941 fix(core): turn off express x-powered-by in useSecurityHeaders() (@Chaoqi31)
    • #17939 fix(core): name dynamic host modules in import error messages (@Chaoqi31)
    • #17940 fix(core): isolate nested transient providers injected into properties (@Chaoqi31)
  • microservices
  • platform-fastify
  • common
    • #18090 fix(common): keep custom decorator data that has schema or pipes keys (@Ahmad-Mosha)
    • #18073 fix(common): reject arrays nested in ParseArrayPipe items (@KAPUIST) behavior changed · inferred
    • #17999 fix(common): collect configurable module alias dependencies (@jackie-cqz)
    • #17983 fix(common): isolate file type regexp state (@jackie-cqz)
    • #17982 fix(common): preserve parent validation constraints (@jackie-cqz)
    • #17949 fix(common): let a redeclared @Inject() property replace the parent's (@Chaoqi31)
    • #17944 fix(common): keep inherited @Optional() properties optional (@Chaoqi31)
  • microservices, websockets
    • #18084 fix(websockets, microservices): fallback to 'Error' for minified exception class names (@korrayt)
  • websockets
    • #18088 fix(websockets): copy the options object in the base ws exception filter (@Mihir-Rabari)
    • #18089 fix(websockets): log scoped gateway resolution errors without a hook (@basteez)
    • #18048 fix(websockets): pass gateway lifecycle hook errors to exception filters (@kamilmysliwiec)
    • #18046 fix(websockets): pass the pattern when a scoped handler fails to resolve (@kamilmysliwiec)
    • #18044 fix(websockets): use the hook name as pattern for request-scoped hooks (@OmBhandwaldar)
    • #17985 fix(websockets): retain shared contexts during disconnect hooks (@jackie-cqz)
  • common, core, platform-express
    • #17923 fix(common,core,express): answer method miss on an excluded route (@thekhegay)
  • platform-ws
  • core, websockets
    • #17979 fix(websockets): resolve global scoped enhancers per connection (@jackie-cqz)
  • core, testing
    • #17952 fix(core): take the scope of the class in useClass() overrides (@Chaoqi31)
Enhancements
  • platform-express, platform-fastify
    • #18074 feat(express,fastify): add field nesting and array index upload limits (@KAPUIST)
Docs
Dependencies
Committers: 23
View original

Upgraded? How did it go?

Discussion