Skip to content

Commit a52bf3a

Browse files
authored
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]: #2065 [#2073]: #2073 [#2068]: #2068
1 parent cb294a9 commit a52bf3a

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

tracing/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 0.1.34 (April 14, 2022)
2+
3+
This release includes bug fixes for the "log" support feature and for the use of
4+
both scoped and global default dispatchers in the same program.
5+
6+
### Fixed
7+
8+
- Failure to use the global default dispatcher when a thread sets a local
9+
default dispatcher before the global default is set ([#2065])
10+
- **log**: Compilation errors due to `async` block/fn futures becoming `!Send`
11+
when the "log" feature flag is enabled ([#2073])
12+
- Broken links in documentation ([#2068])
13+
14+
Thanks to @ben0x539 for contributing to this release!
15+
16+
[#2065]: https://github.com/tokio-rs/tracing/pull/2065
17+
[#2073]: https://github.com/tokio-rs/tracing/pull/2073
18+
[#2068]: https://github.com/tokio-rs/tracing/pull/2068
19+
120
# 0.1.33 (April 9, 2022)
221

322
This release adds new `span_enabled!` and `event_enabled!` variants of the

tracing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "tracing"
88
# - README.md
99
# - Update CHANGELOG.md.
1010
# - Create "v0.1.x" git tag
11-
version = "0.1.33"
11+
version = "0.1.34"
1212
authors = ["Eliza Weisman <[email protected]>", "Tokio Contributors <[email protected]>"]
1313
license = "MIT"
1414
readme = "README.md"

tracing/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Application-level tracing for Rust.
1616
[Documentation][docs-url] | [Chat][discord-url]
1717

1818
[crates-badge]: https://img.shields.io/crates/v/tracing.svg
19-
[crates-url]: https://crates.io/crates/tracing/0.1.33
19+
[crates-url]: https://crates.io/crates/tracing/0.1.34
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.33
21+
[docs-url]: https://docs.rs/tracing/0.1.34
2222
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2323
[docs-master-url]: https://tracing-rs.netlify.com/tracing
2424
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
@@ -250,7 +250,7 @@ my_future
250250
is as long as the future's.
251251

252252
The second, and preferred, option is through the
253-
[`#[instrument]`](https://docs.rs/tracing/0.1.33/tracing/attr.instrument.html)
253+
[`#[instrument]`](https://docs.rs/tracing/0.1.34/tracing/attr.instrument.html)
254254
attribute:
255255

256256
```rust
@@ -297,7 +297,7 @@ span.in_scope(|| {
297297
// Dropping the span will close it, indicating that it has ended.
298298
```
299299

300-
The [`#[instrument]`](https://docs.rs/tracing/0.1.33/tracing/attr.instrument.html) attribute macro
300+
The [`#[instrument]`](https://docs.rs/tracing/0.1.34/tracing/attr.instrument.html) attribute macro
301301
can reduce some of this boilerplate:
302302

303303
```rust

0 commit comments

Comments
 (0)