Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit06d707d

Browse files
chore: bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 (#17382)
Bumps[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)from 1.21.1 to 1.22.0.<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/prometheus/client_golang/releases">github.com/prometheus/client_golang'sreleases</a>.</em></p><blockquote><h2>v1.22.0 - 2025-04-07</h2><p>:warning: This release contains potential breaking change if you useexperimental <code>zstd</code> support introduce in <ahref="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 ablank import to enable it.The decision to make it opt-in by default was originally made becausethe Go standard library was expected to have default zstd support addedsoon,<ahref="https://redirect.github.com/golang/go/issues/62513">golang/go#62513</a>however, the work took longer than anticipated and it will be postponedto 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 <ahref="https://redirect.github.com/prometheus/client_golang/issues/1724">#1724</a></li><li>[CHANGE] Minimum required Go version is now 1.22 (we also testclient_golang against latest go version - 1.24) <ahref="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. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1743">#1743</a></li><li>[CHANGE]⚠️ promhttp: Isolate zstd support andklauspost/compress library use to promhttp/zstd package. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1765">#1765</a></li></ul><!-- raw HTML omitted --><ul><li>build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1720">prometheus/client_golang#1720</a></li><li>build(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.3by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1719">prometheus/client_golang#1719</a></li><li>Update RELEASE.md by <ahref="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1721">prometheus/client_golang#1721</a></li><li>chore(docs): Add links for the upstream PRs by <ahref="https://github.com/kakkoyun"><code>@​kakkoyun</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1722">prometheus/client_golang#1722</a></li><li>Added tips on releasing client and checking with k8s. by <ahref="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1723">prometheus/client_golang#1723</a></li><li>feat: Add new CollectorFunc utility by <ahref="https://github.com/Saumya40-codes"><code>@​Saumya40-codes</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1724">prometheus/client_golang#1724</a></li><li>build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1725">prometheus/client_golang#1725</a></li><li>build(deps): bump the github-actions group with 5 updates by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1726">prometheus/client_golang#1726</a></li><li>Synchronize common files from prometheus/prometheus by <ahref="https://github.com/prombot"><code>@​prombot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1727">prometheus/client_golang#1727</a></li><li>Synchronize common files from prometheus/prometheus by <ahref="https://github.com/prombot"><code>@​prombot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1731">prometheus/client_golang#1731</a></li><li>build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1739">prometheus/client_golang#1739</a></li><li>build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1740">prometheus/client_golang#1740</a></li><li>Cleanup dependabot config by <ahref="https://github.com/SuperQ"><code>@​SuperQ</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1741">prometheus/client_golang#1741</a></li><li>Upgrade Golang version v1.24 by <ahref="https://github.com/dongjiang1989"><code>@​dongjiang1989</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1738">prometheus/client_golang#1738</a></li><li>build(deps): bump the github-actions group with 2 updates by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1742">prometheus/client_golang#1742</a></li><li>Merging 1.21 release back to main. by <ahref="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1744">prometheus/client_golang#1744</a></li><li>Synchronize common files from prometheus/prometheus by <ahref="https://github.com/prombot"><code>@​prombot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1745">prometheus/client_golang#1745</a></li><li>Add support for undocumented query options for API by <ahref="https://github.com/mahendrapaipuri"><code>@​mahendrapaipuri</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1743">prometheus/client_golang#1743</a></li><li>exp/api: Add experimental exp module; Add remote API with writeclient and handler. by <ahref="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1658">prometheus/client_golang#1658</a></li><li>exp/api: Add accepted msg type validation to handler by <ahref="https://github.com/saswatamcode"><code>@​saswatamcode</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1750">prometheus/client_golang#1750</a></li><li>build(deps): bump the github-actions group with 5 updates by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1751">prometheus/client_golang#1751</a></li><li>build(deps): bump github.com/klauspost/compress from 1.17.11 to1.18.0 by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1752">prometheus/client_golang#1752</a></li><li>build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1753">prometheus/client_golang#1753</a></li><li>exp: Reset snappy buf by <ahref="https://github.com/saswatamcode"><code>@​saswatamcode</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1756">prometheus/client_golang#1756</a></li><li>Merge release 1.21.1 to main. by <ahref="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1762">prometheus/client_golang#1762</a></li><li>exp: Add dependabot config by <ahref="https://github.com/saswatamcode"><code>@​saswatamcode</code></a>in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1754">prometheus/client_golang#1754</a></li><li>build(deps): bump peter-evans/create-pull-request from 7.0.7 to7.0.8 in the github-actions group by <ahref="https://github.com/dependabot"><code>@​dependabot</code></a> in <ahref="https://redirect.github.com/prometheus/client_golang/pull/1764">prometheus/client_golang#1764</a></li></ul><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Changelog</summary><p><em>Sourced from <ahref="https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md">github.com/prometheus/client_golang'schangelog</a>.</em></p><blockquote><h2>1.22.0 / 2025-04-07</h2><p>:warning: This release contains potential breaking change if you useexperimental <code>zstd</code> support introduce in <ahref="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 ablank import to enable it.The decision to make it opt-in by default was originally made becausethe Go standard library was expected to have default zstd support addedsoon,<ahref="https://redirect.github.com/golang/go/issues/62513">golang/go#62513</a>however, the work took longer than anticipated and it will be postponedto 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 <ahref="https://redirect.github.com/prometheus/client_golang/issues/1724">#1724</a></li><li>[CHANGE] Minimum required Go version is now 1.22 (we also testclient_golang against latest go version - 1.24) <ahref="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. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1743">#1743</a></li><li>[CHANGE]⚠️ promhttp: Isolate zstd support andklauspost/compress library use to promhttp/zstd package. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1765">#1765</a></li></ul></blockquote></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/prometheus/client_golang/commit/d50be25511d790f4c166d68ce7d046c2977d148b"><code>d50be25</code></a>Cut 1.22.0 (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1793">#1793</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/1043db7cb8735186b341bbff6ae45d7ff56018dd"><code>1043db7</code></a>Cut 1.22.0-rc.0 (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1768">#1768</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/e575c9c04e40fe0784d4fee7f1f56c1a66ef090d"><code>e575c9c</code></a>promhttp: Isolate zstd support and klauspost/compress library use topromhttp...</li><li><ahref="https://github.com/prometheus/client_golang/commit/f2276aa7d4b6e6526e0011762d0e4070513cf9cd"><code>f2276aa</code></a>Merge pull request <ahref="https://redirect.github.com/prometheus/client_golang/issues/1764">#1764</a>from prometheus/dependabot/github_actions/github-act...</li><li><ahref="https://github.com/prometheus/client_golang/commit/9df772cc5f399a2946a9158e57fd0aff66daf7d1"><code>9df772c</code></a>build(deps): bump peter-evans/create-pull-request</li><li><ahref="https://github.com/prometheus/client_golang/commit/a3548c5aa811a0a52d1d723c3dfb3b01930481fb"><code>a3548c5</code></a>Merge pull request <ahref="https://redirect.github.com/prometheus/client_golang/issues/1754">#1754</a>from saswatamcode/exp-eh</li><li><ahref="https://github.com/prometheus/client_golang/commit/60fd2b0490db6e7c74e623651031feae93c7ebc1"><code>60fd2b0</code></a>Remove go.work file for now</li><li><ahref="https://github.com/prometheus/client_golang/commit/8f9d0de6893dd7a470cdb1cffc5d98d1b5d7b50d"><code>8f9d0de</code></a>exp: Add dependabot config</li><li><ahref="https://github.com/prometheus/client_golang/commit/c5cf981312d510414c209927e4f9e888d6776b5c"><code>c5cf981</code></a>Merge pull request <ahref="https://redirect.github.com/prometheus/client_golang/issues/1762">#1762</a>from prometheus/release-1.21</li><li><ahref="https://github.com/prometheus/client_golang/commit/e84c30512a658de7fdccce84b434c9a5696ec5af"><code>e84c305</code></a>exp: Reset snappy buf (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1756">#1756</a>)</li><li>Additional commits viewable in <ahref="https://github.com/prometheus/client_golang/compare/v1.21.1...v1.22.0">compareview</a></li></ul></details><br />[![Dependabot compatibilityscore](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/client_golang&package-manager=go_modules&previous-version=1.21.1&new-version=1.22.0)](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'talter 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 editsthat have been made to it- `@dependabot merge` will merge this PR after your CI passes on it- `@dependabot squash and merge` will squash and merge this PR afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore this major version` will close this PR and stopDependabot creating any more for this major version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this minor version` will close this PR and stopDependabot creating any more for this minor version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this dependency` will close this PR and stopDependabot creating any more for this dependency (unless you reopen thePR or upgrade to it yourself)</details>Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parentb6ff6b1 commit06d707d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ require (
166166
github.com/pkg/diffv0.0.0-20210226163009-20ebb0f2a09e
167167
github.com/pkg/sftpv1.13.7
168168
github.com/prometheus-community/pro-bingv0.6.0
169-
github.com/prometheus/client_golangv1.21.1
169+
github.com/prometheus/client_golangv1.22.0
170170
github.com/prometheus/client_modelv0.6.1
171171
github.com/prometheus/commonv0.63.0
172172
github.com/quasilyte/go-ruleguard/dslv0.3.22

‎go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,8 +1669,8 @@ github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt
16691669
github.com/power-devops/perfstatv0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
16701670
github.com/prometheus-community/pro-bingv0.6.0 h1:04SZ/092gONTE1XUFzYFWqgB4mKwcdkqNChLMFedwhg=
16711671
github.com/prometheus-community/pro-bingv0.6.0/go.mod h1:jNCOI3D7pmTCeaoF41cNS6uaxeFY/Gmc3ffwbuJVzAQ=
1672-
github.com/prometheus/client_golangv1.21.1 h1:DOvXXTqVzvkIewV/CDPFdejpMCGeMcbGCQ8YOmu+Ibk=
1673-
github.com/prometheus/client_golangv1.21.1/go.mod h1:U9NM32ykUErtVBxdvD3zfi+EuFkkaBvMb09mIfe0Zgg=
1672+
github.com/prometheus/client_golangv1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/Y92Vm0Zc6Q=
1673+
github.com/prometheus/client_golangv1.22.0/go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0=
16741674
github.com/prometheus/client_modelv0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
16751675
github.com/prometheus/client_modelv0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
16761676
github.com/prometheus/client_modelv0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp