This repository has been archived by the owner on May 25, 2020. It is now read-only.
Releases: avto-dev/roadrunner-laravel
Releases · avto-dev/roadrunner-laravel
v3.3.0
Added
- Event
LoopErrorOccurredEvent
(triggered on request processing exception) - Listener
SendExceptionToStderrListener
for direct exception sending (as a string) intostderr
- Listener
StopWorkerListener
for worker stopping
Changed
- Default package configuration includes
LoopErrorOccurredEvent
event listeners:SendExceptionToStderrListener
andStopWorkerListener
#42 - When "debug mode" (
app.debug
) is not enabled - client will get onlyInternal server error
string instead exception with stacktrace #42
Fixed
- Double response sending on request processing error (calling
$psr7_client->respond
and$psr7_client->getWorker()->error
after that)
⚠️ Package updating note
You may need to add into your ./config/roadrunner.php
next lines:
<?php
return [
// ...
'listeners' => [
// ...
Events\LoopErrorOccurredEvent::class => [
Listeners\SendExceptionToStderrListener::class,
Listeners\StopWorkerListener::class,
],
],
];
v3.2.1
v3.2.0
Changed
- Dependency
zendframework/zend-diactoros
replaced withlaminas/laminas-diactoros
- Worker PSR7 fabric method uses
Laminas\Diactoros\ResponseFactory
as ResponseFactory (insteadZend\Diactoros\ResponseFactory
) - Minimal required version of
spiral/roadrunner
package changed from~1.6
to~1.7
v3.1.0
Changed
- Maximal
illuminate/*
packages version now is7.*
Removed
- Unused dev-dependency
jeremeamia/superclosure
v3.0.2
Fixed
- Macroses binds in
InjectStatsIntoRequestListener
(functions now not-static)
v3.0.1
v3.0.0
Changed
- Package was totally rewrote
Added
- Events for interaction with worker loop:
BeforeLoopStartedEvent
BeforeLoopIterationEvent
BeforeRequestHandlingEvent
AfterRequestHandlingEvent
AfterLoopIterationEvent
AfterLoopStoppedEvent
- Listeners:
BindRequestListener
ClearInstancesListener
CloneConfigListener
FixSymfonyFileValidationListener
ForceHttpsListener
InjectStatsIntoRequestListener
RebindHttpKernelListener
RebindRouterListener
RebindViewListener
ResetDbConnectionsListener
ResetProvidersListener
ResetSessionListener
RunGarbageCollectorListener
SetServerPortListener
UnqueueCookiesListener
Spiral\RoadRunner\PSR7Client
instance in application containers (closes #21)- Environment variable
APP_REFRESH
supports - Package configuration file
- PHP
7.4
supports - GitHub actions for a tests running
v2.2.0
Changed
- Maximal
illuminate/*
packages version now is6.*
v2.1.0
Added
- Middleware
SetServerPortMiddleware
for automatic settingSERVER_PORT
in server parameters bag if it does not set before (value based on request schema; this middleware fixes empty port value likehttps://127.0.0.1:/
when exposed default port without setSERVER_PORT
) - Environment variable
RR_WORKER_CLASS
supports for overriding default worker class (watch in./bin/rr-worker
) - Docker-based environment for development
- Project
Makefile
Changed
- Allowed RR configuration options (
http.fcgi.*
,http.http2.*
,headers.*
) (do not forget update your existing config files) - Minimal
Laravel
version now is5.5.x
- Minimal
spiral/roadrunner
version now is^1.4.6
- Composer scripts
- Package service-provider automatically register
SetServerPortMiddleware
middleware - Constant
RULE_METHOD_PREFIX
inCallbacksInitializer
class now protected - Constants
BOOL_OPTION_INVERT_LOGIC_NAME_PREFIX
andOPTIONS_PREFIX
inStartOptions
class now protected - Method
start()
must returnsvoid
inWorkerInterface
interface
Removed
- Dev-dependency
avto-dev/dev-tools
v2.0.0
Added
- Laravel v5.8 supports
Changed
- Minimal
php
version now is7.1.3
- Minimal
illuminate/*
andlaravel/*
package versions now is>=5.8