chore(deps): update module github.com/prometheus/client_golang to v1.22.0 #63

Open
CSRBot wants to merge 1 commits from renovate/github.com-prometheus-client_golang-1.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.21.1 -> v1.22.0

Release Notes

prometheus/client_golang (github.com/prometheus/client_golang)

v1.22.0: - 2025-04-07

Compare Source

⚠️ 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,
https://github.com/golang/go/issues/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
All Changes

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.21.1...v1.22.0-rc.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | require | minor | `v1.21.1` -> `v1.22.0` | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.22.0`](https://github.com/prometheus/client_golang/releases/tag/v1.22.0): - 2025-04-07 [Compare Source](https://github.com/prometheus/client_golang/compare/v1.21.1...v1.22.0) :warning: This release contains potential breaking change if you use experimental `zstd` support introduce in [#&#8203;1496](https://github.com/prometheus/client_golang/issues/1496) :warning: 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, https://github.com/golang/go/issues/62513 however, the work took longer than anticipated and it will be postponed to upcoming major Go versions. e.g.: > ```go > import ( > _ "github.com/prometheus/client_golang/prometheus/promhttp/zstd" > ) > ``` - \[FEATURE] prometheus: Add new CollectorFunc utility [#&#8203;1724](https://github.com/prometheus/client_golang/issues/1724) - \[CHANGE] Minimum required Go version is now 1.22 (we also test client_golang against latest go version - 1.24) [#&#8203;1738](https://github.com/prometheus/client_golang/issues/1738) - \[FEATURE] api: `WithLookbackDelta` and `WithStats` options have been added to API client. [#&#8203;1743](https://github.com/prometheus/client_golang/issues/1743) - \[CHANGE] :warning: promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. [#&#8203;1765](https://github.com/prometheus/client_golang/issues/1765) <details> <summary> All Changes </summary> - build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1720 - build(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1719 - Update RELEASE.md by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1721 - chore(docs): Add links for the upstream PRs by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1722 - Added tips on releasing client and checking with k8s. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1723 - feat: Add new CollectorFunc utility by [@&#8203;Saumya40-codes](https://github.com/Saumya40-codes) in https://github.com/prometheus/client_golang/pull/1724 - build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1725 - build(deps): bump the github-actions group with 5 updates by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1726 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1727 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1731 - build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1739 - build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1740 - Cleanup dependabot config by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/1741 - Upgrade Golang version v1.24 by [@&#8203;dongjiang1989](https://github.com/dongjiang1989) in https://github.com/prometheus/client_golang/pull/1738 - build(deps): bump the github-actions group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1742 - Merging 1.21 release back to main. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1744 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1745 - Add support for undocumented query options for API by [@&#8203;mahendrapaipuri](https://github.com/mahendrapaipuri) in https://github.com/prometheus/client_golang/pull/1743 - exp/api: Add experimental exp module; Add remote API with write client and handler. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1658 - exp/api: Add accepted msg type validation to handler by [@&#8203;saswatamcode](https://github.com/saswatamcode) in https://github.com/prometheus/client_golang/pull/1750 - build(deps): bump the github-actions group with 5 updates by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1751 - build(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1752 - build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1753 - exp: Reset snappy buf by [@&#8203;saswatamcode](https://github.com/saswatamcode) in https://github.com/prometheus/client_golang/pull/1756 - Merge release 1.21.1 to main. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1762 - exp: Add dependabot config by [@&#8203;saswatamcode](https://github.com/saswatamcode) in https://github.com/prometheus/client_golang/pull/1754 - build(deps): bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 in the github-actions group by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1764 - promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package by [@&#8203;liggitt](https://github.com/liggitt) in https://github.com/prometheus/client_golang/pull/1765 - Cut 1.22.0-rc.0 by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1768 </details> #### New Contributors * @&#8203;Saumya40-codes made their first contribution in https://github.com/prometheus/client_golang/pull/1724 * @&#8203;mahendrapaipuri made their first contribution in https://github.com/prometheus/client_golang/pull/1743 * @&#8203;liggitt made their first contribution in https://github.com/prometheus/client_golang/pull/1765 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.21.1...v1.22.0-rc.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlIiwicmVub3ZhdGUvYXV0b21lcmdlIiwicmVub3ZhdGUvZ29sYW5nIl19-->
CSRBot added 1 commit 2025-04-08 12:24:53 +02:00
chore(deps): update module github.com/prometheus/client_golang to v1.22.0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
Run unit tests / test (pull_request) Successful in 8m5s
5bf8ded8e3
Some checks failed
continuous-integration/drone/push Build is failing
Required
Details
continuous-integration/drone/pr Build is passing
Required
Details
Run unit tests / test (pull_request) Successful in 8m5s
Some required checks were not successful.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-prometheus-client_golang-1.x:renovate/github.com-prometheus-client_golang-1.x
git checkout renovate/github.com-prometheus-client_golang-1.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: volker.raschek/prometheus-fail2ban-exporter#63
No description provided.