From 7d0a9775ffa41bf2b6e714e319559a592ca29c85 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 6 Nov 2023 16:12:09 -0500 Subject: [PATCH 01/13] 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 02/13] 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 03/13] 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 04/13] 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 05/13] 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 06/13] 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 From 69fbc3eed5b2c2761361f8218b71a9668b25ea2b Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 6 Nov 2023 16:40:50 -0500 Subject: [PATCH 07/13] chore: prepare tracing-appender 0.2.3 --- tracing-appender/CHANGELOG.md | 27 +++++++++++++++++++++++++++ tracing-appender/Cargo.toml | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index c8c3290c71..6fe6d42450 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -1,3 +1,30 @@ +# 0.2.3 (November 6, 2023) + +This release contains several new features. + +### Added + +- **rolling**: add option to automatically delete old log files ([#2323]) +- **non_blocking**: allow worker thread name to be configured ([#2365]) +- **rolling**: add a builder for constructing `RollingFileAppender`s ([#2227]) +- **rolling**: add `Builder::filename_suffix` parameter ([#2225]) + +### Changed + +- **non_blocking**: name spawned threads ([#2219]) + +### Fixed + +- Fixed several documentation typos and issues ([#2689], [#2375]) + +[#2323]: https://github.com/tokio-rs/tracing/pull/2323 +[#2365]: https://github.com/tokio-rs/tracing/pull/2365 +[#2227]: https://github.com/tokio-rs/tracing/pull/2227 +[#2225]: https://github.com/tokio-rs/tracing/pull/2225 +[#2219]: https://github.com/tokio-rs/tracing/pull/2219 +[#2689]: https://github.com/tokio-rs/tracing/pull/2689 +[#2375]: https://github.com/tokio-rs/tracing/pull/2375 + # 0.2.2 (March 17, 2022) This release fixes a bug in `RollingFileAppender` that could result diff --git a/tracing-appender/Cargo.toml b/tracing-appender/Cargo.toml index 6dda55a3db..c45a617001 100644 --- a/tracing-appender/Cargo.toml +++ b/tracing-appender/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-appender" -version = "0.2.2" +version = "0.2.3" authors = [ "Zeki Sherif ", "Tokio Contributors " From 270b48d653ba4a4ca0ec78bfa3d1c65b98217925 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 6 Nov 2023 17:05:28 -0500 Subject: [PATCH 08/13] review nits --- tracing-appender/CHANGELOG.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index 6fe6d42450..4c1c011ab7 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -8,9 +8,6 @@ This release contains several new features. - **non_blocking**: allow worker thread name to be configured ([#2365]) - **rolling**: add a builder for constructing `RollingFileAppender`s ([#2227]) - **rolling**: add `Builder::filename_suffix` parameter ([#2225]) - -### Changed - - **non_blocking**: name spawned threads ([#2219]) ### Fixed From a12e122ac3186e7568c0cf46f7440d98a4c0e93f Mon Sep 17 00:00:00 2001 From: David Barsky Date: Sun, 12 Nov 2023 17:04:33 -0500 Subject: [PATCH 09/13] update changelog to include the removed send bounds and MSRV bump --- tracing-appender/CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index 4c1c011ab7..ae4ec4625d 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -1,6 +1,7 @@ # 0.2.3 (November 6, 2023) -This release contains several new features. +This release contains several new features. It also increases the +minimum supported Rust version (MSRV) to Rust 1.63.0. ### Added @@ -8,19 +9,26 @@ This release contains several new features. - **non_blocking**: allow worker thread name to be configured ([#2365]) - **rolling**: add a builder for constructing `RollingFileAppender`s ([#2227]) - **rolling**: add `Builder::filename_suffix` parameter ([#2225]) +- **non_blocking**: remove Sync bound from writer for NonBlocking ([#2607]) - **non_blocking**: name spawned threads ([#2219]) ### Fixed - Fixed several documentation typos and issues ([#2689], [#2375]) +### Changed + +- Increased minimum supported Rust version (MSRV) to 1.63.0+ ([#2793]) + [#2323]: https://github.com/tokio-rs/tracing/pull/2323 [#2365]: https://github.com/tokio-rs/tracing/pull/2365 [#2227]: https://github.com/tokio-rs/tracing/pull/2227 [#2225]: https://github.com/tokio-rs/tracing/pull/2225 +[#2607]: https://github.com/tokio-rs/tracing/pull/2607 [#2219]: https://github.com/tokio-rs/tracing/pull/2219 [#2689]: https://github.com/tokio-rs/tracing/pull/2689 [#2375]: https://github.com/tokio-rs/tracing/pull/2375 +[#2793]: https://github.com/tokio-rs/tracing/pull/2793 # 0.2.2 (March 17, 2022) From c48663380eb2af112225c2cd73b12886ac4437e4 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 13 Nov 2023 09:24:46 -0500 Subject: [PATCH 10/13] update release date --- tracing-appender/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index ae4ec4625d..4e9650a525 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.2.3 (November 6, 2023) +# 0.2.3 (November 13, 2023) This release contains several new features. It also increases the minimum supported Rust version (MSRV) to Rust 1.63.0. From 9e935ed4bc3b496fde7f16cda7a61911035e8d6c Mon Sep 17 00:00:00 2001 From: David Barsky Date: Mon, 13 Nov 2023 13:01:34 -0500 Subject: [PATCH 11/13] bump tracing-subscriber --- tracing-appender/CHANGELOG.md | 2 ++ tracing-appender/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index 4e9650a525..2a4d6a1db8 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -19,6 +19,7 @@ minimum supported Rust version (MSRV) to Rust 1.63.0. ### Changed - Increased minimum supported Rust version (MSRV) to 1.63.0+ ([#2793]) +- Increased minimum `tracing-subscriber` version to 0.3.18 ([#2790]) [#2323]: https://github.com/tokio-rs/tracing/pull/2323 [#2365]: https://github.com/tokio-rs/tracing/pull/2365 @@ -29,6 +30,7 @@ minimum supported Rust version (MSRV) to Rust 1.63.0. [#2689]: https://github.com/tokio-rs/tracing/pull/2689 [#2375]: https://github.com/tokio-rs/tracing/pull/2375 [#2793]: https://github.com/tokio-rs/tracing/pull/2793 +[#2790]: https://github.com/tokio-rs/tracing/pull/2790 # 0.2.2 (March 17, 2022) diff --git a/tracing-appender/Cargo.toml b/tracing-appender/Cargo.toml index c45a617001..e696f89f9b 100644 --- a/tracing-appender/Cargo.toml +++ b/tracing-appender/Cargo.toml @@ -28,7 +28,7 @@ thiserror = "1" [dependencies.tracing-subscriber] path = "../tracing-subscriber" -version = "0.3.0" +version = "0.3.18" default-features = false features = ["fmt", "std"] From 96c6b8799468a789c6385666d6d0cb16cc91312b Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 13 Nov 2023 10:57:05 -0800 Subject: [PATCH 12/13] Update tracing-appender/CHANGELOG.md --- tracing-appender/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index 2a4d6a1db8..8267a1e5e1 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -19,8 +19,9 @@ minimum supported Rust version (MSRV) to Rust 1.63.0. ### Changed - Increased minimum supported Rust version (MSRV) to 1.63.0+ ([#2793]) -- Increased minimum `tracing-subscriber` version to 0.3.18 ([#2790]) +- Updated minimum `tracing-subscriber` version to [0.3.18][subscriber-v0.3.18] ([#2790]) +[subscriber-v0.3.18]: https://github.com/tokio-rs/tracing/releases/tag/tracing-subscriber-0.3.18 [#2323]: https://github.com/tokio-rs/tracing/pull/2323 [#2365]: https://github.com/tokio-rs/tracing/pull/2365 [#2227]: https://github.com/tokio-rs/tracing/pull/2227 From 79aceda2183569d7284e967d4f15e15f441e851e Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 13 Nov 2023 10:58:49 -0800 Subject: [PATCH 13/13] Update tracing-appender/CHANGELOG.md --- tracing-appender/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index 8267a1e5e1..5c830c375c 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -9,7 +9,7 @@ minimum supported Rust version (MSRV) to Rust 1.63.0. - **non_blocking**: allow worker thread name to be configured ([#2365]) - **rolling**: add a builder for constructing `RollingFileAppender`s ([#2227]) - **rolling**: add `Builder::filename_suffix` parameter ([#2225]) -- **non_blocking**: remove Sync bound from writer for NonBlocking ([#2607]) +- **non_blocking**: remove `Sync` bound from writer for `NonBlocking` ([#2607]) - **non_blocking**: name spawned threads ([#2219]) ### Fixed