Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2025

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

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: 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

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

@renovate
Copy link
Contributor Author

renovate bot commented Apr 8, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/klauspost/compress v1.17.11 -> v1.18.0
google.golang.org/protobuf v1.36.4 -> v1.36.5

@codecov
Copy link

codecov bot commented Apr 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.00%. Comparing base (cf2c6ca) to head (cbce822).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   48.00%   48.00%           
=======================================
  Files           7        7           
  Lines         602      602           
=======================================
  Hits          289      289           
  Misses        283      283           
  Partials       30       30           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@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 May 31, 2025
@renovate renovate bot closed this May 31, 2025
@renovate renovate bot deleted the renovate/github.com-prometheus-client_golang-1.x branch May 31, 2025 13:35
@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 May 31, 2025
@renovate renovate bot reopened this May 31, 2025
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 45cb8db to cbce822 Compare May 31, 2025 17:05
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from cbce822 to eb4313d Compare June 26, 2025 12:30
@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@oliverbaehler oliverbaehler merged commit 236cc3a into main Jun 27, 2025
13 of 15 checks passed
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.

2 participants