This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Releases: roadrunner-php/laravel-bridge
Releases · roadrunner-php/laravel-bridge
v5.3.0: Worker class can now be redefined
v5.2.2
v5.2.1
Fixed
- Dumper middleware could not dump a large set of responses (such as
Illuminate\Http\JsonResponse
)
v5.2.0: Laravel Telescope is supported now
Added
- Integration with Laravel Telescope is supported now (just enable
SetupTelescopeListener
forBeforeLoopStartedEvent
)
v5.1.0: FlushLogContextListener added
Added
- Listener
FlushLogContextListener
for the logger context flushing
v5.0.2: Dumper CLI mode detection fixed
Fixed
- Dumper CLI mode detection #47
v5.0.1: Fixed Symfony uploaded file moving
Fixed
- Symfony uploaded file moving (
FixSymfonyFileMovingListener
was added for this) #43
v5.0.0: Forget about new listeners adding on package updates
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 withnyholm/psr7
(lightweight PSR-7 implementation, strict and fast) - Config option
pre_resolving
replaced withwarm
- Config option
clear_instances
replaced withclear
- Worker code refactored
⚠️ Do not forget to update your configuration (file config/roadrunner.php
) ⚠️
v4.1.0: Dumper and new resetters
Added
- Possibility to "dump" (using Symfony VarDumper) any variables in HTTP context (just call
\rr\dump(...)
or\rr\dd(...)
insteaddump(...)
ordd(...)
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 flushingarray
-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
forBeforeLoopIterationEvent
) - Integration with Laravel Scout is supported now (just enable
ResetLaravelScoutListener
forBeforeLoopIterationEvent
) - Integration with Laravel Socialite is supported now (just enable
ResetLaravelSocialiteListener
forBeforeLoopIterationEvent
)
Changed
- Listeners
RebindHttpKernelListener
,RebindRouterListener
,RebindViewListener
andUnqueueCookiesListener
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
Fixed
- Termination request handling (safe loop breaking)