From 0bbf52109baf26b707d979efbbfc59d104e17e71 Mon Sep 17 00:00:00 2001 From: David Barsky Date: Thu, 17 Mar 2022 14:27:30 -0400 Subject: [PATCH] appender: prepare to release 0.2.2 (#1997) # 0.2.2 (March 17, 2022) This release fixes an incorrect `compare_exchange` in RollingFileAppender when rolling files over, causing a panic. ### Fixed - **rolling**: Fixed a panic that prohibited rolling files over. ([#1989]) [#1989]: https://github.com/tokio-rs/tracing/pull/1989 --- tracing-appender/CHANGELOG.md | 11 +++++++++++ tracing-appender/Cargo.toml | 2 +- tracing-appender/README.md | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/tracing-appender/CHANGELOG.md b/tracing-appender/CHANGELOG.md index a23a46a61a..c8c3290c71 100644 --- a/tracing-appender/CHANGELOG.md +++ b/tracing-appender/CHANGELOG.md @@ -1,3 +1,14 @@ +# 0.2.2 (March 17, 2022) + +This release fixes a bug in `RollingFileAppender` that could result +in a failure to rotate the log file, or in panics in debug mode. + +### Fixed + +- **rolling**: Fixed a panic that prohibited rolling files over. ([#1989]) + +[#1989]: https://github.com/tokio-rs/tracing/pull/1989 + # 0.2.1 (February 28, 2022) This release adds an implementation of the `MakeWriter` trait for diff --git a/tracing-appender/Cargo.toml b/tracing-appender/Cargo.toml index 47a8e0dd2a..d6b835ef4c 100644 --- a/tracing-appender/Cargo.toml +++ b/tracing-appender/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-appender" -version = "0.2.1" +version = "0.2.2" authors = [ "Zeki Sherif ", "Tokio Contributors " diff --git a/tracing-appender/README.md b/tracing-appender/README.md index 9b01ab593d..4eaa1ab91b 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.2.1 +[crates-url]: https://crates.io/crates/tracing-appender/0.2.2 [docs-badge]: https://docs.rs/tracing-appender/badge.svg -[docs-url]: https://docs.rs/tracing-appender/0.2.1 +[docs-url]: https://docs.rs/tracing-appender/0.2.2 [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