From c37af1eda5ac79c7dd6077220d83db52d1e80214 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 20 Jul 2023 12:32:19 +0200 Subject: [PATCH 1/3] Release 2.46.0-rc.0 Signed-off-by: Julien Pivotto --- CHANGELOG.md | 19 +++++++++++++++++++ VERSION | 2 +- web/ui/module/codemirror-promql/package.json | 4 ++-- web/ui/module/lezer-promql/package.json | 2 +- web/ui/package-lock.json | 14 +++++++------- web/ui/react-app/package.json | 4 ++-- 6 files changed, 32 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d316e84d3..e6ccac4c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 2.46.0-rc.0 / 2023-07-20 + +* [FEATURE] Promtool: Add PromQL format and label matcher set/delete commands to promtool. #11411 +* [FEATURE] Promtool: Add push metrics command. #12299 +* [ENHANCEMENT] Promtool: Read from stdin if no filenames are provided in check rules. #12225 +* [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12569 +* [ENHANCEMENT] Kubernetes SD: Add more labels for endpointslice and endpoints role. #10914 +* [ENHANCEMENT] Kubernetes SD: Do not add pods to target group if the PodIP status is not set. #11642 +* [ENHANCEMENT] Openstack SD: Include instance image ID in labels. #12502 +* [ENHANCEMENT] Remote Write receiver: Validate the metric names and labels. #11688 +* [ENHANCEMENT] Web: Initialize requestCounter metrics to 0 with handler and 200 labels. #12472 +* [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. #11666 +* [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258 +* [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577 +* [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554 +* [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557 +* [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on windows. #12488 +* [BUGFIX] Linode SD: cast InstanceSpec values to int64 to avoid overflows on 386 architecture. #12568 +* [BUGFIX] TSDB: Handle TOC parsing failures. #10623 ## 2.45.0 / 2023-06-23 diff --git a/VERSION b/VERSION index e599014ea..57ff064ad 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.45.0 +2.46.0-rc.0 diff --git a/web/ui/module/codemirror-promql/package.json b/web/ui/module/codemirror-promql/package.json index c7fafb133..c5f244fff 100644 --- a/web/ui/module/codemirror-promql/package.json +++ b/web/ui/module/codemirror-promql/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/codemirror-promql", - "version": "0.45.0", + "version": "0.46.0-rc.0", "description": "a CodeMirror mode for the PromQL language", "types": "dist/esm/index.d.ts", "module": "dist/esm/index.js", @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/prometheus/prometheus/blob/main/web/ui/module/codemirror-promql/README.md", "dependencies": { - "@prometheus-io/lezer-promql": "0.45.0", + "@prometheus-io/lezer-promql": "0.46.0-rc.0", "lru-cache": "^6.0.0" }, "devDependencies": { diff --git a/web/ui/module/lezer-promql/package.json b/web/ui/module/lezer-promql/package.json index 847a9610e..bc9878485 100644 --- a/web/ui/module/lezer-promql/package.json +++ b/web/ui/module/lezer-promql/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/lezer-promql", - "version": "0.45.0", + "version": "0.46.0-rc.0", "description": "lezer-based PromQL grammar", "main": "dist/index.cjs", "type": "module", diff --git a/web/ui/package-lock.json b/web/ui/package-lock.json index ac365d0d0..dc961444b 100644 --- a/web/ui/package-lock.json +++ b/web/ui/package-lock.json @@ -28,10 +28,10 @@ }, "module/codemirror-promql": { "name": "@prometheus-io/codemirror-promql", - "version": "0.45.0", + "version": "0.46.0-rc.0", "license": "Apache-2.0", "dependencies": { - "@prometheus-io/lezer-promql": "0.45.0", + "@prometheus-io/lezer-promql": "0.46.0-rc.0", "lru-cache": "^6.0.0" }, "devDependencies": { @@ -61,7 +61,7 @@ }, "module/lezer-promql": { "name": "@prometheus-io/lezer-promql", - "version": "0.45.0", + "version": "0.46.0-rc.0", "license": "Apache-2.0", "devDependencies": { "@lezer/generator": "^1.2.3", @@ -20765,7 +20765,7 @@ }, "react-app": { "name": "@prometheus-io/app", - "version": "0.45.0", + "version": "0.46.0-rc.0", "dependencies": { "@codemirror/autocomplete": "^6.7.1", "@codemirror/commands": "^6.2.4", @@ -20783,7 +20783,7 @@ "@lezer/lr": "^1.3.6", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "0.45.0", + "@prometheus-io/codemirror-promql": "0.46.0-rc.0", "bootstrap": "^4.6.2", "css.escape": "^1.5.1", "downshift": "^7.6.0", @@ -23423,7 +23423,7 @@ "@lezer/lr": "^1.3.6", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "0.45.0", + "@prometheus-io/codemirror-promql": "0.46.0-rc.0", "@testing-library/react-hooks": "^7.0.2", "@types/enzyme": "^3.10.13", "@types/flot": "0.0.32", @@ -23487,7 +23487,7 @@ "@lezer/common": "^1.0.3", "@lezer/highlight": "^1.1.6", "@lezer/lr": "^1.3.6", - "@prometheus-io/lezer-promql": "0.45.0", + "@prometheus-io/lezer-promql": "0.46.0-rc.0", "@types/lru-cache": "^5.1.1", "isomorphic-fetch": "^3.0.0", "lru-cache": "^6.0.0", diff --git a/web/ui/react-app/package.json b/web/ui/react-app/package.json index 81eba150a..54af5a234 100644 --- a/web/ui/react-app/package.json +++ b/web/ui/react-app/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/app", - "version": "0.45.0", + "version": "0.46.0-rc.0", "private": true, "dependencies": { "@codemirror/autocomplete": "^6.7.1", @@ -19,7 +19,7 @@ "@lezer/common": "^1.0.3", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "0.45.0", + "@prometheus-io/codemirror-promql": "0.46.0-rc.0", "bootstrap": "^4.6.2", "css.escape": "^1.5.1", "downshift": "^7.6.0", From 034babbf9e9c91cce3fec38f28301bfbb8bef8e8 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 20 Jul 2023 22:18:17 +0200 Subject: [PATCH 2/3] Address feedback on CHANGELOG Signed-off-by: Julien Pivotto --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6ccac4c0..b3a3cf675 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,16 +8,16 @@ * [ENHANCEMENT] Hetzner SD: Support larger ID's that will be used by Hetzner in September. #12569 * [ENHANCEMENT] Kubernetes SD: Add more labels for endpointslice and endpoints role. #10914 * [ENHANCEMENT] Kubernetes SD: Do not add pods to target group if the PodIP status is not set. #11642 -* [ENHANCEMENT] Openstack SD: Include instance image ID in labels. #12502 +* [ENHANCEMENT] OpenStack SD: Include instance image ID in labels. #12502 * [ENHANCEMENT] Remote Write receiver: Validate the metric names and labels. #11688 -* [ENHANCEMENT] Web: Initialize requestCounter metrics to 0 with handler and 200 labels. #12472 +* [ENHANCEMENT] Web: Initialize `prometheus_http_requests_total` metrics with `code` label set to `200`. #12472 * [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. #11666 * [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258 * [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577 * [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554 * [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557 -* [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on windows. #12488 -* [BUGFIX] Linode SD: cast InstanceSpec values to int64 to avoid overflows on 386 architecture. #12568 +* [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on Windows. #12488 +* [BUGFIX] Linode SD: Cast `InstanceSpec` values to `int64` to avoid overflows on 386 architecture. #12568 * [BUGFIX] TSDB: Handle TOC parsing failures. #10623 ## 2.45.0 / 2023-06-23 From 16c645a6dd7d1d154b48a0205a3c90d39651cc73 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Tue, 25 Jul 2023 13:38:08 +0200 Subject: [PATCH 3/3] Release 2.46.0 Signed-off-by: Julien Pivotto --- CHANGELOG.md | 4 +++- VERSION | 2 +- web/ui/module/codemirror-promql/package.json | 4 ++-- web/ui/module/lezer-promql/package.json | 2 +- web/ui/package-lock.json | 14 +++++++------- web/ui/react-app/package.json | 4 ++-- 6 files changed, 16 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a3cf675..057342ded 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 2.46.0-rc.0 / 2023-07-20 +## 2.46.0 / 2023-07-25 * [FEATURE] Promtool: Add PromQL format and label matcher set/delete commands to promtool. #11411 * [FEATURE] Promtool: Add push metrics command. #12299 @@ -13,11 +13,13 @@ * [ENHANCEMENT] Web: Initialize `prometheus_http_requests_total` metrics with `code` label set to `200`. #12472 * [ENHANCEMENT] TSDB: Add Zstandard compression option for wlog. #11666 * [ENHANCEMENT] TSDB: Support native histograms in snapshot on shutdown. #12258 +* [ENHANCEMENT] Labels: Avoid compiling regexes that are literal. #12434 * [BUGFIX] Histograms: Fix parsing of float histograms without zero bucket. #12577 * [BUGFIX] Histograms: Fix scraping native and classic histograms missing some histograms. #12554 * [BUGFIX] Histograms: Enable ingestion of multiple exemplars per sample. 12557 * [BUGFIX] File SD: Fix path handling in File-SD watcher to allow directory monitoring on Windows. #12488 * [BUGFIX] Linode SD: Cast `InstanceSpec` values to `int64` to avoid overflows on 386 architecture. #12568 +* [BUGFIX] PromQL Engine: Include query parsing in active-query tracking. #12418 * [BUGFIX] TSDB: Handle TOC parsing failures. #10623 ## 2.45.0 / 2023-06-23 diff --git a/VERSION b/VERSION index 57ff064ad..cc8758303 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.46.0-rc.0 +2.46.0 diff --git a/web/ui/module/codemirror-promql/package.json b/web/ui/module/codemirror-promql/package.json index c5f244fff..8a9dbcb08 100644 --- a/web/ui/module/codemirror-promql/package.json +++ b/web/ui/module/codemirror-promql/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/codemirror-promql", - "version": "0.46.0-rc.0", + "version": "0.46.0", "description": "a CodeMirror mode for the PromQL language", "types": "dist/esm/index.d.ts", "module": "dist/esm/index.js", @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/prometheus/prometheus/blob/main/web/ui/module/codemirror-promql/README.md", "dependencies": { - "@prometheus-io/lezer-promql": "0.46.0-rc.0", + "@prometheus-io/lezer-promql": "0.46.0", "lru-cache": "^6.0.0" }, "devDependencies": { diff --git a/web/ui/module/lezer-promql/package.json b/web/ui/module/lezer-promql/package.json index bc9878485..6e4f599a3 100644 --- a/web/ui/module/lezer-promql/package.json +++ b/web/ui/module/lezer-promql/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/lezer-promql", - "version": "0.46.0-rc.0", + "version": "0.46.0", "description": "lezer-based PromQL grammar", "main": "dist/index.cjs", "type": "module", diff --git a/web/ui/package-lock.json b/web/ui/package-lock.json index dc961444b..f6593bee9 100644 --- a/web/ui/package-lock.json +++ b/web/ui/package-lock.json @@ -28,10 +28,10 @@ }, "module/codemirror-promql": { "name": "@prometheus-io/codemirror-promql", - "version": "0.46.0-rc.0", + "version": "0.46.0", "license": "Apache-2.0", "dependencies": { - "@prometheus-io/lezer-promql": "0.46.0-rc.0", + "@prometheus-io/lezer-promql": "0.46.0", "lru-cache": "^6.0.0" }, "devDependencies": { @@ -61,7 +61,7 @@ }, "module/lezer-promql": { "name": "@prometheus-io/lezer-promql", - "version": "0.46.0-rc.0", + "version": "0.46.0", "license": "Apache-2.0", "devDependencies": { "@lezer/generator": "^1.2.3", @@ -20765,7 +20765,7 @@ }, "react-app": { "name": "@prometheus-io/app", - "version": "0.46.0-rc.0", + "version": "0.46.0", "dependencies": { "@codemirror/autocomplete": "^6.7.1", "@codemirror/commands": "^6.2.4", @@ -20783,7 +20783,7 @@ "@lezer/lr": "^1.3.6", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "0.46.0-rc.0", + "@prometheus-io/codemirror-promql": "0.46.0", "bootstrap": "^4.6.2", "css.escape": "^1.5.1", "downshift": "^7.6.0", @@ -23423,7 +23423,7 @@ "@lezer/lr": "^1.3.6", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "0.46.0-rc.0", + "@prometheus-io/codemirror-promql": "0.46.0", "@testing-library/react-hooks": "^7.0.2", "@types/enzyme": "^3.10.13", "@types/flot": "0.0.32", @@ -23487,7 +23487,7 @@ "@lezer/common": "^1.0.3", "@lezer/highlight": "^1.1.6", "@lezer/lr": "^1.3.6", - "@prometheus-io/lezer-promql": "0.46.0-rc.0", + "@prometheus-io/lezer-promql": "0.46.0", "@types/lru-cache": "^5.1.1", "isomorphic-fetch": "^3.0.0", "lru-cache": "^6.0.0", diff --git a/web/ui/react-app/package.json b/web/ui/react-app/package.json index 54af5a234..969de4279 100644 --- a/web/ui/react-app/package.json +++ b/web/ui/react-app/package.json @@ -1,6 +1,6 @@ { "name": "@prometheus-io/app", - "version": "0.46.0-rc.0", + "version": "0.46.0", "private": true, "dependencies": { "@codemirror/autocomplete": "^6.7.1", @@ -19,7 +19,7 @@ "@lezer/common": "^1.0.3", "@nexucis/fuzzy": "^0.4.1", "@nexucis/kvsearch": "^0.8.1", - "@prometheus-io/codemirror-promql": "0.46.0-rc.0", + "@prometheus-io/codemirror-promql": "0.46.0", "bootstrap": "^4.6.2", "css.escape": "^1.5.1", "downshift": "^7.6.0",