Skip to content

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

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

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 15, 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
dependabot Bot requested review from a team as code owners October 15, 2026 03:22
@dependabot
dependabot Bot requested a review from hdonnay October 15, 2026 03:22
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 15, 2026
@crozzy
crozzy requested review from crozzy and removed request for hdonnay October 16, 2026 21:34
@crozzy

crozzy commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/prometheus/client_golang-1.25.0 branch from 2d1a7e3 to 14e9577 Compare October 16, 2026 21:35
crozzy
crozzy previously approved these changes Oct 16, 2026
@github-actions

Copy link
Copy Markdown

Triggered from #2061 by @​crozzy.

Trying to fast forward main (476e817) to dependabot/go_modules/github.com/prometheus/client_golang-1.25.0 (14e9577).

Target branch (main):

commit 476e8172dd4c903f8b44c674a91ee8b0b5edade7 (HEAD -> main, origin/main)
Author: Joseph Crosland <jcroslan@redhat.com>
Date:   Wed Sep 30 12:49:39 2026 -0700

    datastore: drop non-matching vulnerabilities while scanning Get()
    
    This change analyses the vulnerability and record as it is streamed
    from the database instead of buffering all the vulnerabilities into
    memory and then analysing. This change reduces the memory consumption
    during matching significantly but it doesn't change how many vulnerabilities
    are return from the database.
    
    Signed-off-by: crozzy <joseph.crosland@gmail.com>

Pull request (dependabot/go_modules/github.com/prometheus/client_golang-1.25.0):

commit 14e9577cfd896c3aa9198f36c40d7214ffad4e95 (pull_request/dependabot/go_modules/github.com/prometheus/client_golang-1.25.0)
Author: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Date:   Fri Oct 16 21:35:10 2026 +0000

    chore(deps): bump github.com/prometheus/client_golang
    
    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](https://github.com/prometheus/client_golang/compare/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>

Fast forwarding main (476e817) to dependabot/go_modules/github.com/prometheus/client_golang-1.25.0 (14e9577).

$ git push origin 14e9577cfd896c3aa9198f36c40d7214ffad4e95:main
remote: error: GH006: Protected branch update failed for refs/heads/main.        
remote: 
remote: - 2 of 6 required status checks are in progress.        
To https://github.com/quay/claircore.git
 ! [remote rejected]   14e9577cfd896c3aa9198f36c40d7214ffad4e95 -> main (protected branch hook declined)
error: failed to push some refs to 'https://github.com/quay/claircore.git'

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/prometheus/client_golang-1.25.0 branch from 14e9577 to bc51de1 Compare October 19, 2026 22:09
@crozzy

crozzy commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

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 force-pushed the dependabot/go_modules/github.com/prometheus/client_golang-1.25.0 branch from bc51de1 to fde8bc7 Compare October 23, 2026 19:56

This branch has not been deployed

No deployments
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

Development

Successfully merging this pull request may close these issues.

1 participant