v7.0.0 — PHP 8.1–8.5 compatibility
First release of the `maksimovic/service-bus` fork.
Upstream `prooph/service-bus` has been unmaintained since 2021. This release modernises the package for PHP 8.1–8.5.
Breaking changes
- Minimum PHP bumped to 8.1
- PHPUnit bumped to ^10.5
- `react/promise` bumped to ^3.3 — `done()` was removed; rejection callbacks must accept `\Throwable`; mock against `PromiseInterface` rather than the now-final `Promise`
Fixes
- Explicit nullable type declarations (PHP 8.4+ deprecation) across buses, routers, and the `MessageProducer` interface
Infrastructure
- GitHub Actions CI with PHP 8.1–8.5 matrix
- Tests migrated from `phpspec/prophecy` to native PHPUnit mocks
- Travis CI removed
Behavior is otherwise unchanged from upstream v6.3.0.