Skip to content

chore(deps): Bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 - #727

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/prometheus/client_golang-1.25.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/prometheus/client_golang-1.25.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor

Bumps 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

⚠️ 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). ⚠️

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, and LabelValues now return Infos annotations in addition to Warnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and of api.Client's Do/DoGetFallback; custom API client implementations must be updated. #1963
  • [CHANGE] api/prometheus/v1: Rework TSDBBlocks result types to align with the Prometheus server's tsdb.BlockMeta: TSDBBlocksResult now contains Blocks []TSDBBlockMeta directly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta, TSDBBlockStats, TSDBBlockMetaCompaction), stat fields are uint64 with omitempty tags, and the optional compaction parents field is included. #1928
  • [FEATURE] testutil: Add GatherAndFormat to encode a subset of metrics from a Gatherer. #2091
  • [FEATURE] promhttp: Add HandlerOpts.AcceptedFormats to customize the formats negotiated from the incoming Accept header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #2146
  • [ENHANCEMENT] promhttp: Negotiated metrics responses now include a Vary header. #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 GatherAndFormat and CollectAndFormat (terminating # EOF). #2125
  • [BUGFIX] api: Match complete URL path placeholders only; a :foo argument 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

... (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, and LabelValues now return Infos annotations in addition to Warnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and of api.Client's Do/DoGetFallback; custom API client implementations must be updated. #1963
  • [CHANGE] api/prometheus/v1: Rework TSDBBlocks result types to align with the Prometheus server's tsdb.BlockMeta: TSDBBlocksResult now contains Blocks []TSDBBlockMeta directly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta, TSDBBlockStats, TSDBBlockMetaCompaction), stat fields are uint64 with omitempty tags, and the optional compaction parents field is included. #1928
  • [FEATURE] testutil: Add GatherAndFormat to encode a subset of metrics from a Gatherer. #2091
  • [FEATURE] promhttp: Add HandlerOpts.AcceptedFormats to customize the formats negotiated from the incoming Accept header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #2146
  • [ENHANCEMENT] promhttp: Negotiated metrics responses now include a Vary header. #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 GatherAndFormat and CollectAndFormat (terminating # EOF). #2125
  • [BUGFIX] api: Match complete URL path placeholders only; a :foo argument 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

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from harp-intel as a code owner October 13, 2026 01:11
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 13, 2026
adgubrud added a commit that referenced this pull request Oct 13, 2026
Combines the dependency updates from #726 and #727 into this PR so all
three can land in a single merge.

- golang.org/x/term 0.46.0 -> 0.47.0 (#726)
- github.com/prometheus/client_golang 1.24.1 -> 1.25.0 (#727)

golang.org/x/text 0.42.0 -> 0.43.0 was already in this PR.

Indirect dependencies resolve to the union of the three updates:
x/sys 0.49.0, x/crypto 0.57.0, x/net 0.59.0, protobuf 1.36.12,
prometheus/client_model 0.6.3, prometheus/common 0.72.0,
prometheus/procfs 0.22.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@adgubrud

Copy link
Copy Markdown
Contributor

Superseded by #725, which now carries this bump as well, so all three open dependency PRs can land in a single merge.

github.com/prometheus/client_golang 1.24.1 → 1.25.0 is included there verbatim, along with its indirect updates: client_model 0.6.3, common 0.72.0, procfs 0.22.0, x/crypto 0.57.0, x/net 0.59.0, protobuf 1.36.12. The combined go.mod resolves every shared dependency to the highest version across #725, #726 and #727, so nothing from this PR is dropped.

Worth noting for this one specifically: the CI failure on this PR was never caused by the client_golang bump. It was govulncheck flagging nine Go standard library advisories against the builder image's pinned go1.26.6 toolchain — a time-triggered failure that would have hit any PR. That is now fixed on main by #728 (Go 1.27.2), which #725 already has merged in.

Verified on the combined branch with make check in the Go 1.27.2 builder image: gofmt, vet, staticcheck, license headers, golangci-lint (0 issues), govulncheck (0 affecting vulnerabilities), and all 12 test packages passing. The five x/net advisories that apply to v0.59.0 remain import-level only and uncalled, so they do not fail the check — but bumping x/net to v0.60.0+ in a follow-up would clear them.

This PR can be closed once #725 merges.

adgubrud added a commit that referenced this pull request Oct 13, 2026
…s/client_golang (#725)

* chore(deps): Bump golang.org/x/text from 0.42.0 to 0.43.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): Also bump golang.org/x/term and prometheus/client_golang

Combines the dependency updates from #726 and #727 into this PR so all
three can land in a single merge.

- golang.org/x/term 0.46.0 -> 0.47.0 (#726)
- github.com/prometheus/client_golang 1.24.1 -> 1.25.0 (#727)

golang.org/x/text 0.42.0 -> 0.43.0 was already in this PR.

Indirect dependencies resolve to the union of the three updates:
x/sys 0.49.0, x/crypto 0.57.0, x/net 0.59.0, protobuf 1.36.12,
prometheus/client_model 0.6.3, prometheus/common 0.72.0,
prometheus/procfs 0.22.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: adgubrud <96072084+adgubrud@users.noreply.github.com>
Co-authored-by: Gubrud, Aaron D <aaron.d.gubrud@intel.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@adgubrud

Copy link
Copy Markdown
Contributor

Redundant, fulfilled by #725

@adgubrud adgubrud closed this Oct 13, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@adgubrud
adgubrud deleted the dependabot/go_modules/github.com/prometheus/client_golang-1.25.0 branch October 13, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant