From 62dd708729bc2dce4252f3c6b4cc2702ffabb77d Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Thu, 14 Apr 2022 15:28:32 -0700 Subject: [PATCH] tracing: prepare to release v0.1.34 (#2076) # 0.1.34 (April 14, 2022) This release includes bug fixes for the "log" support feature and for the use of both scoped and global default dispatchers in the same program. ### Fixed - Failure to use the global default dispatcher when a thread sets a local default dispatcher before the global default is set ([#2065]) - **log**: Compilation errors due to `async` block/fn futures becoming `!Send` when the "log" feature flag is enabled ([#2073]) - Broken links in documentation ([#2068]) Thanks to @ben0x539 for contributing to this release! [#2065]: https://github.com/tokio-rs/tracing/pull/2065 [#2073]: https://github.com/tokio-rs/tracing/pull/2073 [#2068]: https://github.com/tokio-rs/tracing/pull/2068 --- tracing/CHANGELOG.md | 19 +++++++++++++++++++ tracing/README.md | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/tracing/CHANGELOG.md b/tracing/CHANGELOG.md index bfcb7422e..a759502e2 100644 --- a/tracing/CHANGELOG.md +++ b/tracing/CHANGELOG.md @@ -1,3 +1,22 @@ +# 0.1.34 (April 14, 2022) + +This release includes bug fixes for the "log" support feature and for the use of +both scoped and global default dispatchers in the same program. + +### Fixed + +- Failure to use the global default dispatcher when a thread sets a local + default dispatcher before the global default is set ([#2065]) +- **log**: Compilation errors due to `async` block/fn futures becoming `!Send` + when the "log" feature flag is enabled ([#2073]) +- Broken links in documentation ([#2068]) + +Thanks to @ben0x539 for contributing to this release! + +[#2065]: https://github.com/tokio-rs/tracing/pull/2065 +[#2073]: https://github.com/tokio-rs/tracing/pull/2073 +[#2068]: https://github.com/tokio-rs/tracing/pull/2068 + # 0.1.33 (April 9, 2022) This release adds new `span_enabled!` and `event_enabled!` variants of the diff --git a/tracing/README.md b/tracing/README.md index 01eadcb1d..60ef07c83 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -250,7 +250,7 @@ my_future is as long as the future's. The second, and preferred, option is through the -[`#[instrument]`](https://docs.rs/tracing/0.1.33/tracing/attr.instrument.html) +[`#[instrument]`](https://docs.rs/tracing/0.1.34/tracing/attr.instrument.html) attribute: ```rust @@ -297,7 +297,7 @@ span.in_scope(|| { // Dropping the span will close it, indicating that it has ended. ``` -The [`#[instrument]`](https://docs.rs/tracing/0.1.33/tracing/attr.instrument.html) attribute macro +The [`#[instrument]`](https://docs.rs/tracing/0.1.34/tracing/attr.instrument.html) attribute macro can reduce some of this boilerplate: ```rust