summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-02-21 10:46:44 +0300
committerGitHub <[email protected]>2022-02-21 10:46:44 +0300
commit6f690001175859149910eadc33f4306ba2e3015d (patch)
tree7c8b06ba54a03739c76a11c5583e19fb940673b6
parentfcb4900febce77c96ffaa8bad2fb02071cb2c689 (diff)
parent1d9b334f29b229847587f2f48d414e76467cf0b9 (diff)
[#1019]: release: `v2.8.1`v2.8.1
-rw-r--r--.github/workflows/codeql-analysis.yml2
-rw-r--r--.github/workflows/release.yml4
-rw-r--r--.github/workflows/release_grpc.yml2
-rw-r--r--.github/workflows/tests.yml12
-rw-r--r--CHANGELOG.md20
-rw-r--r--go.mod2
-rw-r--r--go.sum4
7 files changed, 33 insertions, 13 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 0a8818b2..6c2f3ebf 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -14,7 +14,7 @@ on:
jobs:
analyze:
name: Analyze
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0fb4f5fc..c8657e2b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
name: Build for ${{ matrix.os }} (${{ matrix.arch }}, ${{ matrix.compiler }})
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
@@ -121,7 +121,7 @@ jobs:
docker:
name: Build docker image
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
diff --git a/.github/workflows/release_grpc.yml b/.github/workflows/release_grpc.yml
index 8ba527d8..f57e6f7e 100644
--- a/.github/workflows/release_grpc.yml
+++ b/.github/workflows/release_grpc.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
name: Build for ${{ matrix.os }} (${{ matrix.arch }}, ${{ matrix.compiler }})
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 088fb4b9..a557d95c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -17,7 +17,7 @@ on:
jobs:
validate-config-file:
name: Validate config file
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
@@ -35,7 +35,7 @@ jobs:
golangci-lint:
name: Golang-CI (lint)
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
@@ -43,13 +43,13 @@ jobs:
- name: Run linter
uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action>
with:
- version: v1.43 # without patch version
+ version: v1.44 # without patch version
only-new-issues: false # show only new issues if it's a pull request
args: --build-tags=safe --timeout=10m
go-test:
name: Unit tests
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
@@ -82,7 +82,7 @@ jobs:
build:
name: Build for ${{ matrix.os }}
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
needs: [ golangci-lint, go-test ]
strategy:
fail-fast: false
@@ -133,7 +133,7 @@ jobs:
name: rr-${{ matrix.os }}
path: ./rr
if-no-files-found: error
- retention-days: 90
+ retention-days: 10
docker-image:
name: Build docker image
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 902e5eb3..d7f69736 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,25 @@
# CHANGELOG
+## v2.8.1 (21.02.2022)
+
+## 🩹 Fixes:
+
+- 🐛 Fix: **HTTP**: incorrect middleware chain order [BUG](https://github.com/roadrunner-server/roadrunner/issues/1017), (reporter @nitrogenium)
+```yaml
+http:
+ middleware: ["static", "gzip"]
+```
+
+Middleware applied from the right to left, i.e. first will be `gzip` and then `static`.
+
+## 👀 New:
+
+- ✏️ **HTTP**: Properly parse `Forwarder` header, [RFC](https://datatracker.ietf.org/doc/html/rfc7239), [FR](https://github.com/roadrunner-server/roadrunner/issues/1018) (reporter @digitalkaoz)
+- ✏️ **TEMPORAL**: Add `rr_activities_pool_queue_size` and `rr_workflows_pool_queue_size` metrics. These metrics shows the number of activities/workflows waiting for the worker [BUG](https://github.com/temporalio/roadrunner-temporal/issues/183), (reporter @Zylius)
+- ✏️ **API**: `Queuer` interface for the workers pool to show the number of requests waiting for the worker. Implemented in **SDK**.
+
+---
+
## v2.8.0 (17.02.2022)
### ⚠️ For the RR `v2.8.0` your `.rr.yaml` configuration version should be [`2.7`](https://github.com/roadrunner-server/roadrunner/blob/master/.rr.yaml), so please update your config and add `version: '2.7'` at the top.
diff --git a/go.mod b/go.mod
index 49b8d1d4..4d1cb2ee 100644
--- a/go.mod
+++ b/go.mod
@@ -23,7 +23,7 @@ require (
github.com/roadrunner-server/grpc/v2 v2.10.4
github.com/roadrunner-server/gzip/v2 v2.8.2
github.com/roadrunner-server/headers/v2 v2.9.1
- github.com/roadrunner-server/http/v2 v2.10.4
+ github.com/roadrunner-server/http/v2 v2.10.5
github.com/roadrunner-server/informer/v2 v2.9.1
github.com/roadrunner-server/jobs/v2 v2.9.1
github.com/roadrunner-server/kv/v2 v2.9.1
diff --git a/go.sum b/go.sum
index 256ff7db..d65030f2 100644
--- a/go.sum
+++ b/go.sum
@@ -513,8 +513,8 @@ github.com/roadrunner-server/gzip/v2 v2.8.2 h1:85/1qMTZu1ePxeiIdoC8sbm/m7alF74uI
github.com/roadrunner-server/gzip/v2 v2.8.2/go.mod h1:NluOpvqLhWnTFCp1GKSwaQdHLk5Cgl9z9De5tNW9ka4=
github.com/roadrunner-server/headers/v2 v2.9.1 h1:T2aEGOVU3R1p7+YB2xLzOdS/AcAZyf2/cjupNZvK9Qc=
github.com/roadrunner-server/headers/v2 v2.9.1/go.mod h1:iRzgaVTNpttqPMH9LNjbgG0m/trnCX3JbaIWobDmtmw=
-github.com/roadrunner-server/http/v2 v2.10.4 h1:Drv8WU5rGMwcKyDTJ141UPwqvOKAa5ZOhuD9x09N7w0=
-github.com/roadrunner-server/http/v2 v2.10.4/go.mod h1:iFEO9j94yLDSBmv3qzijbnWZMkeD95EutQTDF3rTNwc=
+github.com/roadrunner-server/http/v2 v2.10.5 h1:Q8814qQD2tzKiLbnhyWpctLmFqjVScFgMzsGmAkkQBM=
+github.com/roadrunner-server/http/v2 v2.10.5/go.mod h1:iFEO9j94yLDSBmv3qzijbnWZMkeD95EutQTDF3rTNwc=
github.com/roadrunner-server/informer/v2 v2.9.1 h1:zEp4238C3TZEFLgCcDkPLnr1rhk1GdK8TBQWt8Sy+z0=
github.com/roadrunner-server/informer/v2 v2.9.1/go.mod h1:jdo4quPWo+1/mKcNlEkJKO96e5BgMhVzWs93aEcZXGA=
github.com/roadrunner-server/jobs/v2 v2.9.1 h1:/UspcVRVOO9CDoq/L+ZOrkK/fJrtZ6UbHXgY6YlQzvA=