RegisterHandlersPass now registers event_subscriber handlers for any Message, not only DomainEvent subclasses. A subscriber handling a plain Message (e.g. an inbound external event with no aggregate of its own) was previously never wired to the event bus at all -- because the event bus has allow_no_handlers: true, this failed completely silently, with the message accepted and "handled" while zero handlers actually ran, no exception, and no log line anywhere. (#7)Add Symfony Messenger command and event buses, replacing the SimpleBus ones. simple-bus/symfony-bridge caps symfony/* at ^6.0 and has been unmaintained since 2021, so it is a hard blocker for Symfony 7.
The SimpleBus classes remain for consumers still on Symfony 6. Also adds the TreeBuilder return type to Configuration::getConfigTreeBuilder() for Symfony 7.
Verified against a real application: 165 command handlers and 200 event subscribers registered across 421 handler classes with no source changes.
^6.4 || ^7.4 to target Symfony 7.4 LTS.doctrine/doctrine-bundle constraint to ^2.11 || ^3.0, dropping support for the EOL 1.x branch.becklyn/ddd-doctrine-bridge to ^3.0 and becklyn/ddd-core to ^4.0, enabling doctrine/orm ^3.x and doctrine/dbal ^4.x support and removing the abandoned doctrine/cache transitive dependency.Full Changelog: https://github.com/Becklyn/ddd-symfony-bridge/compare/6.0.0...6.1.0
empty from global namespace.AggregateIdParamConverter5.4How can I help you explore Laravel packages today?