Releases: roadrunner-php/tcp
Releases 路 roadrunner-php/tcp
v4.1.0
v4.0.0
Breaking changes
Spiral\RoadRunner\Tcp\Request
Changes
- The visibility of the property
remoteAddr
has been changed from public to private. Use thegetRemoteAddress
method to access the property value. - The visibility of the property
event
has been changed from public to private. Use thegetEvent
method to access the property value. - The visibility of the property
body
has been changed from public to private. Use thegetBody
method to access the property value. - The visibility of the property
connectionUuid
has been changed from public to private. Use thegetConnectionUuid
method to access the property value. - The visibility of the property
server
has been changed from public to private. Use thegetServer
method to access the property value.
v3.1.0
Features
- Added interface
Spiral\RoadRunner\Tcp\RequestInterface
. The classSpiral\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
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
v2.0.0
- Initial release of RoadRunner TCP plugin api library.