All notable changes to command-bus
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
Interface
suffix added to all interfaces that missing it.
- First release from monorepo.
- Support installation on PHP 8.
- Check container has handler class before asking for it.
- Added logger middleware uses PSR-3 logger implementation.
- Added profiler middleware uses symfony's stopwatch component.
- Added more flexible ways to declare command to handler mapping.
- Split
CommandToHandlerMapping
interface intoClassNameMappingInterface
andMethodNameMappingInterface
. - Added next method name mappings:
StaticMethodNameMapping
. - Added next class name mappings:
ReplacementClassNameMapping
,SuffixClassNameMapping
,ClassNameMappingChain
. - Added
CompositeMapping
.
- Cloning command bus: Rebind nested middleware callbacks for cloned command bus.
- Rebind middleware chain on command bus cloning.
- Simple command bus.