Skip to content

Commit df4ba17

Browse files
authored
tracing: prepare to release 0.1.30 (#1899)
# 0.1.30 (February 3rd, 2021) This release adds *experimental* support for recording structured field values using the [`valuable`] crate. See [this blog post][post] for details on `valuable`. Note that `valuable` support currently requires `--cfg tracing_unstable`. See the documentation for details. This release also adds a new `enabled!` macro for testing if a span or event would be enabled. ### Added - **field**: Experimental support for recording field values using the [`valuable`] crate ([#1608], [#1888], [#1887]) - `enabled!` macro for testing if a span or event is enabled ([#1882]) ### Changed - `tracing-core`: updated to [0.1.22][core-0.1.22] - `tracing-attributes`: updated to [0.1.19][attributes-0.1.19] ### Fixed - **log**: Fixed "use of moved value" compiler error when the "log" feature is enabled ([#1823]) - Fixed macro hygiene issues when used in a crate that defines its own `concat!` macro ([#1842]) - A very large number of documentation fixes and improvements. Thanks to @@vlad-scherbina, @Skepfyr, @Swatinem, @guswynn, @teohhanhui, @xd009642, @tobz, @d-e-s-o@0b01, and @nickelc for contributing to this release! [`valuable`]: https://crates.io/crates/valuable [post]: https://tokio.rs/blog/2021-05-valuable [core-0.1.22]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.22 [attributes-0.1.19]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.19 [#1608]: #1608 [#1888]: #1888 [#1887]: #1887 [#1882]: #1882 [#1823]: #1823 [#1842]: #1842
1 parent 46eda1e commit df4ba17

File tree

4 files changed

+53
-8
lines changed

4 files changed

+53
-8
lines changed

Diff for: tracing/CHANGELOG.md

+46-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,49 @@
1-
# 0.1.29 (October 5th, 2021
1+
# 0.1.30 (February 3rd, 2021)
2+
3+
This release adds *experimental* support for recording structured field
4+
values using the [`valuable`] crate. See [this blog post][post] for
5+
details on `valuable`.
6+
7+
Note that `valuable` support currently requires `--cfg tracing_unstable`. See
8+
the documentation for details.
9+
10+
This release also adds a new `enabled!` macro for testing if a span or event
11+
would be enabled.
12+
13+
### Added
14+
15+
- **field**: Experimental support for recording field values using the
16+
[`valuable`] crate ([#1608], [#1888], [#1887])
17+
- `enabled!` macro for testing if a span or event is enabled ([#1882])
18+
19+
### Changed
20+
21+
- `tracing-core`: updated to [0.1.22][core-0.1.22]
22+
- `tracing-attributes`: updated to [0.1.19][attributes-0.1.19]
23+
24+
### Fixed
25+
26+
- **log**: Fixed "use of moved value" compiler error when the "log" feature is
27+
enabled ([#1823])
28+
- Fixed macro hygiene issues when used in a crate that defines its own `concat!`
29+
macro ([#1842])
30+
- A very large number of documentation fixes and improvements.
31+
32+
Thanks to @@Vlad-Scherbina, @Skepfyr, @Swatinem, @guswynn, @teohhanhui,
33+
@xd009642, @tobz, @d-e-s-o@0b01, and @nickelc for contributing to this release!
34+
35+
[`valuable`]: https://crates.io/crates/valuable
36+
[post]: https://tokio.rs/blog/2021-05-valuable
37+
[core-0.1.22]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.22
38+
[attributes-0.1.19]: https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.19
39+
[#1608]: https://github.com/tokio-rs/tracing/pull/1608
40+
[#1888]: https://github.com/tokio-rs/tracing/pull/1888
41+
[#1887]: https://github.com/tokio-rs/tracing/pull/1887
42+
[#1882]: https://github.com/tokio-rs/tracing/pull/1882
43+
[#1823]: https://github.com/tokio-rs/tracing/pull/1823
44+
[#1842]: https://github.com/tokio-rs/tracing/pull/1842
45+
46+
# 0.1.29 (October 5th, 2021)
247

348
This release adds support for recording `Option<T> where T: Value` as typed
449
`tracing` field values. It also includes significant performance improvements

Diff for: tracing/Cargo.toml

+1-1
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.29"
11+
version = "0.1.30"
1212
authors = ["Eliza Weisman <eliza@buoyant.io>", "Tokio Contributors <team@tokio.rs>"]
1313
license = "MIT"
1414
readme = "README.md"

Diff for: tracing/README.md

+4-4
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.29
19+
[crates-url]: https://crates.io/crates/tracing/0.1.30
2020
[docs-badge]: https://docs.rs/tracing/badge.svg
21-
[docs-url]: https://docs.rs/tracing/0.1.29
21+
[docs-url]: https://docs.rs/tracing/0.1.30
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
@@ -250,7 +250,7 @@ my_future
250250
is as long as the future's.
251251

252252
The second, and preferred, option is through the
253-
[`#[instrument]`](https://docs.rs/tracing/0.1.29/tracing/attr.instrument.html)
253+
[`#[instrument]`](https://docs.rs/tracing/0.1.30/tracing/attr.instrument.html)
254254
attribute:
255255

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

300-
The [`#[instrument]`](https://docs.rs/tracing/0.1.29/tracing/attr.instrument.html) attribute macro
300+
The [`#[instrument]`](https://docs.rs/tracing/0.1.30/tracing/attr.instrument.html) attribute macro
301301
can reduce some of this boilerplate:
302302

303303
```rust

Diff for: tracing/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@
805805
//!
806806
//! ```toml
807807
//! [dependencies]
808-
//! tracing = { version = "0.1.29", default-features = false }
808+
//! tracing = { version = "0.1.30", default-features = false }
809809
//! ```
810810
//!
811811
//! <pre class="ignore" style="white-space:normal;font:inherit;">
@@ -888,7 +888,7 @@
888888
//! [flags]: #crate-feature-flags
889889
#![cfg_attr(not(feature = "std"), no_std)]
890890
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
891-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.29")]
891+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.30")]
892892
#![doc(
893893
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
894894
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)