Skip to content

v7.0.0 — PHP 8.1–8.5 compatibility

Choose a tag to compare

@maksimovic maksimovic released this 16 Apr 19:53
· 4 commits to master since this release
a0f1df5

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.