Skip to content

Commit 2531ec8

Browse files
committed
tracing: prepare to release v0.1.31
# 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 ([#1935]) ### Changed - Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913]) ### Fixed - Fixed the `warn!` macro incorrectly generating an event with the `TRACE` level ([#1930]) - Fixed macro hygiene issues when used in a crate that defines its own `concat!` macro, for real this time ([#1918]) Thanks to @QnnOkabayashi, @nicolaasg, and @teohhanhui for contributing to this release! [#1935]: #1935 [#1913]: #1913 [#1930]: #1930 [#1918]: #1918
1 parent 94379a3 commit 2531ec8

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
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/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.30"
11+
version = "0.1.31"
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.30
19+
[crates-url]: https://crates.io/crates/tracing/0.1.31
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.30
21+
[docs-url]: https://docs.rs/tracing/0.1.31
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.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

tracing/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@
809809
//!
810810
//! ```toml
811811
//! [dependencies]
812-
//! tracing = { version = "0.1.30", default-features = false }
812+
//! tracing = { version = "0.1.31", default-features = false }
813813
//! ```
814814
//!
815815
//! <pre class="ignore" style="white-space:normal;font:inherit;">
@@ -892,7 +892,7 @@
892892
//! [flags]: #crate-feature-flags
893893
#![cfg_attr(not(feature = "std"), no_std)]
894894
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
895-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.30")]
895+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.31")]
896896
#![doc(
897897
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
898898
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)