Skip to content

Releases: roadrunner-php/tcp

v4.1.0

11 Apr 18:08
788c86c
Compare
Choose a tag to compare

Features

Full Changelog: v4.0.0...v4.1.0

v4.0.0

29 Feb 11:35
515145a
Compare
Choose a tag to compare

Breaking changes

Spiral\RoadRunner\Tcp\Request Changes

  • The visibility of the property remoteAddr has been changed from public to private. Use the getRemoteAddress method to access the property value.
  • The visibility of the property event has been changed from public to private. Use the getEvent method to access the property value.
  • The visibility of the property body has been changed from public to private. Use the getBody method to access the property value.
  • The visibility of the property connectionUuid has been changed from public to private. Use the getConnectionUuid method to access the property value.
  • The visibility of the property server has been changed from public to private. Use the getServer method to access the property value.

v3.1.0

29 Feb 10:48
2fc2fa7
Compare
Choose a tag to compare

Features

  • Added interface Spiral\RoadRunner\Tcp\RequestInterface. The class Spiral\RoadRunner\Tcp\Request now implements this new interface.
  • The public properties of the Spiral\RoadRunner\Tcp\Request class are no longer recommended for use; in v4.0, they will be private. It is necessary to use methods to access these properties.

Full Changelog: 3.0.0...v3.1.0

v3.0.0

14 Apr 11:14
ee4a060
Compare
Choose a tag to compare

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

v2.0.1

14 Jul 13:32
d3d42b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

01 Dec 08:34
Compare
Choose a tag to compare
  • Initial release of RoadRunner TCP plugin api library.