v2.0.0
BREAKING CHANGES
- Requires php7.1 and all classes use
declare(strict_types = 1);and use php7 return
type hints and scalar type hints. - Renames some classes ("Default" makes no sense, "Simple" is more clear as an implementation):
DefaultCommandBusis nowSimpleCommandBusDefaultExceptionHandleris nowLogAndDispatchExceptionHandlerDefaultEventBusis nowSimpleEventBusDefaultPbjxis nowSimplePbjxDefaultRequestBusis nowSimpleRequestBus
- Most implementations are now marked as final. Use decorator pattern or provide your own
implementation to change the functionality of Pbjx components. - Transports now use a
TransportEnvelopeso the consumers can handle multiple
serializers and properly set replay flag on messages that are handled in a separate
process or separate machine entirely (e.g. gearman). TransportandRouterinterfaces moved toGdbots\Pbjx\Transport\*.
NEW FEATURES
- Adds
EventStoreandEventSearchwith DynamoDb and Elastica implementations.