Skip to content

Commit a259124

Browse files
hawkwkaffarell
authored andcommitted
attributes: prepare to release v0.1.21 (tokio-rs#2097)
# 0.1.21 (April 26, 2022) This release adds support for setting explicit parent and follows-from spans in the `#[instrument]` attribute. ### Added - `#[instrument(follows_from = ...)]` argument for setting one or more follows-from span ([tokio-rs#2093]) - `#[instrument(parent = ...)]` argument for overriding the generated span's parent ([tokio-rs#2091]) ### Fixed - Extra braces around `async` blocks in expanded code (causes a Clippy warning) ([tokio-rs#2090]) - Broken documentation links ([tokio-rs#2068], [tokio-rs#2077]) Thanks to @jarrodldavis, @ben0x539, and new contributor @jswrenn for contributing to this release! [tokio-rs#2093]: tokio-rs#2093 [tokio-rs#2091]: tokio-rs#2091 [tokio-rs#2090]: tokio-rs#2090 [tokio-rs#2077]: tokio-rs#2077 [tokio-rs#2068]: tokio-rs#2068
1 parent b60ba70 commit a259124

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

tracing-attributes/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# 0.1.21 (April 26, 2022)
2+
3+
This release adds support for setting explicit parent and follows-from spans
4+
in the `#[instrument]` attribute.
5+
6+
### Added
7+
8+
- `#[instrument(follows_from = ...)]` argument for setting one or more
9+
follows-from span ([#2093])
10+
- `#[instrument(parent = ...)]` argument for overriding the generated span's
11+
parent ([#2091])
12+
13+
### Fixed
14+
15+
- Extra braces around `async` blocks in expanded code (causes a Clippy warning)
16+
([#2090])
17+
- Broken documentation links ([#2068], [#2077])
18+
19+
Thanks to @jarrodldavis, @ben0x539, and new contributor @jswrenn for
20+
contributing to this release!
21+
22+
23+
[#2093]: https://github.com/tokio-rs/tracing/pull/2093
24+
[#2091]: https://github.com/tokio-rs/tracing/pull/2091
25+
[#2090]: https://github.com/tokio-rs/tracing/pull/2090
26+
[#2077]: https://github.com/tokio-rs/tracing/pull/2077
27+
[#2068]: https://github.com/tokio-rs/tracing/pull/2068
28+
129
# 0.1.20 (March 8, 2022)
230

331
### Fixed

tracing-attributes/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Macro attributes for application-level tracing.
1818
[crates-badge]: https://img.shields.io/crates/v/tracing-attributes.svg
1919
[crates-url]: https://crates.io/crates/tracing-attributes
2020
[docs-badge]: https://docs.rs/tracing-attributes/badge.svg
21-
[docs-url]: https://docs.rs/tracing-attributes/0.1.20
21+
[docs-url]: https://docs.rs/tracing-attributes/0.1.21
2222
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2323
[docs-master-url]: https://tracing-rs.netlify.com/tracing_attributes
2424
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
@@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`:
4747

4848
```toml
4949
[dependencies]
50-
tracing-attributes = "0.1.20"
50+
tracing-attributes = "0.1.21"
5151
```
5252

5353

0 commit comments

Comments
 (0)