Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Latest commit

 

History

History
217 lines (132 loc) · 5.66 KB

CHANGELOG.md

File metadata and controls

217 lines (132 loc) · 5.66 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v3.3.0

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)

v3.2.1

Changed

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

v3.2.0

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

Changed

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

Removed

  • Unused dev-dependency jeremeamia/superclosure

v3.0.2

Fixed

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

v3.0.1

Fixed

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

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 is 6.*

v2.1.0

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

Added

  • Laravel v5.8 supports

Changed

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

v1.4.0

Changed

  • Minimal spiral/roadrunner version now is ^1.4

Added

  • RR Config option trustedSubnets
  • RR Config option limit

Deprecated

  • RR Config option maxRequest has been deprecated in favor of maxRequestSize

v1.3.0

Fixed

  • Files upload mechanism (Symfony file validation bug) RR#133, #10

Added

  • Worker option --not-fix-symfony-file-validation for disabling upload mechanism fix

v1.2.1

Fixed

  • Middleware ForceHttpsMiddleware now set HTTPS server parameter to on (required for correct working request methods like ::isSecure and others)

v1.2.0

Added

  • Worker option --(not-)inject-stats-into-request for injecting macroses into request object for accessing timestamp and allocated memory size (before request processing) values

v1.1.1

Added

  • Small fix for previous feature (added unset() for $kernel)

v1.1.0

Added

  • Supports option --(not-)refresh-app

v1.0.2

Fixed

  • Methods Worker->getDefaultAppBasePath() and Worker->getDefaultAppBootstrapPath() (resolve order)

v1.0.1

Fixed

  • Forcing https schema (using env variable) method

v1.0.0

Changed

  • First release