Skip to content

Commit

Permalink
serde: prepare to release 0.1.3
Browse files Browse the repository at this point in the history
# 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)
  • Loading branch information
hawkw committed Feb 4, 2022
1 parent 4b2903f commit d5e6e64
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
38 changes: 38 additions & 0 deletions tracing-serde/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tracing-serde/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ valuable = ["valuable_crate", "valuable-serde", "tracing-core/valuable"]

[dependencies]
serde = "1"
tracing-core = { path = "../tracing-core", version = "0.1.2"}
tracing-core = { path = "../tracing-core", version = "0.1.22"}

[dev-dependencies]
serde_json = "1"
Expand Down
2 changes: 1 addition & 1 deletion tracing-serde/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tracing-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ time = { version = "0.3", features = ["formatting"], optional = true }
# only required by the json feature
serde_json = { version = "1.0", optional = true }
serde = { version = "1.0", optional = true }
tracing-serde = { path = "../tracing-serde", version = "0.1.2", optional = true }
tracing-serde = { path = "../tracing-serde", version = "0.1.3", optional = true }

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

0 comments on commit d5e6e64

Please sign in to comment.