Skip to content

Releases: damejidlo/message-bus

0.12

07 Feb 11:47
1f67c3b
Compare
Choose a tag to compare
0.12 Pre-release
Pre-release

BC breaks:

  • major namespaces overhaul, all usage must be revised

New features:

  • static handler validation

0.11.1 bugfix

31 Jul 12:32
Compare
Choose a tag to compare
0.11.1 bugfix Pre-release
Pre-release

Fixed bug, enable non-required handlers (e.g. for events)

BC breaks:

  • IHandlerProvider now throws HandlerCannotBeProvidedException
  • SplitByHandlerTypeMiddleware now throws HandlerRequiredAndNotConfiguredException

Features:

  • HandlerTypes can be empty
  • HandlerType can be reuqired or not

0.11

15 Jul 06:13
Compare
Choose a tag to compare
0.11 Pre-release
Pre-release

BC breaks:

  • HandlerResolvingMiddleware removed, use new stack of three separate middleware with different wiring (see integration test)
  • ISubscriberSpecificDomainEventHandler and subscriber-sepcific events removed, asynchronous functionality must be refactored into two separate event buses with custom middleware publishing messages to queue and custom input from queue (use middleware context)
  • ICommandHandlerResolver, ICommandHandlerProvider, IEventSubscribersResolver, IEventSubscriberProvider removed, implement new interfaces IHandlerTypesResolver, IHandlerProvider and IHandlerInvoker or use their default implementations

0.10

15 Apr 08:11
Compare
Choose a tag to compare
0.10 Pre-release
Pre-release

BC breaks:

  • command/event bus wiring - now uses common middleware supporting mesage bus
  • logging
    • middleware wiring changed
    • messages do not need to implement toArray method
    • to emulate former behaviour, logger processor must be setup to transform value objects in context
  • errors from event handling are logged as warnings (not errors as before)
    • to emulate former behaviour a separate middleware must be setup (or error handling as whole revised)
  • event dispatch queue renamed to event dispatcher
    • wiring changed
    • code emitting events it must be refactored

0.9

06 Nov 13:44
Compare
Choose a tag to compare
0.9 Pre-release
Pre-release

Initial pre-release.