prometheus-client breaking changes
prometheus-client 5.0.0 (August 29, 2026) is its newest release with breaking changes, 2 of them. The first: Drops support for Ruby versions below 3.3 in prometheus-client 5.0.0. Every breaking API change we have recorded in prometheus-client on RubyGems: 13 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.0.0, released August 29, 2026. Source repository
Its 3.0.0 release requires Ruby 2.6 or later. Ruby end of life dates.
- From 4.0.0 to 5.0.0: 2 breaking changes in 1 version.
- From 0.7.0 to 5.0.0: 10 breaking changes in 4 versions.
prometheus-client 5.0.0 breaking changes
- Removed
Ruby versions below 3.3 are no longer supported or tested. Code running on them may stop working, so upgrade to Ruby 3.3 or later. github.com - Removed
JRuby versions below 9.4 are no longer supported or tested. Code running on them may stop working, so upgrade JRuby to 9.4 or later. github.com
prometheus-client 4.0.0 breaking changes
- Behavior changed
Prometheus.Middleware.Collector
The collector middleware no longer uses Sinatra or Grape route information to build the path label, so path labels may change in existing metrics. To keep the 3.0.0 behaviour or use custom path labels, follow the collector middleware... github.com
prometheus-client 3.0.0 breaking changes
- Removed
Ruby versions below 2.6 are no longer tested or supported; upgrade Ruby to 2.6 or later. github.com - Behavior changed
Unlabeled metrics are exported immediately with 0, which may significantly increase the number of exported time series. github.com - Behavior changed
Metrics declared with label names outside the Prometheus character set now raise an error at initialization. github.com - Behavior changed
Prometheus.Client.Collector
The request path used for labels now includes SCRIPT_NAME, so label values in existing metrics may change for apps mounted under a prefix or engine. github.com - Behavior changed
Prometheus.Client.Push
Creating a Push client without a non-empty job now raises ArgumentError. github.com - Signature changed
Prometheus.Client.Push
The job parameter is mandatory and must be non-empty, and the initializer takes keyword arguments; update calls to pass keyword arguments. github.com
prometheus-client 2.0.0 breaking changes
- Behavior changed
A value observed exactly at the upper limit of a histogram bucket is now counted in that bucket rather than the next one. Most code needs no change, but tests that check bucket counts may need updating. github.com
prometheus-client 0.7.0 breaking changes
- Renamed
Prometheus.Middleware.*
The Rack middlewares were renamed into the Prometheus::Middleware namespace. Update any code that references the old middleware class names. github.com - Behavior changed
Prometheus.Middleware.Collector
The Collector middleware uses a histogram instead of a summary, so existing dashboards and queries on the old summary metrics may need updating. github.com - Default changed
Prometheus.Middleware.Collector
The Collector now emits fewer labels by default, so queries relying on the previous high-cardinality labels may need updating. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.