v11.1.1
nestjs/nestv11.1.1May 14, 2025by kamilmysliwiec
AI Summary
This release addresses critical bug fixes related to connection management in microservices and restores HTTP adapter methods, alongside several enhancements for RabbitMQ.
Key Highlights
- Restored `getHeader` and `appendHeader` methods in `AbstractHttpAdapter`.
- Fixed proper closure of Redis and AMQP connections in microservices.
- Added specific transport ID to microservices.
- Added support for custom exchange types in RabbitMQ.
New Features
- Add specific transport id to microservices
- Allow custom exchangeType as string for plugin compatibility
- Add exchange arguments to RabbitMQ
Full Release Notes
## v11.1.1 (2025-05-14) #### Bug fixes * `core` * [#15056](https://github.com/nestjs/nest/pull/15056) fix(core): HTTP adapter error mapping ([@maxbronnikov10](https://github.com/maxbronnikov10)) * `microservices` * [#15062](https://github.com/nestjs/nest/pull/15062) fix(microservices): ensure all redis and amqp client closes properly ([@yatin166](https://github.com/yatin166)) * [#15032](https://github.com/nestjs/nest/pull/15032) fix(microservices): ensure all the amqp connections are closed properly ([@yatin166](https://github.com/yatin166)) * [#15020](https://github.com/nestjs/nest/pull/15020) fix(microservices): ensure all redis connections are closed ([@yatin166](https://github.com/yatin166)) * `core`, `platform-fastify` * [#15061](https://github.com/nestjs/nest/pull/15061) fix(core): bring back `getHeader` and `appendHeader` methods from `AbstractHttpAdapter` ([@micalevisk](https://github.com/micalevisk)) * `platform-express` * [#15010](https://github.com/nestjs/nest/pull/15010) feat: remove use of pipeline ([@jmcdo29](https://github.com/jmcdo29)) #### Enhancements * `microservices` * [#14606](https://github.com/nestjs/nest/pull/14606) feat(microservices): add specific transport id to microservices ([@maxbronnikov10](https://github.com/maxbronnikov10)) * [#15057](https://github.com/nestjs/nest/pull/15057) feat(microservices): Allow custom exchangeType as string for plugin compatibility ([@ChangmoKang](https://github.com/ChangmoKang)) * [#15072](https://github.com/nestjs/nest/pull/15072) feat(microservices): Add exchange arguments to RabbitMQ ([@gapon2401](https://github.com/gapon2401)) #### Dependencies * `platform-fastify` * [#15129](https://github.com/nestjs/nest/pull/15129) chore(deps): bump fastify from 5.3.2 to 5.3.3 ([@dependabot[bot]](https://github.com/apps/dependabot)) * `platform-ws` * [#15068](https://github.com/nestjs/nest/pull/15068) chore(deps): bump ws from 8.18.1 to 8.18.2 ([@dependabot[bot]](https://github.com/apps/dependabot)) * `common` * [#15029](https://github.com/nestjs/nest/pull/15029) chore(deps): bump file-type from 20.4.1 to 20.5.0 ([@dependabot[bot]](https://github.com/apps/dependabot)) #### Committers: 7 - Antonio Tripodi ([@Tony133](https://github.com/Tony133)) - Changmo Kang (Ryan) ([@ChangmoKang](https://github.com/ChangmoKang)) - Igor Gaponov ([@gapon2401](https://github.com/gapon2401)) - Jackie McDoniel ([@jmcdo29](https://github.com/jmcdo29)) - Maxim Bronnikov ([@maxbronnikov10](https://github.com/maxbronnikov10)) - Micael Levi L. Cavalcante ([@micalevisk](https://github.com/micalevisk)) - Yatin Gaikwad ([@yatin166](https://github.com/yatin166))