From b7c8ee0ae64b74f6e9adc4d69f48b6b0f41f5e53 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Fri, 22 Oct 2021 17:04:04 -0700 Subject: [PATCH] appender: prepare to release v0.2.0 (#1678) # 0.2.0 (October 22, 2021) This breaking change release adds support for the new v0.3.x series of `tracing-subscriber`. In addition, it resolves the security advisory for the `chrono` crate, [RUSTSEC-2020-0159]. This release increases the minimum supported Rust version (MSRV) to 1.51.0. ### Breaking Changes - Updated `tracing-subscriber` to v0.3.x ([#1677]) - Changed `NonBlocking::error_counter` to return an `ErrorCounter` type, rather than an `Arc` ([#1675]) ### Changed - Updated `tracing-subscriber` to v0.3.x ([#1677]) ### Fixed - **non-blocking**: Fixed compilation on 32-bit targets ([#1675]) - **rolling**: Replaced `chrono` dependency with `time` to resolve [RUSTSEC-2020-0159] ([#1652]) - **rolling**: Fixed an issue where `RollingFileAppender` would fail to print errors that occurred while flushing a previous logfile ([#1604]) Thanks to new contributors @dzvon and @zvkemp for contributing to this release! [RUSTSEC-2020-0159]: https://rustsec.org/advisories/RUSTSEC-2020-0159.html [#1677]: https://github.com/tokio-rs/tracing/pull/1677 [#1675]: https://github.com/tokio-rs/tracing/pull/1675 [#1652]: https://github.com/tokio-rs/tracing/pull/1675 [#1604]: https://github.com/tokio-rs/tracing/pull/1604 --- examples/Cargo.toml | 2 +- tracing-appender/CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ tracing-appender/README.md | 4 ++-- tracing-appender/src/lib.rs | 2 +- 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 82ab1a0a02..37583b7b00 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -23,7 +23,7 @@ tracing-log = { path = "../tracing-log", version = "0.2", features = ["env_logge tracing-serde = { path = "../tracing-serde" } tracing-appender = { path = "../tracing-appender" } tracing-journald = { path = "../tracing-journald" } -tracing-appender = { path = "../tracing-appender", version = "0.1.2" } +tracing-appender = { path = "../tracing-appender", version = "0.2" } # serde example serde_json = "1.0.82" diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index e467d2e48f..a2e7b89ff1 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -1,3 +1,34 @@ +# 0.2.0 (October 22, 2021) + +This breaking change release adds support for the new v0.3.x series of +`tracing-subscriber`. In addition, it resolves the security advisory for the +`chrono` crate, [RUSTSEC-2020-0159]. + +This release increases the minimum supported Rust version to 1.51.0. +### Breaking Changes + +- Updated `tracing-subscriber` to v0.3.x ([#1677]) +- Changed `NonBlocking::error_counter` to return an `ErrorCounter` type, rather + than an `Arc` ([#1675]) +### Changed + +- Updated `tracing-subscriber` to v0.3.x ([#1677]) +### Fixed + +- **non-blocking**: Fixed compilation on 32-bit targets ([#1675]) +- **rolling**: Replaced `chrono` dependency with `time` to resolve + [RUSTSEC-2020-0159] ([#1652]) +- **rolling**: Fixed an issue where `RollingFileAppender` would fail to print + errors that occurred while flushing a previous logfile ([#1604]) + +Thanks to new contributors @dzvon and @zvkemp for contributing to this release! + +[RUSTSEC-2020-0159]: https://rustsec.org/advisories/RUSTSEC-2020-0159.html +[#1677]: https://github.com/tokio-rs/tracing/pull/1677 +[#1675]: https://github.com/tokio-rs/tracing/pull/1675 +[#1652]: https://github.com/tokio-rs/tracing/pull/1675 +[#1604]: https://github.com/tokio-rs/tracing/pull/1604 + # 0.1.2 (December 28, 2020) ### Changed diff --git a/tracing-appender/README.md b/tracing-appender/README.md index 22d0160a73..abe0c5aab5 100644 --- a/tracing-appender/README.md +++ b/tracing-appender/README.md @@ -16,9 +16,9 @@ Writers for logging events and spans [Documentation][docs-url] | [Chat][discord-url] [crates-badge]: https://img.shields.io/crates/v/tracing-appender.svg -[crates-url]: https://crates.io/crates/tracing-appender/0.1.2 +[crates-url]: https://crates.io/crates/tracing-appender/0.2.0 [docs-badge]: https://docs.rs/tracing-appender/badge.svg -[docs-url]: https://docs.rs/tracing-appender/0.1.2 +[docs-url]: https://docs.rs/tracing-appender/0.2.0 [docs-master-badge]: https://img.shields.io/badge/docs-master-blue [docs-master-url]: https://tracing.rs/tracing-appender [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg diff --git a/tracing-appender/src/lib.rs b/tracing-appender/src/lib.rs index d6e2af9e95..83ceffc78f 100644 --- a/tracing-appender/src/lib.rs +++ b/tracing-appender/src/lib.rs @@ -17,7 +17,7 @@ //! //! Add the following to your `Cargo.toml`: //! ```toml -//! tracing-appender = "0.1" +//! tracing-appender = "0.2" //! ``` //! //! This crate can be used in a few ways to record spans/events: