Skip to content

deps: bump github.com/prometheus/client_golang from 1.7.1 to 1.23.2#9

Closed
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/go_modules/github.com/prometheus/client_golang-1.23.2
Closed

deps: bump github.com/prometheus/client_golang from 1.7.1 to 1.23.2#9
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/go_modules/github.com/prometheus/client_golang-1.23.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/prometheus/client_golang from 1.7.1 to 1.23.2.

Release notes

Sourced from github.com/prometheus/client_golang's releases.

v1.23.2 - 2025-09-05

This release is made to upgrade to prometheus/common v0.66.1, which drops the dependencies github.com/grafana/regexp and go.uber.org/atomic and replaces gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (a drop-in replacement). There are no functional changes.

Full Changelog: prometheus/client_golang@v1.23.1...v1.23.2

v1.23.1 - 2025-09-04

This release is made to be compatible with a backwards incompatible API change in prometheus/common v0.66.0. There are no functional changes.

Full Changelog: prometheus/client_golang@v1.23.0...v1.23.1

v1.23.0 - 2025-07-30

  • [CHANGE] Minimum required Go version is now 1.23, only the two latest Go versions are supported from now on. #1812
  • [FEATURE] Add WrapCollectorWith and WrapCollectorWithPrefix #1766
  • [FEATURE] Add exemplars for native histograms #1686
  • [ENHANCEMENT] exp/api: Bubble up status code from writeResponse #1823
  • [ENHANCEMENT] collector/go: Update runtime metrics for Go v1.23 and v1.24 #1833
  • [BUGFIX] exp/api: client prompt return on context cancellation #1729

... (truncated)

Changelog

Sourced from github.com/prometheus/client_golang's changelog.

1.23.2 / 2025-09-05

This release is made to upgrade to prometheus/common v0.66.1, which drops the dependencies github.com/grafana/regexp and go.uber.org/atomic and replaces gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (a drop-in replacement). There are no functional changes.

1.23.1 / 2025-09-04

This release is made to be compatible with a backwards incompatible API change in prometheus/common v0.66.0. There are no functional changes.

1.23.0 / 2025-07-30

  • [CHANGE] Minimum required Go version is now 1.23, only the two latest Go versions are supported from now on. #1812
  • [FEATURE] Add WrapCollectorWith and WrapCollectorWithPrefix #1766
  • [FEATURE] Add exemplars for native histograms #1686
  • [ENHANCEMENT] exp/api: Bubble up status code from writeResponse #1823
  • [ENHANCEMENT] collector/go: Update runtime metrics for Go v1.23 and v1.24 #1833
  • [BUGFIX] exp/api: client prompt return on context cancellation #1729

1.22.0 / 2025-04-07

⚠️ 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, golang/go#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

1.21.1 / 2025-03-04

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

1.21.0 / 2025-02-17

⚠️ This release contains potential breaking change if you upgrade github.com/prometheus/common to 0.62+ together with client_golang. ⚠️

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

cjimti and others added 2 commits June 16, 2026 15:24
* Migrate from glide/GOPATH vendoring to Go modules

Replace the abandoned glide + libbeat-Makefile vendoring with a
standard Go module targeting Go 1.26 and Elastic libbeat v7.17.29
(the last maintained v7 line, keeping the libbeat/... import paths).

Dependency notes:
- Mirror elastic/beats' own replace directives into go.mod; Go modules
  do not apply a dependency's replaces transitively, so consumers of
  libbeat must copy them (Shopify/sarama, fsnotify, gopacket, etc.).
- Pin txn2/rxtx to v1.3.2 (the exact prod revision) to preserve the
  rtq.MessageBatch wire format. Pin its 2018-era transitive deps
  coreos/bbolt and satori/go.uuid to the commits prod ran, since the
  newer tags renamed the bbolt package and changed uuid.NewV4's
  signature, breaking rtq's source under modern MVS.

libbeat v7.17 API drift:
- beat.ClientConfig.ACKCount removed; use acker.RawCounting.
- cmd.GenRootCmd removed; use GenRootCmdWithSettings + instance.Settings.
- logp.Error removed; route the unmarshal error to the zap logger.

Housekeeping in the same pass:
- io/ioutil -> io, fix the lost context cancel in shutdown.
- Guard main_test.go flag lookups against nil (test flags register
  lazily on modern Go, which panicked at init()).

Build, vet, and tests pass; binary reports libbeat 7.17.29.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Add modern SDLC and project hygiene

Bring rtbeat in line with the txn2/kubefwd and mcp-data-platform
conventions, replacing the abandoned beats/Travis tooling.

CI/CD (GitHub Actions, all action refs SHA-pinned):
- ci.yml: lint (golangci-lint v2.12.1), test matrix (ubuntu+macos,
  -race + coverage to Codecov), build + goreleaser check.
- release.yml: GoReleaser v2 on tag push — Cosign keyless signing,
  SBOMs, multi-arch Docker, SLSA provenance.
- codeql.yml, scorecard.yml, docs.yml (MkDocs to GitHub Pages),
  dependabot.yml.

Tooling/config:
- .golangci.yml (v2) with a clean lint baseline; fixed the findings in
  beater/rtbeat.go (errcheck, gocritic, ineffassign, revive, staticcheck).
- Makefile: `make verify` mirrors CI (go-version + tidy-check + lint +
  test + validate-actions); auto-installs the pinned linter to .tools/.
- scripts/validate-action-shas.sh enforces SHA-pinned actions.
- .goreleaser.yml rewritten to v2 (static CGO-free builds, version
  stamped into libbeat/version); modern multi-arch Dockerfile replaces
  the per-arch dockerfiles/.
- codecov.yml, .gitignore updates; stop tracking the libbeat runtime
  data/meta.json.

Docs & community:
- SECURITY.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, CHANGELOG.md,
  CLAUDE.md, CODEOWNERS, issue/PR templates.
- MkDocs site (mkdocs.yml + docs/) and a modernized README.

Retired: .travis.yml, the libbeat-generated Makefile, glide-era and
per-arch Docker tooling.

make verify passes; mkdocs build --strict passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Harden deps from adversarial review

Two fixes surfaced by an adversarial review of the modernization:

- go.mod: mirror the full 15-directive replace block from
  elastic/beats/v7@v7.17.29 (previously only 7). We import few libbeat
  packages today, but keeping the complete upstream set means a future
  dependency bump that pulls in more of beats won't break against a
  fork-expecting package (e.g. docker/docker => docker/engine).
- .goreleaser.yml: document that `brews:` is valid on the CI-pinned
  goreleaser line (~> v2.13) but deprecated as of v2.16, so the key must
  be migrated before bumping the goreleaser-action pin.

make verify passes; binary still reports libbeat 7.17.29.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.7.1 to 1.23.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.7.1...v1.23.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.23.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github

dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/prometheus/client_golang-1.23.2 branch June 16, 2026 23:06
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