commanded v1.2.0 Release Notes

  • โœจ Enhancements

    • โž• Add init/1 callback function to event handlers and process managers (#393).
    • ๐Ÿ“‡ Include application and handler_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).