note: no summary for this digest release
Digest releases are listed without a summary. The original release notes for this version are below.
release-notesgithub.com/nestjs/nest · 45 lines
- ## v12.6.2 (2026-11-25)
- #### Notable changes
- **Fixes of 12.6.1**
- * `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)
- **Behaviour changes**
- * `@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)
- * 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)
- * `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)
- * 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)
- * `@nestjs/common` exports `GetOrResolveOptions`, `SelectOptions`, `HttpArgumentsHost`, `RpcArgumentsHost`, `WsArgumentsHost`, `CorsOptions`, `CorsOptionsDelegate` and `HttpsOptions` from the package root – [#18714](https://github.com/nestjs/nest/pull/18714)
- **Microservices**
- * 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)
- * 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)
- #### Bug fixes
- * `common`
- * [#18710](https://github.com/nestjs/nest/pull/18710) fix(common): restore decorator signatures for applyDecorators ([@xixi-box](https://github.com/xixi-box))
- * [#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))
- * [#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))
- * `core`
- * [#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))
- * `microservices`
- * [514e3eb6ec](https://github.com/nestjs/nest/commit/514e3eb6eca6bc9b12ed5eee4a335a7b0b6e806c) fix(microservices): resolve mqtt server close() when the broker is gone ([@kamilmysliwiec](https://github.com/kamilmysliwiec))
- * [#18712](https://github.com/nestjs/nest/pull/18712) fix(microservices): resolve mqtt client close() when the broker is gone ([@samuelmbabhazi](https://github.com/samuelmbabhazi))
- * [#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))
- * `platform-fastify`
- * [#18713](https://github.com/nestjs/nest/pull/18713) fix(fastify): send no body for a 205 reset content response ([@Johannes7549](https://github.com/Johannes7549))
- * `platform-node`
- * [#18702](https://github.com/nestjs/nest/pull/18702) fix(node): pipe a stream passed to res.send() ([@thekhegay](https://github.com/thekhegay))
- * `platform-express`, `platform-node`
- * [#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))
- #### Committers: 8
- - Abdur Rahman ([@abdurrahmanriyad](https://github.com/abdurrahmanriyad))
- - KevinZhou ([@pengzh1](https://github.com/pengzh1))
- - Roman Khegay ([@thekhegay](https://github.com/thekhegay))
- - Yohannes ([@Johannes7549](https://github.com/Johannes7549))
- - Yuvraj Tiwary ([@yuvrajtiwary-bitmesraece](https://github.com/yuvrajtiwary-bitmesraece))
- - [@rome-xi](https://github.com/rome-xi)
- - samuel mbabhazi ([@samuelmbabhazi](https://github.com/samuelmbabhazi))
- - wangshun ([@xixi-box](https://github.com/xixi-box))