Skip to content

Commit 27929d9

Browse files
authored
tracing: prepare to release v0.1.23 (#1223)
### Fixed - **attributes**: Compiler error when using `#[instrument(err)]` on functions with mutable parameters ([#1167]) - **attributes**: Missing function visibility modifier when using `#[instrument]` with `async-trait` ([#977]) - **attributes** Removed unused `syn` features ([#928]) - **log**: Fixed an issue where the `tracing` macros would generate code for events whose levels are disabled statically by the `log` crate's `static_max_level_XXX` features ([#1175]) - Fixed deprecations and clippy lints ([#1195]) - Several documentation fixes and improvements ([#941], [#965], [#981], [#1146], [#1215]) ### Changed - **attributes**: `tracing-futures` dependency is no longer required when using `#[instrument]` on async functions ([#808]) - **attributes**: Updated `tracing-attributes` minimum dependency to v0.1.12 ([#1222]) Thanks to @nagisa, @Txuritan, @TaKO8Ki, @okready, and @krojew for contributing to this release!
1 parent b130785 commit 27929d9

File tree

4 files changed

+44
-7
lines changed

4 files changed

+44
-7
lines changed

tracing/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# 0.1.23 (February 4, 2021)
2+
3+
### Fixed
4+
5+
- **attributes**: Compiler error when using `#[instrument(err)]` on functions
6+
with mutable parameters ([#1167])
7+
- **attributes**: Missing function visibility modifier when using
8+
`#[instrument]` with `async-trait` ([#977])
9+
- **attributes** Removed unused `syn` features ([#928])
10+
- **log**: Fixed an issue where the `tracing` macros would generate code for
11+
events whose levels are disabled statically by the `log` crate's
12+
`static_max_level_XXX` features ([#1175])
13+
- Fixed deprecations and clippy lints ([#1195])
14+
- Several documentation fixes and improvements ([#941], [#965], [#981], [#1146],
15+
[#1215])
16+
17+
### Changed
18+
19+
- **attributes**: `tracing-futures` dependency is no longer required when using
20+
`#[instrument]` on async functions ([#808])
21+
- **attributes**: Updated `tracing-attributes` minimum dependency to v0.1.12
22+
([#1222])
23+
24+
Thanks to @nagisa, @Txuritan, @TaKO8Ki, @okready, and @krojew for contributing
25+
to this release!
26+
27+
[#1167]: https://github.com/tokio-rs/tracing/pull/1167
28+
[#977]: https://github.com/tokio-rs/tracing/pull/977
29+
[#965]: https://github.com/tokio-rs/tracing/pull/965
30+
[#981]: https://github.com/tokio-rs/tracing/pull/981
31+
[#1215]: https://github.com/tokio-rs/tracing/pull/1215
32+
[#808]: https://github.com/tokio-rs/tracing/pull/808
33+
[#941]: https://github.com/tokio-rs/tracing/pull/941
34+
[#1146]: https://github.com/tokio-rs/tracing/pull/1146
35+
[#1175]: : https://github.com/tokio-rs/tracing/pull/1175
36+
[#1195]: https://github.com/tokio-rs/tracing/pull/1195
37+
[#1222]: https://github.com/tokio-rs/tracing/pull/1222
138
# 0.1.22 (November 23, 2020)
239

340
### Changed

tracing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "tracing"
88
# - README.md
99
# - Update CHANGELOG.md.
1010
# - Create "v0.1.x" git tag
11-
version = "0.1.22"
11+
version = "0.1.23"
1212
authors = ["Eliza Weisman <[email protected]>", "Tokio Contributors <[email protected]>"]
1313
license = "MIT"
1414
readme = "README.md"

tracing/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Application-level tracing for Rust.
1616
[Documentation][docs-url] | [Chat][discord-url]
1717

1818
[crates-badge]: https://img.shields.io/crates/v/tracing.svg
19-
[crates-url]: https://crates.io/crates/tracing/0.1.22
19+
[crates-url]: https://crates.io/crates/tracing/0.1.23
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.22
21+
[docs-url]: https://docs.rs/tracing/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
2424
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
@@ -246,7 +246,7 @@ my_future
246246
is as long as the future's.
247247

248248
The second, and preferred, option is through the
249-
[`#[instrument]`](https://docs.rs/tracing/0.1.22/tracing/attr.instrument.html)
249+
[`#[instrument]`](https://docs.rs/tracing/0.1.23/tracing/attr.instrument.html)
250250
attribute:
251251

252252
```rust
@@ -293,7 +293,7 @@ span.in_scope(|| {
293293
// Dropping the span will close it, indicating that it has ended.
294294
```
295295

296-
The [`#[instrument]`](https://docs.rs/tracing/0.1.22/tracing/attr.instrument.html) attribute macro
296+
The [`#[instrument]`](https://docs.rs/tracing/0.1.23/tracing/attr.instrument.html) attribute macro
297297
can reduce some of this boilerplate:
298298

299299
```rust

tracing/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@
784784
//!
785785
//! ```toml
786786
//! [dependencies]
787-
//! tracing = { version = "0.1.22", default-features = false }
787+
//! tracing = { version = "0.1.23", default-features = false }
788788
//! ```
789789
//!
790790
//! <div class="information">
@@ -840,7 +840,7 @@
840840
//! [flags]: #crate-feature-flags
841841
#![cfg_attr(not(feature = "std"), no_std)]
842842
#![cfg_attr(docsrs, feature(doc_cfg), deny(broken_intra_doc_links))]
843-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.22")]
843+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.23")]
844844
#![doc(
845845
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
846846
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)