Skip to content
All news
ReleaseAI-written

NestJS 11.2.11 preserves sparse array length in default value pipe

NestJS 11.2.11 adds sparse array length preservation in the default value pipe, retains Nest functions in the REPL after a .clear command, and updates platform‑fastify so middleware bound to "path" no longer runs for the root path "/" while "{path}" still matches it.

NestJS version 11.2.11 was published on 2026-11-18. The release focuses on bug fixes and a dependency update.

The @nestjs/common package now preserves sparse array length in the default value pipe. This behavior was backported from issue #18551 and ensures that arrays with empty slots retain their original length when processed by the pipe.

The @nestjs/core package keeps Nest functions available in the REPL after the .clear command. This change was backported from issue #18547, allowing developers to continue using previously defined functions without re‑entering them.

The @nestjs/platform-fastify package updates its @fastify/middie dependency to version 9.3.6, backported from issue #18219. With this update, middleware bound to "*path" no longer runs for the root path "/", while routes using "{*path}" still match the root.

  • Published on 2026-11-18.
  • Full changelog comparing v11.2.10 to v11.2.11 is available at https://github.com/nestjs/nest/compare/v11.2.10...v11.2.11.