Releases: spiral/roadrunner-bridge
Releases · spiral/roadrunner-bridge
v2.3.2
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
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
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 usingspiral/roadrunner-cli
package./vendor/bin/rr get -s RC
- Added
Spiral\RoadRunnerBridge\GRPC\ProtoRepository\ProtoFilesRepositoryInterface
by @kastahov in #49 - Added
generatedPath
andservicesBasePath
to GRPC config by @kastahov in #48
Full Changelog: 2.2.0...2.3.0
v2.2.0
What's Changed
New Contributors
- @kastahov made their first contribution in #41
Full Changelog: 2.1.0...2.2.0
v2.1.0
What's Changed
- Added headers in the context by @msmakouz in #35
- Added FailbackDispatcher by @msmakouz in #37
- Fixed
Is active
in the roadrunner:list command by @msmakouz in #39 - Added headers in the context by @butschster in #36
Full Changelog: 2.0.1...2.1.0
v2.0.1
What's Changed
- Adds support for
spiral/roadrunner-kv:^3.0
by @butschster in #30 - Removing
laminas/laminas-diactoros
by @msmakouz in #33 - Fixes jobs pipeline stat for console command by @butschster in #32
Full Changelog: 2.0.0...2.0.1
v2.0.0
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
What's Changed
RoadRunner metrics support
- Added RoadRunner metrics support by @butschster in #21
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
// 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
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
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