deps(go): bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 in /go in the go-dependencies group across 1 directory
Closed
DE
6d ago+26+26+01234567890123456789-26-26-01234567890123456789
Bumps the go-dependencies group with 1 update in the /go directory: github.com/prometheus/client_golang.
Updates github.com/prometheus/client_golang from 1.24.1 to 1.25.0
Release notes
Sourced from github.com/prometheus/client_golang's releases.
v1.25.0
:warning: This release raises the minimum required Go version to 1.26 and includes breaking API changes in
api/prometheus/v1(see the [CHANGE] entries below). :warning:1.25.0 / 2026-10-07
- [CHANGE] Minimum required Go version is now 1.26, only the two latest Go versions (1.26 and 1.27) are supported from now on. #2138
- [CHANGE] api/prometheus/v1:
Query,QueryRange,Series,LabelNames, andLabelValuesnow returnInfosannotations in addition toWarnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and ofapi.Client'sDo/DoGetFallback; custom API client implementations must be updated. #1963- [CHANGE] api/prometheus/v1: Rework
TSDBBlocksresult types to align with the Prometheus server'stsdb.BlockMeta:TSDBBlocksResultnow containsBlocks []TSDBBlockMetadirectly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta,TSDBBlockStats,TSDBBlockMetaCompaction), stat fields areuint64withomitemptytags, and the optional compactionparentsfield is included. #1928- [FEATURE] testutil: Add
GatherAndFormatto encode a subset of metrics from a Gatherer. #2091- [FEATURE] promhttp: Add
HandlerOpts.AcceptedFormatsto customize the formats negotiated from the incomingAcceptheader, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #2146- [ENHANCEMENT] promhttp: Negotiated metrics responses now include a
Varyheader. #2142- [ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. #2090, #2095
- [ENHANCEMENT] testutil: Finalize OpenMetrics output in
GatherAndFormatandCollectAndFormat(terminating# EOF). #2125- [BUGFIX] api: Match complete URL path placeholders only; a
:fooargument no longer substitutes inside:foobar. #2136- [BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. #2139
- [BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". #2135
What's Changed
- fix: Remove unneeded and broken CI badge by
@bwplotkain prometheus/client_golang#2057- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#2060- build(deps): bump the codeql group with 4 updates by
@dependabot[bot] in prometheus/client_golang#2066- build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 by
@dependabot[bot] in prometheus/client_golang#2071- build(deps): bump golang.org/x/sys from 0.46.0 to 0.47.0 in the golang-org-x group across 1 directory by
@dependabot[bot] in prometheus/client_golang#2069- build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 in /exp by
@dependabot[bot] in prometheus/client_golang#2072- build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 in /exp by
@dependabot[bot] in prometheus/client_golang#2073- build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 by
@dependabot[bot] in prometheus/client_golang#2070- build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in /tutorials/whatsup by
@dependabot[bot] in prometheus/client_golang#2075- Pin GitHub Actions by
@SuperQin prometheus/client_golang#2074- build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by
@dependabot[bot] in prometheus/client_golang#2067- promhttp: fix panic on requests with nil URL by
@SAY-5in prometheus/client_golang#2065- Return info annotations in addition to warnings in the API by
@zenadorin prometheus/client_golang#1963- build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by
@dependabot[bot] in prometheus/client_golang#2082- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#2084- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#2086- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#2088- Regenerate Go collector runtime metrics for Go 1.25 and Go 1.26 by
@bwplotkain prometheus/client_golang#2090- go.mod: remove obsolete exclude rule by
@thaJeztahin prometheus/client_golang#2077- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#2093- README: document the OpenTelemetry OTLP push bridge by
@mvanhornin prometheus/client_golang#1987- docs: add AGENTS.md contributor and maintainer guide by
@bwplotkain prometheus/client_golang#2056- testutil: add GatherAndFormat helper by
@wieghxin prometheus/client_golang#2091- build(deps): bump the codeql group with 4 updates by
@dependabot[bot] in prometheus/client_golang#2101- build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 by
@dependabot[bot] in prometheus/client_golang#2097- build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 by
@dependabot[bot] in prometheus/client_golang#2098- build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 in /exp by
@dependabot[bot] in prometheus/client_golang#2099- build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 in /exp by
@dependabot[bot] in prometheus/client_golang#2100- build(deps): bump github.com/prometheus/procfs from 0.21.1 to 0.22.0 in the prometheus group across 1 directory by
@dependabot[bot] in prometheus/client_golang#2096
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
1.25.0 / 2026-10-07
- [CHANGE] Minimum required Go version is now 1.26, only the two latest Go versions (1.26 and 1.27) are supported from now on. #2138
- [CHANGE] api/prometheus/v1:
Query,QueryRange,Series,LabelNames, andLabelValuesnow returnInfosannotations in addition toWarnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and ofapi.Client'sDo/DoGetFallback; custom API client implementations must be updated. #1963- [CHANGE] api/prometheus/v1: Rework
TSDBBlocksresult types to align with the Prometheus server'stsdb.BlockMeta:TSDBBlocksResultnow containsBlocks []TSDBBlockMetadirectly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta,TSDBBlockStats,TSDBBlockMetaCompaction), stat fields areuint64withomitemptytags, and the optional compactionparentsfield is included. #1928- [FEATURE] testutil: Add
GatherAndFormatto encode a subset of metrics from a Gatherer. #2091- [FEATURE] promhttp: Add
HandlerOpts.AcceptedFormatsto customize the formats negotiated from the incomingAcceptheader, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #2146- [ENHANCEMENT] promhttp: Negotiated metrics responses now include a
Varyheader. #2142- [ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. #2090, #2095
- [ENHANCEMENT] testutil: Finalize OpenMetrics output in
GatherAndFormatandCollectAndFormat(terminating# EOF). #2125- [BUGFIX] api: Match complete URL path placeholders only; a
:fooargument no longer substitutes inside:foobar. #2136- [BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. #2139
- [BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". #2135
Commits
0d88875Cut v1.25.0 (#2164)e9946eeCut v1.25.0-rc.0 (#2154)de866d6Merge pull request #2152 from prometheus/dependabot/go_modules/api/prometheus...a37302fprometheus: fix modernize lint findings (#2151)a3fa380build(deps): bump google.golang.org/grpc9da3fccfix: updates for tsdb blocks handling (#1928)0ecb5c2api: match complete URL placeholders (#2136)2ad001aexp/api/remote: reset buffer before generic marshal (#2139)0db8d43promhttp: vary negotiated metrics responses (#2142)b1f9c7aMerge pull request #2144 from prometheus/dependabot/go_modules/exp/github.com...- Additional commits viewable in compare view