Skip to content

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

Merged
Kumm-Kai merged 1 commit intomainfrom
renovate/github.com-prometheus-client_golang-1.x
Apr 15, 2025
Merged

fix(deps): update module github.com/prometheus/client_golang to v1.22.0#493
Kumm-Kai merged 1 commit intomainfrom
renovate/github.com-prometheus-client_golang-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2025

This PR contains the following updates:

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

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

v1.21.1: / 2025-03-04

Compare Source

This release addresses a performance regression introduced in #​1661 -- thanks to all who reported this quickly:
@​chlunde, @​dethi, @​aaronbee @​tsuna @​kakkoyun 💪🏽. This patch release also fixes the iOS build.

We will be hardening the release process even further (#​1759, #​1761) to prevent this in future, sorry for the inconvenience!

The high concurrency optimization is planned to be eventually reintroduced, however in a much safer manner, potentially in a separate API.

  • [BUGFIX] prometheus: Revert of Inc, Add and Observe cumulative metric CAS optimizations (#​1661), causing regressions on low concurrency cases #​1757
  • [BUGFIX] prometheus: Fix GOOS=ios build, broken due to process_collector_* wrong build tags. #​1758
All commits

Full Changelog: prometheus/client_golang@v1.21.0...v1.21.1


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 this update 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 added the kind/upgrade label Mar 4, 2025
@renovate renovate 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 8, 2025
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 48665ae to 721d0f3 Compare April 8, 2025 11:37
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.22.0 fix(deps): update module github.com/prometheus/client_golang to v1.22.0 - autoclosed Apr 8, 2025
@renovate renovate bot closed this Apr 8, 2025
@renovate renovate bot deleted the renovate/github.com-prometheus-client_golang-1.x branch April 8, 2025 23:31
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.22.0 - autoclosed fix(deps): update module github.com/prometheus/client_golang to v1.22.0 Apr 10, 2025
@renovate renovate bot reopened this Apr 10, 2025
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 721d0f3 to 89d716f Compare April 10, 2025 15:00
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.22.0 fix(deps): update module github.com/prometheus/client_golang to v1.22.0 - autoclosed Apr 14, 2025
@renovate renovate bot closed this Apr 14, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.22.0 - autoclosed fix(deps): update module github.com/prometheus/client_golang to v1.22.0 Apr 14, 2025
@renovate renovate bot reopened this Apr 14, 2025
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from e26ecba to 89d716f Compare April 14, 2025 19:50
@Kumm-Kai Kumm-Kai merged commit 1603f8b into main Apr 15, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments