npm / @nestjs/platform-express
@nestjs/platform-express
What changed in @nestjs/platform-express 11 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
4 breaking9 security5 new APIs and options1 behavior and defaults1 tooling1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@nestjs/platform-express 1215 changes
Breaking changes 4
The Express adapter drains in-flight requests during shutdown.
HTTP adapter error mapping has been reworked across the core, Express, and Fastify adapters; verify dependent behavior with tests.
Version 12 requires TypeScript 6 as a peer dependency, so update TypeScript when installing the latest schematics.
A subclass that redeclares its constructor no longer inherits optional markers; missing markers can cause Nest to throw UnknownDependenciesException instead of resolving the parameter as undefined.
Security 3
Nest: Unbounded memory growth in the NestJS TCP microservice transport
Nest: Remote process termination via a deeply nested microservice message pattern
@nestjs/platform-fastify: Path-scoped middleware bypass via absolute-form request targets
New APIs and options 5
The Node adapter is provided by this package, which applications install to run Nest directly on node:http.
Use this platform-specific application interface as the type argument to NestFactory.create().
Pass a NodeAdapter instance to NestFactory.create() to run an application on the Node adapter.
NestApplicationOptions adds opt-in duplicate-route and shadowing policies, allowing Express applications to warn about or reject route conflicts.
NestApplicationOptions adds an opt-in route resolution strategy; setting it to
specificityaddresses order-sensitive route matching on Express.
Behavior and default changes 1
They include Express-style helpers, so most Express middleware works with the Node adapter.
Tooling 1
When npm reports a peer dependency conflict, run this command to update ts-jest and typescript-eslint within their current ranges before retrying the install.
Fixes and other changes 1
Chain withTimeout on the returned attempt to set a timeout for built-in database, microservice, and gRPC indicators.
@nestjs/platform-express 116 changes
Security 6
Nest: Middleware Bypass on Fastify via Trailing Slash
Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)
@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')
Nest Fastify HEAD Request Middleware Bypass
Nest has a Fastify URL Encoding Middleware Bypass
Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)