Releases: zumba/cqrs
Releases · zumba/cqrs
v2.0.0
What's Changed
- Added some usage documentation. by @cjsaylor in #7
- Support to PHP 8.2 by @jcvincenti in #10
New Contributors
- @cjsaylor made their first contribution in #7
- @jcvincenti made their first contribution in #10
Breaking Changes
- Drop the support to PHP 7.x
Full Changelog: v1.1.0...v2.0.0
Allow passing static properties to EventMap
Adds a withStaticProperties
method to the EventMap
class that allows decoupling data on an Event
from command execution in code listening for the event.
Example usage:
EventMap::fromEventList([
'event.name' => [
SomeCommand::class => [
'somePropKey' => 'somePropKey'
]
]
])
->withStaticProperties([
'event.name' => [
SomeCommand::class => [
'someOtherPropKey' => 'some static property value'
]
]
]);
v1.0.1
Initial public release
Merge pull request #4 from zumba/license Adding MIT license file