Bump github.com/prometheus/client_golang from 1.0.0 to 1.11.1 #15

Open
dependabot[bot] wants to merge 1 commit from dependabot/go_modules/github.com/prometheus/client_golang-1.11.1 into master
dependabot[bot] commented 2026-05-06 11:52:40 +00:00 (Migrated from github.com)

Bumps github.com/prometheus/client_golang from 1.0.0 to 1.11.1.

Release notes

Sourced from github.com/prometheus/client_golang's releases.

1.11.1 / 2022-02-15

What's Changed

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1

v1.11.0 / 2021-06-07

  • [CHANGE] Add new collectors package. #862
  • [CHANGE] prometheus.NewExpvarCollector is deprecated, use collectors.NewExpvarCollector instead. #862
  • [CHANGE] prometheus.NewGoCollector is deprecated, use collectors.NewGoCollector instead. #862
  • [CHANGE] prometheus.NewBuildInfoCollector is deprecated, use collectors.NewBuildInfoCollector instead. #862
  • [FEATURE] Add new collector for database/sql#DBStats. #866
  • [FEATURE] API client: Add exemplars API support. #861
  • [ENHANCEMENT] API client: Add newer fields to Rules API. #855
  • [ENHANCEMENT] API client: Add missing fields to Targets API. #856

What's Changed

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0

1.10.0 / 2021-03-18

  • [CHANGE] Minimum required Go version is now 1.13.
  • [CHANGE] API client: Add matchers to LabelNames and LabesValues. #828
  • [FEATURE] API client: Add buildinfo call. #841
  • [BUGFIX] Fix build on riscv64. #833

What's Changed

... (truncated)

Changelog

Sourced from github.com/prometheus/client_golang's changelog.

Unreleased

  • [FEATURE] HTTP handlers created by promhttp package now support metrics filtering by providing one or more name[] query parameters. The default behavior when none are provided remains the same, returning all metrics. #1925

Unreleased exp module

  • [BUGFIX] exp/api: Reject malformed snappy payloads declaring huge decoded sizes. Enforce a 32MB decoded-size limit to prevent OOM from oversized remote-write requests. #1917.

1.23.2 / 2025-09-05

This release is made to upgrade to prometheus/common v0.66.1, which drops the dependencies github.com/grafana/regexp and go.uber.org/atomic and replaces gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (a drop-in replacement). There are no functional changes.

1.23.1 / 2025-09-04

This release is made to be compatible with a backwards incompatible API change in prometheus/common v0.66.0. There are no functional changes.

1.23.0 / 2025-07-30

  • [CHANGE] Minimum required Go version is now 1.23, only the two latest Go versions are supported from now on. #1812
  • [FEATURE] Add WrapCollectorWith and WrapCollectorWithPrefix #1766
  • [FEATURE] Add exemplars for native histograms #1686
  • [ENHANCEMENT] exp/api: Bubble up status code from writeResponse #1823
  • [ENHANCEMENT] collector/go: Update runtime metrics for Go v1.23 and v1.24 #1833
  • [BUGFIX] exp/api: client prompt return on context cancellation #1729

1.22.0 / 2025-04-07

⚠️ This release contains potential breaking change if you use experimental zstd support introduce in #1496 ⚠️

Experimental support for zstd on scrape was added, controlled by the request Accept-Encoding header. It was enabled by default since version 1.20, but now you need to add a blank import to enable it. The decision to make it opt-in by default was originally made because the Go standard library was expected to have default zstd support added soon, golang/go#62513 however, the work took longer than anticipated and it will be postponed to upcoming major Go versions.

e.g.:

import (
  _ "github.com/prometheus/client_golang/prometheus/promhttp/zstd"
)
  • [FEATURE] prometheus: Add new CollectorFunc utility #1724
  • [CHANGE] Minimum required Go version is now 1.22 (we also test client_golang against latest go version - 1.24) #1738
  • [FEATURE] api: WithLookbackDelta and WithStats options have been added to API client. #1743
  • [CHANGE] ⚠️ promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. #1765

1.21.1 / 2025-03-04

... (truncated)

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.0.0 to 1.11.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prometheus/client_golang/releases">github.com/prometheus/client_golang's releases</a>.</em></p> <blockquote> <h2>1.11.1 / 2022-02-15</h2> <ul> <li>[SECURITY FIX] promhttp: Check validity of method and code label values <a href="https://redirect.github.com/prometheus/client_golang/pull/987">prometheus/client_golang#987</a> (Addressed <a href="https://github.com/prometheus/client_golang/security/advisories/GHSA-cg3q-j54f-5p7p"><code>CVE-2022-21698</code></a>)</li> </ul> <h2>What's Changed</h2> <ul> <li>promhttp: Check validity of method and code label values by <a href="https://github.com/bwplotka"><code>@​bwplotka</code></a> and <a href="https://github.com/kakkoyun"><code>@​kakkoyun</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/987">prometheus/client_golang#987</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1">https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1</a></p> <h2>v1.11.0 / 2021-06-07</h2> <ul> <li>[CHANGE] Add new collectors package. <a href="https://redirect.github.com/prometheus/client_golang/issues/862">#862</a></li> <li>[CHANGE] <code>prometheus.NewExpvarCollector</code> is deprecated, use <code>collectors.NewExpvarCollector</code> instead. <a href="https://redirect.github.com/prometheus/client_golang/issues/862">#862</a></li> <li>[CHANGE] <code>prometheus.NewGoCollector</code> is deprecated, use <code>collectors.NewGoCollector</code> instead. <a href="https://redirect.github.com/prometheus/client_golang/issues/862">#862</a></li> <li>[CHANGE] <code>prometheus.NewBuildInfoCollector</code> is deprecated, use <code>collectors.NewBuildInfoCollector</code> instead. <a href="https://redirect.github.com/prometheus/client_golang/issues/862">#862</a></li> <li>[FEATURE] Add new collector for database/sql#DBStats. <a href="https://redirect.github.com/prometheus/client_golang/issues/866">#866</a></li> <li>[FEATURE] API client: Add exemplars API support. <a href="https://redirect.github.com/prometheus/client_golang/issues/861">#861</a></li> <li>[ENHANCEMENT] API client: Add newer fields to Rules API. <a href="https://redirect.github.com/prometheus/client_golang/issues/855">#855</a></li> <li>[ENHANCEMENT] API client: Add missing fields to Targets API. <a href="https://redirect.github.com/prometheus/client_golang/issues/856">#856</a></li> </ul> <h2>What's Changed</h2> <ul> <li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/846">prometheus/client_golang#846</a></li> <li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/849">prometheus/client_golang#849</a></li> <li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/853">prometheus/client_golang#853</a></li> <li>Add newer fields to Rules API by <a href="https://github.com/gouthamve"><code>@​gouthamve</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/855">prometheus/client_golang#855</a></li> <li>Add missing fields to targets API by <a href="https://github.com/yeya24"><code>@​yeya24</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/856">prometheus/client_golang#856</a></li> <li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/857">prometheus/client_golang#857</a></li> <li>Add exemplars API support by <a href="https://github.com/yeya24"><code>@​yeya24</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/861">prometheus/client_golang#861</a></li> <li>Improve description of MaxAge in summary docs by <a href="https://github.com/Dean-Coakley"><code>@​Dean-Coakley</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/864">prometheus/client_golang#864</a></li> <li>Add new collectors package by <a href="https://github.com/johejo"><code>@​johejo</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/862">prometheus/client_golang#862</a></li> <li>Add collector for database/sql#DBStats by <a href="https://github.com/johejo"><code>@​johejo</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/866">prometheus/client_golang#866</a></li> <li>Make dbStatsCollector more DRY by <a href="https://github.com/beorn7"><code>@​beorn7</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/867">prometheus/client_golang#867</a></li> <li>Change maintainers from <a href="https://github.com/beorn7"><code>@​beorn7</code></a> to @bwplotka/<a href="https://github.com/kakkoyun"><code>@​kakkoyun</code></a> by <a href="https://github.com/beorn7"><code>@​beorn7</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/873">prometheus/client_golang#873</a></li> <li>Document implications of negative observations by <a href="https://github.com/beorn7"><code>@​beorn7</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/871">prometheus/client_golang#871</a></li> <li>Update Go modules by <a href="https://github.com/SuperQ"><code>@​SuperQ</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/875">prometheus/client_golang#875</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gouthamve"><code>@​gouthamve</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/855">prometheus/client_golang#855</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0">https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0</a></p> <h2>1.10.0 / 2021-03-18</h2> <ul> <li>[CHANGE] Minimum required Go version is now 1.13.</li> <li>[CHANGE] API client: Add matchers to <code>LabelNames</code> and <code>LabesValues</code>. <a href="https://redirect.github.com/prometheus/client_golang/issues/828">#828</a></li> <li>[FEATURE] API client: Add buildinfo call. <a href="https://redirect.github.com/prometheus/client_golang/issues/841">#841</a></li> <li>[BUGFIX] Fix build on riscv64. <a href="https://redirect.github.com/prometheus/client_golang/issues/833">#833</a></li> </ul> <h2>What's Changed</h2> <ul> <li>Add SECURITY.md by <a href="https://github.com/roidelapluie"><code>@​roidelapluie</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/831">prometheus/client_golang#831</a></li> <li>Bump prometheus/procfs to 0.3.0 to fix building on riscv64 by <a href="https://github.com/zhsj"><code>@​zhsj</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/833">prometheus/client_golang#833</a></li> <li>Fix typo in comments in <a href="https://redirect.github.com/prometheus/client_golang/pull/835">prometheus/client_golang#835</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md">github.com/prometheus/client_golang's changelog</a>.</em></p> <blockquote> <h2>Unreleased</h2> <ul> <li>[FEATURE] HTTP handlers created by <code>promhttp</code> package now support metrics filtering by providing one or more <code>name[]</code> query parameters. The default behavior when none are provided remains the same, returning all metrics. <a href="https://redirect.github.com/prometheus/client_golang/issues/1925">#1925</a></li> </ul> <h2>Unreleased <code>exp</code> module</h2> <ul> <li>[BUGFIX] exp/api: Reject malformed snappy payloads declaring huge decoded sizes. Enforce a 32MB decoded-size limit to prevent OOM from oversized remote-write requests. <a href="https://redirect.github.com/prometheus/client_golang/issues/1917">#1917</a>.</li> </ul> <h2>1.23.2 / 2025-09-05</h2> <p>This release is made to upgrade to prometheus/common v0.66.1, which drops the dependencies github.com/grafana/regexp and go.uber.org/atomic and replaces gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (a drop-in replacement). There are no functional changes.</p> <h2>1.23.1 / 2025-09-04</h2> <p>This release is made to be compatible with a backwards incompatible API change in prometheus/common v0.66.0. There are no functional changes.</p> <h2>1.23.0 / 2025-07-30</h2> <ul> <li>[CHANGE] Minimum required Go version is now 1.23, only the two latest Go versions are supported from now on. <a href="https://redirect.github.com/prometheus/client_golang/issues/1812">#1812</a></li> <li>[FEATURE] Add WrapCollectorWith and WrapCollectorWithPrefix <a href="https://redirect.github.com/prometheus/client_golang/issues/1766">#1766</a></li> <li>[FEATURE] Add exemplars for native histograms <a href="https://redirect.github.com/prometheus/client_golang/issues/1686">#1686</a></li> <li>[ENHANCEMENT] exp/api: Bubble up status code from writeResponse <a href="https://redirect.github.com/prometheus/client_golang/issues/1823">#1823</a></li> <li>[ENHANCEMENT] collector/go: Update runtime metrics for Go v1.23 and v1.24 <a href="https://redirect.github.com/prometheus/client_golang/issues/1833">#1833</a></li> <li>[BUGFIX] exp/api: client prompt return on context cancellation <a href="https://redirect.github.com/prometheus/client_golang/issues/1729">#1729</a></li> </ul> <h2>1.22.0 / 2025-04-07</h2> <p>:warning: This release contains potential breaking change if you use experimental <code>zstd</code> support introduce in <a href="https://redirect.github.com/prometheus/client_golang/issues/1496">#1496</a> :warning:</p> <p>Experimental support for <code>zstd</code> on scrape was added, controlled by the request <code>Accept-Encoding</code> header. It was enabled by default since version 1.20, but now you need to add a blank import to enable it. The decision to make it opt-in by default was originally made because the Go standard library was expected to have default zstd support added soon, <a href="https://redirect.github.com/golang/go/issues/62513">golang/go#62513</a> however, the work took longer than anticipated and it will be postponed to upcoming major Go versions.</p> <p>e.g.:</p> <blockquote> <pre lang="go"><code>import ( _ &quot;github.com/prometheus/client_golang/prometheus/promhttp/zstd&quot; ) </code></pre> </blockquote> <ul> <li>[FEATURE] prometheus: Add new CollectorFunc utility <a href="https://redirect.github.com/prometheus/client_golang/issues/1724">#1724</a></li> <li>[CHANGE] Minimum required Go version is now 1.22 (we also test client_golang against latest go version - 1.24) <a href="https://redirect.github.com/prometheus/client_golang/issues/1738">#1738</a></li> <li>[FEATURE] api: <code>WithLookbackDelta</code> and <code>WithStats</code> options have been added to API client. <a href="https://redirect.github.com/prometheus/client_golang/issues/1743">#1743</a></li> <li>[CHANGE] :warning: promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. <a href="https://redirect.github.com/prometheus/client_golang/issues/1765">#1765</a></li> </ul> <h2>1.21.1 / 2025-03-04</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prometheus/client_golang/commit/989baa30fe956631907493ccee1f8e7708660d96"><code>989baa3</code></a> promhttp: Check validity of method and code label values (<a href="https://redirect.github.com/prometheus/client_golang/issues/962">#962</a>) (<a href="https://redirect.github.com/prometheus/client_golang/issues/987">#987</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/8184d76b3b0bd3b01ed903690431ccb6826bf3e0"><code>8184d76</code></a> Cut v1.11.0 (<a href="https://redirect.github.com/prometheus/client_golang/issues/877">#877</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/253906201bda760621fa671fa1541a4ac3df29bd"><code>2539062</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/875">#875</a> from prometheus/superq/update_mods</li> <li><a href="https://github.com/prometheus/client_golang/commit/68cd1e9262e2fe03a79c9a8bab6737f04995e8a5"><code>68cd1e9</code></a> Update Go modules</li> <li><a href="https://github.com/prometheus/client_golang/commit/f22935db759faadc48285fee37718436d5b9cb67"><code>f22935d</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/871">#871</a> from prometheus/beorn7/doc</li> <li><a href="https://github.com/prometheus/client_golang/commit/11aba26a91c3ea0581eef96f8ec9fc5cdce204f9"><code>11aba26</code></a> Change maintainers from <a href="https://github.com/beorn7"><code>@​beorn7</code></a> to @bwplotka/<a href="https://github.com/kakkoyun"><code>@​kakkoyun</code></a> (<a href="https://redirect.github.com/prometheus/client_golang/issues/873">#873</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/f34145a85eaff9d42ff629a2975e8118ab41773c"><code>f34145a</code></a> Document implications of negative observations</li> <li><a href="https://github.com/prometheus/client_golang/commit/a7515ca7c9c6388a5ab84ea336faef795bbf866f"><code>a7515ca</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/867">#867</a> from prometheus/beorn7/collectors</li> <li><a href="https://github.com/prometheus/client_golang/commit/81a9556c8b4ffac3dd75f7aedf720b3ae73e1276"><code>81a9556</code></a> Make dbStatsCollector more DRY</li> <li><a href="https://github.com/prometheus/client_golang/commit/a66da1df4a7e12cb9f84cf5ae3c7adec4539ed27"><code>a66da1d</code></a> Add collector for database/sql#DBStats (<a href="https://redirect.github.com/prometheus/client_golang/issues/866">#866</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prometheus/client_golang/compare/v1.0.0...v1.11.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/client_golang&package-manager=go_modules&previous-version=1.0.0&new-version=1.11.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/twodarek/ark/network/alerts). </details>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/go_modules/github.com/prometheus/client_golang-1.11.1:dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git switch dependabot/go_modules/github.com/prometheus/client_golang-1.11.1

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git switch dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git rebase master
git switch master
git merge --ff-only dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git switch dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git rebase master
git switch master
git merge --no-ff dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git switch master
git merge --squash dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git switch master
git merge --ff-only dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git switch master
git merge dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
git push origin master
Sign in to join this conversation.
No description provided.