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).