v12.0.3

nestjs/nestv12.0.3Sep 15, 2026by kamilmysliwiec

Upgrading?

AI Summary

This release focuses on critical bug fixes for microservices, specifically Kafka and TCP handling, along with improvements to common utilities like UUID validation and dependency updates.

Key Highlights

  • Fixed Kafka processing end hook to always run correctly
  • Fixed pending requests failing when clients close connections
  • Fixed memory leaks and bound memory held for TCP peers
  • Added logic to destroy open TCP sockets on shutdown
  • Fixed UUID validation when no version is set

Full Release Notes

## v12.0.3 (2026-09-15)

#### Bug fixes
* `microservices`
  * [#17766](https://github.com/nestjs/nest/pull/17766) fix(microservices): always run the kafka processing end hook ([@kamilmysliwiec](https://github.com/kamilmysliwiec))
  * [#17757](https://github.com/nestjs/nest/pull/17757) fix(microservices): fail pending requests on client close ([@hktitof](https://github.com/hktitof))
  * [#17746](https://github.com/nestjs/nest/pull/17746) fix(microservices): bound memory held for a TCP peer ([@kamilmysliwiec](https://github.com/kamilmysliwiec))
  * [#17745](https://github.com/nestjs/nest/pull/17745) fix(microservices): destroy open TCP sockets on shutdown ([@kamilmysliwiec](https://github.com/kamilmysliwiec))
* `common`
  * [#17738](https://github.com/nestjs/nest/pull/17738) fix(common): validate uuid version and variant when no version is set ([@otnc](https://github.com/otnc))
  * [#17761](https://github.com/nestjs/nest/pull/17761) fix(common): invoke proto-key stripping hook via this in transform ([@koreahghg](https://github.com/koreahghg))

#### Dependencies
* `platform-express`
  * [#17762](https://github.com/nestjs/nest/pull/17762) fix(deps): update dependency multer to v2.4.0 ([@renovate[bot]](https://github.com/apps/renovate))
* `common`
  * [#17753](https://github.com/nestjs/nest/pull/17753) fix(deps): update dependency file-type to v22.1.0 ([@renovate[bot]](https://github.com/apps/renovate))

#### Committers: 4
- Abdellatif Anaflous ([@hktitof](https://github.com/hktitof))
- Kamil Mysliwiec ([@kamilmysliwiec](https://github.com/kamilmysliwiec))
- otoneko. ([@otnc](https://github.com/otnc))
- 한국 ([@koreahghg](https://github.com/koreahghg))

Related Repositories