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

Releases: roadrunner-php/laravel-bridge

v5.3.0: Worker class can now be redefined

30 Sep 14:48
041910f
Compare
Choose a tag to compare

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

13 Aug 05:27
bf3f612
Compare
Choose a tag to compare

Changed

  • Resolve listener components when needed #58

v5.2.1

12 Aug 05:30
a853329
Compare
Choose a tag to compare

Fixed

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

v5.2.0: Laravel Telescope is supported now

16 Jul 06:06
00f56b2
Compare
Choose a tag to compare

Added

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

v5.1.0: FlushLogContextListener added

08 Jul 05:25
7bb67b4
Compare
Choose a tag to compare

Added

  • Listener FlushLogContextListener for the logger context flushing

v5.0.2: Dumper CLI mode detection fixed

26 Jun 09:20
cd41168
Compare
Choose a tag to compare

Fixed

  • Dumper CLI mode detection #47

v5.0.1: Fixed Symfony uploaded file moving

10 Jun 12:26
8b75332
Compare
Choose a tag to compare

Fixed

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

v5.0.0: Forget about new listeners adding on package updates

10 Jun 10:03
beff13e
Compare
Choose a tag to compare

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

⚠️ Do not forget to update your configuration (file config/roadrunner.php) ⚠️

v4.1.0: Dumper and new resetters

19 May 20:17
cdef0a1
Compare
Choose a tag to compare

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

⚠️ Do not forget to update your configuration (file config/roadrunner.php) ⚠️

return [

    // ...

    'listeners' => [

        // ...

        Events\BeforeLoopIterationEvent::class => [
            // ...

            // add the following classes:
            Listeners\RebindAuthorizationGateListener::class,
            Listeners\RebindBroadcastManagerListener::class,
            Listeners\RebindDatabaseManagerListener::class,
            Listeners\RebindMailManagerListener::class,
            Listeners\RebindNotificationChannelManagerListener::class,
            Listeners\RebindPipelineHubListener::class,
            Listeners\RebindQueueManagerListener::class,
            Listeners\RebindValidationFactoryListener::class,
            Listeners\FlushAuthenticationStateListener::class,
            Listeners\ResetLocaleStateListener::class,
        ],

        Events\AfterLoopIterationEvent::class => [
            // ...

            // add the following classes:
            Listeners\FlushArrayCacheListener::class,
            Listeners\ResetDatabaseRecordModificationStateListener::class,
        ],
    ],
];

v4.0.1: Termination request handling

12 Mar 20:10
Compare
Choose a tag to compare

Fixed

  • Termination request handling (safe loop breaking)