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 supporturls
object #5609 (RabbitMQ)
Bug fixes
- common:
expectedType
should take precedence overmetatype
in theValidationPipe
#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