Skip to content

Commit a566938

Browse files
authored
chore: prepare 0.4.0 (#67)
1 parent 1ec11a8 commit a566938

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# 0.4.0 (November 26th, 2024)
2+
3+
The core Tokio crate has renamed some of the metrics and this breaking release
4+
uses the new names. The minimum required Tokio is bumped to 1.41, and the MSRV
5+
is bumped to 1.70 to match.
6+
7+
- runtime: use new names for poll time histogram ([#66])
8+
- runtime: rename injection queue to global queue ([#66])
9+
- doc: various doc fixes ([#66], [#65])
10+
11+
[#65]: https://github.com/tokio-rs/tokio-metrics/pull/65
12+
[#66]: https://github.com/tokio-rs/tokio-metrics/pull/66
13+
114
# 0.3.1 (October 12th, 2023)
215

316
### Fixed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tokio-metrics"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition = "2021"
55
rust-version = "1.70.0"
66
authors = ["Tokio Contributors <[email protected]>"]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runtime and per-task metrics.
55

66
```toml
77
[dependencies]
8-
tokio-metrics = { version = "0.3.1", default-features = false }
8+
tokio-metrics = { version = "0.4.0", default-features = false }
99
```
1010

1111
## Getting Started With Task Metrics
@@ -157,7 +157,7 @@ The `rt` feature of `tokio-metrics` is on by default; simply check that you do
157157
not set `default-features = false` when declaring it as a dependency; e.g.:
158158
```toml
159159
[dependencies]
160-
tokio-metrics = "0.3.1"
160+
tokio-metrics = "0.4.0"
161161
```
162162

163163
From within a Tokio runtime, use `RuntimeMonitor` to monitor key metrics of

0 commit comments

Comments
 (0)