0.16.0
Note: this version contains hard breaking changes in the AggregateManager
API - refer to [#192] and [#194].
Added
- [[#194]]: New
LockedLoad
type to correctly manage locked loads inAggregateManager
.
Changed
- [[#192]]:
AggregateManager::handle_command
now returns a concreteResult<Result<(), Aggregate::Error>, Store::Error>
and is no longer generic in error. - [[#194]]:
AggregateManager::lock_and_load
now returns aLockedLoad
.
Fixed
- [[#194]]: Previously, concurrent
lock_and_load
s would drop the lock if the aggregate was empty, leading to concurrent writes (caught by optimistic locking). This is now correctly handled via theLockedLoad
result.