Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package golang-github-prometheus-prometheus for openSUSE:Factory checked in at 2025-02-27 14:49:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus (Old) and /work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.25152 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-prometheus" Thu Feb 27 14:49:52 2025 rev:55 rq:1248636 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/golang-github-prometheus-prometheus.changes 2025-02-25 16:40:04.772089693 +0100 +++ /work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.25152/golang-github-prometheus-prometheus.changes 2025-02-27 14:51:09.685046331 +0100 @@ -1,0 +2,8 @@ +Wed Feb 26 09:58:56 UTC 2025 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- update to 3.2.1: + * [BUGFIX] Don't send + Acceptheaderescape=allow-utf-8whenmetric_name_validation_scheme: + legacy` is configured. #16061 + +------------------------------------------------------------------- Old: ---- prometheus-3.2.0.tar.gz web-ui-3.2.0.tar.gz New: ---- prometheus-3.2.1.tar.gz web-ui-3.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ golang-github-prometheus-prometheus.spec ++++++ --- /var/tmp/diff_new_pack.SA1Qtz/_old 2025-02-27 14:51:11.445119770 +0100 +++ /var/tmp/diff_new_pack.SA1Qtz/_new 2025-02-27 14:51:11.449119937 +0100 @@ -27,7 +27,7 @@ %endif Name: golang-github-prometheus-prometheus -Version: 3.2.0 +Version: 3.2.1 Release: 0 Summary: The Prometheus monitoring system and time series database License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.SA1Qtz/_old 2025-02-27 14:51:11.521122941 +0100 +++ /var/tmp/diff_new_pack.SA1Qtz/_new 2025-02-27 14:51:11.525123108 +0100 @@ -4,7 +4,7 @@ <param name="scm">git</param> <param name="exclude">.git</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">v3.2.0</param> + <param name="revision">v3.2.1</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="match-tag">v3*</param> </service> @@ -13,7 +13,7 @@ <param name="compression">gz</param> </service> <service name="go_modules" mode="manual"> - <param name="archive">prometheus-3.2.0.tar.gz</param> + <param name="archive">prometheus-3.2.1.tar.gz</param> </service> </services> ++++++ npm_licenses.tar.bz2 ++++++ ++++++ prometheus-3.2.0.tar.gz -> prometheus-3.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/CHANGELOG.md new/prometheus-3.2.1/CHANGELOG.md --- old/prometheus-3.2.0/CHANGELOG.md 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/CHANGELOG.md 2025-02-25 20:11:52.000000000 +0100 @@ -2,6 +2,9 @@ ## unreleased +## 3.2.1 / 2025-02-25 + +* [BUGFIX] Don't send Accept` header `escape=allow-utf-8` when `metric_name_validation_scheme: legacy` is configured. #16061 ## 3.2.0 / 2025-02-17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/VERSION new/prometheus-3.2.1/VERSION --- old/prometheus-3.2.0/VERSION 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/VERSION 2025-02-25 20:11:52.000000000 +0100 @@ -1 +1 @@ -3.2.0 +3.2.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/config/config.go new/prometheus-3.2.1/config/config.go --- old/prometheus-3.2.0/config/config.go 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/config/config.go 2025-02-25 20:11:52.000000000 +0100 @@ -523,7 +523,7 @@ ScrapeProtocolsHeaders = map[ScrapeProtocol]string{ PrometheusProto: "application/vnd.google.protobuf;proto=io.prometheus.client.MetricFamily;encoding=delimited", PrometheusText0_0_4: "text/plain;version=0.0.4", - PrometheusText1_0_0: "text/plain;version=1.0.0;escaping=allow-utf-8", + PrometheusText1_0_0: "text/plain;version=1.0.0", OpenMetricsText0_0_1: "application/openmetrics-text;version=0.0.1", OpenMetricsText1_0_0: "application/openmetrics-text;version=1.0.0", } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/scrape/scrape_test.go new/prometheus-3.2.1/scrape/scrape_test.go --- old/prometheus-3.2.0/scrape/scrape_test.go 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/scrape/scrape_test.go 2025-02-25 20:11:52.000000000 +0100 @@ -2825,6 +2825,8 @@ accept := r.Header.Get("Accept") if allowUTF8 { require.Containsf(t, accept, "escaping=allow-utf-8", "Expected Accept header to allow utf8, got %q", accept) + } else { + require.NotContainsf(t, accept, "escaping=allow-utf-8", "Expected Accept header to not allow utf8, got %q", accept) } if protobufParsing { require.True(t, strings.HasPrefix(accept, "application/vnd.google.protobuf;"), @@ -2860,7 +2862,7 @@ panic(err) } - runTest := func(acceptHeader string) { + runTest := func(t *testing.T, acceptHeader string) { ts := &targetScraper{ Target: &Target{ labels: labels.FromStrings( @@ -2887,14 +2889,43 @@ require.Equal(t, "metric_a 1\nmetric_b 2\n", buf.String()) } - runTest(acceptHeader(config.DefaultScrapeProtocols, model.LegacyValidation)) - protobufParsing = true - runTest(acceptHeader(config.DefaultProtoFirstScrapeProtocols, model.LegacyValidation)) - protobufParsing = false - allowUTF8 = true - runTest(acceptHeader(config.DefaultScrapeProtocols, model.UTF8Validation)) - protobufParsing = true - runTest(acceptHeader(config.DefaultProtoFirstScrapeProtocols, model.UTF8Validation)) + for _, tc := range []struct { + scrapeProtocols []config.ScrapeProtocol + scheme model.ValidationScheme + protobufParsing bool + allowUTF8 bool + }{ + { + scrapeProtocols: config.DefaultScrapeProtocols, + scheme: model.LegacyValidation, + protobufParsing: false, + allowUTF8: false, + }, + { + scrapeProtocols: config.DefaultProtoFirstScrapeProtocols, + scheme: model.LegacyValidation, + protobufParsing: true, + allowUTF8: false, + }, + { + scrapeProtocols: config.DefaultScrapeProtocols, + scheme: model.UTF8Validation, + protobufParsing: false, + allowUTF8: true, + }, + { + scrapeProtocols: config.DefaultProtoFirstScrapeProtocols, + scheme: model.UTF8Validation, + protobufParsing: true, + allowUTF8: true, + }, + } { + t.Run(fmt.Sprintf("%+v", tc), func(t *testing.T) { + protobufParsing = tc.protobufParsing + allowUTF8 = tc.allowUTF8 + runTest(t, acceptHeader(tc.scrapeProtocols, tc.scheme)) + }) + } } func TestTargetScrapeScrapeCancel(t *testing.T) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/web/ui/mantine-ui/package.json new/prometheus-3.2.1/web/ui/mantine-ui/package.json --- old/prometheus-3.2.0/web/ui/mantine-ui/package.json 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/web/ui/mantine-ui/package.json 2025-02-25 20:11:52.000000000 +0100 @@ -1,7 +1,7 @@ { "name": "@prometheus-io/mantine-ui", "private": true, - "version": "0.302.0", + "version": "0.302.1", "type": "module", "scripts": { "start": "vite", @@ -28,7 +28,7 @@ "@microsoft/fetch-event-source": "^2.0.1", "@nexucis/fuzzy": "^0.5.1", "@nexucis/kvsearch": "^0.9.1", - "@prometheus-io/codemirror-promql": "0.302.0", + "@prometheus-io/codemirror-promql": "0.302.1", "@reduxjs/toolkit": "^2.5.0", "@tabler/icons-react": "^3.28.1", "@tanstack/react-query": "^5.62.11", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/web/ui/module/codemirror-promql/package.json new/prometheus-3.2.1/web/ui/module/codemirror-promql/package.json --- old/prometheus-3.2.0/web/ui/module/codemirror-promql/package.json 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/web/ui/module/codemirror-promql/package.json 2025-02-25 20:11:52.000000000 +0100 @@ -1,6 +1,6 @@ { "name": "@prometheus-io/codemirror-promql", - "version": "0.302.0", + "version": "0.302.1", "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.302.0", + "@prometheus-io/lezer-promql": "0.302.1", "lru-cache": "^11.0.2" }, "devDependencies": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/web/ui/module/lezer-promql/package.json new/prometheus-3.2.1/web/ui/module/lezer-promql/package.json --- old/prometheus-3.2.0/web/ui/module/lezer-promql/package.json 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/web/ui/module/lezer-promql/package.json 2025-02-25 20:11:52.000000000 +0100 @@ -1,6 +1,6 @@ { "name": "@prometheus-io/lezer-promql", - "version": "0.302.0", + "version": "0.302.1", "description": "lezer-based PromQL grammar", "main": "dist/index.cjs", "type": "module", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/web/ui/package-lock.json new/prometheus-3.2.1/web/ui/package-lock.json --- old/prometheus-3.2.0/web/ui/package-lock.json 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/web/ui/package-lock.json 2025-02-25 20:11:52.000000000 +0100 @@ -1,12 +1,12 @@ { "name": "prometheus-io", - "version": "0.302.0", + "version": "0.302.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "prometheus-io", - "version": "0.302.0", + "version": "0.302.1", "workspaces": [ "mantine-ui", "module/*" @@ -24,7 +24,7 @@ }, "mantine-ui": { "name": "@prometheus-io/mantine-ui", - "version": "0.302.0", + "version": "0.302.1", "dependencies": { "@codemirror/autocomplete": "^6.18.4", "@codemirror/language": "^6.10.8", @@ -42,7 +42,7 @@ "@microsoft/fetch-event-source": "^2.0.1", "@nexucis/fuzzy": "^0.5.1", "@nexucis/kvsearch": "^0.9.1", - "@prometheus-io/codemirror-promql": "0.302.0", + "@prometheus-io/codemirror-promql": "0.302.1", "@reduxjs/toolkit": "^2.5.0", "@tabler/icons-react": "^3.28.1", "@tanstack/react-query": "^5.62.11", @@ -146,10 +146,10 @@ }, "module/codemirror-promql": { "name": "@prometheus-io/codemirror-promql", - "version": "0.302.0", + "version": "0.302.1", "license": "Apache-2.0", "dependencies": { - "@prometheus-io/lezer-promql": "0.302.0", + "@prometheus-io/lezer-promql": "0.302.1", "lru-cache": "^11.0.2" }, "devDependencies": { @@ -179,7 +179,7 @@ }, "module/lezer-promql": { "name": "@prometheus-io/lezer-promql", - "version": "0.302.0", + "version": "0.302.1", "license": "Apache-2.0", "devDependencies": { "@lezer/generator": "^1.7.2", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/prometheus-3.2.0/web/ui/package.json new/prometheus-3.2.1/web/ui/package.json --- old/prometheus-3.2.0/web/ui/package.json 2025-02-17 17:39:08.000000000 +0100 +++ new/prometheus-3.2.1/web/ui/package.json 2025-02-25 20:11:52.000000000 +0100 @@ -1,7 +1,7 @@ { "name": "prometheus-io", "description": "Monorepo for the Prometheus UI", - "version": "0.302.0", + "version": "0.302.1", "private": true, "scripts": { "build": "bash build_ui.sh --all", ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/vendor.tar.gz /work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.25152/vendor.tar.gz differ: char 5, line 1 ++++++ web-ui-3.2.0.tar.gz -> web-ui-3.2.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/web-ui-3.2.0.tar.gz /work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.25152/web-ui-3.2.1.tar.gz differ: char 5, line 1