nestjs/nest v11.1.18 → v11.1.19

This release is mostly a bugfix and maintenance pass over the 11.1.x line. The user-facing work is concentrated in microservices and core, with a small dependency refresh around it.

What's new

  • microservices now preserves packet headers in the NATS serializer when the response payload is a plain value or object instead of a NatsRecord. That means headers set on the packet are carried through the fallback serialization path, which addresses a common response-header use case for NATS users (#16675).

Fixes

  • microservices: fixes a crash event listener that was reading the public consumer getter instead of the backing field (#16762).
  • microservices: prevents a stack overflow in jsonsocket.handledata() (#16764).
  • core: prevents the injector from hanging when design:paramtypes is missing, including environments where emitDecoratorMetadata is unavailable (#16683).
  • microservices: escapes message pattern keys so they are handled safely (#16687).
  • core: sanitizes SSE message fields before they are written into the Server-Sent Events stream (#16686).

Other notable changes

  • Various dependency updates landed across the monorepo, including dotenv, mysql2, webpack, ts-morph, globals, @nestjs/typeorm, @nestjs/swagger, @nestjs/serve-static, and others.
  • core also centralized headers for streamable file responses into shared helper methods (#16627).

Contributors

@burhanharoon @kamilmysliwiec @Youmoo @wwenrr @ankitbelal

Only the most active 50 of 51 merged PRs were included. See the full compare view.