Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne authored and github-actions[bot] committed Nov 27, 2023
1 parent 0ce1309 commit 540c9bb
Showing 1 changed file with 48 additions and 26 deletions.
74 changes: 48 additions & 26 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to `laravel-event-sourcing` will be documented in this file:

## 7.3.10 - 2023-11-27

### What's Changed

* Address Typos and Make Grammatical Improvements in Documentation by @salehhashemi1992 in https://github.com/spatie/laravel-event-sourcing/pull/442
* Update actions/checkout to v4 by @salehhashemi1992 in https://github.com/spatie/laravel-event-sourcing/pull/441
* Fix Some Typos in Method Names, Namespaces, and PHPDoc Annotations by @salehhashemi1992 in https://github.com/spatie/laravel-event-sourcing/pull/443
* Document prepare events using abstract class instead of interface by @Sparclex in https://github.com/spatie/laravel-event-sourcing/pull/446
* Change the column type of snapshots.aggregate_version by @eschalks in https://github.com/spatie/laravel-event-sourcing/pull/447

### New Contributors

* @salehhashemi1992 made their first contribution in https://github.com/spatie/laravel-event-sourcing/pull/442
* @Sparclex made their first contribution in https://github.com/spatie/laravel-event-sourcing/pull/446
* @eschalks made their first contribution in https://github.com/spatie/laravel-event-sourcing/pull/447

**Full Changelog**: https://github.com/spatie/laravel-event-sourcing/compare/7.3.9...7.3.10

## 7.3.9 - 2023-10-02

### What's Changed
Expand Down Expand Up @@ -279,6 +297,7 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:





```
## 6.0.0 - 2021-??-??
Expand Down Expand Up @@ -311,6 +330,7 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:





```
## 5.0.8 - 2021-11-17
Expand Down Expand Up @@ -381,16 +401,16 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:

## 5.0.0 - 2021-06-09

- Add `EloquentStoredEvent::query()->whereEvent(EventA::class, …)`
- Add `EloquentStoredEvent::query()->whereEvent(EventA::class, …)`

-
- Add `EventQuery`
- Add `EventQuery`

-
- Add `AggregatePartial`
- Add `AggregatePartial`

-
- - If you're overriding an aggregate root's constructor, make sure to call `parent::__construct` from it
- - If you're overriding an aggregate root's constructor, make sure to call `parent::__construct` from it

-
-
Expand All @@ -410,16 +430,16 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:
-
-
-
- Add command bus and aggregate root handlers
- Add command bus and aggregate root handlers

-
- Add `Projectionist::fake(OriginalReactor::class, FakeReactor::class)` ([#181](https://github.com/spatie/laravel-event-sourcing/discussions/181))
- Add `Projectionist::fake(OriginalReactor::class, FakeReactor::class)` ([#181](https://github.com/spatie/laravel-event-sourcing/discussions/181))

-
- All event listeners are now registered in the same way: by looking at an event's type hint. This applies to all:
- All event listeners are now registered in the same way: by looking at an event's type hint. This applies to all:

-
- - Aggregate root `apply` methods
- - Aggregate root `apply` methods

-
-
Expand All @@ -438,7 +458,7 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:
-
-
-
- - Projection listeners
- - Projection listeners

-
-
Expand All @@ -457,7 +477,7 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:
-
-
-
- - Reactor listeners
- - Reactor listeners

-
-
Expand All @@ -476,7 +496,7 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:
-
-
-
- - Event queries
- - Event queries

-
-
Expand All @@ -496,49 +516,49 @@ All notable changes to `laravel-event-sourcing` will be documented in this file:
-
-
-
- Moved `Spatie\EventSourcing\Exception\CouldNotPersistAggregate` to `Spatie\EventSourcing\AggregateRoots\Exceptions\CouldNotPersistAggregate`
- Moved `Spatie\EventSourcing\Exception\CouldNotPersistAggregate` to `Spatie\EventSourcing\AggregateRoots\Exceptions\CouldNotPersistAggregate`

-
- Moved `Spatie\EventSourcing\Exception\InvalidEloquentSnapshotModel` to `Spatie\EventSourcing\AggregateRoots\Exceptions\InvalidEloquentSnapshotModel`
- Moved `Spatie\EventSourcing\Exception\InvalidEloquentSnapshotModel` to `Spatie\EventSourcing\AggregateRoots\Exceptions\InvalidEloquentSnapshotModel`

-
- Moved `Spatie\EventSourcing\Exception\InvalidEloquentStoredEventModel` to `Spatie\EventSourcing\AggregateRoots\Exceptions\InvalidEloquentStoredEventModel`
- Moved `Spatie\EventSourcing\Exception\InvalidEloquentStoredEventModel` to `Spatie\EventSourcing\AggregateRoots\Exceptions\InvalidEloquentStoredEventModel`

-
- Moved `Spatie\EventSourcing\Exception\MissingAggregateUuid` to `Spatie\EventSourcing\AggregateRoots\Exceptions\MissingAggregateUuid`
- Moved `Spatie\EventSourcing\Exception\MissingAggregateUuid` to `Spatie\EventSourcing\AggregateRoots\Exceptions\MissingAggregateUuid`

-
- Moved `Spatie\EventSourcing\Exception\InvalidStoredEvent` to `Spatie\EventSourcing\StoredEvents\Exceptions\InvalidStoredEvent`
- Moved `Spatie\EventSourcing\Exception\InvalidStoredEvent` to `Spatie\EventSourcing\StoredEvents\Exceptions\InvalidStoredEvent`

-
- Dependency injection in handlers isn't supported anymore, use constructor injection instead
- Dependency injection in handlers isn't supported anymore, use constructor injection instead

-
- `$storedEvent` and `$aggregateRootUuid` are no longer passed to event handler methods. Use `$event->storedEventId()` and `$event->aggregateRootUuid()` instead. ([#180](https://github.com/spatie/laravel-event-sourcing/discussions/180))
- `$storedEvent` and `$aggregateRootUuid` are no longer passed to event handler methods. Use `$event->storedEventId()` and `$event->aggregateRootUuid()` instead. ([#180](https://github.com/spatie/laravel-event-sourcing/discussions/180))

-
- Rename `EloquentStoredEvent::query()->uuid()` to `EloquentStoredEvent::query()->whereAggregateRoot()`
- Rename `EloquentStoredEvent::query()->uuid()` to `EloquentStoredEvent::query()->whereAggregateRoot()`

-
- Removed `AggregateRoot::$allowConcurrency`
- Removed `AggregateRoot::$allowConcurrency`

-
- Removed `$aggregateVersion` from `StoredEventRepository::persist`
- Removed `$aggregateVersion` from `StoredEventRepository::persist`

-
- Removed `$aggregateVersion` from `StoredEventRepository::persistMany`
- Removed `$aggregateVersion` from `StoredEventRepository::persistMany`

-
- Event handlers are no longer called with `app()->call()` ([#180](https://github.com/spatie/laravel-event-sourcing/discussions/180))
- Event handlers are no longer called with `app()->call()` ([#180](https://github.com/spatie/laravel-event-sourcing/discussions/180))

-
- `$handlesEvents` on Projectors and Reactors isn't supported anymore
- `$handlesEvents` on Projectors and Reactors isn't supported anymore

-
- PHP version requirement is now `^8.0`
- PHP version requirement is now `^8.0`

-
- Laravel version requirement is now `^8.0`
- Laravel version requirement is now `^8.0`

-

Expand Down Expand Up @@ -581,6 +601,7 @@ class MyProjector extends Projector






```
Expand Down Expand Up @@ -626,6 +647,7 @@ public function up()






```
Expand Down

0 comments on commit 540c9bb

Please sign in to comment.