Skip to content

Commit e479e06

Browse files
hawkwkaffarell
authored andcommitted
tracing: prepare to release v0.1.31 (tokio-rs#1937)
# 0.1.31 (February 17th, 2022) This release increases the minimum supported Rust version (MSRV) to 1.49.0. In addition, it fixes some relatively rare macro bugs. ### Added - Added `tracing-forest` to the list of related crates ([tokio-rs#1935]) ### Changed - Updated minimum supported Rust version (MSRV) to 1.49.0 ([tokio-rs#1913]) ### Fixed - Fixed the `warn!` macro incorrectly generating an event with the `TRACE` level ([tokio-rs#1930]) - Fixed macro hygiene issues when used in a crate that defines its own `concat!` macro, for real this time ([tokio-rs#1918]) Thanks to @QnnOkabayashi, @nicolaasg, and @teohhanhui for contributing to this release! [tokio-rs#1935]: tokio-rs#1935 [tokio-rs#1913]: tokio-rs#1913 [tokio-rs#1930]: tokio-rs#1930 [tokio-rs#1918]: tokio-rs#1918
1 parent 2f46866 commit e479e06

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

tracing/CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
1-
# 0.1.30 (February 3rd, 2021)
1+
# 0.1.31 (February 17th, 2022)
2+
3+
This release increases the minimum supported Rust version (MSRV) to 1.49.0. In
4+
addition, it fixes some relatively rare macro bugs.
5+
6+
### Added
7+
8+
- Added `tracing-forest` to the list of related crates ([#1935])
9+
10+
### Changed
11+
12+
- Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913])
13+
14+
### Fixed
15+
16+
- Fixed the `warn!` macro incorrectly generating an event with the `TRACE` level
17+
([#1930])
18+
- Fixed macro hygiene issues when used in a crate that defines its own `concat!`
19+
macro, for real this time ([#1918])
20+
21+
Thanks to @QnnOkabayashi, @nicolaasg, and @teohhanhui for contributing to this
22+
release!
23+
24+
[#1935]: https://github.com/tokio-rs/tracing/pull/1935
25+
[#1913]: https://github.com/tokio-rs/tracing/pull/1913
26+
[#1930]: https://github.com/tokio-rs/tracing/pull/1930
27+
[#1918]: https://github.com/tokio-rs/tracing/pull/1918
28+
29+
# 0.1.30 (February 3rd, 2022)
230

331
This release adds *experimental* support for recording structured field
432
values using the [`valuable`] crate. See [this blog post][post] for

tracing/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.30/tracing/attr.instrument.html)
253+
[`#[instrument]`](https://docs.rs/tracing/0.1.31/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.30/tracing/attr.instrument.html) attribute macro
300+
The [`#[instrument]`](https://docs.rs/tracing/0.1.31/tracing/attr.instrument.html) attribute macro
301301
can reduce some of this boilerplate:
302302

303303
```rust

0 commit comments

Comments
 (0)