Skip to content

v5.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:06
e986054

5.0.0 (2026-11-24)

⚠ BREAKING CHANGES

  • http: stop populating $_SERVER on every request (#165)
  • Requires RoadRunner 3; RoadRunner 2025.x and older are no longer supported. Upgrading from 4.x: follow the migration guide.
  • The spiral/roadrunner-* dependencies are replaced with roadrunner/* (spiral/roadrunner → roadrunner/roadrunner, spiral/roadrunner-jobs → roadrunner/jobs, spiral/goridge → roadrunner/goridge, roadrunner-php/centrifugo → roadrunner/centrifugo, …); PHP namespaces are unchanged.
  • RoadRunner 3 has no TCP plugin: TcpBootloader, TcpConfig, Spiral\RoadRunnerBridge\Tcp\*, RoadRunnerMode::Tcp and the TCP service scaffolder are removed. tcp:// addresses for RPC and relays keep working.
  • grpc: grpc:generate compiles proto files with buf. binaryPath is removed in favour of pluginPath (new optional bufPath, protocPath, bufTemplate); imports resolve only from servicesBasePath; the command exits with 1 on a missing or broken proto file. Download buf, protoc and protoc-gen-php-grpc, e.g. with rr get-grpc-tools from roadrunner/cli 3.1.
  • centrifugo: The sub_refresh request type is renamed to subrefresh; the old key in centrifugo.services and centrifugo.interceptors throws ConfigurationException.
  • queue: QueueBootloader loads LockBootloader, so a custom RoadRunner build must include the lock plugin.
  • Logger: Records go through the app-logger level methods and RoadRunner renders them by logs.mode: the channel is in channel (logger is always app), time replaces ts, levels are upper-case, values are strings, nested context arrives as dot-separated keys, and records are filtered by logs.level, so set it as low as MONOLOG_DEFAULT_LEVEL. Logger\Handler no longer accepts loggerMode; RoadRunnerJsonFormatter and RoadRunnerLogsMode are removed (#162) and RR_LOGGER_MODE has no effect.
  • Classes outside the @api surface moved into *\Internal\* namespaces; Queue\PipelineRegistryInterface is now @api.

Features

  • add the spiral-roadrunner agent skill (#148) (d6088dd)
  • centrifugo: name the sub-refresh request type subrefresh (#125) (d6088dd)
  • depend on the roadrunner/* packages (#125) (d6088dd)
  • grpc: generate gRPC code with buf (#147) (d6088dd)
  • grpc: trace incoming and outgoing gRPC calls (#157) (d6088dd)
  • http: stop populating $_SERVER on every request (#165) (c689137)
  • Logger: let RoadRunner render application logs natively (#150) (d6088dd)
  • queue: add JobOptions to set the job priority and auto-ack together with the pipeline (#159) (d6088dd)
  • queue: declare configured pipelines under a RoadRunner lock, with the lockPrefix option (#153) (d6088dd)
  • remove the TCP plugin support (#125) (d6088dd)
  • support RoadRunner 3 (#125) (d6088dd)

Bug Fixes

  • grpc: accept a custom LocatorInterface that is not a tokenizer listener, and warn when a worker finds no services (#158) (d6088dd)
  • grpc: cut the namespace prefix from generated paths by whole segments only (#147) (d6088dd)
  • name the bootloader to add when no dispatcher serves the RoadRunner mode (#151) (d6088dd)
  • queue: keep configured pipelines usable after another process declares them (#153) (d6088dd)
  • queue: push to the topic the Kafka connector consumes, and reject non-Kafka default options for Kafka pipelines (#155) (d6088dd)

Documentation

  • describe the spiral-roadrunner agent skill in the README (#161) (d6088dd)
  • restructure the README with current requirements (#134) (d6088dd)

Code Refactoring

  • move internal classes into Internal namespaces and enforce the public API surface with StructArmed (#146) (d6088dd)