v11.1.15

nestjs/nestv11.1.15Mar 3, 2026by kamilmysliwiec

AI Summary

This patch release improves microservices pattern matching logic and introduces limits on pattern depth and object complexity to prevent crashes.

Key Highlights

  • Fixed microservices pattern matching logic (indexOf).
  • Introduced max pattern depth and object complexity limits.
  • Security update for `@fastify/middie` and `multer`.

Full Release Notes

## What's Changed
* fix(microservices): if indexOf return 0 will if will be falsy by @cuiweixie in https://github.com/nestjs/nest/pull/16401
* fix(microservices): introuduce max pattern depth and object complexity by @kamilmysliwiec in https://github.com/nestjs/nest/pull/16402
* chore(@nestjs/core): allow override for initializeWildcardHandlersIfE… by @StNekroman in https://github.com/nestjs/nest/pull/16468
* chore(deps): update dependency @fastify/middie to v9.2.0 [security] by @renovate[bot] in https://github.com/nestjs/nest/pull/16472
* fix(deps): update dependency multer to v2.1.0 [security] by @renovate[bot] in https://github.com/nestjs/nest/pull/16474

## New Contributors
* @cuiweixie made their first contribution in https://github.com/nestjs/nest/pull/16401
* @StNekroman made their first contribution in https://github.com/nestjs/nest/pull/16468

**Full Changelog**: https://github.com/nestjs/nest/compare/v11.1.14...v11.1.15