Skip to content

0.16.0

Compare
Choose a tag to compare
@cottinisimone cottinisimone released this 08 May 09:56
· 9 commits to master since this release
ba6f98d

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 in AggregateManager.

Changed

  • [[#192]]: AggregateManager::handle_command now returns a concrete Result<Result<(), Aggregate::Error>, Store::Error> and is no longer generic in error.
  • [[#194]]: AggregateManager::lock_and_load now returns a LockedLoad.

Fixed

  • [[#194]]: Previously, concurrent lock_and_loads would drop the lock if the aggregate was empty, leading to concurrent writes (caught by optimistic locking). This is now correctly handled via the LockedLoad result.

Commits

  • Prepare release 0.16.0 (#195) by angelo-rendina-prima
  • double result on handle command (#192) by angelo-rendina-prima
  • LockedLoad (#194) by angelo-rendina-prima