Skip to content

fix(deps): update module github.com/prometheus/client_golang to v1.22.0 - #7176

Merged
dmathieu merged 1 commit into
mainfrom
renovate/github.zerozr99.workers.dev-prometheus-client_golang-1.x
Apr 8, 2025
Merged

fix(deps): update module github.com/prometheus/client_golang to v1.22.0#7176
dmathieu merged 1 commit into
mainfrom
renovate/github.zerozr99.workers.dev-prometheus-client_golang-1.x

Conversation

@renovate

@renovate renovate Bot commented Apr 8, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/prometheus/client_golang v1.21.1 -> v1.22.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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: prometheus/client_golang@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: Disabled by config. Please merge this manually once you are satisfied.

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 these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from pellared as a code owner April 8, 2025 08:49
@renovate renovate Bot added dependencies Pull requests that update a dependency file Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG labels Apr 8, 2025
@renovate
renovate Bot requested review from a team and dashpole as code owners April 8, 2025 08:49
@dmathieu
dmathieu merged commit 6b8738f into main Apr 8, 2025
@dmathieu
dmathieu deleted the renovate/github.zerozr99.workers.dev-prometheus-client_golang-1.x branch April 8, 2025 09:24
@MrAlias MrAlias added this to the v1.36.0 milestone Apr 11, 2025
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 Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants