File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] [ keepachangelog ] and this project adheres to [ Semantic Versioning] [ semver ] .
66
7+ ## v5.12.0
8+
9+ ### Added
10+
11+ - Support for ` v3.x ` of ` spiral/roadrunner-http ` package [ #125 ]
12+
13+ [ #125 ] :https://github.com/roadrunner-php/laravel-bridge/issues/125
14+
715## v5.11.1
816
917### Fixed
Original file line number Diff line number Diff line change 1919 "composer-runtime-api" : " ^2.0" ,
2020 "laravel/framework" : " ~9.33 || ~10.0" ,
2121 "nyholm/psr7" : " ^1.5" ,
22- "spiral/roadrunner-http" : " ^2.2" ,
23- "spiral/roadrunner-worker" : " ^2.2" ,
22+ "spiral/roadrunner-http" : " ^2.2 || ^3.0 " ,
23+ "spiral/roadrunner-worker" : " ^2.2 || ^3.0 " ,
2424 "symfony/psr-http-message-bridge" : " ^2.1"
2525 },
2626 "require-dev" : {
Original file line number Diff line number Diff line change @@ -74,8 +74,11 @@ public function __construct()
7474 */
7575 public function start (WorkerOptionsInterface $ options ): void
7676 {
77+ /** @var non-empty-string $relay_dsn */
78+ $ relay_dsn = $ options ->getRelayDsn ();
79+
7780 $ psr7_worker = new \Spiral \RoadRunner \Http \PSR7Worker (
78- new \Spiral \RoadRunner \Worker (\Spiral \Goridge \Relay::create ($ options -> getRelayDsn () )),
81+ new \Spiral \RoadRunner \Worker (\Spiral \Goridge \Relay::create ($ relay_dsn )),
7982 $ this ->request_factory ,
8083 $ this ->stream_factory ,
8184 $ this ->uploads_factory
You can’t perform that action at this time.
0 commit comments