Skip to content

chore(deps): bump prometheus-client from 0.23.1 to 0.26.0 - #291

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/prometheus-client-0.26.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/prometheus-client-0.26.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps prometheus-client from 0.23.1 to 0.26.0.

Release notes

Sourced from prometheus-client's releases.

v0.26.0

[0.26.0]

Added

  • Implement PartialEq, Eq and Hash for metrics::MetricType and registry::Unit. See PR 366.
  • Added encoding::prometheus_text::encode to encode a Registry in the Prometheus text exposition format (version 0.0.4). See Issue 367 and PR 368.

Changed

  • Improved text encoding performance by buffering output internally, reducing dynamic dispatch overhead. Empty label sets and custom labels that encode no key no longer produce {} or a stray , in the text output. See PR 370.
  • Registering a Counter with a name ending in _total now panics when debug assertions are enabled, including default development and test builds. When upgrading, remove the suffix from registered names (for example, foo_total -> foo); encoding adds it automatically. In this example, the exported name changes from foo_total_total to foo_total, so update affected queries and dashboards. The new check is disabled in builds without debug assertions, including default release builds. See PR 371.

v0.25.2

[0.25.2]

Fixed

  • Label values in the text format are now escaped (\, " and newlines), as the exposition format requires. See PR 347.
  • The implicit Histogram overflow bucket now uses +Inf instead of f64::MAX as its upper bound, and Histogram::new drops non-finite bucket bounds, so an explicit f64::INFINITY no longer produces a duplicate le="+Inf" series. See PR 343.

Changed

  • Updated the optional protox build dependency to v0.10.

v0.25.1

Fixed

  • The EncodeLabelSet and EncodeLabelValue derive macros now emit spanned compile errors for invalid input instead of panicking, so diagnostics point at the offending type or attribute rather than at the derive site. See PR 307.

Changed

  • Updated prometheus-client-derive-encode to v0.5.1, which updates its syn dependency to v3.

... (truncated)

Changelog

Sourced from prometheus-client's changelog.

[0.26.0]

Added

  • Implement PartialEq, Eq and Hash for metrics::MetricType and registry::Unit. See PR 366.
  • Added encoding::prometheus_text::encode to encode a Registry in the Prometheus text exposition format (version 0.0.4). See Issue 367 and PR 368.

Changed

  • Improved text encoding performance by buffering output internally, reducing dynamic dispatch overhead. Empty label sets and custom labels that encode no key no longer produce {} or a stray , in the text output. See PR 370.
  • Registering a Counter with a name ending in _total now panics when debug assertions are enabled, including default development and test builds. When upgrading, remove the suffix from registered names (for example, foo_total -> foo); encoding adds it automatically. In this example, the exported name changes from foo_total_total to foo_total, so update affected queries and dashboards. The new check is disabled in builds without debug assertions, including default release builds. See PR 371.

[0.25.2]

Fixed

  • Label values in the text format are now escaped (\, " and newlines), as the exposition format requires. See PR 347.
  • The implicit Histogram overflow bucket now uses +Inf instead of f64::MAX as its upper bound, and Histogram::new drops non-finite bucket bounds, so an explicit f64::INFINITY no longer produces a duplicate le="+Inf" series. See PR 343.

Changed

  • Updated the optional protox build dependency to v0.10.

[0.25.1]

Fixed

  • The EncodeLabelSet and EncodeLabelValue derive macros now emit spanned compile errors for invalid input instead of panicking, so diagnostics point at the offending type or attribute rather than at the derive site. See [PR 307].

Changed

... (truncated)

Commits
  • 5801bff chore: prepare v0.26.0 release (#379)
  • e4373b1 perf(encoding): add text buffer to reduce dynamic dispatch overhead (#370)
  • 2277bd7 ci: exclude prombot-synced workflows from dependabot (#376)
  • 556f2f1 fix(registry): reject counter _total suffixes in debug builds (#371)
  • daffb6c feat(encoding): add Prometheus text exposition format encoder (#368)
  • 8d0346a feat: derive PartialEq and Eq for MetricType and Unit (#366)
  • c0926d8 build(deps): bump actix-web from 4.17.0 to 4.18.1 in the cargo-minor-patch gr...
  • d5040e9 build(deps): bump zizmorcore/zizmor-action from 0.7.1 to 0.8.0 in the github-...
  • 4a99f73 chore: prepare v0.25.2 release (#363)
  • 05302ac Synchronize common files from prometheus/prometheus (#354)
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 16, 2026 05:52
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 16, 2026
Bumps [prometheus-client](https://github.com/prometheus/client_rust) from 0.23.1 to 0.26.0.
- [Release notes](https://github.com/prometheus/client_rust/releases)
- [Changelog](https://github.com/prometheus/client_rust/blob/master/CHANGELOG.md)
- [Commits](prometheus/client_rust@v0.23.1...v0.26.0)

---
updated-dependencies:
- dependency-name: prometheus-client
  dependency-version: 0.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/prometheus-client-0.26.0 branch from d406802 to a0abd4f Compare November 20, 2026 23:37
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants