Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2e07e4

Browse files
hawkwkaffarell
authored andcommitted
attributes: prepare to release v0.1.23 (tokio-rs#2340)
# 0.1.23 (October 6, 2022) This release of `tracing-attributes` fixes a bug where compiler diagnostic spans for type errors in `#[instrument]`ed `async fn`s have the location of the `#[instrument]` attribute rather than the location of the actual error, and a bug where inner attributes in `#[instrument]`ed functions would cause a compiler error. ### Fixed - Fix incorrect handling of inner attributes in `#[instrument]`ed functions ([tokio-rs#2307]) - Add fake return to improve spans generated for type errors in `async fn`s ([tokio-rs#2270]) - Updated `syn` dependency to fix compilation with `-Z minimal-versions` ([tokio-rs#2246]) Thanks to new contributors @compiler-errors and @e-nomem, as well as @CAD97, for contributing to this release! [tokio-rs#2307]: tokio-rs#2307 [tokio-rs#2270]: tokio-rs#2270 [tokio-rs#2246]: tokio-rs#2246
1 parent 481bf78 commit e2e07e4

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

tracing-attributes/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# 0.1.23 (October 6, 2022)
2+
3+
This release of `tracing-attributes` fixes a bug where compiler diagnostic spans
4+
for type errors in `#[instrument]`ed `async fn`s have the location of the
5+
`#[instrument]` attribute rather than the location of the actual error, and a
6+
bug where inner attributes in `#[instrument]`ed functions would cause a compiler
7+
error.
8+
### Fixed
9+
10+
- Fix incorrect handling of inner attributes in `#[instrument]`ed functions ([#2307])
11+
- Add fake return to improve spans generated for type errors in `async fn`s ([#2270])
12+
- Updated `syn` dependency to fix compilation with `-Z minimal-versions`
13+
([#2246])
14+
15+
Thanks to new contributors @compiler-errors and @e-nomem, as well as @CAD97, for
16+
contributing to this release!
17+
18+
[#2307]: https://github.com/tokio-rs/tracing/pull/2307
19+
[#2270]: https://github.com/tokio-rs/tracing/pull/2270
20+
[#2246]: https://github.com/tokio-rs/tracing/pull/2246
21+
122
# 0.1.22 (July 1, 2022)
223

324
This release fixes an issue where using the `err` or `ret` arguments to

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.22
21+
[docs-url]: https://docs.rs/tracing-attributes/0.1.23
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.22"
50+
tracing-attributes = "0.1.23"
5151
```
5252

5353

0 commit comments

Comments
 (0)