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/Cargo.toml b/tracing-appender/Cargo.toml index 694aa92ef0..c47711eefa 100644 --- a/tracing-appender/Cargo.toml +++ b/tracing-appender/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-appender" -version = "0.1.2" +version = "0.2.0" authors = [ "Zeki Sherif ", "Tokio Contributors " diff --git a/tracing-appender/README.md b/tracing-appender/README.md index 2bd0d348e8..53813c8390 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 @@ -44,7 +44,7 @@ that can be used with _or_ without the non-blocking writer. 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: diff --git a/tracing-appender/src/lib.rs b/tracing-appender/src/lib.rs index 0dbb2c428b..db7c1157af 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: @@ -122,7 +122,7 @@ //! supported compiler version is not considered a semver breaking change as //! long as doing so complies with this policy. //! -#![doc(html_root_url = "https://docs.rs/tracing-appender/0.1.2")] +#![doc(html_root_url = "https://docs.rs/tracing-appender/0.2.0")] #![doc( html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png", issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"