Skip to content

Commit c661c23

Browse files
authored
serde: prepare to release 0.1.3 (#1904)
# 0.1.3 (February 4, 2022) 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. ### Added - **valuable**: Experimental support for serializing user-defined types using [`valuable`] and [`valuable-serde`] ([#1862]) - Support for serializing `f64` values ([#1507]) ### Fixed - Fixed incorrect size hint in `SerializeFieldSet` ([#1333]) - A number of documentation fixes Thanks to @akinnane and @maxburke for contributing to this release! [`valuable`]: https://crates.io/crates/valuable [`valuable-serde`]: https://crates.io/crates/valuable-serde [post]: https://tokio.rs/blog/2021-05-valuable [#1862]: #1862 [#1507]: #1507 [#1333]: #1333 (I also noticed there was a missing changelog entry for v0.1.2, so I fixed that while I was here)
1 parent b411a5c commit c661c23

File tree

5 files changed

+43
-5
lines changed

5 files changed

+43
-5
lines changed

tracing-serde/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
# 0.1.3 (February 4, 2022)
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
8+
tracing_unstable`. See the documentation for details.
9+
10+
### Added
11+
12+
- **valuable**: Experimental support for serializing user-defined types using
13+
[`valuable`] and [`valuable-serde`] ([#1862])
14+
- Support for serializing `f64` values ([#1507])
15+
16+
### Fixed
17+
18+
- Fixed incorrect size hint in `SerializeFieldSet` ([#1333])
19+
- A number of documentation fixes
20+
21+
Thanks to @akinnane and @maxburke for contributing to this release!
22+
23+
[`valuable`]: https://crates.io/crates/valuable
24+
[`valuable-serde`]: https://crates.io/crates/valuable-serde
25+
[post]: https://tokio.rs/blog/2021-05-valuable
26+
[#1862]: https://github.com/tokio-rs/tracing/pull/1862
27+
[#1507]: https://github.com/tokio-rs/tracing/pull/1507
28+
[#1333]: https://github.com/tokio-rs/tracing/pull/1333
29+
30+
# 0.1.2 (September 11, 2020)
31+
32+
### Added
33+
34+
- `SerdeMapVisitor::finish` to complete serializing the visited objects
35+
(#892)
36+
- `SerdeMapVisitor::take_serializer` to return the serializer wrapped by
37+
a `SerdeMapVisitor` (#892)
38+
139
# 0.1.1 (February 27, 2020)
240

341
### Added

tracing-serde/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-serde"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
authors = ["Tokio Contributors <team@tokio.rs>"]
55
license = "MIT"
66
edition = "2018"
@@ -23,7 +23,7 @@ valuable = ["valuable_crate", "valuable-serde", "tracing-core/valuable"]
2323

2424
[dependencies]
2525
serde = "1"
26-
tracing-core = { path = "../tracing-core", version = "0.1.2"}
26+
tracing-core = { path = "../tracing-core", version = "0.1.22"}
2727

2828
[dev-dependencies]
2929
serde_json = "1"

tracing-serde/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ An adapter for serializing [`tracing`] types using [`serde`].
1818

1919
[`tracing`] is a framework for instrumenting Rust programs to collect
2020
scoped, structured, and async-aware diagnostics.`tracing-serde` enables
21-
serializing `tracing` types using [`serde`].
21+
serializing `tracing` types using [`serde`].
2222

2323
Traditional logging is based on human-readable text messages.
2424
`tracing` gives us machine-readable structured diagnostic

tracing-serde/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
//!
156156
//! [`tracing`]: https://crates.io/crates/tracing
157157
//! [`serde`]: https://crates.io/crates/serde
158-
#![doc(html_root_url = "https://docs.rs/tracing-serde/0.1.2")]
158+
#![doc(html_root_url = "https://docs.rs/tracing-serde/0.1.3")]
159159
#![doc(
160160
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
161161
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

tracing-subscriber/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ time = { version = "0.3", features = ["formatting"], optional = true }
5555
# only required by the json feature
5656
serde_json = { version = "1.0", optional = true }
5757
serde = { version = "1.0", optional = true }
58-
tracing-serde = { path = "../tracing-serde", version = "0.1.2", optional = true }
58+
tracing-serde = { path = "../tracing-serde", version = "0.1.3", optional = true }
5959

6060
# opt-in deps
6161
parking_lot = { version = ">= 0.7, <= 0.11", optional = true }

0 commit comments

Comments
 (0)