Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update ghcr.io/roadrunner-server/roadrunner docker tag to v2023.3.1 #23

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 6, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
ghcr.io/roadrunner-server/roadrunner final minor 2023.2.2 -> 2023.3.1

Release Notes

roadrunner-server/roadrunner (ghcr.io/roadrunner-server/roadrunner)

v2023.3.1

Compare Source

🧹 Chore:
  • 🧑‍🏭 Dependencies: update project dependencies (including CVE in Go libraries).
  • 🧑‍🏭 Go: Update Golang to version 1.21.3.

v2023.3.0

Compare Source

🔥 Features:

RR Core:

👀 JOBS plugin:

  • ✒️ AMQP Driver: Support for a custom routing_key in the JOBS payload: FR, (thanks @​rauanmayemir)
  • ✒️ JOBS plugin: Parallel pipelines start/stop/destroy initialization. If you have much number of the pipelines,
    this feature should significantly reduce RR startup/shutdown time: FR, (thanks @​Kaspiman)

👀 KV drivers (all):

  • ✒️ Support for OTEL across all KV drivers: FR

👀 App-Logger plugin:

  • ✒️ Added new methods for your logger to log with context (message + key-values array): FR, (thanks @​Baiquette)

👀 Temporal plugin:

  • ✒️ Replay API support [SINCE PHP-SDK 2.6.0]: FR
  • ✒️ Add support for the Worker Versioning: FR

👀 Service plugin:

  • ✒️ Support for the user/group per-service: FR, (thanks @​Kaspiman)
Configuration example:
service:
    schedule:run:
        command: "bin/console schedule:run"
        process_num: 1
        exec_timeout: 0s
        remain_after_exit: true
        service_name_in_log: false
        restart_sec: 60
        user: www-data  # <---------- [NEW]
        group: www-data # <---------- [NEW]

👀 HTTP plugin:

Worker example:

<?php

require __DIR__ . '/vendor/autoload.php';

use Spiral\RoadRunner;

ini_set('display_errors', 'stderr');
require __DIR__ . "/vendor/autoload.php";

$worker = RoadRunner\Worker::create();
$http = new RoadRunner\Http\HttpWorker($worker);
$read = static function (): Generator {
    foreach (\file(__DIR__ . '/test.txt') as $line) {
        try {
            yield $line;
        } catch (Spiral\RoadRunner\Http\Exception\StreamStoppedException) {
            // Just stop sending data
            return;
        }
    }
};

try {
    while ($req = $http->waitRequest()) {
        $http->respond(200, $read());
    }
} catch (\Throwable $e) {
    $worker->error($e->getMessage());
}
  • ✒️ Support for the 103 Early Hints via streamed response: FR, (thanks @​azjezz)

Worker example:

<?php

use Spiral\RoadRunner;

ini_set('display_errors', 'stderr');
require __DIR__ . "/vendor/autoload.php";

$worker = RoadRunner\Worker::create();
$http = new RoadRunner\Http\HttpWorker($worker);
$read = static function (): Generator {
    $limit = 10;
    foreach (\file(__DIR__ . '/test.txt') as $line) {
        foreach (explode('"', $line) as $chunk) {
            try {
                usleep(50_000);
                yield $chunk;
            } catch (Spiral\RoadRunner\Http\Exception\StreamStoppedException $e) {
                // Just stop sending data
                return;
            }
            if (--$limit === 0) {
                return;
            }
        }
    }
};

try {
    while ($req = $http->waitRequest()) {
        $http->respond(103, '', headers: ['Link' => ['</style111.css>; rel=preload; as=style'], 'X-103' => ['103']], endOfStream: false);
        $http->respond(200, $read(), headers: ['X-200' => ['200']], endOfStream: true); // your regular response
    }
} catch (\Throwable $e) {
    $worker->error($e->getMessage());
}

👀 Server plugin:

  • ✒️ RAW command support: Support for raw commands, which are not validated by RR and may contain spaces. Note that this feature is only supported via .rr.yaml configuration: FR, (thanks @​nunomaduro)
    First argument should be a command (executable) and the rest of the arguments are passed to the command as arguments.
version: "3"

server:
  command: ["php", "../../php_test_files/client.php echo pipes"]
  relay: "pipes"
  relay_timeout: "20s"
version: "3"

server:
    command:
      - "php"
      - "../../php_test_files/client.php echo pipes"
    relay: "pipes"
    relay_timeout: "20s"

🩹 Fixes:

  • 🐛 RR Core: Actualize according to the docs ./rr jobs list/stop/resume commands: PR, (thanks @​gam6itko).
  • 🐛 JOBS plugin: Correctly handle OTEL span on listener error: PR, (thanks @​Kaspiman).
  • 🐛 RR tests: Fix tests failures on Darwin: PR, (thanks @​shyim).
  • 🐛 Streaming: Add stream timeout (will be configurable in the next release). Fix loss of the first chunk of the streamed response.
🧹 Chore:
  • 🧑‍🏭 Golang: Update Golang version to v1.21.
  • 🧑‍🏭 Dependencies: update project dependencies.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Pull requests that update a dependency file docker minor labels Oct 6, 2023
@renovate renovate bot changed the title chore(deps): update ghcr.io/roadrunner-server/roadrunner docker tag to v2023.3.0 chore(deps): update ghcr.io/roadrunner-server/roadrunner docker tag to v2023.3.1 Oct 12, 2023
@renovate renovate bot force-pushed the renovate/roadrunner branch from 771b813 to 857f155 Compare October 12, 2023 23:06
@renovate renovate bot force-pushed the renovate/roadrunner branch from 857f155 to 8fdf45a Compare October 18, 2023 15:44
@gabe565 gabe565 merged commit c5ce6be into main Oct 18, 2023
16 checks passed
@gabe565 gabe565 deleted the renovate/roadrunner branch October 18, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file docker minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant