build(deps): bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 by dependabot[bot] · Pull Request #893 · innogames/slack-bot · GitHub
Skip to content

build(deps): bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 - #893

Merged
brainexe merged 1 commit into
masterfrom
dependabot/go_modules/github.com/prometheus/client_golang-1.25.0
Oct 23, 2026
Merged

brainexe merged 1 commit into
masterfrom
dependabot/go_modules/github.com/prometheus/client_golang-1.25.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/prometheus/client_golang from 1.24.1 to 1.25.0.

Release notes

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

v1.25.0

⚠️ This release raises the minimum required Go version to 1.26 and includes breaking API changes in api/prometheus/v1 (see the [CHANGE] entries below). ⚠️

1.25.0 / 2026-10-07

  • [CHANGE] Minimum required Go version is now 1.26, only the two latest Go versions (1.26 and 1.27) are supported from now on. #2138
  • [CHANGE] api/prometheus/v1: Query, QueryRange, Series, LabelNames, and LabelValues now return Infos annotations in addition to Warnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and of api.Client's Do/DoGetFallback; custom API client implementations must be updated. #1963
  • [CHANGE] api/prometheus/v1: Rework TSDBBlocks result types to align with the Prometheus server's tsdb.BlockMeta: TSDBBlocksResult now contains Blocks []TSDBBlockMeta directly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta, TSDBBlockStats, TSDBBlockMetaCompaction), stat fields are uint64 with omitempty tags, and the optional compaction parents field is included. #1928
  • [FEATURE] testutil: Add GatherAndFormat to encode a subset of metrics from a Gatherer. #2091
  • [FEATURE] promhttp: Add HandlerOpts.AcceptedFormats to customize the formats negotiated from the incoming Accept header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #2146
  • [ENHANCEMENT] promhttp: Negotiated metrics responses now include a Vary header. #2142
  • [ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. #2090, #2095
  • [ENHANCEMENT] testutil: Finalize OpenMetrics output in GatherAndFormat and CollectAndFormat (terminating # EOF). #2125
  • [BUGFIX] api: Match complete URL path placeholders only; a :foo argument no longer substitutes inside :foobar. #2136
  • [BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. #2139
  • [BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". #2135

What's Changed

... (truncated)

Changelog

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

1.25.0 / 2026-10-07

  • [CHANGE] Minimum required Go version is now 1.26, only the two latest Go versions (1.26 and 1.27) are supported from now on. #2138
  • [CHANGE] api/prometheus/v1: Query, QueryRange, Series, LabelNames, and LabelValues now return Infos annotations in addition to Warnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and of api.Client's Do/DoGetFallback; custom API client implementations must be updated. #1963
  • [CHANGE] api/prometheus/v1: Rework TSDBBlocks result types to align with the Prometheus server's tsdb.BlockMeta: TSDBBlocksResult now contains Blocks []TSDBBlockMeta directly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta, TSDBBlockStats, TSDBBlockMetaCompaction), stat fields are uint64 with omitempty tags, and the optional compaction parents field is included. #1928
  • [FEATURE] testutil: Add GatherAndFormat to encode a subset of metrics from a Gatherer. #2091
  • [FEATURE] promhttp: Add HandlerOpts.AcceptedFormats to customize the formats negotiated from the incoming Accept header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #2146
  • [ENHANCEMENT] promhttp: Negotiated metrics responses now include a Vary header. #2142
  • [ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. #2090, #2095
  • [ENHANCEMENT] testutil: Finalize OpenMetrics output in GatherAndFormat and CollectAndFormat (terminating # EOF). #2125
  • [BUGFIX] api: Match complete URL path placeholders only; a :foo argument no longer substitutes inside :foobar. #2136
  • [BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. #2139
  • [BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". #2135
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)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.24.1...v1.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 14, 2026
@brainexe
brainexe merged commit 3d90e79 into master Oct 23, 2026
5 of 20 checks passed
@brainexe
brainexe deleted the dependabot/go_modules/github.com/prometheus/client_golang-1.25.0 branch October 23, 2026 08:44
brainexe added a commit that referenced this pull request Oct 27, 2026
The plugins in ./plugins/ are own Go modules that pull in the core via a
directory replace, so their go.mod has to list the versions selected by
the root module. #893, #894 and #895 only bumped the root go.mod, which
left the plugins behind and broke their CI jobs:

  golangci-lint: no go files to analyze: running `go mod tidy` may solve the problem
  govulncheck:   go: updates to go.mod needed; to update it: go mod tidy

Run `go mod tidy` in all plugin modules, which bumps
github.com/prometheus/client_golang to v1.25.0, golang.org/x/text to
v0.43.0 and - transitively - github.com/klauspost/compress to v1.20.1.
brainexe added a commit that referenced this pull request Oct 27, 2026
* test(jira): accept 401 response for not existing tickets

The public Apache Jira used in the tests now answers with
"You do not have the permission to see the specified issue." (401)
instead of "Issue Does Not Exist" (404) for anonymous requests to a
non existing ticket, which broke TestJiraSearch and TestWatchJira.

Assert the forwarded API error via a regexp accepting both variants.

* build(deps): tidy plugin modules after root dependency bumps

The plugins in ./plugins/ are own Go modules that pull in the core via a
directory replace, so their go.mod has to list the versions selected by
the root module. #893, #894 and #895 only bumped the root go.mod, which
left the plugins behind and broke their CI jobs:

  golangci-lint: no go files to analyze: running `go mod tidy` may solve the problem
  govulncheck:   go: updates to go.mod needed; to update it: go mod tidy

Run `go mod tidy` in all plugin modules, which bumps
github.com/prometheus/client_golang to v1.25.0, golang.org/x/text to
v0.43.0 and - transitively - github.com/klauspost/compress to v1.20.1.

* ci(security): exclude ./examples/ from the gosec scan

gosec walks the directory tree itself, so it also picks up the own Go
modules below ./examples/. Those depend on the released slack-bot and
have no go.sum checked in, so they can't be resolved from the root
module and gosec reports them as "Golang errors":

  could not import github.com/innogames/slack-bot/v2/bot (invalid package name: "")

That makes gosec exit 1 even though it finds 0 issues.

The examples are compiled in the "Build examples" step of the
test-extended job, so skipping them here loses no coverage.
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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant