From ca391526aa0a11765daf3a031fa3c9e050e3df77 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 4 Feb 2022 11:43:36 -0800 Subject: [PATCH] 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]: https://github.com/tokio-rs/tracing/pull/1862 [#1507]: https://github.com/tokio-rs/tracing/pull/1507 [#1333]: https://github.com/tokio-rs/tracing/pull/1333 (I also noticed there was a missing changelog entry for v0.1.2, so I fixed that while I was here) --- tracing-serde/CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ tracing-serde/README.md | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/tracing-serde/CHANGELOG.md b/tracing-serde/CHANGELOG.md index 5154662416..3f4d915e7b 100644 --- a/tracing-serde/CHANGELOG.md +++ b/tracing-serde/CHANGELOG.md @@ -1,3 +1,41 @@ +# 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]: https://github.com/tokio-rs/tracing/pull/1862 +[#1507]: https://github.com/tokio-rs/tracing/pull/1507 +[#1333]: https://github.com/tokio-rs/tracing/pull/1333 + +# 0.1.2 (September 11, 2020) + +### Added + +- `SerdeMapVisitor::finish` to complete serializing the visited objects + (#892) +- `SerdeMapVisitor::take_serializer` to return the serializer wrapped by + a `SerdeMapVisitor` (#892) + # 0.1.1 (February 27, 2020) ### Added diff --git a/tracing-serde/README.md b/tracing-serde/README.md index 7b24517b75..2b2bed8415 100644 --- a/tracing-serde/README.md +++ b/tracing-serde/README.md @@ -18,7 +18,7 @@ An adapter for serializing [`tracing`] types using [`serde`]. [`tracing`] is a framework for instrumenting Rust programs to collect scoped, structured, and async-aware diagnostics.`tracing-serde` enables -serializing `tracing` types using [`serde`]. +serializing `tracing` types using [`serde`]. Traditional logging is based on human-readable text messages. `tracing` gives us machine-readable structured diagnostic