diff --git a/tracing-attributes/CHANGELOG.md b/tracing-attributes/CHANGELOG.md index 85da507892..0aa815c1ad 100644 --- a/tracing-attributes/CHANGELOG.md +++ b/tracing-attributes/CHANGELOG.md @@ -1,3 +1,14 @@ +# 0.1.7 (February 26, 2020) + +### Added + +- Support for adding arbitrary literal fields to spans generated by + `#[instrument]` (#569) +- `#[instrument]` now emits a helpful compiler error when attempting to skip a + function parameter (#600) + +Thanks to @Kobzol for contributing to this release! + # 0.1.6 (December 20, 2019) ### Added diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml index 518b02ced0..b5af592954 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.6" +version = "0.1.7" authors = [ "Tokio Contributors ", "Eliza Weisman ", diff --git a/tracing-attributes/README.md b/tracing-attributes/README.md index c0ff8f507d..56dc1219d9 100644 --- a/tracing-attributes/README.md +++ b/tracing-attributes/README.md @@ -14,7 +14,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.6 +[docs-url]: https://docs.rs/tracing-attributes/0.1.7 [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 @@ -39,7 +39,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -tracing-attributes = "0.1.6" +tracing-attributes = "0.1.7" ``` *Compiler support: requires rustc 1.39+* @@ -58,7 +58,7 @@ pub fn my_function(my_arg: usize) { [`tracing`]: https://crates.io/crates/tracing -[span]: https://docs.rs/tracing/0.1.6/tracing/span/index.html +[span]: https://docs.rs/tracing/0.1.7/tracing/span/index.html ## License diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs index 0122972dc8..74a4576722 100644 --- a/tracing-attributes/src/lib.rs +++ b/tracing-attributes/src/lib.rs @@ -12,7 +12,7 @@ //! //! ```toml //! [dependencies] -//! tracing-attributes = "0.1.0" +//! tracing-attributes = "0.1.7" //! ``` //! //! *Compiler support: requires rustc 1.39+* @@ -33,9 +33,9 @@ //! ``` //! //! [`tracing`]: https://crates.io/crates/tracing -//! [span]: https://docs.rs/tracing/0.1.6/tracing/span/index.html +//! [span]: https://docs.rs/tracing/latest/tracing/span/index.html //! [instrument]: attr.instrument.html -#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.6")] +#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.7")] #![warn( missing_debug_implementations, missing_docs, @@ -158,7 +158,7 @@ use syn::{ /// } /// ``` /// -/// [span]: https://docs.rs/tracing/0.1.6/tracing/span/index.html +/// [span]: https://docs.rs/tracing/latest/tracing/span/index.html /// [`tracing`]: https://github.com/tokio-rs/tracing /// [`fmt::Debug`]: https://doc.rust-lang.org/std/fmt/trait.Debug.html #[proc_macro_attribute] diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml index 897202e40a..714909cb5d 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -29,7 +29,7 @@ edition = "2018" [dependencies] tracing-core = { path = "../tracing-core", version = "0.1.10", default-features = false } log = { version = "0.4", optional = true } -tracing-attributes = { path = "../tracing-attributes", version = "0.1.6", optional = true } +tracing-attributes = { path = "../tracing-attributes", version = "0.1.7", optional = true } cfg-if = "0.1.10" [dev-dependencies]