Skip to content

Releases: zumba/cqrs

v2.0.0

14 Nov 14:49
d17627f
Compare
Choose a tag to compare

What's Changed

New Contributors

Breaking Changes

  • Drop the support to PHP 7.x

Full Changelog: v1.1.0...v2.0.0

Allow passing static properties to EventMap

09 Aug 14:40
2b1c522
Compare
Choose a tag to compare

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

20 Jul 20:51
1695d27
Compare
Choose a tag to compare

Removed deprecated message from PHP 8.0+.

Initial public release

23 Jun 19:01
74787d6
Compare
Choose a tag to compare
Merge pull request #4 from zumba/license

Adding MIT license file