Vai al contenuto
verdict:

NestJS 12.6.2

digest

note: la sintesi e le note di rilascio sono in inglese

note: nessuna sintesi per questa release digest

Le release digest sono elencate senza una sintesi. Le note di rilascio originali di questa versione sono qui sotto.

release-notesgithub.com/nestjs/nest · 45 righe
  1. ## v12.6.2 (2026-11-25)
  2. #### Notable changes
  3. **Fixes of 12.6.1**
  4. * `applyDecorators()` type-checks again as a class, method and property decorator. In 12.6.1 its return type became a union that TypeScript rejects where a composed decorator is applied (TS1270), also with `skipLibCheck`. It now also types as a parameter decorator, which it supports since 12.6.1 – [#18710](https://github.com/nestjs/nest/pull/18710)
  5. **Behaviour changes**
  6. * `@nestjs/platform-node`: `res.send()` pipes a `Readable` stream, as Fastify's `reply.send()` does, with `application/octet-stream` unless a `Content-Type` is set. It used to send the stream's fields as JSON (e.g. the path of a file stream) and leave the stream open. A stream that fails before anything is sent gets a 500, one that fails midway aborts the response, and the stream is destroyed when the client goes away – [#18702](https://github.com/nestjs/nest/pull/18702)
  7. * A `StreamableFile` answered with a 204, 205 or 304 sends no body and is not read, on Express and Node. On Fastify, a 205 response sends no body – [#18711](https://github.com/nestjs/nest/pull/18711), [#18713](https://github.com/nestjs/nest/pull/18713)
  8. * `ParseDatePipe` rejects a day past the end of its month in a month-name date without a year (`Feb 30`, `Sep 31`). As in `new Date()`, such a date is in 2001, so `Feb 29` is rejected as well – [#18699](https://github.com/nestjs/nest/pull/18699)
  9. * The missing decorator metadata warning also covers a decorated subclass compiled without metadata (e.g. with tsx or esbuild) that extends a class compiled with it, when a parameter of its own constructor would be injected as `undefined` – [#18698](https://github.com/nestjs/nest/pull/18698)
  10. * `@nestjs/common` exports `GetOrResolveOptions`, `SelectOptions`, `HttpArgumentsHost`, `RpcArgumentsHost`, `WsArgumentsHost`, `CorsOptions`, `CorsOptionsDelegate` and `HttpsOptions` from the package root – [#18714](https://github.com/nestjs/nest/pull/18714)
  11. **Microservices**
  12. * RabbitMQ server: a message without a handler, with a routing key it doesn't serve, or over the size limit is negatively acknowledged on the channel that delivered it. After a reconnect it used to go to the new channel, which RabbitMQ then closed (`PRECONDITION_FAILED - unknown delivery tag`) – [#18706](https://github.com/nestjs/nest/pull/18706)
  13. * MQTT client and server: `close()` settles when the broker is gone. It used to wait for good for the broker to acknowledge packets in flight, such as a QoS 1 message – [#18712](https://github.com/nestjs/nest/pull/18712), [514e3eb6ec](https://github.com/nestjs/nest/commit/514e3eb6eca6bc9b12ed5eee4a335a7b0b6e806c)
  14. #### Bug fixes
  15. * `common`
  16. * [#18710](https://github.com/nestjs/nest/pull/18710) fix(common): restore decorator signatures for applyDecorators ([@xixi-box](https://github.com/xixi-box))
  17. * [#18714](https://github.com/nestjs/nest/pull/18714) fix(common): export the option and host types of the application interfaces from the package root ([@Johannes7549](https://github.com/Johannes7549))
  18. * [#18699](https://github.com/nestjs/nest/pull/18699) fix(common): reject days past month end in month-name dates with no year ([@pengzh1](https://github.com/pengzh1))
  19. * `core`
  20. * [#18698](https://github.com/nestjs/nest/pull/18698) fix(core): warn when a subclass has no decorator metadata of its own ([@yuvrajtiwary-bitmesraece](https://github.com/yuvrajtiwary-bitmesraece))
  21. * `microservices`
  22. * [514e3eb6ec](https://github.com/nestjs/nest/commit/514e3eb6eca6bc9b12ed5eee4a335a7b0b6e806c) fix(microservices): resolve mqtt server close() when the broker is gone ([@kamilmysliwiec](https://github.com/kamilmysliwiec))
  23. * [#18712](https://github.com/nestjs/nest/pull/18712) fix(microservices): resolve mqtt client close() when the broker is gone ([@samuelmbabhazi](https://github.com/samuelmbabhazi))
  24. * [#18706](https://github.com/nestjs/nest/pull/18706) fix(microservices): nack RMQ deliveries on their original channel after reconnect ([@rome-xi](https://github.com/rome-xi))
  25. * `platform-fastify`
  26. * [#18713](https://github.com/nestjs/nest/pull/18713) fix(fastify): send no body for a 205 reset content response ([@Johannes7549](https://github.com/Johannes7549))
  27. * `platform-node`
  28. * [#18702](https://github.com/nestjs/nest/pull/18702) fix(node): pipe a stream passed to res.send() ([@thekhegay](https://github.com/thekhegay))
  29. * `platform-express`, `platform-node`
  30. * [#18711](https://github.com/nestjs/nest/pull/18711) fix(express,node): send no body for a stream on a 204, 205 or 304 ([@abdurrahmanriyad](https://github.com/abdurrahmanriyad))
  31. #### Committers: 8
  32. - Abdur Rahman ([@abdurrahmanriyad](https://github.com/abdurrahmanriyad))
  33. - KevinZhou ([@pengzh1](https://github.com/pengzh1))
  34. - Roman Khegay ([@thekhegay](https://github.com/thekhegay))
  35. - Yohannes ([@Johannes7549](https://github.com/Johannes7549))
  36. - Yuvraj Tiwary ([@yuvrajtiwary-bitmesraece](https://github.com/yuvrajtiwary-bitmesraece))
  37. - [@rome-xi](https://github.com/rome-xi)
  38. - samuel mbabhazi ([@samuelmbabhazi](https://github.com/samuelmbabhazi))
  39. - wangshun ([@xixi-box](https://github.com/xixi-box))

vedi su githubdetected 2026-12-04 via npm