@prometheus-io/lezer-promql 0.305.0-rc.1 → 0.305.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -5
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,17 +2,24 @@
2
2
 
3
3
  ## main / unreleased
4
4
 
5
- ## 3.5.0-rc.1 / 2025-07-08
5
+ ## 3.5.2 / 2026-04-13
6
6
 
7
- The following feature was removed (reverted), since problems were discovered:
8
- * [FEATURE] OTLP: Support promoting OTel scope name/version/schema URL/attributes as metric labels, via `otlp.promote_scope_metadata`. #16730 #16760
7
+ This release has a fix for a Stored XSS vulnerability that can be triggered via crafted metric names and label values in Prometheus web UI tooltips and metrics explorer. Thanks to Duc Anh Nguyen from TinyxLab for reporting it.
9
8
 
10
- ## 3.5.0-rc.0 / 2025-06-25
9
+ * [SECURITY] UI: Fix stored XSS via unescaped metric names and labels. CVE-2026-40179. #18507
10
+ * [PERF] Regex: Stop calling Simplify. #17908
11
+
12
+ ## 3.5.1 / 2026-01-07
13
+
14
+ No code changes, just some dependency updates:
15
+ * Docker library updated from 28.2.2 to 28.5.2. #17821
16
+ * Built with Go 1.24.11.
17
+
18
+ ## 3.5.0 / 2025-07-14
11
19
 
12
20
  * [FEATURE] PromQL: Add experimental type and unit metadata labels, behind feature flag `type-and-unit-labels`. #16228 #16632 #16718 #16743
13
21
  * [FEATURE] PromQL: Add `ts_of_(min|max|last)_over_time`, behind feature flag `experimental-promql-functions`. #16722 #16733
14
22
  * [FEATURE] Scraping: Add global option `always_scrape_classic_histograms` to scrape a classic histogram even if it is also exposed as native. #16452
15
- * [FEATURE] OTLP: Support promoting OTel scope name/version/schema URL/attributes as metric labels, via `otlp.promote_scope_metadata`. #16730 #16760
16
23
  * [FEATURE] OTLP: New config options `promote_all_resource_attributes` and `ignore_resource_attributes`. #16426
17
24
  * [FEATURE] Discovery: New service discovery for STACKIT Cloud. #16401
18
25
  * [ENHANCEMENT] Hetzner SD: Add `label_selector` to filter servers. #16512
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prometheus-io/lezer-promql",
3
- "version": "0.305.0-rc.1",
3
+ "version": "0.305.2",
4
4
  "description": "lezer-based PromQL grammar",
5
5
  "main": "dist/index.cjs",
6
6
  "type": "module",