Releases: damejidlo/message-bus
Releases · damejidlo/message-bus
0.12
BC breaks:
- major namespaces overhaul, all usage must be revised
New features:
- static handler validation
0.11.1 bugfix
Fixed bug, enable non-required handlers (e.g. for events)
BC breaks:
IHandlerProvider
now throwsHandlerCannotBeProvidedException
SplitByHandlerTypeMiddleware
now throwsHandlerRequiredAndNotConfiguredException
Features:
HandlerTypes
can be emptyHandlerType
can be reuqired or not
0.11
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 interfacesIHandlerTypesResolver
,IHandlerProvider
andIHandlerInvoker
or use their default implementations
0.10
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
Initial pre-release.