PackageTrack
Sign in Get early access

spiral/roadrunner-worker

RoadRunner: PHP worker

v3.6.2 14M downloads/mo #759 most downloaded on Packagist roadrunner-php/worker

What this package is like to depend on

Last release 1 years ago

05 May 2025

Ships fairly regularly

a new release about every 4 months

Some releases are documented

notes for 10 of 21 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

21 releases · first in 2021

0 releases in the last 12 months

see the full history below

Release timeline

21 releases · Feb 2021 to May 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 21
  1. v3.6.2 05 May 2025
    Release notes

    What's Changed

    • Update dependencies by @roxblnfk in #40
      • Allow RoadRunner v2025

    Full Changelog: v3.6.1...v3.6.2

    Open source →
  2. v3.6.1 23 Nov 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.6.0...v3.6.1

    Open source →
  3. v3.6.0 03 Jun 2024
    Release notes

    What's Changed

    • Added getVersion method to the Spiral\RoadRunner\Environment class by @Kaspiman in #37

    New Contributors

    Full Changelog: v3.5.0...v3.6.0

    Open source →
  4. v3.5.0 29 Mar 2024
    Release notes

    What's Changed

    • Added the codec parameter to the worker's respond method by @msmakouz in #36

    Full Changelog: v3.4.0...v3.5.0

    Open source →
  5. v3.4.0 26 Feb 2024
    Release notes

    What's Changed

    • Added the getWorkers and countWorkers methods to the Spiral\RoadRunner\WorkerPool class. These methods allow retrieval of information about the plugin workers in the pool and their count by @FluffyDiscord and @msmakouz in #34, #35
    • Fixed documentation links by @msmakouz in #33

    New Contributors

    Full Changelog: 3.3.0...v3.4.0

    Open source →
  6. 3.3.0 05 Dec 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.2.0...3.3.0

    Open source →
  7. 3.2.0 10 Oct 2023
    Release notes

    What's Changed

    Full Changelog: 3.1.0...3.2.0

    Open source →
  8. 3.1.0 03 Oct 2023
    Release notes

    What's Changed

    • Implemented Ping-Pong strategy for worker with blocking relay when data is streaming by @roxblnfk in #30

    Full Changelog: 3.0.0...3.1.0

    Open source →
  9. 3.0.0 12 Apr 2023
    Release notes

    Features

    • Upgraded to PHP 8.1
    • Upgraded to PHPUnit 10
    • Upgraded to Psalm 5
    • Added reusable Gh Actions
    • Added metapackage spiral/roadrunner:^2023

    Breaking Changes

    Spiral\RoadRunner\WorkerInterface Changes

    It has been updated with two new methods:

    • hasPayload(string $class = null): bool
    • getPayload(string $class = null): ?Payload

    If your code uses Spiral\RoadRunner\WorkerInterface, you will need to update it to include these new methods.

    Spiral\RoadRunne\Worker Changes

    It has been updated to include a new constructor argument, allowing for a custom logger to be set.

    The constructor signature is now:

    public function __construct(
        private readonly RelayInterface $relay,
        bool $interceptSideEffects = true,
        private readonly LoggerInterface $logger = new Logger(),  // <====== new argument
    ) {
       ...
    }

    Spiral\RoadRunner\Payload Changes

    It has been marked as internal, which means that it can no longer be used directly by user code.

    Additionally, the body and header properties have been marked as readonly, which means that they cannot be modified once set.

    Spiral\RoadRunner\Exception\RoadRunnerException Changes

    It has been marked as final, which means that it can no longer be extended by user code. If your code extends it, you will need to update it to handle exceptions in a different way.

    Please note that these changes may require updates to your existing code, so be sure to review the breaking changes before upgrading to version 3.0.0.

    Full Changelog: v2.3.0...3.0.0

    Open source →
  10. v2.3.0 28 Oct 2022
    Release notes

    What's Changed

    Full Changelog: v2.2.0...v2.3.0

    Open source →
  11. v2.2.0 22 Mar 2022

    Nothing published for this version

  12. v2.1.5 30 Nov 2021

    Nothing published for this version

  13. v2.1.4 16 Nov 2021

    Nothing published for this version

  14. v2.1.3 04 Oct 2021

    Nothing published for this version

  15. v2.1.2 01 Oct 2021

    Nothing published for this version

  16. v2.1.1 09 Sep 2021

    Nothing published for this version

  17. v2.1.0 20 Aug 2021

    Nothing published for this version

  18. v2.0.3 19 Feb 2021

    Nothing published for this version

  19. v2.0.2 18 Feb 2021

    Nothing published for this version

  20. v2.0.1 01 Feb 2021

    Nothing published for this version

  21. v2.0.0 10 Mar 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive