Skip to content

Releases: spiral/roadrunner-bridge

v2.0.1

28 Sep 09:41
c461f46
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

v2.0.0

14 Sep 09:51
b8b9046
Compare
Choose a tag to compare

Spiral Framework 3.0 support

What's Changed

  • Added integration with SF serializer by @msmakouz in #14
  • Added RoadRunnerMode enum by @butschster in #15
  • Added the ability to connect to a pipeline without configuration. by @butschster in #18
  • Added RoadRunner metrics support by @butschster in #21
  • Added the ability to configure serializers for different types of jobs by @msmakouz in #22
  • Added interceptors support by @msmakouz in #23
  • Added the ability to configure priority and autoAck by @msmakouz in #28

Full Changelog: 1.1.0...2.0.0

v1.3.0

02 Sep 07:19
293c526
Compare
Choose a tag to compare

What's Changed

RoadRunner metrics support

Add Spiral\RoadRunnerBridge\Bootloader\MetricsBootloader to application bootloaders list:

use Spiral\RoadRunnerBridge\Bootloader as RoadRunnerBridge;

protected const LOAD = [
    // ...
    RoadRunnerBridge\MetricsBootloader::class, 
    // ...
];

First, you have to register a metric in your configuration file:

metrics:
  address: localhost:2112
  collect:
    app_metric_counter:
      type: counter
      help: "Application counter."

or declare metrics in PHP code

use Spiral\RoadRunner\Metrics\MetricsInterface;
use Spiral\RoadRunner\Metrics\Collector;

class AppBootloader extends Bootloader
{
    //...

    public function boot(MetricsInterface $metrics): void
    {
        $metrics->declare(
            'app_metric_counter',
            Collector::counter()->withHelp('Application counter.')
        );
    }
}

Jobs serializers

  • Adding the ability to configure jobs serializers with Spiral Framework 2.14 by @msmakouz in #26
 // file app/app/config/queue.php
return [
    'defaultSerializer' => \Spiral\Queue\PhpSerializer::class,
    // ...
    'registry' => [
        'serializers' => [
            \App\Job\Ping::class => \Spiral\Queue\PhpSerializer::class,
            // other ways
            // \App\Job\Ping::class => new \Spiral\Queue\PhpSerializer(),
            // \App\Job\Ping::class => new \Spiral\Core\Container\Autowire(\Spiral\Queue\PhpSerializer::class),
        ]
    ],
];

Warning
Queue serializers configuration will only work with Spiral Framework 2.14

Full Changelog: 1.2.0...1.3.0

v2.0-beta2

04 Aug 16:37
d3b6e3c
Compare
Choose a tag to compare
v2.0-beta2 Pre-release
Pre-release

What's Changed

  • Adds an ability to connect to a pipeline without configuration. by @butschster in #18
  • Added RoadRunner metrics support by @butschster in #21
  • Adding the ability to configure serializers for different types of jobs by @msmakouz in #22
  • Adding interceptors support by @msmakouz in #23

Full Changelog: 2.0-beta1...2.0-beta2

v1.2.0

21 Jul 07:26
fc1371c
Compare
Choose a tag to compare

What's Changed

  • Adds an ability to connect to a pipeline without configuration. by @butschster in #18

Full Changelog: 1.1.0...1.2.0

v2.0-beta1

30 Jun 15:17
ce8aa38
Compare
Choose a tag to compare
v2.0-beta1 Pre-release
Pre-release

What's Changed

Full Changelog: 2.0-beta...2.0-beta1

v2.0-beta

16 Jun 15:43
b8705b7
Compare
Choose a tag to compare
v2.0-beta Pre-release
Pre-release

What's Changed

  • Added support for Spiral Framework 3.0
  • Adding integration with SF serializer by @msmakouz in #14

Full Changelog: 2.0.0...2.0-beta

v1.1.0

16 Jun 15:41
2fce041
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.0...1.1.0

v1.0.0

03 Feb 14:46
Compare
Choose a tag to compare
Fixes spiral framework version