From 645f282eee26bdec41d202460c216c3268984977 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Tue, 5 Oct 2021 14:10:42 -0700 Subject: [PATCH] attributes: prepare to release 0.1.18 (#1621) # 0.1.18 (October 5, 2021) This release fixes issues introduced in v0.1.17. ### Fixed - fixed mismatched types compiler error that may occur when using `#[instrument]` on an `async fn` that returns an `impl Trait` value that includes a closure ([#1616]) - fixed false positives for `clippy::suspicious_else_formatting` warnings due to rust-lang/rust-clippy#7760 and rust-lang/rust-clippy#6249 ([#1617]) - fixed `clippy::let_unit_value` lints when using `#[instrument]` ([#1614]) [#1617]: https://github.com/tokio-rs/tracing/pull/1617 [#1616]: https://github.com/tokio-rs/tracing/pull/1616 [#1614]: https://github.com/tokio-rs/tracing/pull/1614 --- tracing-attributes/CHANGELOG.md | 19 ++++++++++++++++++- tracing-attributes/Cargo.toml | 2 +- tracing-attributes/README.md | 4 ++-- tracing-attributes/src/lib.rs | 4 ++-- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/tracing-attributes/CHANGELOG.md b/tracing-attributes/CHANGELOG.md index d853ab994d..4a85dfcfb8 100644 --- a/tracing-attributes/CHANGELOG.md +++ b/tracing-attributes/CHANGELOG.md @@ -1,4 +1,21 @@ -# 0.1.17 (October 1, 2021) +# 0.1.18 (October 5, 2021) + +This release fixes issues introduced in v0.1.17. + +### Fixed + +- fixed mismatched types compiler error that may occur when using + `#[instrument]` on an `async fn` that returns an `impl Trait` value that + includes a closure ([#1616]) +- fixed false positives for `clippy::suspicious_else_formatting` warnings due to + rust-lang/rust-clippy#7760 and rust-lang/rust-clippy#6249 ([#1617]) +- fixed `clippy::let_unit_value` lints when using `#[instrument]` ([#1614]) + +[#1617]: https://github.com/tokio-rs/tracing/pull/1617 +[#1616]: https://github.com/tokio-rs/tracing/pull/1616 +[#1614]: https://github.com/tokio-rs/tracing/pull/1614 + +# 0.1.17 (YANKED) (October 1, 2021) This release significantly improves performance when `#[instrument]`-generated spans are below the maximum enabled level. diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 9dea8420de..9fa17dfae0 100644 --- a/tracing-attributes/Cargo.toml +++ b/tracing-attributes/Cargo.toml @@ -8,7 +8,7 @@ name = "tracing-attributes" # - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. -version = "0.1.17" +version = "0.1.18" authors = [ "Tokio Contributors ", "Eliza Weisman ", diff --git a/tracing-attributes/README.md b/tracing-attributes/README.md index 75935a1426..c90abafa6e 100644 --- a/tracing-attributes/README.md +++ b/tracing-attributes/README.md @@ -18,7 +18,7 @@ Macro attributes for application-level tracing. [crates-badge]: https://img.shields.io/crates/v/tracing-attributes.svg [crates-url]: https://crates.io/crates/tracing-attributes [docs-badge]: https://docs.rs/tracing-attributes/badge.svg -[docs-url]: https://docs.rs/tracing-attributes/0.1.17 +[docs-url]: https://docs.rs/tracing-attributes/0.1.18 [docs-master-badge]: https://img.shields.io/badge/docs-master-blue [docs-master-url]: https://tracing-rs.netlify.com/tracing_attributes [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg @@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -tracing-attributes = "0.1.17" +tracing-attributes = "0.1.18" ``` diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs index 3b220522d9..e34fb9ad9f 100644 --- a/tracing-attributes/src/lib.rs +++ b/tracing-attributes/src/lib.rs @@ -16,7 +16,7 @@ //! //! ```toml //! [dependencies] -//! tracing-attributes = "0.1.17" +//! tracing-attributes = "0.1.18" //! ``` //! //! The [`#[instrument]`][instrument] attribute can now be added to a function @@ -52,7 +52,7 @@ //! supported compiler version is not considered a semver breaking change as //! long as doing so complies with this policy. //! -#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.17")] +#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.18")] #![doc( html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png", issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"