commanded v1.2.0 Release Notes
-
โจ Enhancements
- โ Add
init/1
callback function to event handlers and process managers (#393). - ๐ Include
application
andhandler_name
as additional event handler metadata (#396). - ๐ Allow
GenServer
start options to be provided when starting event handlers and process managers (#398). - โ Add
hibernate_after
option to application config (#399). - โ Add support for providing adapter-specific event store subscription options (#391).
- ๐ Support custom state for event handlers (#400).
- ๐ Allow event handlers and process manager
error
callback to return failure context struct (#397). - ๐ Allow a before execute function to be defined which is called with the command dispatch execution context and aggregate state before (#402).
๐ Bug fixes
- ๐ Allow process manager
error/3
callback to return:skip
for failed commands, not just failed events (#362).
- โ Add