attributes: prepare to release v0.1.22 (#2203)

# 0.1.22 (July 1, 2022)

This release fixes an issue where using the `err` or `ret` arguments to
`#[instrument]` along with an overridden target, such as

```rust
#[instrument(target = "...", err, ret)]
```

would not propagate the overridden target to the events generated for
errors/return values.

### Fixed

- Error and return value events generated by `#[instrument(err)]` or
  `#[instrument(ret)]` not inheriting an overridden target (#2184)
- Incorrect default level in documentation (#2119)

Thanks to new contributor @tbraun96 for contributing to this release!
This commit is contained in:
Eliza Weisman 2022-07-01 11:15:48 -07:00 committed by GitHub
parent 6752895ae4
commit 9c4bd43199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 5 deletions

View File

@ -1,3 +1,26 @@
# 0.1.22 (July 1, 2022)
This release fixes an issue where using the `err` or `ret` arguments to
`#[instrument]` along with an overridden target, such as
```rust
#[instrument(target = "...", err, ret)]
```
would not propagate the overridden target to the events generated for
errors/return values.
### Fixed
- Error and return value events generated by `#[instrument(err)]` or
`#[instrument(ret)]` not inheriting an overridden target ([#2184])
- Incorrect default level in documentation ([#2119])
Thanks to new contributor @tbraun96 for contributing to this release!
[#2184]: https://github.com/tokio-rs/tracing/pull/2184
[#2119]: https://github.com/tokio-rs/tracing/pull/2119
# 0.1.21 (April 26, 2022)
This release adds support for setting explicit parent and follows-from spans

View File

@ -8,7 +8,7 @@ name = "tracing-attributes"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.1.21"
version = "0.1.22"
authors = [
"Tokio Contributors <team@tokio.rs>",
"Eliza Weisman <eliza@buoyant.io>",

View File

@ -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.21
[docs-url]: https://docs.rs/tracing-attributes/0.1.22
[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.21"
tracing-attributes = "0.1.22"
```

View File

@ -16,7 +16,7 @@
//!
//! ```toml
//! [dependencies]
//! tracing-attributes = "0.1.21"
//! tracing-attributes = "0.1.22"
//! ```
//!
//! 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.21")]
#![doc(html_root_url = "https://docs.rs/tracing-attributes/0.1.22")]
#![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/"