Skip to content

Commit

Permalink
[#1615]: pre-release: v2023.2.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rustatian authored Jun 22, 2023
2 parents a48c6c3 + a927a43 commit 41a9ba1
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 104 deletions.
63 changes: 58 additions & 5 deletions .rr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,25 @@ server:
# Default: 60s [60m, 60h], if used w/o units its means - NANOSECONDS.
exec_timeout: 20s

# Environment variables for the worker processes.
#
# Default: <empty map>
env:
- SOME_KEY: "SOME_VALUE"
- SOME_KEY2: "SOME_VALUE2"

#[SINCE 2023.2]
after_init:
# Command to execute after the main server's command
#
# This option is required if using on_init
command: "any php or script here"

# Script execute timeout
#
# Default: 60s [60m, 60h], if used w/o units its means - NANOSECONDS.
exec_timeout: 20s

# Environment variables for the worker processes.
#
# Default: <empty map>
Expand Down Expand Up @@ -1094,9 +1113,33 @@ nats:
amqp:
# AMQP Uri to connect to the rabbitmq server https://www.rabbitmq.com/uri-spec.html
#
# This option is required for the production. Default: amqp://guest:[email protected]:5672
# This option is required for the production. Default: amqp(s)://guest:[email protected]:5672
addr: amqp://guest:[email protected]:5672/

# AMQPS TLS configuration
#
# This section is optional
tls:
# Path to the key file
#
# This option is required
key: ""

# Path to the certificate
#
# This option is required
cert: ""

# Path to the CA certificate, defines the set of root certificate authorities that servers use if required to verify a client certificate. Used with the `client_auth_type` option.
#
# This option is optional
root_ca: ""

# Client auth type (mTLS, peer verification).
#
# This option is optional. Default value: no_client_certs. Possible values: request_client_cert, require_any_client_cert, verify_client_cert_if_given, require_and_verify_client_cert, no_client_certs
client_auth_type: no_client_certs

# Beanstalk jobs driver
#
# This option is required to use Beanstalk driver
Expand Down Expand Up @@ -1150,16 +1193,16 @@ kafka:
# Required to use Kafka driver
brokers: ["127.0.0.1:9092", "127.0.0.1:9002"]

# SASL authentication options to use for all connections. Depending on the auth type, plain or aws_msk_plain sections might be removed.
# SASL authentication options to use for all connections. Depending on the auth type, plain/SCRAM or aws_msk_plain sections should be removed.
#
# Optional, default: empty
sasl:

# PLAIN auth section -----
# ----------- 1. PLAIN and SCRAM auth section ---------------

# Mechanism used for the authentication
#
# Required for the section. Might be: 'aws_msk_iam' or 'plain'
# Required for the section. Might be: 'aws_msk_iam', 'plain', 'SCRAM-SHA-256', 'SCRAM-SHA-512'
mechanism: plain

# Username to use for authentication.
Expand All @@ -1172,12 +1215,22 @@ kafka:
# Required for the plain auth mechanism.
password: bar

# Nonce.
#
# Optional for the SHA auth types. Empty by default.
nonce: "foo"

# If true, suffixes the "tokenauth=true" extra attribute to the initial authentication message.
# Set this to true if the user and pass are from a delegation token.
# Optional for the SHA auth types. Empty by default.
is_token: false

# Zid is an optional authorization ID to use in authenticating.
#
# Optional, default: empty.
zid: "foo"

# AWS_MSK_IAM auth section -----
# -------------- 2. AWS_MSK_IAM auth section ------------------

# AWS Access key ID.
#
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# CHANGELOG

# <center> 🚀 v2023.2.0-beta.1 🚀 </center>

## 👀 New

- ✒️ **Kafka driver**: Support for the `SCRAM-SHA-256` and `SCRAM-SHA-512` SASL mechanisms: [FR](https://github.com/roadrunner-server/roadrunner/issues/1601), (thanks @Azomas)
- ✒️ **Headers middleware**: Actualize CORS support: [FR](https://github.com/roadrunner-server/roadrunner/issues/909), (thanks @rmikalkenas, @hustlahusky)
- ✒️ **RoadRunner CLI**: Additional [semgrep](https://semgrep.dev/) security scanner.
- ✒️ **Docker builds**: New tags: `v2023`, `v2023.x` and with bugfix: `v2023.x.x`. The `latest` tag points to the latest **stable** release. All `rc`, `beta`, `alpha` releases will no longer be tagged with `latest`.
- ✒️ **Server plugin**: `after_init` option. This is a new `server` option and, like `on_init`, can contain any custom command to be fired after each pool of workers is initialized. For example, if you have 2 plugins: `http` and `grpc`, the `after_init` command would be fired twice: [FR](https://github.com/roadrunner-server/roadrunner/issues/1554), (thanks @rauanmayemir).
- ✒️ **AMQP driver**: Support for the `TLS` transport named `amqps`: [FR](https://github.com/roadrunner-server/roadrunner/issues/1538), (thanks @marcosraudkett)
- ✒️ **JOBS plugin**: Support for the workers health/readiness checks. [PR](https://github.com/roadrunner-server/jobs/pull/81), (thanks @Kaspiman)
- ✒️ **JOBS plugin**: Delete all messages that were in the priority queue when the pipeline was deleted (1-st part of the BUG), [BUG](https://github.com/roadrunner-server/roadrunner/issues/1382)

### <center>🧹 Chore:</center>

- 🧑‍🏭 **Dependencies**: update project dependencies.

---

# <center> 🚀 v2023.1.5 🚀 </center>

## 🩹 Fixes
Expand Down
66 changes: 33 additions & 33 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,49 @@ require (
github.com/fatih/color v1.15.0
github.com/joho/godotenv v1.5.1
github.com/olekukonko/tablewriter v0.0.5
github.com/roadrunner-server/amqp/v4 v4.6.0
github.com/roadrunner-server/amqp/v4 v4.6.1
github.com/roadrunner-server/api/v4 v4.5.0
github.com/roadrunner-server/app-logger/v4 v4.0.8
github.com/roadrunner-server/app-logger/v4 v4.0.9
github.com/roadrunner-server/beanstalk/v4 v4.3.0
github.com/roadrunner-server/boltdb/v4 v4.4.0
github.com/roadrunner-server/centrifuge/v4 v4.1.10
github.com/roadrunner-server/config/v4 v4.3.4
github.com/roadrunner-server/boltdb/v4 v4.4.1
github.com/roadrunner-server/centrifuge/v4 v4.1.11
github.com/roadrunner-server/config/v4 v4.3.5
github.com/roadrunner-server/endure/v2 v2.2.1
github.com/roadrunner-server/errors v1.2.0
github.com/roadrunner-server/fileserver/v4 v4.0.13
github.com/roadrunner-server/fileserver/v4 v4.0.14
github.com/roadrunner-server/goridge/v3 v3.6.2
github.com/roadrunner-server/grpc/v4 v4.1.14
github.com/roadrunner-server/gzip/v4 v4.0.12
github.com/roadrunner-server/headers/v4 v4.1.0
github.com/roadrunner-server/http/v4 v4.1.13
github.com/roadrunner-server/informer/v4 v4.1.9
github.com/roadrunner-server/jobs/v4 v4.4.0
github.com/roadrunner-server/kafka/v4 v4.2.0
github.com/roadrunner-server/kv/v4 v4.1.12
github.com/roadrunner-server/lock/v4 v4.1.0
github.com/roadrunner-server/logger/v4 v4.1.9
github.com/roadrunner-server/memcached/v4 v4.1.9
github.com/roadrunner-server/grpc/v4 v4.1.15
github.com/roadrunner-server/gzip/v4 v4.0.13
github.com/roadrunner-server/headers/v4 v4.1.1
github.com/roadrunner-server/http/v4 v4.1.14
github.com/roadrunner-server/informer/v4 v4.1.10
github.com/roadrunner-server/jobs/v4 v4.4.1
github.com/roadrunner-server/kafka/v4 v4.2.1
github.com/roadrunner-server/kv/v4 v4.1.13
github.com/roadrunner-server/lock/v4 v4.1.1
github.com/roadrunner-server/logger/v4 v4.1.10
github.com/roadrunner-server/memcached/v4 v4.1.10
github.com/roadrunner-server/memory/v4 v4.3.0
github.com/roadrunner-server/metrics/v4 v4.0.11
github.com/roadrunner-server/nats/v4 v4.3.0
github.com/roadrunner-server/otel/v4 v4.1.14
github.com/roadrunner-server/prometheus/v4 v4.0.13
github.com/roadrunner-server/proxy_ip_parser/v4 v4.0.11
github.com/roadrunner-server/redis/v4 v4.1.12
github.com/roadrunner-server/resetter/v4 v4.0.6
github.com/roadrunner-server/rpc/v4 v4.1.11
github.com/roadrunner-server/metrics/v4 v4.0.12
github.com/roadrunner-server/nats/v4 v4.3.1
github.com/roadrunner-server/otel/v4 v4.1.15
github.com/roadrunner-server/prometheus/v4 v4.0.14
github.com/roadrunner-server/proxy_ip_parser/v4 v4.0.12
github.com/roadrunner-server/redis/v4 v4.1.13
github.com/roadrunner-server/resetter/v4 v4.0.7
github.com/roadrunner-server/rpc/v4 v4.1.12
github.com/roadrunner-server/sdk/v4 v4.3.0
github.com/roadrunner-server/send/v4 v4.0.12
github.com/roadrunner-server/server/v4 v4.1.9
github.com/roadrunner-server/service/v4 v4.1.8
github.com/roadrunner-server/sqs/v4 v4.3.0
github.com/roadrunner-server/static/v4 v4.0.12
github.com/roadrunner-server/send/v4 v4.1.0
github.com/roadrunner-server/server/v4 v4.1.10
github.com/roadrunner-server/service/v4 v4.1.9
github.com/roadrunner-server/sqs/v4 v4.3.1
github.com/roadrunner-server/static/v4 v4.0.13
github.com/roadrunner-server/status/v4 v4.2.0
github.com/roadrunner-server/tcp/v4 v4.0.11
github.com/roadrunner-server/tcp/v4 v4.0.12
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.16.0
github.com/stretchr/testify v1.8.4
github.com/temporalio/roadrunner-temporal/v4 v4.2.6
github.com/temporalio/roadrunner-temporal/v4 v4.2.7
go.buf.build/protocolbuffers/go/roadrunner-server/api v1.3.39
go.uber.org/automaxprocs v1.5.2
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
Expand Down Expand Up @@ -117,7 +117,7 @@ require (
github.com/minio/highwayhash v1.0.2 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/nats-io/jwt/v2 v2.3.0 // indirect
github.com/nats-io/nats.go v1.27.0 // indirect
github.com/nats-io/nats.go v1.27.1 // indirect
github.com/nats-io/nkeys v0.4.4 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/onsi/gomega v1.24.1 // indirect
Expand Down
Loading

0 comments on commit 41a9ba1

Please sign in to comment.