github roadrunner-server/roadrunner v2.5.0-beta.1

latest releases: v2024.2.1, v2024.2.0, v2024.1.5...
pre-release3 years ago

💔 BC:

  • 🔨 Some drivers now use a new config key to handle local configuration. Involved plugins and drivers:
  • plugins: broadcast, kv
  • drivers: memory, redis, memcached, boltdb.

ATTENTION!!!, this is the configuration BC release, please, update your configuration:

Old style:

broadcast:
    default:
        driver: memory
        interval: 1

New style:

broadcast:
    default:
        driver: memory
        config: {} <--------------- NEW
kv:
    memory-rr:
        driver: memory
        config: <--------------- NEW
            interval: 1

kv:
    memcached-rr:
        driver: memcached
        config: <--------------- NEW
            addr:
                - "127.0.0.1:11211"

broadcast:
    default:
        driver: redis
        config: <------------------ NEW
            addrs:
                - "127.0.0.1:6379"

👀 New:

  • ✏️ [BETA] GRPC plugin update to v2.

  • ✏️ Roadrunner-plugins repository. This is the new home for the roadrunner plugins with documentation, configuration samples, and common problems.

  • ✏️ [BETA] Let's Encrypt support. RR now can obtain an SSL certificate/PK for your domain automatically. Here is the new configuration:

    ssl:
        # Host and port to listen on (eg.: `127.0.0.1:443`).
        #
        # Default: ":443"
        address: "127.0.0.1:443"
    
    
        # Use ACME certificates provider (Let's encrypt)
        acme:
          # Directory to use as a certificate/pk, account info storage
          #
          # Optional. Default: rr_cache
          certs_dir: rr_le_certs
    
    
          # User email
          #
          # Used to create LE account. Mandatory. Error on empty.
          email: you-email-here@email
    
    
          # Alternate port for the http challenge. Challenge traffic should be redirected to this port if overridden.
          #
          # Optional. Default: 80
          alt_http_port: 80,
    
    
          # Alternate port for the tls-alpn-01 challenge. Challenge traffic should be redirected to this port if overridden.
          #
          # Optional. Default: 443.
          alt_tlsalpn_port: 443,
    
    
          # Challenge types
          #
          # Optional. Default: http-01. Possible values: http-01, tlsalpn-01
          challenge_type: http-01
    
    
          # Use production or staging endpoints. NOTE, try to use the staging endpoint (`use_production_endpoint`: `false`) to make sure, that everything works correctly.
          #
          # Optional, but for production should be set to true. Default: false
          use_production_endpoint: true
    
    
          # List of your domains to obtain certificates
          #
          # Mandatory. Error on empty.
          domains: [
              "your-cool-domain.here",
              "your-second-domain.here"
          ]
    
    • ✏️ Add a new options to the service plugin. Service plugin will not use std RR logger as output in the flavor of raw output.
      New options:

      # Service plugin settings
      service:
      some_service_1:
      (....)
      # Console output
      #
      # Default: stderr. Available options: stderr, stdout
      output: "stderr"
      # Endings for the stderr/stdout output
      #
      # Default: "\n". Available options: any.
      line_ending: "\n"
      # Color for regular output
      #
      # Default: none. Available options: white, red, green, yellow, blue, magenta
      color: "green"
      # Color for the process errors
      #
      # Default: none. Available options: white, red, green, yellow, blue, magenta
      err_color: "red"
      

!!!
Be careful, now, there is no logger plugin dependency for the service plugin. That means, that if you used json output, now,
you need to serialize data on the executable (in the command) side.

🩹 Fixes:

  • 🐛 Fix: local and global configuration parsing.
  • 🐛 Fix: bug with the boltdb-jobs connection left open after RPC close command.
  • 🐛 Fix: close beanstalk connection and release associated resources after pipeline stopped.

📦 Packages:

  • 📦 roadrunner v2.5.0
  • 📦 roadrunner-plugins v2.5.0
  • 📦 roadrunner-temporal v1.0.10
  • 📦 goridge v3.2.2

Don't miss a new roadrunner release

NewReleases is sending notifications on new releases.