Skip to content

Latest commit

 

History

History
177 lines (88 loc) · 7.9 KB

CHANGELOG.md

File metadata and controls

177 lines (88 loc) · 7.9 KB

Changelog

5.0.0 (2024-01-24)

Bug Fixes

  • minimal node version >=16 (b3d89c1)

Features

4.1.2 (2022-12-22)

Bug Fixes

  • skip pub-sub event registration in test mode (cadfac0)

4.1.1 (2022-09-26)

Bug Fixes

  • use last split package name part as queue name prefix (76ac63a)

4.1.0 (2022-09-19)

Features

  • add queue name prefix parameter to consumer options (8279fc2)

4.0.3 (2022-09-05)

Bug Fixes

  • use optional access to message headers (0b3b4d2)

4.0.2 (2022-07-18)

Bug Fixes

  • add isGlobal parameter to async module options (083bd7a)

4.0.1 (2022-06-27)

Bug Fixes

  • correct default retry delay function (48db4a3)

chore

  • drop support amqp-connection-manager@3 (bd6a2c3)

Features

  • implement retry mechanism via queues with dead letter exchange and per-message ttl (15affec)

BREAKING CHANGES

  • 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)

Bug Fixes

  • correct default retry delay to exp seconds (51c9361)

3.0.1 (2022-05-25)

Code Refactoring

  • move queue name and binding options from event handler class fields to decorator (d59b65c)

Features

  • 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)

BREAKING CHANGES

  • 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)

Bug Fixes

  • log: log correct exchanges bound to queue (5e59ba62)
  • remove event handler binding by event name (80128a09)

2.3.2 (2022-03-17)

Bug Fixes

  • consumer: match all to fan out events (0173f94)

2.3.1 (2022-03-14)

Bug Fixes

2.3.0 (2022-01-26)

Features

  • add connection name option (0d082e4)

2.2.0 (2022-01-11)

Features

  • consumer: do not open consumer amqp connection when no pub-sub handlers discovered (41a907b)

2.1.0 (2022-01-04)

Features

2.0.2 (2021-11-11)

Changes

  • add support for nodejs versions 14 and 16 (6fb2f8f)

2.0.1 (2021-10-26)

Bug Fixes

  • allow non-pubsub events publishing (d821816)

2.0.0 (2021-09-17)

⚠ BREAKING CHANGES

  • 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 and publishAll methods now return promises that should be properly handled

Features

  • 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)