Skip to content

Commit

Permalink
appender: prepare to release 0.2.2 (tokio-rs#1997)
Browse files Browse the repository at this point in the history
# 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. ([tokio-rs#1989])

[tokio-rs#1989]: tokio-rs#1989
  • Loading branch information
davidbarsky authored and kaffarell committed May 22, 2024
1 parent 253df5f commit 0bbf521
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions tracing-appender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tracing-appender/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tracing-appender"
version = "0.2.1"
version = "0.2.2"
authors = [
"Zeki Sherif <[email protected]>",
"Tokio Contributors <[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions tracing-appender/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bbf521

Please sign in to comment.