Skip to content

Releases: spiral/roadrunner-bridge

v2.3.2

16 Dec 12:33
bccc170
Compare
Choose a tag to compare

What's Changed

  • Fixes problem with making cache storage with container factory. by @butschster in #57

Full Changelog: 2.3.1...2.3.2

v2.3.1

23 Nov 21:19
b3135b8
Compare
Choose a tag to compare

What's Changed

  • Replace MonologBootloader with RoadRunnerBootloader in LoggerBootloader dependencies by @kastahov in #52
  • Add new line separator in the end of Protoc plugin binary was not found... by @kastahov in #53
  • Add console mode to log handler by @kastahov in #54

Full Changelog: 2.3.0...2.3.1

v2.3.0

18 Nov 08:30
3e61232
Compare
Choose a tag to compare

What's Changed

  • Added integration with centrifuge RoadRunner plugin by @butschster in #43

Warning
RoadRunner supports centrifuge since v2.12.0-beta.1
You can download it using spiral/roadrunner-cli package ./vendor/bin/rr get -s RC

  • Added Spiral\RoadRunnerBridge\GRPC\ProtoRepository\ProtoFilesRepositoryInterface by @kastahov in #49
  • Added generatedPath and servicesBasePath to GRPC config by @kastahov in #48

Full Changelog: 2.2.0...2.3.0

v2.2.0

10 Nov 09:02
3f5b0dd
Compare
Choose a tag to compare

What's Changed

  • Added grpc interceptors by @kastahov in #41
  • Added roadrunner logger handler by @kastahov in #42

New Contributors

  • @kastahov made their first contribution in #41

Full Changelog: 2.1.0...2.2.0

v2.1.0

21 Oct 10:58
9222fc6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.1...2.1.0

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