Roadrunner Laravel Versions Save

[ABANDONED] Moved to https://github.com/spiral/roadrunner-laravel

v3.3.0

4 years ago

Added

  • Event LoopErrorOccurredEvent (triggered on request processing exception)
  • Listener SendExceptionToStderrListener for direct exception sending (as a string) into stderr
  • Listener StopWorkerListener for worker stopping

Changed

  • Default package configuration includes LoopErrorOccurredEvent event listeners: SendExceptionToStderrListener and StopWorkerListener #42
  • When "debug mode" (app.debug) is not enabled - client will get only Internal 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)

:warning: 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

4 years ago

Changed

  • Updated symfony/psr-http-message-bridge to allow ^2.0 #41

v3.2.0

4 years ago

Changed

  • Dependency zendframework/zend-diactoros replaced with laminas/laminas-diactoros
  • Worker PSR7 fabric method uses Laminas\Diactoros\ResponseFactory as ResponseFactory (instead Zend\Diactoros\ResponseFactory)
  • Minimal required version of spiral/roadrunner package changed from ~1.6 to ~1.7

v3.1.0

4 years ago

Changed

  • Maximal illuminate/* packages version now is 7.*

Removed

  • Unused dev-dependency jeremeamia/superclosure

v3.0.2

4 years ago

Fixed

  • Macroses binds in InjectStatsIntoRequestListener (functions now not-static)

v3.0.1

4 years ago

Fixed

  • Wrong links (server schema or/and port) generation (default configuration updated, listeners order is important) (#27)

v3.0.0

4 years ago

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

4 years ago

Changed

  • Maximal illuminate/* packages version now is 6.*

v2.1.0

4 years ago

Added

  • Middleware SetServerPortMiddleware for automatic setting SERVER_PORT in server parameters bag if it does not set before (value based on request schema; this middleware fixes empty port value like https://127.0.0.1:/ when exposed default port without set SERVER_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 is 5.5.x
  • Minimal spiral/roadrunner version now is ^1.4.6
  • Composer scripts
  • Package service-provider automatically register SetServerPortMiddleware middleware
  • Constant RULE_METHOD_PREFIX in CallbacksInitializer class now protected
  • Constants BOOL_OPTION_INVERT_LOGIC_NAME_PREFIX and OPTIONS_PREFIX in StartOptions class now protected
  • Method start() must returns void in WorkerInterface interface

Removed

  • Dev-dependency avto-dev/dev-tools

v2.0.0

5 years ago

Added

  • Laravel v5.8 supports

Changed

  • Minimal php version now is 7.1.3
  • Minimal illuminate/* and laravel/* package versions now is >=5.8