npm / @nestjs/platform-fastify
@nestjs/platform-fastify
What changed in @nestjs/platform-fastify 11 to 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-01.
2 breaking9 security1 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@nestjs/platform-fastify 126 changes
Breaking changes 2
Nest packages ship as ESM; CommonJS applications can consume them through require(esm) on supported Node.js versions.
Running a Nest 12 application requires Node.js v20.19+ or v22.12+ on the 22.x line.
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
Behavior and default changes 1
HTTP adapter error mapping has been reworked across the core, Express, and Fastify adapters.
@nestjs/platform-fastify 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)