commanded v0.16.0 Release Notes
-
- ๐ Support composite command routers (#111).
- Aggregate state snapshots (#121).
- ๐ New
error/3
callback for process manager and deprecatederror/4
(#124) - ๐ Router support for identity prefix function.
- Retry command execution on concurrency error (#132).
- Event handler
error/3
callback (#133). - ๐ Support distributed dispatch consistency (#135).
- Defer event handler and process router init until after subscribed (#138).
- Replace aggregate lifespan
after_command/1
callback withafter_event/1
(#139). - ๐ Support process manager routing to multiple instances (#141).
- ๐ Allow a default consistency to be set via the application env (#150).
- Command dispatch consistency using explicit handler names (#161).
๐ฅ Breaking changes
- The
Commanded.Aggregates.AggregateLifespan
behaviour has been changed fromafter_command/1
toafter_event/1
. You will need to update your own lifespan modules to use events instead of commands to shutdown an aggregate process after an inactivity timeout.
โฌ๏ธ Upgrading
โฌ๏ธ Please ensure you upgrade the following event store dependencies.
Using the Elixir EventStore:
Using Greg Young's Event Store:
commanded_extreme_adapter
to v0.5.0