Packages

@nestjs/common

12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed

Your version

7.5.0

2 Nov 2020Where it was published

7.6.18 is the newest release of 7.x.

In short

7 new5 fixed

Security

1 advisory affects 7.5.0; 10.4.16 fixes them

Release note

Features

  • common: support conditional cache TTL value (support async factories) #5366

  • core: add Server-Sent Events (SSE) support #4842

  • core: add abortOnError option. When enabled, Nest will rethrow the exception instead of killing the process #5327

  • microservices: pass GrpcCall reference to call handlers #5143

Improvements

  • microservices: update Kafka configuration interfaces, add missing options #5443 #5634 #5638

  • microservices: add persistent option #5597 and support urls object #5609 (RabbitMQ)

Bug fixes

  • common: expectedType should take precedence over metatype in the ValidationPipe #5605

  • core: use .toString() as functions representation when serialising dynamic modules metadata #5189

  • core: fix invalid middleware execution order when request-scoped dependencies are being used by a host middleware #5623

  • microservices: await consumer and producer disconnect operations #5422

  • microservices: check replyTo channel presence (NATS) #5530

  • platform-fastify: add missing chaining API to the inject() method #5628

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.