From d61654653c06f173ff043b5ca8f0b61c09fc0042 Mon Sep 17 00:00:00 2001 From: Daniel Magliola Date: Tue, 28 Jan 2020 12:58:49 +0000 Subject: [PATCH] Release v2.0 This includes a bug fix that is a breaking change, so this is a new major version. Signed-off-by: Daniel Magliola --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ lib/prometheus/client/version.rb | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..0e355c01 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# CHANGELOG + +# 2.0.0 / 2020-01-28 + +## Breaking changes + +- [#176](https://github.com/prometheus/client_ruby/pull/176) BUGFIX: Values observed at + the upper limit of a histogram bucket are now counted in that bucket, not the following + one. This is unlikely to break functionality and you probably don't need to make code + changes, but it may break tests. + +## New features + +- [#156](https://github.com/prometheus/client_ruby/pull/156) Added `init_label_set` method, + which allows declaration of time series on app startup, starting at 0. + + +# 1.0.0 / 2019-11-04 + +## Breaking changes + +- This release saw a number of breaking changes to better comply with latest best practices + for naming and client behaviour. Please refer to [UPGRADING.md](UPGRADING.md) for details + if upgrading from `<= 0.9`. + +- The main feature of this release was adding support for multi-process environments such + as pre-fork servers (Unicorn, Puma). diff --git a/lib/prometheus/client/version.rb b/lib/prometheus/client/version.rb index bb44f1a6..147472ae 100644 --- a/lib/prometheus/client/version.rb +++ b/lib/prometheus/client/version.rb @@ -2,6 +2,6 @@ module Prometheus module Client - VERSION = '1.0.0' + VERSION = '2.0.0' end end