Releases: spatie/laravel-event-sourcing
Releases · spatie/laravel-event-sourcing
4.10.0
- Deprecate
AggregateRoot::$allowConcurrency
- Fix for race condition in aggregate roots (#170), you will need to run a migration to be able to use it:
public function up()
{
Schema::table('stored_events', function (Blueprint $table) {
$table->unique(['aggregate_uuid', 'aggregate_version']);
});
}
Note: if you run this migration, all aggregate roots using $allowConcurrency
will not work any more.
4.9.0
4.8.0
- Add support for asserting events with a closure
4.7.2
4.7.1
4.7.0
- add support for PHP 8
4.6.1
- remove unused
replay_chunk_size
config value