v11.1.18

nestjs/nestv11.1.18Apr 3, 2026by kamilmysliwiec

AI Summary

This patch release fixes microservices packet header preservation in NATS serialization and resolves core injector hang issues caused by missing design:paramtypes.

Key Highlights

  • Fixed NATS serializer preserving packet headers.
  • Fixed injector hang when `design:paramtypes` is missing.
  • Updated dependencies for Fastify, path-to-regexp, and ws.

Full Release Notes

## v11.1.18 (2026-04-03)

#### Bug fixes
* `microservices`
  * [#16675](https://github.com/nestjs/nest/pull/16675) fix(microservices): preserve packet headers in nats serializer ([@wwenrr](https://github.com/wwenrr))
* `core`
  * [#16683](https://github.com/nestjs/nest/pull/16683) fix(core): prevent injector hang when design:paramtypes is missing ([@Youmoo](https://github.com/Youmoo))
  * [#16637](https://github.com/nestjs/nest/pull/16637) fix(core): dependency injection edge case with moduleref.create ([@JakobStaudinger](https://github.com/JakobStaudinger))
  * https://github.com/nestjs/nest/pull/16686 fix(core): sanitize sse message


#### Dependencies
* `core`, `platform-express`, `platform-fastify`
  * [#16679](https://github.com/nestjs/nest/pull/16679) fix(deps): update dependency path-to-regexp to v8.4.2 ([@renovate[bot]](https://github.com/apps/renovate))
* `platform-fastify`
  * [#16623](https://github.com/nestjs/nest/pull/16623) fix(deps): update dependency fastify to v5.8.4 ([@renovate[bot]](https://github.com/apps/renovate))
* `platform-ws`
  * [#16618](https://github.com/nestjs/nest/pull/16618) chore(deps): bump ws from 8.19.0 to 8.20.0 ([@dependabot[bot]](https://github.com/apps/dependabot))
* `common`
  * [#16619](https://github.com/nestjs/nest/pull/16619) chore(deps): bump file-type from 21.3.3 to 21.3.4 ([@dependabot[bot]](https://github.com/apps/dependabot))

#### Committers: 6
- Ankit San ([@ankitbelal](https://github.com/ankitbelal))
- Jakob Staudinger ([@JakobStaudinger](https://github.com/JakobStaudinger))
- Kamil Mysliwiec ([@kamilmysliwiec](https://github.com/kamilmysliwiec))
- Krishna Chaitanya ([@Krishnachaitanyakc](https://github.com/Krishnachaitanyakc))
- MK ([@wwenrr](https://github.com/wwenrr))
- youmoo ([@Youmoo](https://github.com/Youmoo))