From 7d0a9775ffa41bf2b6e714e319559a592ca29c85 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 6 Nov 2023 16:12:09 -0500 Subject: [PATCH 1/6] chore: prepare tracing-subscriber 0.3.18 release --- tracing-subscriber/CHANGELOG.md | 26 ++++++++++++++++++++++++++ tracing-subscriber/Cargo.toml | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/tracing-subscriber/CHANGELOG.md b/tracing-subscriber/CHANGELOG.md index 9a33e55e23..2150517275 100644 --- a/tracing-subscriber/CHANGELOG.md +++ b/tracing-subscriber/CHANGELOG.md @@ -1,3 +1,29 @@ +# 0.3.18 (November 6, 2023) + +This release of `tracing-subscriber` adds support for `NO_COLOR` in +`fmt::Layer` and reintroduces support for the `chrono` crate. +It also introduces several minor API improvements. + + +### Added + +- **chrono**: Add `chrono` implementations of `FormatTime` ([#2690]) +- **subscriber**: support `NO_COLOR` in `fmt::Layer` ([#2647]) + +### Changed + +- **fmt**: make `format::Writer::new()` public ([#2680]) +- **subscriber**: bump version of `tracing-log` to 0.2 ([#2772]) +- **filter**: Implement `layer::Filter` for `Option` ([#2407]) + +[#2690]: https://github.com/tokio-rs/tracing/pull/2690 +[#2647]: https://github.com/tokio-rs/tracing/pull/2647 +[#2680]: https://github.com/tokio-rs/tracing/pull/2680 +[#2407]: https://github.com/tokio-rs/tracing/pull/2407 +[#2772]: https://github.com/tokio-rs/tracing/pull/2772 + +Thanks to @shayne-fletcher, @dmlary, @kaifastromai, and @jsgf for contributing! + # 0.3.17 (April 21, 2023) This release of `tracing-subscriber` fixes a build error when using `env-filter` diff --git a/tracing-subscriber/Cargo.toml b/tracing-subscriber/Cargo.toml index 49580e4271..807880b8cd 100644 --- a/tracing-subscriber/Cargo.toml +++ b/tracing-subscriber/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-subscriber" -version = "0.3.17" +version = "0.3.18" authors = [ "Eliza Weisman ", "David Barsky ", From 0a759edcbeee277acb787a7b03c644999c5e776b Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 6 Nov 2023 16:42:00 -0500 Subject: [PATCH 2/6] Update tracing-subscriber/CHANGELOG.md Co-authored-by: Eliza Weisman --- tracing-subscriber/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tracing-subscriber/CHANGELOG.md b/tracing-subscriber/CHANGELOG.md index 2150517275..c5bc0707e6 100644 --- a/tracing-subscriber/CHANGELOG.md +++ b/tracing-subscriber/CHANGELOG.md @@ -8,7 +8,8 @@ It also introduces several minor API improvements. ### Added - **chrono**: Add `chrono` implementations of `FormatTime` ([#2690]) -- **subscriber**: support `NO_COLOR` in `fmt::Layer` ([#2647]) +- **subscriber**: Add support for the `NO_COLOR` environment + variable in `fmt::Layer` ([#2647]) ### Changed From 7346ebc14a8fb8f62883b831189eae1dfb77515f Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 6 Nov 2023 16:42:49 -0500 Subject: [PATCH 3/6] Update tracing-subscriber/CHANGELOG.md Co-authored-by: Eliza Weisman --- tracing-subscriber/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-subscriber/CHANGELOG.md b/tracing-subscriber/CHANGELOG.md index c5bc0707e6..a61576197f 100644 --- a/tracing-subscriber/CHANGELOG.md +++ b/tracing-subscriber/CHANGELOG.md @@ -14,7 +14,7 @@ It also introduces several minor API improvements. ### Changed - **fmt**: make `format::Writer::new()` public ([#2680]) -- **subscriber**: bump version of `tracing-log` to 0.2 ([#2772]) +- **log**: bump version of `tracing-log` to 0.2 ([#2772]) - **filter**: Implement `layer::Filter` for `Option` ([#2407]) [#2690]: https://github.com/tokio-rs/tracing/pull/2690 From c6799f53ba83140025ad3362f8d678bd467737ee Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 6 Nov 2023 16:58:02 -0500 Subject: [PATCH 4/6] address review comments --- tracing-subscriber/CHANGELOG.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/tracing-subscriber/CHANGELOG.md b/tracing-subscriber/CHANGELOG.md index a61576197f..01372a3f37 100644 --- a/tracing-subscriber/CHANGELOG.md +++ b/tracing-subscriber/CHANGELOG.md @@ -1,22 +1,25 @@ # 0.3.18 (November 6, 2023) -This release of `tracing-subscriber` adds support for `NO_COLOR` in -`fmt::Layer` and reintroduces support for the `chrono` crate. -It also introduces several minor API improvements. +This release of `tracing-subscriber` adds support for the [`NO_COLOR`] environment +variable (an informal standard to disable emitting ANSI color escape codes) in +`fmt::Layer` and reintroduces support for the [`chrono`] crate. +It also introduces several minor API improvements. ### Added -- **chrono**: Add `chrono` implementations of `FormatTime` ([#2690]) -- **subscriber**: Add support for the `NO_COLOR` environment - variable in `fmt::Layer` ([#2647]) +- **chrono**: Add [`chrono`] implementations of `FormatTime` ([#2690]) +- **subscriber**: Add support for the [`NO_COLOR`] environment variable in +`fmt::Layer` ([#2647]) +- **fmt**: make `format::Writer::new()` public ([#2680]) +- **filter**: Implement `layer::Filter` for `Option` ([#2407]) ### Changed -- **fmt**: make `format::Writer::new()` public ([#2680]) - **log**: bump version of `tracing-log` to 0.2 ([#2772]) -- **filter**: Implement `layer::Filter` for `Option` ([#2407]) +[`chrono`]: https://github.com/chronotope/chrono +[`NO_COLOR`]: https://no-color.org/ [#2690]: https://github.com/tokio-rs/tracing/pull/2690 [#2647]: https://github.com/tokio-rs/tracing/pull/2647 [#2680]: https://github.com/tokio-rs/tracing/pull/2680 From 74679f7bc141f4551abc30232ae458dfb4224e2c Mon Sep 17 00:00:00 2001 From: David Barsky Date: Sun, 12 Nov 2023 16:59:17 -0500 Subject: [PATCH 5/6] Reflect MSRV update in changelog --- tracing-subscriber/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tracing-subscriber/CHANGELOG.md b/tracing-subscriber/CHANGELOG.md index 01372a3f37..20688785d3 100644 --- a/tracing-subscriber/CHANGELOG.md +++ b/tracing-subscriber/CHANGELOG.md @@ -2,7 +2,8 @@ This release of `tracing-subscriber` adds support for the [`NO_COLOR`] environment variable (an informal standard to disable emitting ANSI color escape codes) in -`fmt::Layer` and reintroduces support for the [`chrono`] crate. +`fmt::Layer`, reintroduces support for the [`chrono`] crate, and increases the +minimum supported Rust version (MSRV) to Rust 1.63.0. It also introduces several minor API improvements. @@ -17,6 +18,7 @@ It also introduces several minor API improvements. ### Changed - **log**: bump version of `tracing-log` to 0.2 ([#2772]) +- Increased minimum supported Rust version (MSRV) to 1.63.0+. [`chrono`]: https://github.com/chronotope/chrono [`NO_COLOR`]: https://no-color.org/ From b63abe3ff78029b538eddb54584445542d583bff Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 13 Nov 2023 09:13:42 -0500 Subject: [PATCH 6/6] Update date of release --- tracing-subscriber/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-subscriber/CHANGELOG.md b/tracing-subscriber/CHANGELOG.md index 20688785d3..a8894b9ea2 100644 --- a/tracing-subscriber/CHANGELOG.md +++ b/tracing-subscriber/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.3.18 (November 6, 2023) +# 0.3.18 (November 13, 2023) This release of `tracing-subscriber` adds support for the [`NO_COLOR`] environment variable (an informal standard to disable emitting ANSI color escape codes) in