Skip to main content

NestJS 12.3.0

Release Date: October 27, 2026

NestJS 12.3.0 landed on October 27, 2026. One new feature. Around thirty fixes. Most of them are adapter work.

Feature

A native Node HTTP platform adapter ships as @nestjs/platform-node (#18063), so the framework can run on the built-in HTTP server without an Express or Fastify dependency underneath.

HTTP Adapters

  • http-errors mapping — the Express adapter maps http-errors exceptions to HttpException (#18214), and the Fastify adapter maps the 4xx cases (#18239). Both adapters now leave 5xx http-errors errors unmapped so they reach the logger (#18232, #18240).
  • Multipart rejection — unsupported multipart content types return 415 instead of an ambiguous failure (#18264).
  • Empty streamable files — a HEAD response is ended correctly when the streamable file has no content (#18234), and a stream that fails midway aborts the response instead of leaving it open (#18220).
  • Fastify details — object error bodies are sent with a JSON content type (#18253), the server can listen on a file descriptor (#18226), and CORS runs before Nest middleware (#18217).
  • Exception bodies — an exception wrapping another error sends the standard body (#18199).

Core

  • Version-only route collisions — middleware runs once for routes that differ only in version (#18276).
  • Discovery decorators — classes are discovered through each of their decorators rather than the first match (#18235).
  • Middleware exclusions — exclusions now cover prefix-excluded routes (#18209) and read quoted media type versions (#18201).
  • Request scope — request-scoped forward references resolve for concurrent requests (#18200).
  • RxJS interop — handler observables from a second copy of RxJS are subscribed correctly (#18215).
  • Misc — abortOnError passed to select() is honored (#18210), the URL protocol is read from the server (#18252), undefined module entries name their array index (#18254), and SSE request sockets without tuning methods no longer fail (#18262).

Common and Microservices

  • File type errors report the detected type (#18289), and arrow prototype constructors no longer throw (#18246).
  • Bundler visibility — platform-ws and microservices load their packages where bundlers can see them (#18285).
  • Redis retries are re-armed on a new listen (#18250). TCP servers retry after close and listen (#18238).
  • NATS reports a connection that gave up reconnecting (#18255). Kafka requesters stop receiving a trailing null (#18249). Retriable exceptions keep travelling through the pipeline (#18256).

Install with npm install @nestjs/[email protected] and bump @nestjs/platform-express or @nestjs/platform-fastify to the same version. @nestjs/platform-node is new and needs no migration.

Other Versions

We use cookies for ads and analytics.