From 742b21461bffc59c60ba4d5726e752144b3fffc3 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 12 Mar 2021 12:51:54 -0800 Subject: [PATCH] attributes: prepare to release v0.1.15 (#1301) # 0.1.15 (March 12, 2021) ### Fixed - `#[instrument]` on functions returning `Box::pin`ned futures incorrectly skipping function bodies prior to returning a future ([#1297]) Thanks to @nightmared for contributing to this release! [#1297]: https://github.com/tokio-rs/tracing/pull/1297 --- tracing-attributes/CHANGELOG.md | 10 ++++++++++ tracing-attributes/Cargo.toml | 2 +- tracing-attributes/README.md | 4 ++-- tracing-attributes/src/lib.rs | 4 ++-- tracing/Cargo.toml | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/tracing-attributes/CHANGELOG.md b/tracing-attributes/CHANGELOG.md index 8b877fa684..111a96df12 100644 --- a/tracing-attributes/CHANGELOG.md +++ b/tracing-attributes/CHANGELOG.md @@ -1,3 +1,13 @@ +# 0.1.15 (March 12, 2021) + +### Fixed + +- `#[instrument]` on functions returning `Box::pin`ned futures incorrectly + skipping function bodies prior to returning a future ([#1297]) + +Thanks to @nightmared for contributing to this release! + +[#1297]: https://github.com/tokio-rs/tracing/pull/1297 # 0.1.14 (March 10, 2021) diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 8d50003826..9d9dc690ac 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.14" +version = "0.1.15" authors = [ "Tokio Contributors ", "Eliza Weisman ", diff --git a/tracing-attributes/README.md b/tracing-attributes/README.md index fe2eec946d..ea078df734 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.14 +[docs-url]: https://docs.rs/tracing-attributes/0.1.15 [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.14" +tracing-attributes = "0.1.15" ``` diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs index d0eb5148de..3be9c03ce8 100644 --- a/tracing-attributes/src/lib.rs +++ b/tracing-attributes/src/lib.rs @@ -16,7 +16,7 @@ //! //! ```toml //! [dependencies] -//! tracing-attributes = "0.1.14" +//! tracing-attributes = "0.1.15" //! ``` //! //! 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.14")] +#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.15")] #![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/" diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml index 4f84172185..b661781173 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -29,7 +29,7 @@ edition = "2018" [dependencies] tracing-core = { path = "../tracing-core", version = "0.1.17", default-features = false } log = { version = "0.4", optional = true } -tracing-attributes = { path = "../tracing-attributes", version = "0.1.14", optional = true } +tracing-attributes = { path = "../tracing-attributes", version = "0.1.15", optional = true } cfg-if = "1.0.0" pin-project-lite = "0.2"