5.0.0 (2024-01-24)
- minimal node version >=16 (b3d89c1)
- support nestjs 10 (faec7f0)
4.1.2 (2022-12-22)
- skip pub-sub event registration in test mode (cadfac0)
4.1.1 (2022-09-26)
- use last split package name part as queue name prefix (76ac63a)
4.1.0 (2022-09-19)
- add queue name prefix parameter to consumer options (8279fc2)
4.0.3 (2022-09-05)
- use optional access to message headers (0b3b4d2)
4.0.2 (2022-07-18)
- add isGlobal parameter to async module options (083bd7a)
4.0.1 (2022-06-27)
- correct default retry delay function (48db4a3)
- drop support amqp-connection-manager@3 (bd6a2c3)
- implement retry mechanism via queues with dead letter exchange and per-message ttl (15affec)
- Queue with dead letter exchange and per-message ttl is now the new default retry strategy
amqp-connection-manager@3
is no longer supported
3.0.2 (2022-05-26)
- correct default retry delay to exp seconds (51c9361)
3.0.1 (2022-05-25)
- move queue name and binding options from event handler class fields to decorator (d59b65c)
- add error when application is started without npm scripts (a09db22)
- add handler bound lifecycle event (9836106)
- add on retry attempts exceeded event (de98a94)
- expose connection manager options (03f192e)
- implement retry mechanism via delayed message exchange (b762a8a)
- Queue name and binding options were removed from the event handler and moved to the pub-sub handler decorator
2.3.3 (2022-03-23)
- log: log correct exchanges bound to queue (5e59ba62)
- remove event handler binding by event name (80128a09)
2.3.2 (2022-03-17)
- consumer: match all to fan out events (0173f94)
2.3.1 (2022-03-14)
- support cqrs 8.0.2 (1cb9a8a)
2.3.0 (2022-01-26)
- add connection name option (0d082e4)
2.2.0 (2022-01-11)
- consumer: do not open consumer amqp connection when no pub-sub handlers discovered (41a907b)
2.1.0 (2022-01-04)
- upgrade deps (117dd5e9)
2.0.2 (2021-11-11)
- add support for nodejs versions 14 and 16 (6fb2f8f)
2.0.1 (2021-10-26)
- allow non-pubsub events publishing (d821816)
2.0.0 (2021-09-17)
- Refer to Migration Guide from 1.5.2 to 2.0.0
- event: Event paylod is no longer a method, but a field. It should not be invoked to retrieve its content
- event: Pub-sub events are no more locally published by default. To publish the event both
to RabbitMQ and locally use the
withLocal
event configuration method - event-bus: EventBus
publish
andpublishAll
methods now return promises that should be properly handled
-
event-handler: catch and log unhandled exceptions (d4f3687)
-
event: make message field private (3968a4e)
-
move exchange to the event decorator (6fbee96)
-
event-bus: make publish methods async (427f441)
-
event: do not publish event locally by default (6b6df40)
-
event: replace payload method with readonly field (42404bd)