Skip to content

Commit 5e70a4a

Browse files
committed
tracing: prepare to release v0.1.27
# 0.1.27 (September 13, 2021) This release adds a new [`Span::or_current`] method to aid in efficiently propagating span contexts to spawned threads or tasks. Additionally, it updates the [`tracing-core`] version to [0.1.20] and the [`tracing-attributes`] version to [0.1.16], ensuring that a number of new features in those crates are present. ### Fixed - **instrument**: Added missing `WithSubscriber` implementations for futures and other types ([#1424]) ### Added - `Span::or_current` method, to help with efficient span context propagation ([#1538]) - **attributes**: add `skip_all` option to `#[instrument]` ([#1548]) - **attributes**: record primitive types as primitive values rather than as `fmt::Debug` ([#1378]) - **core**: `NoSubscriber`, a no-op `Subscriber` implementation ([#1549]) - **core**: Added `Visit::record_f64` and support for recording floating-point values ([#1507], [#1522]) - A large number of documentation improvements and fixes ([#1369], [#1398], [#1435], [#1442], [#1524], [#1556]) Thanks to new contributors @dzvon and @mbergkvist, as well as @teozkr, @maxburke, @LukeMathWalker, and @jsgf, for contributing to this release! [`Span::or_current`]: https://docs.rs/tracing/0.1.27/tracing/struct.Span.html#method.or_current [`tracing-core`]: https://crates.io/crates/tracing-core [`tracing-attributes`]: https://crates.io/crates/tracing-attributes [`tracing-core`]: https://crates.io/crates/tracing-core [0.1.20]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.20 [0.1.16]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.16 [#1424]: #1424 [#1538]: #1538 [#1548]: #1548 [#1378]: #1378 [#1507]: #1507 [#1522]: #1522 [#1369]: #1369 [#1398]: #1398 [#1435]: #1435 [#1442]: #1442
1 parent 370ec2e commit 5e70a4a

File tree

5 files changed

+58
-9
lines changed

5 files changed

+58
-9
lines changed

tracing-core/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ typed values rather than with `fmt::Debug`. Additionally, it adds
1515
Thanks to new contributors @jsgf and @maxburke for contributing to this
1616
release!
1717

18-
[#1549]: https://github.com/tokio-rs/tracing/pull/1549 [#1507]:
19-
https://github.com/tokio-rs/tracing/pull/1507
18+
[#1549]: https://github.com/tokio-rs/tracing/pull/1549
19+
[#1507]: https://github.com/tokio-rs/tracing/pull/1507
2020

2121
# 0.1.19 (August 17, 2021)
2222
### Added

tracing/CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
# 0.1.27 (September 13, 2021)
2+
3+
This release adds a new [`Span::or_current`] method to aid in efficiently
4+
propagating span contexts to spawned threads or tasks. Additionally, it updates
5+
the [`tracing-core`] version to [0.1.20] and the [`tracing-attributes`] version to
6+
[0.1.16], ensuring that a number of new features in those crates are present.
7+
8+
### Fixed
9+
10+
- **instrument**: Added missing `WithSubscriber` implementations for futures and
11+
other types ([#1424])
12+
13+
### Added
14+
15+
- `Span::or_current` method, to help with efficient span context propagation
16+
([#1538])
17+
- **attributes**: add `skip_all` option to `#[instrument]` ([#1548])
18+
- **attributes**: record primitive types as primitive values rather than as
19+
`fmt::Debug` ([#1378])
20+
- **core**: `NoSubscriber`, a no-op `Subscriber` implementation
21+
([#1549])
22+
- **core**: Added `Visit::record_f64` and support for recording floating-point
23+
values ([#1507], [#1522])
24+
- A large number of documentation improvements and fixes ([#1369], [#1398],
25+
[#1435], [#1442], [#1524], [#1556])
26+
27+
Thanks to new contributors @dzvon and @mbergkvist, as well as @teozkr,
28+
@maxburke, @LukeMathWalker, and @jsgf, for contributing to this
29+
release!
30+
31+
[`Span::or_current`]: https://docs.rs/tracing/0.1.27/tracing/struct.Span.html#method.or_current
32+
[`tracing-core`]: https://crates.io/crates/tracing-core
33+
[`tracing-attributes`]: https://crates.io/crates/tracing-attributes
34+
[`tracing-core`]: https://crates.io/crates/tracing-core
35+
[0.1.20]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.20
36+
[0.1.16]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.16
37+
[#1424]: https://github.com/tokio-rs/tracing/pull/1424
38+
[#1538]: https://github.com/tokio-rs/tracing/pull/1538
39+
[#1548]: https://github.com/tokio-rs/tracing/pull/1548
40+
[#1378]: https://github.com/tokio-rs/tracing/pull/1378
41+
[#1507]: https://github.com/tokio-rs/tracing/pull/1507
42+
[#1522]: https://github.com/tokio-rs/tracing/pull/1522
43+
[#1369]: https://github.com/tokio-rs/tracing/pull/1369
44+
[#1398]: https://github.com/tokio-rs/tracing/pull/1398
45+
[#1435]: https://github.com/tokio-rs/tracing/pull/1435
46+
[#1442]: https://github.com/tokio-rs/tracing/pull/1442
47+
[#1524]: https://github.com/tokio-rs/tracing/pull/1524
48+
[#1556]: https://github.com/tokio-rs/tracing/pull/1556
49+
150
# 0.1.26 (April 30, 2021)
251

352
### Fixed

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.26"
11+
version = "0.1.27"
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.26
19+
[crates-url]: https://crates.io/crates/tracing/0.1.27
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.26
21+
[docs-url]: https://docs.rs/tracing/0.1.27
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
@@ -251,7 +251,7 @@ my_future
251251
is as long as the future's.
252252

253253
The second, and preferred, option is through the
254-
[`#[instrument]`](https://docs.rs/tracing/0.1.26/tracing/attr.instrument.html)
254+
[`#[instrument]`](https://docs.rs/tracing/0.1.27/tracing/attr.instrument.html)
255255
attribute:
256256

257257
```rust
@@ -298,7 +298,7 @@ span.in_scope(|| {
298298
// Dropping the span will close it, indicating that it has ended.
299299
```
300300

301-
The [`#[instrument]`](https://docs.rs/tracing/0.1.26/tracing/attr.instrument.html) attribute macro
301+
The [`#[instrument]`](https://docs.rs/tracing/0.1.27/tracing/attr.instrument.html) attribute macro
302302
can reduce some of this boilerplate:
303303

304304
```rust

tracing/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@
797797
//!
798798
//! ```toml
799799
//! [dependencies]
800-
//! tracing = { version = "0.1.26", default-features = false }
800+
//! tracing = { version = "0.1.27", default-features = false }
801801
//! ```
802802
//!
803803
//! <div class="information">
@@ -853,7 +853,7 @@
853853
//! [flags]: #crate-feature-flags
854854
#![cfg_attr(not(feature = "std"), no_std)]
855855
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
856-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.26")]
856+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.27")]
857857
#![doc(
858858
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
859859
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)