|
1 | | -# 0.1.18 (October 5, 2021) |
| 1 | +# 0.2.1 (December 29, 2021) |
2 | 2 |
|
3 | | -This release fixes issues introduced in v0.1.17. |
4 | | - |
5 | | -### Fixed |
6 | | - |
7 | | -- fixed mismatched types compiler error that may occur when using |
8 | | - `#[instrument]` on an `async fn` that returns an `impl Trait` value that |
9 | | - includes a closure ([#1616]) |
10 | | -- fixed false positives for `clippy::suspicious_else_formatting` warnings due to |
11 | | - rust-lang/rust-clippy#7760 and rust-lang/rust-clippy#6249 ([#1617]) |
12 | | -- fixed `clippy::let_unit_value` lints when using `#[instrument]` ([#1614]) |
13 | | - |
14 | | -[#1617]: https://github.com/tokio-rs/tracing/pull/1617 |
15 | | -[#1616]: https://github.com/tokio-rs/tracing/pull/1616 |
16 | | -[#1614]: https://github.com/tokio-rs/tracing/pull/1614 |
17 | | - |
18 | | -# 0.1.17 (YANKED) (October 1, 2021) |
19 | | - |
20 | | -This release significantly improves performance when `#[instrument]`-generated |
21 | | -spans are below the maximum enabled level. |
22 | | - |
23 | | -### Added |
24 | | - |
25 | | -- improve performance when skipping `#[instrument]`-generated spans below the |
26 | | - max level ([#1600], [#1605]) |
27 | | - |
28 | | -Thanks to @oli-obk for contributing to this release! |
29 | | - |
30 | | -[#1600]: https://github.com/tokio-rs/tracing/pull/1600 |
31 | | -[#1605]: https://github.com/tokio-rs/tracing/pull/1605 |
32 | | - |
33 | | -# 0.1.16 (September 13, 2021) |
34 | | - |
35 | | -This release adds a new `#[instrument(skip_all)]` option to skip recording *all* |
36 | | -arguments to an instrumented function as fields. Additionally, it adds support |
37 | | -for recording arguments that are `tracing` primitive types as typed values, |
38 | | -rather than as `fmt::Debug`. |
39 | | - |
40 | | -### Added |
41 | | - |
42 | | -- add `skip_all` option to `#[instrument]` ([#1548]) |
43 | | -- record primitive types as primitive values rather than as `fmt::Debug` |
44 | | - ([#1378]) |
45 | | -- added support for `f64`s as typed values ([#1522]) |
46 | | - |
47 | | -Thanks to @Folyd and @jsgf for contributing to this release! |
48 | | - |
49 | | -[#1548]: https://github.com/tokio-rs/tracing/pull/1548 |
50 | | -[#1378]: https://github.com/tokio-rs/tracing/pull/1378 |
51 | | -[#1522]: https://github.com/tokio-rs/tracing/pull/1524 |
52 | | - |
53 | | -# 0.1.15 (March 12, 2021) |
54 | | - |
55 | | -### Fixed |
56 | | - |
57 | | -- `#[instrument]` on functions returning `Box::pin`ned futures incorrectly |
58 | | - skipping function bodies prior to returning a future ([#1297]) |
59 | | - |
60 | | -Thanks to @nightmared for contributing to this release! |
61 | | - |
62 | | -[#1297]: https://github.com/tokio-rs/tracing/pull/1297 |
63 | | - |
64 | | -# 0.1.14 (March 10, 2021) |
65 | | - |
66 | | -### Fixed |
67 | | - |
68 | | -- Compatibility between `#[instrument]` and `async-trait` v0.1.43 and newer |
69 | | - ([#1228]) |
70 | | - |
71 | | -Thanks to @nightmared for lots of hard work on this fix! |
72 | | - |
73 | | -[#1228]: https://github.com/tokio-rs/tracing/pull/1228 |
74 | | - |
75 | | -# 0.1.13 (February 17, 2021) |
76 | | - |
77 | | -### Fixed |
78 | | - |
79 | | -- Compiler error when using `#[instrument(err)]` on functions which return `impl |
80 | | - Trait` ([#1236]) |
81 | | - |
82 | | -[#1236]: https://github.com/tokio-rs/tracing/pull/1236 |
83 | | - |
84 | | -# 0.1.12 (February 4, 2021) |
85 | | - |
86 | | -### Fixed |
87 | | - |
88 | | -- Compiler error when using `#[instrument(err)]` on functions with mutable |
89 | | - parameters ([#1167]) |
90 | | -- Missing function visibility modifier when using `#[instrument]` with |
91 | | - `async-trait` ([#977]) |
92 | | -- Multiple documentation fixes and improvements ([#965], [#981], [#1215]) |
93 | | - |
94 | | -### Changed |
95 | | - |
96 | | -- `tracing-futures` dependency is no longer required when using `#[instrument]` |
97 | | - on async functions ([#808]) |
98 | | - |
99 | | -Thanks to @nagisa, @Txuritan, @TaKO8Ki, and @okready for contributing to this |
100 | | -release! |
101 | | - |
102 | | -[#1167]: https://github.com/tokio-rs/tracing/pull/1167 |
103 | | -[#977]: https://github.com/tokio-rs/tracing/pull/977 |
104 | | -[#965]: https://github.com/tokio-rs/tracing/pull/965 |
105 | | -[#981]: https://github.com/tokio-rs/tracing/pull/981 |
106 | | -[#1215]: https://github.com/tokio-rs/tracing/pull/1215 |
107 | | -[#808]: https://github.com/tokio-rs/tracing/pull/808 |
108 | | - |
109 | | -# 0.1.11 (August 18, 2020) |
110 | | - |
111 | | -### Fixed |
112 | | - |
113 | | -- Corrected wrong minimum supported Rust version note in docs (#941) |
114 | | -- Removed unused `syn` features (#928) |
115 | | - |
116 | | -Thanks to new contributor @jhpratt for contributing to this release! |
117 | | - |
118 | | -# 0.1.10 (August 10, 2020) |
119 | | - |
120 | | -### Added |
121 | | - |
122 | | -- Support for using `self` in field expressions when instrumenting `async-trait` |
123 | | - functions (#875) |
124 | | -- Several documentation improvements (#832, #897, #911, #913) |
125 | | - |
126 | | -Thanks to @anton-dutov and @nightmared for contributing to this release! |
127 | | - |
128 | | -# 0.1.9 (July 8, 2020) |
129 | | - |
130 | | -### Added |
131 | | - |
132 | | -- Support for arbitrary expressions as fields in `#[instrument]` (#672) |
133 | | - |
134 | | -### Changed |
135 | | - |
136 | | -- `#[instrument]` now emits a compiler warning when ignoring unrecognized |
137 | | - input (#672, #786) |
138 | | - |
139 | | -# 0.1.8 (May 13, 2020) |
140 | | - |
141 | | -### Added |
142 | | - |
143 | | -- Support for using `#[instrument]` on methods that are part of [`async-trait`] |
144 | | - trait implementations (#711) |
145 | | -- Optional `#[instrument(err)]` argument to automatically emit an event if an |
146 | | - instrumented function returns `Err` (#637) |
147 | | - |
148 | | -Thanks to @ilana and @nightmared for contributing to this release! |
149 | | - |
150 | | -[`async-trait`]: https://crates.io/crates/async-trait |
151 | | - |
152 | | -# 0.1.7 (February 26, 2020) |
| 3 | +This release improves how `tracing-journald` communicates with `journald`, |
| 4 | +including the handling of large payloads. |
153 | 5 |
|
154 | 6 | ### Added |
155 | 7 |
|
156 | | -- Support for adding arbitrary literal fields to spans generated by |
157 | | - `#[instrument]` (#569) |
158 | | -- `#[instrument]` now emits a helpful compiler error when attempting to skip a |
159 | | - function parameter (#600) |
160 | | - |
161 | | -Thanks to @Kobzol for contributing to this release! |
162 | | - |
163 | | -# 0.1.6 (December 20, 2019) |
164 | | - |
165 | | -### Added |
166 | | - |
167 | | -- Updated documentation (#468) |
168 | | - |
169 | | -# 0.1.5 (October 22, 2019) |
170 | | - |
171 | | -### Added |
172 | | - |
173 | | -- Support for destructuring in arguments to `#[instrument]`ed functions (#397) |
174 | | -- Generated field for `self` parameters when `#[instrument]`ing methods (#397) |
175 | | - |
176 | | -# 0.1.4 (September 26, 2019) |
177 | | - |
178 | | -### Added |
179 | | - |
180 | | -- Optional `skip` argument to `#[instrument]` for excluding function parameters |
181 | | - from generated spans (#359) |
182 | | - |
183 | | -# 0.1.3 (September 12, 2019) |
| 8 | +- Use an unconnected socket, so that logging can resume after a `journald` |
| 9 | + restart ([#1758]) |
184 | 10 |
|
185 | 11 | ### Fixed |
186 | 12 |
|
187 | | -- Fixed `#[instrument]`ed async functions not compiling on `nightly-2019-09-11` |
188 | | - or newer (#342) |
| 13 | +- Fixed string values being written using `fmt::Debug` ([#1714]) |
| 14 | +- Fixed `EMSGSIZE` when log entries exceed a certain size ([#1744]) |
189 | 15 |
|
190 | | -# 0.1.2 (August 19, 2019) |
| 16 | +A huge thank-you to new contributor @lunaryorn, for contributing all of the |
| 17 | +changes in this release! |
191 | 18 |
|
192 | | -### Changed |
193 | | - |
194 | | -- Updated `syn` and `quote` dependencies to 1.0 (#292) |
195 | | -- Removed direct dependency on `proc-macro2` to avoid potential version |
196 | | - conflicts (#296) |
| 19 | +[#1714]: https://github.com/tokio-rs/tracing/pull/1714 |
| 20 | +[#1744]: https://github.com/tokio-rs/tracing/pull/1744 |
| 21 | +[#1758]: https://github.com/tokio-rs/tracing/pull/1758 |
197 | 22 |
|
198 | | -### Fixed |
199 | | - |
200 | | -- Outdated idioms in examples (#271, #273) |
201 | | - |
202 | | -# 0.1.1 (August 9, 2019) |
| 23 | +# 0.2.0 (October 22nd, 2021) |
203 | 24 |
|
204 | 25 | ### Changed |
205 | 26 |
|
206 | | -- Using the `#[instrument]` attribute on `async fn`s no longer requires a |
207 | | - feature flag (#258) |
208 | | - |
209 | | -### Fixed |
210 | | - |
211 | | -- The `#[instrument]` macro now works on generic functions (#262) |
| 27 | +- Updated `tracing-subscriber` dependency to 0.3.0 ([#1677]) |
212 | 28 |
|
213 | | -# 0.1.0 (August 8, 2019) |
| 29 | +[#1677]: https://github.com/tokio-rs/tracing/pull/1677 |
| 30 | +# 0.1.0 (June 29, 2020) |
214 | 31 |
|
215 | | -- Initial release |
| 32 | +- Initial release |
0 commit comments