Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Latest commit

Β 

History

History
315 lines (183 loc) Β· 10.7 KB

CHANGELOG.md

File metadata and controls

315 lines (183 loc) Β· 10.7 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.

v5.12.0

Added

  • Support for v3.x of spiral/roadrunner-http package #125

v5.11.1

Fixed

  • Strings interpolation for PHP 8.2 #114

v5.11.0

Added

  • Listener FlushDatabaseQueryDurationListener #112
  • Listener RebindPaginatorListener #112

Changed

  • Methods invoking in listeners replaced with normal function calls #112

v5.10.0

Added

  • Laravel 10 support #111

Changed

  • Minimal required PHP version now is 8.0 #111
  • Minimal required Laravel version now is 9.33 #111

v5.9.0

Added

Fixed

  • CLI running mode detection #88

v5.8.0

Added

  • Listener CleanupUploadedFilesListener for removing temporary files which were created during uploading (must be enabled manually for the AfterLoopIterationEvent event) #84

v5.7.0

Added

  • Laravel 9 support #78
  • Listener FlushStrCacheListener for flushing Str cache between requests #86

Removed

  • Laravel 6 and 7 is no longer supported #78

v5.6.0

Added

  • Give the current App instance to FilesystemManager (listener RebindFilesystemManagerListener) #77
  • Monolog state resetting between requests (listener FlushMonologStateListener) #77

v5.5.0

Added

  • Listener FlushTranslatorCacheListener for memory leak fixing on Translator implementation #70
  • Integration with Livewire is supported now #71

v5.4.0

Added

  • Listener FlushDatabaseQueryLogListener for cleaning up database query log #67

v5.3.0

Added

  • Possibility to use different classes of workers for different worker modes #65
  • Integration with Ziggy is supported now #64

Changed

  • Listeners (resetters) for the 3rd party packages are enabled by default

v5.2.2

Changed

  • Resolve listener components when needed #58

v5.2.1

Fixed

  • Dumper middleware could not dump a large set of responses (such as Illuminate\Http\JsonResponse)

v5.2.0

Added

  • Integration with Laravel Telescope is supported now (just enable SetupTelescopeListener for BeforeLoopStartedEvent) #53

v5.1.0

Added

  • Listener FlushLogContextListener for the logger context flushing #51

v5.0.2

Fixed

  • Dumper CLI mode detection #47

v5.0.1

Fixed

  • Symfony uploaded file moving (FixSymfonyFileMovingListener was added for this) #43

v5.0.0

Added

  • Listener RebindDatabaseSessionHandlerListener for the database session driver container rebinding [octane#300]
  • Listener WarmInstancesListener for instances pre-resolving

Changed

  • Most important configuration values (such as event listeners) now defined in Spiral\RoadRunnerLaravel\Defaults class and used by the package configuration file (in the future, you will not need to update your config file manually when new "core" listeners will be added)
  • Dependency laminas/laminas-diactoros replaced with nyholm/psr7 (lightweight PSR-7 implementation, strict and fast)
  • Config option pre_resolving replaced with warm
  • Config option clear_instances replaced with clear
  • Worker code refactored

v4.1.0

Added

  • Possibility to "dump" (using Symfony VarDumper) any variables in HTTP context (just call \rr\dump(...) or \rr\dd(...) instead dump(...) or dd(...) in your code)
  • Function \rr\worker() for easy access to the RoadRunner PSR worker instance (available only in HTTP context, of course)
  • Listener FlushArrayCacheListener for flushing array-based cache storages
  • Listener FlushAuthenticationStateListener for authentication state flushing
  • Listener RebindAuthorizationGateListener for the authorization gate container rebinding
  • Listener RebindBroadcastManagerListener for the broadcast manager container rebinding
  • Listener RebindDatabaseManagerListener for the database manager container rebinding
  • Listener RebindMailManagerListener for the mail manager container rebinding and resolved mailer instances clearing
  • Listener RebindNotificationChannelManagerListener for the notification channel manager container rebinding and resolved driver instances clearing
  • Listener RebindPipelineHubListener for the pipeline hub container rebinding
  • Listener RebindQueueManagerListener for the queue manager container rebinding
  • Listener RebindValidationFactoryListener for the validator container rebinding
  • Listener ResetDatabaseRecordModificationStateListener for resetting the database record modification state
  • Listener ResetLocaleStateListener for the translator locale resetting
  • Integration with inertiajs (package inertiajs/inertia-laravel) is supported now (just enable ResetInertiaListener for BeforeLoopIterationEvent)
  • Integration with Laravel Scout is supported now (just enable ResetLaravelScoutListener for BeforeLoopIterationEvent)
  • Integration with Laravel Socialite is supported now (just enable ResetLaravelSocialiteListener for BeforeLoopIterationEvent)

Changed

  • Listeners RebindHttpKernelListener, RebindRouterListener, RebindViewListener and UnqueueCookiesListener improved

v4.0.1

Fixed

  • Termination request handling (safe loop breaking)

v4.0.0

Added

  • Package "binary" file allows using next options:
    • laravel-path for Laravel application base path changing
    • relay-dsn for RR relay changing (you can set tcp://localhost:6001, unix:///tmp/rpc.sock and others; pipes is used by default)
    • refresh-app for application instance refreshing on each incoming HTTP request (instead APP_REFRESH env variable)
  • Possibility to use unix socket or TCP port as a relay to communicate with RoadRunner
  • Spiral\RoadRunnerLaravel\WorkerOptionsInterface that describes worker starting options
  • Feature tests (phpunit) that uses real RR server running

Changed

  • Minimal required PHP version now is 7.4
  • Dependency spiral/roadrunner (~1.8) changed with spiral/roadrunner-worker and spiral/roadrunner-http (^2.0)
  • RR worker instance binding for DI from Spiral\RoadRunner\PSR7Client to Spiral\RoadRunner\Http\PSR7Worker
  • Spiral\RoadRunnerLaravel\WorkerInterface::start accepts Spiral\RoadRunnerLaravel\WorkerOptionsInterface now

Removed

  • RR config file (.rr.yaml) publishing using artisan vendor:publish command
  • Listener Spiral\RoadRunnerLaravel\Listeners\ResetDbConnectionsListener

v3.7.0

Added

  • Support PHP 8.x

Changed

  • Composer 2.x is supported now
  • Minimal required PHP version now is 7.3 (7.2 security support ended January 1st, 2021)
  • Dev-dependency mockery/mockery minimal required version changed from ^1.3.1 to ^1.3.2
  • Dev-dependency phpstan/phpstan minimal required version changed from ~0.12 to ~0.12.34

Removed

  • Code-style checking and fixing for local development (packages spiral/code-style and friendsofphp/php-cs-fixer does not supports PHP 8.x), but using GitHub this actions still running

v3.6.0

Changed

  • Laravel 8.x is supported now
  • Minimal Laravel version now is 6.0 (Laravel 5.5 LTS got last security update August 30th, 2020)
  • Minimal spiral/roadrunner package version now is 1.8

v3.5.0

Added

  • Listener EnableHttpMethodParameterOverrideListener for forced support of _method request parameter (for determining the intended HTTP method) #9

Changed

  • Listener EnableHttpMethodParameterOverrideListener is enabled by default in the configuration file #9

Fixed

  • Sending any form data with a DELETE or PUT method (the application ignored the hidden field _method and as a result the action necessary for the form did not occur) #9

v3.4.0

Added

  • Source code style checking using spiral/code-style package #3

Changed

  • Minimal required PHP version now is 7.2 #3

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)