Skip to content

v3.0.0

Choose a tag to compare

@butschster butschster released this 14 Apr 11:14
· 11 commits to 3.x since this release
ee4a060

Features

  • Upgraded to PHP 8.1
  • Upgraded to PHPUnit 10
  • Upgraded to Psalm 5
  • Added reusable Gh Actions
  • Added metapackage spiral/roadrunner:^2023

New features

  • Spiral\RoadRunner\Tcp\TcpEvent enum which contains constants representing different Tcp events has been introduced.
  • Spiral\RoadRunner\Tcp\TcpResponse enum with constants for common responses has been added.

Breaking changes

Spiral\RoadRunner\Tcp\Request Changes

  • The constructor of the class has been changed, and the parameters are now readonly.

Spiral\RoadRunner\Tcp\TcpWorkerInterface Changes

It has been updated with two new methods:

  • public function respond(string $body, TcpResponse $response = TcpResponse::Respond): void;

Full Changelog: v2.0.1...3.0.0