Yii Runner RoadRunner 3.2
Yii Runner RoadRunner version 3.2.0 was released. In this version:
- Add PHP 8.5 support
- Add
spiral/roadrunner-httpversion^v4.0.0support
Yii Runner RoadRunner version 3.2.0 was released. In this version:
spiral/roadrunner-http version ^v4.0.0 supportFirst stable version of FrankenPHP worker runner released. The runner allows using FrankenPHP in worker mode. In this mode application is initializer once per worker and is serving multiple reqests in this state resulting in signficiant performance gains.
Since the application does not "die" on each request, you should clean up state carefully. Yii3 has means for that via DI container state resetters.
Turning default application templates into worker-mode enabled ones is described well in the README.
Minor version of Yii HTTP Runner were tagged. In this version made several changes and improvements.
HttpApplicationRunner::runAndGetResponse() method that returns response without emit.$emitter, $useRemoveBodyByStatusMiddleware, $useContentLengthMiddleware and $useHeadRequestMiddleware parameters to HttpApplicationRunner constructor.RequestFactory: explicitly mark read-only properties and add type to parameter of create() method.Content-Length header if it is set and emit is called without body.Minor version of Yii Runner RoadRunner package was released.
In this release:
RoadRunnerGrpcApplicationRunner: added error handling, bootstrap loading, event checking, and DI container usage;yiisoft/error-handler to ^4.0;8.1 - 8.4;Minor version of Yii HTTP Runner were tagged. In this version made several changes.
$temporaryErrorHandler parameter to HttpApplicationRunner constructor. Mark parameter $logger and method withTemporaryErrorHandler() as deprecated.composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0.Major version of Yii HTTP Runner were tagged. In this version made several changes.
NullLogger by default.ServerRequestFactory.SapiEmitter as internal.Three runner pacakges was released.
Yii Runner 2.2 and Yii Console Runner 2.2
Yii HTTP Runner 2.3
SapiEmitter when body size is less than buffer.Major version of Yii Runner RoadRunner package was released.
In this release:
RoadRunnerApplicationRunner to RoadRunnerHttpApplicationRunner;psr/http-message of ^2.0 version.Two runner pacakges was released:
In this versions adds ability to set custom config modifiers.
Version 2.1 of Yii Runner package was released.
In this version added ability to set custom config modifiers.
Version 2.1.0 of Yii Runner HTTP was released.
This version adds support of stream output and deprecating ServerRequestFactory in favor of RequestFactory.
Yii runners packages got a major releases:
Configuration group names in runners adapted to Yii conventions and added ability to configure it. Make a few improvements also:
Version 1.2.0 of Yii Runnner package was tagged. This version adds config definition to DI container.
Version 1.1.0 of Yii Console Runnner package was tagged. This version adds passing input aggregate to the console application.
First release of RoadRunner adapter for Yii Runner was tagged.
Despite popular belief, PHP application doesn't have to die and re-initilize every request and, thanks to RoadRunner Yii3 application could work in "initilize once" mode. There are multiple profits in using RoadRunner:
First release of Yii Runner was tagged. A runner hides application initialization details making configuration process easier.
For example, instead of complicated initialization, the following is enough for HTTP application's index.php:
<?php