Skip to content

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

Closed
red-hat-konflux[bot] wants to merge 1 commit intomasterfrom
konflux/mintmaker/master/github.com-prometheus-client_golang-1.x
Closed

fix(deps): update module github.com/prometheus/client_golang to v1.22.0#175
red-hat-konflux[bot] wants to merge 1 commit intomasterfrom
konflux/mintmaker/master/github.com-prometheus-client_golang-1.x

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

@red-hat-konflux red-hat-konflux bot commented Mar 16, 2025

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: prometheus/client_golang@v1.21.1...v1.22.0-rc.0


Configuration

📅 Schedule: Branch creation - "after 5am on sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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

To execute skipped test pipelines write comment /ok-to-test.

This PR has been generated by MintMaker (powered by Renovate Bot).

@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-prometheus-client_golang-1.x branch from 4f87f52 to 46ec355 Compare April 13, 2025 07:10
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.21.1 fix(deps): update module github.com/prometheus/client_golang to v1.22.0 Apr 13, 2025
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-prometheus-client_golang-1.x branch from 46ec355 to 6f2c506 Compare May 18, 2025 16:28
@MikelAlejoBR
Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant