diff --git a/tracing/CHANGELOG.md b/tracing/CHANGELOG.md index a7a4237c4..2e139597f 100644 --- a/tracing/CHANGELOG.md +++ b/tracing/CHANGELOG.md @@ -1,3 +1,18 @@ +# 0.1.24 (February 17, 2021) + +### 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]: https://github.com/tokio-rs/tracing/pull/1236 +[#1239]: https://github.com/tokio-rs/tracing/pull/1239 +[#1232]: https://github.com/tokio-rs/tracing/pull/1232 + # 0.1.23 (February 4, 2021) ### Fixed diff --git a/tracing/README.md b/tracing/README.md index 4c843459f..972847c99 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -245,7 +245,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.23/tracing/attr.instrument.html) +[`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html) attribute: ```rust @@ -292,7 +292,7 @@ span.in_scope(|| { // Dropping the span will close it, indicating that it has ended. ``` -The [`#[instrument]`](https://docs.rs/tracing/0.1.23/tracing/attr.instrument.html) attribute macro +The [`#[instrument]`](https://docs.rs/tracing/0.1.24/tracing/attr.instrument.html) attribute macro can reduce some of this boilerplate: ```rust