From 34ca1c9d72aa61fe0100241428eaff2ceed5ac6c Mon Sep 17 00:00:00 2001 From: Toby Lawrence Date: Sat, 25 Nov 2023 12:50:43 -0500 Subject: [PATCH] changelog updates --- metrics-util/CHANGELOG.md | 7 +++++++ metrics/CHANGELOG.md | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/metrics-util/CHANGELOG.md b/metrics-util/CHANGELOG.md index b0b23c96..f24340e5 100644 --- a/metrics-util/CHANGELOG.md +++ b/metrics-util/CHANGELOG.md @@ -17,6 +17,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Bump MSRV to 1.65.0. +- `RecoverableRecorder` no longer functions as a drop guard itself, and instead returns a new + type, `RecoveryHandle`, which provides that functionality. ([#414](https://github.com/metrics-rs/metrics/pull/414)) + +### Removed + +- Support for per-thread mode in `DebuggingRecorder`. Users should now use + `metrics::with_local_recorder` instead, which is inherently per-thread. ## [0.15.1] - 2023-07-02 diff --git a/metrics/CHANGELOG.md b/metrics/CHANGELOG.md index c603136b..d25c7852 100644 --- a/metrics/CHANGELOG.md +++ b/metrics/CHANGELOG.md @@ -17,10 +17,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 `&'static str` or `String` were allowed. There's still work to be done to also support labels in this regard. +- Support for local recorders. ([#414](https://github.com/metrics-rs/metrics/pull/414)) + + This is a large feature, and is documented in [RELEASES.md](RELEASES.md). + ### Changed - Make `Unit` methods return `&'static str` (instead of `&str`) where possible. ([#392](https://github.com/metrics-rs/metrics/pull/393)) - Bump MSRV to 1.65.0. +- `SetRecorderError` now returns the recorder given to `set_global_recorder` if another global + recorder was already installed instead of leaking it. ([#414](https://github.com/metrics-rs/metrics/pull/414)) ## [0.21.1] - 2023-07-02