From 39229fd06be5d29fbfcb945d0eeeab0ed72878f1 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Thu, 20 Aug 2020 17:44:48 +0200 Subject: [PATCH 1/2] *: Prepare release candidate 0.10.0-rc.1 Signed-off-by: Max Inden --- CHANGELOG.md | 16 ++++++++++++++++ Cargo.toml | 2 +- static-metric/Cargo.toml | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97d06b41..e5b848d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 0.10.0-rc.1 + +- Improvement: Use different generic parameters for name and help at metric construction (#324). + +- Bug fix: Error instead of panic when constructing histogram with unequal label key and label value length (#326). + +- Bug fix: Return `Error::AlreadyReg` on duplicate collector registration (#333). + +- Bug fix: Make Histogram::observe atomic across collects (#314). + +- Internal change: Replace spin with parking_lot (#318). + +- Internal change: Optimize metric formatting (#327). + +- Internal change: Update parking_lot and procfs dependencies (#337). + ## 0.9.0 - Add: Implement `encode` function for summary type metrics. diff --git a/Cargo.toml b/Cargo.toml index f26f39e2..46df2dee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "Apache-2.0" name = "prometheus" readme = "README.md" repository = "https://github.com/tikv/rust-prometheus" -version = "0.9.0" +version = "0.10.0-rc.1" [badges] travis-ci = { repository = "pingcap/rust-prometheus" } diff --git a/static-metric/Cargo.toml b/static-metric/Cargo.toml index 13ccfad5..57648790 100644 --- a/static-metric/Cargo.toml +++ b/static-metric/Cargo.toml @@ -23,7 +23,7 @@ quote = "1.0" lazy_static = "1.4" [dev-dependencies] -prometheus = { version = "0.9", path = "../" } +prometheus = { version = "0.10.0-rc.1", path = "../" } [features] default = [] From 046176706e217faadbcd45bdc7b718447bd56792 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Mon, 24 Aug 2020 08:57:38 +0200 Subject: [PATCH 2/2] static/metrics/Cargo.toml: Bump version to 0.5.0-rc.1 Signed-off-by: Max Inden --- static-metric/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static-metric/Cargo.toml b/static-metric/Cargo.toml index 57648790..b5b43693 100644 --- a/static-metric/Cargo.toml +++ b/static-metric/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prometheus-static-metric" -version = "0.4.0" +version = "0.5.0-rc.1" license = "Apache-2.0" authors = ["me@breeswish.org"] description = "Static metric helper utilities for rust-prometheus."