]> git.proxmox.com Git - rustc.git/blame - vendor/tracing-attributes/CHANGELOG.md
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / vendor / tracing-attributes / CHANGELOG.md
CommitLineData
6a06907d
XL
1
2# 0.1.13 (February 17, 2021)
3
4### Fixed
5
6- Compiler error when using `#[instrument(err)]` on functions which return `impl
7 Trait` ([#1236])
8
9[#1236]: https://github.com/tokio-rs/tracing/pull/1236
10
11# 0.1.12 (February 4, 2021)
12
13### Fixed
14
15- Compiler error when using `#[instrument(err)]` on functions with mutable
16 parameters ([#1167])
17- Missing function visibility modifier when using `#[instrument]` with
18 `async-trait` ([#977])
19- Multiple documentation fixes and improvements ([#965], [#981], [#1215])
20
21### Changed
22
23- `tracing-futures` dependency is no longer required when using `#[instrument]`
24 on async functions ([#808])
25
26Thanks to @nagisa, @Txuritan, @TaKO8Ki, and @okready for contributing to this
27release!
28
29[#1167]: https://github.com/tokio-rs/tracing/pull/1167
30[#977]: https://github.com/tokio-rs/tracing/pull/977
31[#965]: https://github.com/tokio-rs/tracing/pull/965
32[#981]: https://github.com/tokio-rs/tracing/pull/981
33[#1215]: https://github.com/tokio-rs/tracing/pull/1215
34[#808]: https://github.com/tokio-rs/tracing/pull/808
35
3dfed10e
XL
36# 0.1.11 (August 18, 2020)
37
38### Fixed
39
40- Corrected wrong minimum supported Rust version note in docs (#941)
41- Removed unused `syn` features (#928)
42
6a06907d 43Thanks to new contributor @jhpratt for contributing to this release!
3dfed10e
XL
44
45# 0.1.10 (August 10, 2020)
46
47### Added
48
49- Support for using `self` in field expressions when instrumenting `async-trait`
50 functions (#875)
51- Several documentation improvements (#832, #897, #911, #913)
52
53Thanks to @anton-dutov and @nightmared for contributing to this release!
54
55# 0.1.9 (July 8, 2020)
56
57### Added
58
59- Support for arbitrary expressions as fields in `#[instrument]` (#672)
60
61### Changed
62
63- `#[instrument]` now emits a compiler warning when ignoring unrecognized
64 input (#672, #786)
65
f035d41b
XL
66# 0.1.8 (May 13, 2020)
67
68### Added
69
70- Support for using `#[instrument]` on methods that are part of [`async-trait`]
71 trait implementations (#711)
72- Optional `#[instrument(err)]` argument to automatically emit an event if an
73 instrumented function returns `Err` (#637)
74
75Thanks to @ilana and @nightmared for contributing to this release!
76
77[`async-trait`]: https://crates.io/crates/async-trait
78
79# 0.1.7 (February 26, 2020)
80
81### Added
82
83- Support for adding arbitrary literal fields to spans generated by
84 `#[instrument]` (#569)
85- `#[instrument]` now emits a helpful compiler error when attempting to skip a
86 function parameter (#600)
87
88Thanks to @Kobzol for contributing to this release!
89
90# 0.1.6 (December 20, 2019)
91
92### Added
93
94- Updated documentation (#468)
95
96# 0.1.5 (October 22, 2019)
97
98### Added
99
100- Support for destructuring in arguments to `#[instrument]`ed functions (#397)
101- Generated field for `self` parameters when `#[instrument]`ing methods (#397)
102
103# 0.1.4 (September 26, 2019)
104
105### Added
106
107- Optional `skip` argument to `#[instrument]` for excluding function parameters
108 from generated spans (#359)
109
110# 0.1.3 (September 12, 2019)
111
112### Fixed
113
114- Fixed `#[instrument]`ed async functions not compiling on `nightly-2019-09-11`
115 or newer (#342)
116
117# 0.1.2 (August 19, 2019)
118
119### Changed
120
121- Updated `syn` and `quote` dependencies to 1.0 (#292)
122- Removed direct dependency on `proc-macro2` to avoid potential version
123 conflicts (#296)
124
125### Fixed
126
127- Outdated idioms in examples (#271, #273)
128
129# 0.1.1 (August 9, 2019)
130
131### Changed
132
133- Using the `#[instrument]` attribute on `async fn`s no longer requires a
134 feature flag (#258)
135
136### Fixed
137
138- The `#[instrument]` macro now works on generic functions (#262)
139
140# 0.1.0 (August 8, 2019)
141
142- Initial release