Skip to content

Commit aaa419b

Browse files
authored
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<AtomicU64>` ([#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]: #1677 [#1675]: #1675 [#1652]: #1675 [#1604]: #1604
1 parent 4e56741 commit aaa419b

File tree

5 files changed

+38
-7
lines changed

5 files changed

+38
-7
lines changed

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tracing-log = { path = "../tracing-log", version = "0.1.1", features = ["env_log
2222
tracing-serde = { path = "../tracing-serde" }
2323
tracing-opentelemetry = { path = "../tracing-opentelemetry" }
2424
tracing-journald = { path = "../tracing-journald" }
25-
tracing-appender = { path = "../tracing-appender", version = "0.1.2" }
25+
tracing-appender = { path = "../tracing-appender", version = "0.2" }
2626

2727
# serde example
2828
serde_json = "1.0"

tracing-appender/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
# 0.2.0 (October 22, 2021)
2+
3+
This breaking change release adds support for the new v0.3.x series of
4+
`tracing-subscriber`. In addition, it resolves the security advisory for the
5+
`chrono` crate, [RUSTSEC-2020-0159].
6+
7+
This release increases the minimum supported Rust version to 1.51.0.
8+
### Breaking Changes
9+
10+
- Updated `tracing-subscriber` to v0.3.x ([#1677])
11+
- Changed `NonBlocking::error_counter` to return an `ErrorCounter` type, rather
12+
than an `Arc<AtomicU64>` ([#1675])
13+
### Changed
14+
15+
- Updated `tracing-subscriber` to v0.3.x ([#1677])
16+
### Fixed
17+
18+
- **non-blocking**: Fixed compilation on 32-bit targets ([#1675])
19+
- **rolling**: Replaced `chrono` dependency with `time` to resolve
20+
[RUSTSEC-2020-0159] ([#1652])
21+
- **rolling**: Fixed an issue where `RollingFileAppender` would fail to print
22+
errors that occurred while flushing a previous logfile ([#1604])
23+
24+
Thanks to new contributors @dzvon and @zvkemp for contributing to this release!
25+
26+
[RUSTSEC-2020-0159]: https://rustsec.org/advisories/RUSTSEC-2020-0159.html
27+
[#1677]: https://github.com/tokio-rs/tracing/pull/1677
28+
[#1675]: https://github.com/tokio-rs/tracing/pull/1675
29+
[#1652]: https://github.com/tokio-rs/tracing/pull/1675
30+
[#1604]: https://github.com/tokio-rs/tracing/pull/1604
31+
132
# 0.1.2 (December 28, 2020)
233

334
### Changed

tracing-appender/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-appender"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
authors = [
55
"Zeki Sherif <[email protected]>",
66
"Tokio Contributors <[email protected]>"

tracing-appender/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Writers for logging events and spans
1616
[Documentation][docs-url] | [Chat][discord-url]
1717

1818
[crates-badge]: https://img.shields.io/crates/v/tracing-appender.svg
19-
[crates-url]: https://crates.io/crates/tracing-appender/0.1.2
19+
[crates-url]: https://crates.io/crates/tracing-appender/0.2.0
2020
[docs-badge]: https://docs.rs/tracing-appender/badge.svg
21-
[docs-url]: https://docs.rs/tracing-appender/0.1.2
21+
[docs-url]: https://docs.rs/tracing-appender/0.2.0
2222
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2323
[docs-master-url]: https://tracing.rs/tracing-appender
2424
[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.
4444

4545
Add the following to your `Cargo.toml`:
4646
```toml
47-
tracing-appender = "0.1"
47+
tracing-appender = "0.2"
4848
```
4949

5050
This crate can be used in a few ways to record spans/events:

tracing-appender/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//!
1818
//! Add the following to your `Cargo.toml`:
1919
//! ```toml
20-
//! tracing-appender = "0.1"
20+
//! tracing-appender = "0.2"
2121
//! ```
2222
//!
2323
//! This crate can be used in a few ways to record spans/events:
@@ -122,7 +122,7 @@
122122
//! supported compiler version is not considered a semver breaking change as
123123
//! long as doing so complies with this policy.
124124
//!
125-
#![doc(html_root_url = "https://docs.rs/tracing-appender/0.1.2")]
125+
#![doc(html_root_url = "https://docs.rs/tracing-appender/0.2.0")]
126126
#![doc(
127127
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
128128
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)