From c66a692e671903712c1bd598082fc018f7f8568e Mon Sep 17 00:00:00 2001 From: Hayden Stainsby Date: Wed, 27 Nov 2024 22:20:48 +0100 Subject: [PATCH] chore: prepare tracing-serde 0.2.0 (#3160) # 0.2.0 (November 27, 2024) [ [crates.io][crate-0.2.0] ] | [ [docs.rs][docs-0.2.0] ] ### Breaking Changes - Correct SerializeField definition and doc formatting ([#3040]) `SerializeField` has gained a generic lifetime parameter. ### Fixed - Implement `AsSerde` for `FieldSet` ([#2241]) - [**breaking**](#0.2.0-breaking) Correct SerializeField definition and doc formatting ([#3040]) ### Changed - Bump MSRV to 1.63 ([#2793]) [#2241]: https://github.com/tokio-rs/tracing/pull/2241 [#3040]: https://github.com/tokio-rs/tracing/pull/3040 [docs-0.2.0]: https://docs.rs/tracing-serde/0.2.0/tracing-serde/ [crate-0.2.0]: https://crates.io/crates/tracing-serde/0.2.0 --- tracing-serde/CHANGELOG.md | 24 ++++++++++++++++++++++++ tracing-serde/Cargo.toml | 2 +- tracing-serde/README.md | 4 ++-- tracing-serde/src/lib.rs | 2 +- tracing-subscriber/Cargo.toml | 2 +- 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/tracing-serde/CHANGELOG.md b/tracing-serde/CHANGELOG.md index 3f4d915e7b..220358d1c0 100644 --- a/tracing-serde/CHANGELOG.md +++ b/tracing-serde/CHANGELOG.md @@ -1,3 +1,27 @@ +# 0.2.0 (November 27, 2024) + +[ [crates.io][crate-0.2.0] ] | [ [docs.rs][docs-0.2.0] ] + + +### Breaking Changes + +- Correct SerializeField definition and doc formatting ([#3040]) + `SerializeField` has gained a generic lifetime parameter. + +### Fixed + +- Implement `AsSerde` for `FieldSet` ([#2241]) +- [**breaking**](#0.2.0-breaking) Correct SerializeField definition and doc formatting ([#3040]) + +### Changed + +- Bump MSRV to 1.63 ([#2793]) + +[#2241]: https://github.com/tokio-rs/tracing/pull/2241 +[#3040]: https://github.com/tokio-rs/tracing/pull/3040 +[docs-0.2.0]: https://docs.rs/tracing-serde/0.2.0/tracing-serde/ +[crate-0.2.0]: https://crates.io/crates/tracing-serde/0.2.0 + # 0.1.3 (February 4, 2022) This release adds *experimental* support for recording structured field diff --git a/tracing-serde/Cargo.toml b/tracing-serde/Cargo.toml index cc4ca471a8..af3dd8c8ca 100644 --- a/tracing-serde/Cargo.toml +++ b/tracing-serde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-serde" -version = "0.1.3" +version = "0.2.0" authors = ["Tokio Contributors "] license = "MIT" edition = "2018" diff --git a/tracing-serde/README.md b/tracing-serde/README.md index 87c0f1e68c..8ede6f9806 100644 --- a/tracing-serde/README.md +++ b/tracing-serde/README.md @@ -47,7 +47,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] tracing = "0.1" -tracing-serde = "0.1" +tracing-serde = "0.2" ``` Next, add this to your crate: @@ -119,4 +119,4 @@ for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions. [`tracing`]: https://crates.io/crates/tracing -[`serde`]: https://crates.io/crates/serde \ No newline at end of file +[`serde`]: https://crates.io/crates/serde diff --git a/tracing-serde/src/lib.rs b/tracing-serde/src/lib.rs index eb29e8180b..41e376f815 100644 --- a/tracing-serde/src/lib.rs +++ b/tracing-serde/src/lib.rs @@ -43,7 +43,7 @@ //! ```toml //! [dependencies] //! tracing = "0.1" -//! tracing-serde = "0.1" +//! tracing-serde = "0.2" //! ``` //! //! Next, add this to your crate: diff --git a/tracing-subscriber/Cargo.toml b/tracing-subscriber/Cargo.toml index 1908eb02ff..ae19f9b720 100644 --- a/tracing-subscriber/Cargo.toml +++ b/tracing-subscriber/Cargo.toml @@ -56,7 +56,7 @@ time = { version = "0.3.2", features = ["formatting"], optional = true } # only required by the json feature serde_json = { version = "1.0.82", optional = true } serde = { version = "1.0.140", optional = true } -tracing-serde = { path = "../tracing-serde", version = "0.1.3", optional = true } +tracing-serde = { path = "../tracing-serde", version = "0.2.0", optional = true } # opt-in deps parking_lot = { version = "0.12.1", optional = true }