From 21834bca6b5e44566602ea9315c8088dd82e5fad Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Fri, 22 Oct 2021 16:39:48 +0200 Subject: [PATCH 1/4] Release 2.31.0-rc.0 (#9556) * Release 2.31.0-rc.0 Signed-off-by: Julien Pivotto --- CHANGELOG.md | 24 ++++++++++++++++++++++++ VERSION | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 940e6694d..c79ecd8a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +## 2.31.0-rc.0 / 2021-10-21 + +* [FEATURE] PromQL: Add trigonometric functions and `atan2` binary operator. #9239 #9248 #9515 +* [FEATURE] Remote: Add support for exemplar in the remote write receiver endpoint. #9319 #9414 +* [FEATURE] SD: Add PuppetDB service discovery. #8883 +* [FEATURE] SD: Add Uyuni service discovery. #8190 +* [FEATURE] Web: Add support for security-related HTTP headers. #9546 +* [ENHANCEMENT] Azure SD: Add `proxy_url`, `follow_redirects`, `tls_config`. #9267 +* [ENHANCEMENT] Backfill: Add `--max-block-duration` in `promtool create-blocks-from rules`. #9511 +* [ENHANCEMENT] Config: Print human-readable sizes with unit instead of raw numbers. #9361 +* [ENHANCEMENT] HTTP: Re-enable HTTP/2. #9398 +* [ENHANCEMENT] Kubernetes SD: Warn user if number of endpoints exceeds limit. #9467 +* [ENHANCEMENT] OAuth2: Add TLS configuration to token requests. #9550 +* [ENHANCEMENT] PromQL: Several optimizations. #9365 #9360 #9362 #9552 +* [ENHANCEMENT] PromQL: Make aggregations deterministic in instant queries. #9459 +* [ENHANCEMENT] Rules: Add the ability to limit number of alerts or series. #9260 #9541 +* [ENHANCEMENT] SD: Experimental discovery manager to avoid restarts upon reload. Disabled by default, enable with flag `--enable-feature=new-service-discovery-manager`. #9349 #9537 +* [ENHANCEMENT] UI: Debounce timerange setting changes. #9359 +* [BUGFIX] Backfill: Apply rule labels after query labels. #9421 +* [BUGFIX] Scrape: Resolve conflicts between multiple exported label prefixes. #9479 #9518 +* [BUGFIX] Scrape: Restart scrape loops when `__scrape_interval__` is changed. #9551 +* [BUGFIX] TSDB: Fix memory leak in samples deletion. #9151 +* [BUGFIX] UI: Use consistent margin-bottom for all alert kinds. #9318 + ## 2.30.3 / 2021-10-05 * [BUGFIX] TSDB: Fix panic on failed snapshot replay. #9438 diff --git a/VERSION b/VERSION index e88ba89ba..1fe977a4d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.30.3 +2.31.0-rc.0 From e7a12ac80ac728b8c6844991e2ecc7ee9d91c4aa Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Mon, 25 Oct 2021 12:52:13 +0200 Subject: [PATCH 2/4] Fix broken prefixed asset links in webpack build (#9586) * Fix broken prefixed asset links in webpack build Fixes https://github.com/prometheus/prometheus/issues/9585 Signed-off-by: Julius Volz * Use .env file for PUBLIC_URL npm build env var Signed-off-by: Julius Volz --- web/ui/react-app/.env | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 web/ui/react-app/.env diff --git a/web/ui/react-app/.env b/web/ui/react-app/.env new file mode 100644 index 000000000..b4cad0c00 --- /dev/null +++ b/web/ui/react-app/.env @@ -0,0 +1,3 @@ +# This ensures that all links in the generated asset bundle will be relative, +# so that assets are loaded correctly even when a path prefix is used. +PUBLIC_URL=. From 25d06a9b76b9761136578e1571e5c7d45a03ca1a Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Mon, 25 Oct 2021 15:45:54 +0200 Subject: [PATCH 3/4] Release 2.31.0-rc.1 (#9587) Signed-off-by: Julien Pivotto --- CHANGELOG.md | 4 ++++ VERSION | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c79ecd8a1..38b03ceb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.31.0-rc.1 / 2021-10-25 + +* [BUGFIX] UI: Fix assets loading when a prefix is used in `--web.route-prefix` or `--web.external-url`. #9586 + ## 2.31.0-rc.0 / 2021-10-21 * [FEATURE] PromQL: Add trigonometric functions and `atan2` binary operator. #9239 #9248 #9515 diff --git a/VERSION b/VERSION index 1fe977a4d..4e9a8e736 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.31.0-rc.0 +2.31.0-rc.1 From d4c83da6d252d4edfdbd639fb817ebdb8e9ab2e4 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Tue, 2 Nov 2021 11:07:15 +0100 Subject: [PATCH 4/4] Release 2.31 (#9639) Signed-off-by: Julien Pivotto --- CHANGELOG.md | 7 ++----- VERSION | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38b03ceb1..80dd06611 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,6 @@ -## 2.31.0-rc.1 / 2021-10-25 - -* [BUGFIX] UI: Fix assets loading when a prefix is used in `--web.route-prefix` or `--web.external-url`. #9586 - -## 2.31.0-rc.0 / 2021-10-21 +## 2.31.0 / 2021-11-02 +* [CHANGE] UI: Remove standard PromQL editor in favour of the codemirror-based editor. #9452 * [FEATURE] PromQL: Add trigonometric functions and `atan2` binary operator. #9239 #9248 #9515 * [FEATURE] Remote: Add support for exemplar in the remote write receiver endpoint. #9319 #9414 * [FEATURE] SD: Add PuppetDB service discovery. #8883 diff --git a/VERSION b/VERSION index 4e9a8e736..bafceb320 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.31.0-rc.1 +2.31.0