Releases: roadrunner-php/tcp
Releases 路 roadrunner-php/tcp
Release list
v4.1.1
v4.1.0
v4.0.0
Breaking changes
Spiral\RoadRunner\Tcp\Request Changes
- The visibility of the property
remoteAddrhas been changed from public to private. Use thegetRemoteAddressmethod to access the property value. - The visibility of the property
eventhas been changed from public to private. Use thegetEventmethod to access the property value. - The visibility of the property
bodyhas been changed from public to private. Use thegetBodymethod to access the property value. - The visibility of the property
connectionUuidhas been changed from public to private. Use thegetConnectionUuidmethod to access the property value. - The visibility of the property
serverhas been changed from public to private. Use thegetServermethod to access the property value.
v3.1.0
Features
- Added interface
Spiral\RoadRunner\Tcp\RequestInterface. The classSpiral\RoadRunner\Tcp\Requestnow implements this new interface. - The public properties of the
Spiral\RoadRunner\Tcp\Requestclass 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\TcpEventenum which contains constants representing different Tcp events has been introduced.Spiral\RoadRunner\Tcp\TcpResponseenum 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.