From 9002dbfaab851c3674c528f1dcd9c0ff0ea9b37a Mon Sep 17 00:00:00 2001 From: Chris Sinjakli Date: Wed, 19 Aug 2026 08:11:21 +0100 Subject: [PATCH] Prepare release 5.0.0 --- CHANGELOG.md | 24 ++++++++++++++++++++++++ lib/prometheus/client/version.rb | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2d14fe4..409e97a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,30 @@ _None outstanding_ +# 5.0.0 / 2026-08-19 + +_**Codename:** I can't believe it's not CGI_ + +## Small improvements + +- [#327](https://github.com/prometheus/client_ruby/pull/327), + [#330](https://github.com/prometheus/client_ruby/pull/330) Add Ruby 4.0 support: We + now support Ruby 4.0. `CGI` was removed from the default gems, so we've changed our + internal uses of it to `URI`. + +## Breaking changes + +- [#328](https://github.com/prometheus/client_ruby/pull/328), + [#335](https://github.com/prometheus/client_ruby/pull/335) Drop support for old + Ruby versions: + Ruby versions below 3.3 are no longer supported upstream, and + `client_ruby` is no longer tested against them. Likewise, JRuby below 9.4 is no + longer supported upstream, so we've dropped support for older versions. + + **This may be a breaking change**. As we no longer test `client_ruby` + against those versions, continued functioning on them is purely down to chance. Any + issues specific to them will be closed as invalid. + # 4.2.5 / 2025-07-05 _**Codename:** Surprise dependency_ diff --git a/lib/prometheus/client/version.rb b/lib/prometheus/client/version.rb index 150eacca..8e077d2a 100644 --- a/lib/prometheus/client/version.rb +++ b/lib/prometheus/client/version.rb @@ -2,6 +2,6 @@ module Prometheus module Client - VERSION = '4.2.5' + VERSION = '5.0.0' end end