Skip to content

Commit 5a141ea

Browse files
authored
tracing: prepare to release v0.1.36 (#2257)
# 0.1.36 (July 29, 2022) This release adds support for owned values and fat pointers as arguments to the `Span::record` method, as well as updating the minimum `tracing-core` version and several documentation improvements. ### Fixed - Incorrect docs in `dispatcher::set_default` ([#2220]) - Compilation with `-Z minimal-versions` ([#2246]) ### Added - Support for owned values and fat pointers in `Span::record` ([#2212]) - Documentation improvements ([#2208], [#2163]) ### Changed - `tracing-core`: updated to [0.1.29][core-0.1.29] Thanks to @fredr, @cgbur, @jyn514, @matklad, and @CAD97 for contributing to this release! [core-0.1.29]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.29 [#2220]: #2220 [#2246]: #2246 [#2212]: #2212 [#2208]: #2208 [#2163]: #2163
1 parent 275eded commit 5a141ea

File tree

4 files changed

+36
-6
lines changed

4 files changed

+36
-6
lines changed

tracing/CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# 0.1.36 (July 29, 2022)
2+
3+
This release adds support for owned values and fat pointers as arguments to the
4+
`Span::record` method, as well as updating the minimum `tracing-core` version
5+
and several documentation improvements.
6+
7+
### Fixed
8+
9+
- Incorrect docs in `dispatcher::set_default` ([#2220])
10+
- Compilation with `-Z minimal-versions` ([#2246])
11+
12+
### Added
13+
14+
- Support for owned values and fat pointers in `Span::record` ([#2212])
15+
- Documentation improvements ([#2208], [#2163])
16+
17+
### Changed
18+
19+
- `tracing-core`: updated to [0.1.29][core-0.1.29]
20+
21+
Thanks to @fredr, @cgbur, @jyn514, @matklad, and @CAD97 for contributing to this
22+
release!
23+
24+
[core-0.1.29]: https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.29
25+
[#2220]: https://github.com/tokio-rs/tracing/pull/2220
26+
[#2246]: https://github.com/tokio-rs/tracing/pull/2246
27+
[#2212]: https://github.com/tokio-rs/tracing/pull/2212
28+
[#2208]: https://github.com/tokio-rs/tracing/pull/2208
29+
[#2163]: https://github.com/tokio-rs/tracing/pull/2163
30+
131
# 0.1.35 (June 8, 2022)
232

333
This release reduces the overhead of callsite registration by using new

tracing/Cargo.toml

+2-2
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.35"
11+
version = "0.1.36"
1212
authors = ["Eliza Weisman <eliza@buoyant.io>", "Tokio Contributors <team@tokio.rs>"]
1313
license = "MIT"
1414
readme = "README.md"
@@ -28,7 +28,7 @@ edition = "2018"
2828
rust-version = "1.49.0"
2929

3030
[dependencies]
31-
tracing-core = { path = "../tracing-core", version = "0.1.28", default-features = false }
31+
tracing-core = { path = "../tracing-core", version = "0.1.29", default-features = false }
3232
log = { version = "0.4.17", optional = true }
3333
tracing-attributes = { path = "../tracing-attributes", version = "0.1.22", optional = true }
3434
cfg-if = "1.0.0"

tracing/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -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.35/tracing/attr.instrument.html)
253+
[`#[instrument]`](https://docs.rs/tracing/0.1.36/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.35/tracing/attr.instrument.html) attribute macro
300+
The [`#[instrument]`](https://docs.rs/tracing/0.1.36/tracing/attr.instrument.html) attribute macro
301301
can reduce some of this boilerplate:
302302

303303
```rust

tracing/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@
811811
//!
812812
//! ```toml
813813
//! [dependencies]
814-
//! tracing = { version = "0.1.35", default-features = false }
814+
//! tracing = { version = "0.1.36", default-features = false }
815815
//! ```
816816
//!
817817
//! <pre class="ignore" style="white-space:normal;font:inherit;">
@@ -894,7 +894,7 @@
894894
//! [flags]: #crate-feature-flags
895895
#![cfg_attr(not(feature = "std"), no_std)]
896896
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
897-
#![doc(html_root_url = "https://docs.rs/tracing/0.1.35")]
897+
#![doc(html_root_url = "https://docs.rs/tracing/0.1.36")]
898898
#![doc(
899899
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
900900
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)