github roadrunner-server/roadrunner v3.3.0

30 minutes ago

3.3.0 (2026-12-01)

🎯 Core

  • ✨ Graceful shutdown ordering: endure (v2.7.1, v2.7.2) stops active plugins in reverse dependency order. Provider plugins such as logger stop only after dependent plugins finish in-flight requests and close worker pools. This preserves HTTP access logs, worker stderr, and pool shutdown logs after SIGTERM. See BUG #2471, PR #2472, endure PR #236, and endure PR #238.
  • 🐛 Endure configuration loading: RoadRunner loads the endure section through the config plugin. This applies include, envfile, environment expansion, and -o CLI overrides to endure settings. The config plugin (v6.0.1) merges included leaf keys and keeps non-overridden keys in the same section. See BUG #2444, PR #2474, BUG #2445, and config PR #121.
  • ✨ JSON v2 migration: RoadRunner migrates JSON encoding and decoding to Go encoding/json/v2 in goridge (v4.0.1), pool (v2.0.1), rpc (v6.0.1), status (v6.0.1), centrifuge (v6.0.1), grpc (v6.0.1), and nine Jobs drivers (amqp, beanstalk, boltdb, google-pub-sub, kafka, memory, nats, nsq, sqs). The JSON v2 encoder and decoder reject duplicate object keys and keep <, >, and & unescaped. goridge, pool, rpc, and the Jobs drivers reject invalid UTF-8 bytes. status, centrifuge, and grpc replace invalid UTF-8 bytes. Empty or nil Jobs header maps and slices serialize as {} and [] instead of null. See goridge PR #229, pool PR #78, rpc PR #141, status PR #166, centrifuge PR #251, grpc PR #157, and kafka PR #643.
  • 🐛 Configuration schema and toolchain: Update Go in go.mod, go.work, and tests/go.mod to 1.27.4. Update .rr.yaml comments and JSON schema descriptions for status. Sync temporal v6.2.0 properties in 3.0.schema.json. Run E2E tests on PHP 8.6. See PR #2472, PR #2477, and commit 8a865b6.

📦 status plugin

  • 🐛 Active-worker readiness: /ready and /readyz return HTTP 200 when at least one worker is active (Ready or Working) instead of requiring an idle worker. This applies to http (v6.1.2), grpc (v6.0.1), jobs (v6.1.2), centrifuge (v6.0.1), and temporal (v6.2.0). Each plugin guards against uninitialized (nil) worker pools and returns 503 until pools start. See Issue #2403, http PR #315, grpc PR #158, jobs PR #170, centrifuge PR #253, and temporal PR #880.
  • 🐛 Consistent error status codes: status (v6.0.1) returns unavailable_status_code (503 by default) on /health, /livez, /ready, and /readyz when a checked plugin fails, returns nil status, or is uninitialized. It also returns unavailable_status_code when ?plugin= matches no registered plugin. Each request writes response headers once. See status PR #168.

📦 jobs plugin

  • 🐛 Concurrent pipeline declaration: Serialize jobs.Declare calls to prevent duplicate drivers and orphan consumers for the same pipeline name. Stop the initialized driver if Run fails. See Issue #2438, Issue #2433, and jobs PR #164.
  • 🐛 Pipeline restart state and error reporting: Preserve paused or active pipeline state across automatic pipeline restarts. Report a service error if restarting a dynamically declared pipeline fails. See Issue #2440, Issue #2439, jobs PR #166, and jobs PR #167.
  • 🐛 Shutdown and worker allocation timeouts: Cancel execution contexts and destroy worker pools during Stop without blocking on running handlers. Retry unstarted jobs instead of dropping them with Nack when worker allocation times out. See Issue #2443, Issue #2447, jobs PR #168, jobs PR #169, jobs PR #165, and PR #2475.

📦 proxy_ip_parser middleware

  • 🐛 Port-less IPv6 in Forwarded: proxy_ip_parser (v6.0.1) strips outer square brackets from port-less IPv6 addresses in the Forwarded header for= parameter (such as for="[2001:db8:cafe::17]"). Addresses with a port keep their brackets. See PR #153.

📦 temporal plugin

  • ✨ Nexus support: Host Nexus service handlers on Temporal PHP workers and call Nexus operations across endpoints and task queues. Call temporal.GetNexusServiceNames over RPC to list registered services. Handler execution uses the activity worker pool, so temporal.disable_activity_workers: true skips Nexus service registration. See PR #804.
  • ✨ External payload storage: Offload large workflow and activity payloads with temporal.external_storage. Use the built-in AWS S3 driver (driver: s3) or a custom api.StorageDriver plugin, with replay RPC support. See PR #874.
  • ✨ AWS Lambda Runtime API mode: Answer the AWS_LAMBDA_RUNTIME_API runtime loop directly from the Temporal plugin. The plugin starts Temporal pollers per invocation and drains workers within temporal.lambda.graceful_timeout and temporal.lambda.shutdown_buffer. See Issue #839 and PR #876.
  • ✨ Workflow cancellation reason: Forward incoming workflow cancellation cause strings to PHP. Pass outgoing reason strings when canceling external workflows. See PR #881.
  • 🐛 Dynamic workflow versioning: Pass declared versioning_behavior values for dynamic workflows to the Temporal Go SDK through LoadDynamicRuntimeOptions. Use the worker default when versioning_behavior is unspecified. See PR #875.
  • 🐛 Active-worker readiness: Return HTTP 200 from /ready and /readyz when at least one worker is active (Ready or Working). Guard against uninitialized pools during startup. See PR #880.

Don't miss a new roadrunner release

NewReleases is sending notifications on new releases.