diff --git a/CHANGELOG.md b/CHANGELOG.md index f381b45..0207bdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.0] - 2024-01-20 + +### Added + +- `Syslog::invalid_chars()` to allow configuring behavior when a message to be logged contains + characters that are invalid in a C string (i.e., interior nul bytes) (#1) + +### Changed + +- If a log message contains characters that are invalid in a C string (i.e., interior nul bytes), + these characters are replaced with the Unicode replacement character (�) and the modified message + is logged to syslog. This is a change from the past default, which was to panic in debug mode and + log a message in release mode. (#1) + ## [0.2.0] - 2023-05-07 ### Changed - Disabled unused `tracing-subscriber` features (#1) - Updated to Rust 2021 edition -- Updated `once_cell` to 1.17 \ No newline at end of file +- Updated `once_cell` to 1.17 diff --git a/Cargo.toml b/Cargo.toml index 83a9858..5ff8193 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "syslog-tracing" -version = "0.2.0" +version = "0.3.0" authors = ["Max Heller "] edition = "2021" license = "MIT"