Skip to content

Commit d173c2d

Browse files
authored
tracing: prepare to release v0.1.24 (#1244)
### Fixed - **attributes**: Compiler error when using `#[instrument(err)]` on functions which return `impl Trait` ([#1236]) - Fixed broken match arms in event macros ([#1239]) - Documentation improvements ([#1232]) Thanks to @bkchr and @lfranke for contributing to this release! [#1236]: #1236 [#1239]: #1239 [#1232]: #1232 Signed-off-by: Eliza Weisman <[email protected]>
1 parent 7f3d94f commit d173c2d

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

tracing/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# 0.1.24 (February 17, 2021)
2+
3+
### Fixed
4+
5+
- **attributes**: Compiler error when using `#[instrument(err)]` on functions
6+
which return `impl Trait` ([#1236])
7+
- Fixed broken match arms in event macros ([#1239])
8+
- Documentation improvements ([#1232])
9+
10+
Thanks to @bkchr and @lfranke for contributing to this release!
11+
12+
[#1236]: https://github.com/tokio-rs/tracing/pull/1236
13+
[#1239]: https://github.com/tokio-rs/tracing/pull/1239
14+
[#1232]: https://github.com/tokio-rs/tracing/pull/1232
15+
116
# 0.1.23 (February 4, 2021)
217

318
### Fixed

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.23"
11+
version = "0.1.24"
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.23
19+
[crates-url]: https://crates.io/crates/tracing/0.1.24
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.23
21+
[docs-url]: https://docs.rs/tracing/0.1.24
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
@@ -246,7 +246,7 @@ my_future
246246
is as long as the future's.
247247

248248
The second, and preferred, option is through the
249-
[`#[instrument]`](https://docs.rs/tracing/0.1.23/tracing/attr.instrument.html)
249+
[`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html)
250250
attribute:
251251

252252
```rust
@@ -293,7 +293,7 @@ span.in_scope(|| {
293293
// Dropping the span will close it, indicating that it has ended.
294294
```
295295

296-
The [`#[instrument]`](https://docs.rs/tracing/0.1.23/tracing/attr.instrument.html) attribute macro
296+
The [`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html) attribute macro
297297
can reduce some of this boilerplate:
298298

299299
```rust

tracing/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@
784784
//!
785785
//! ```toml
786786
//! [dependencies]
787-
//! tracing = { version = "0.1.23", default-features = false }
787+
//! tracing = { version = "0.1.24", default-features = false }
788788
//! ```
789789
//!
790790
//! <div class="information">
@@ -840,7 +840,7 @@
840840
//! [flags]: #crate-feature-flags
841841
#![cfg_attr(not(feature = "std"), no_std)]
842842
#![cfg_attr(docsrs, feature(doc_cfg), deny(broken_intra_doc_links))]
843-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.23")]
843+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.24")]
844844
#![doc(
845845
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
846846
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)