Skip to content

Commit 0c2ea7c

Browse files
authored
chore(metrics): update version and CHANGELOG.md
which was missed on libp2p#5960, `libp2p-metrics` expose `prometheus_client::Registry` so this is a breaking change Pull-Request: libp2p#5979.
1 parent 9c712d3 commit 0c2ea7c

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ libp2p-identity = { version = "0.2.10" }
8888
libp2p-kad = { version = "0.47.0", path = "protocols/kad" }
8989
libp2p-mdns = { version = "0.47.0", path = "protocols/mdns" }
9090
libp2p-memory-connection-limits = { version = "0.4.0", path = "misc/memory-connection-limits" }
91-
libp2p-metrics = { version = "0.16.1", path = "misc/metrics" }
91+
libp2p-metrics = { version = "0.17.0", path = "misc/metrics" }
9292
libp2p-mplex = { version = "0.43.1", path = "muxers/mplex" }
9393
libp2p-noise = { version = "0.46.1", path = "transports/noise" }
9494
libp2p-peer-store = { version = "0.1.0", path = "misc/peer-store" }

misc/metrics/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
## 0.16.1
1+
## 0.17.0
2+
3+
- Update `prometheus-client` to `0.23.0`.
4+
See [PR 5960](https://github.com/libp2p/rust-libp2p/pull/5960).
5+
26
- Add `ReservationClosed` as a relay metric.
37
See [PR 5869](https://github.com/libp2p/rust-libp2p/pull/5869).
48

misc/metrics/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libp2p-metrics"
33
edition.workspace = true
44
rust-version = { workspace = true }
55
description = "Metrics for libp2p"
6-
version = "0.16.1"
6+
version = "0.17.0"
77
authors = ["Max Inden <[email protected]>"]
88
license = "MIT"
99
repository = "https://github.com/libp2p/rust-libp2p"
@@ -22,13 +22,13 @@ relay = ["libp2p-relay"]
2222
futures = { workspace = true }
2323
web-time = { workspace = true }
2424
libp2p-core = { workspace = true }
25-
libp2p-dcutr = { workspace = true, optional = true }
26-
libp2p-gossipsub = { workspace = true, optional = true }
25+
libp2p-dcutr = { workspace = true, optional = true }
26+
libp2p-gossipsub = { workspace = true, optional = true }
2727
libp2p-identify = { workspace = true, optional = true }
2828
libp2p-identity = { workspace = true }
2929
libp2p-kad = { workspace = true, optional = true }
3030
libp2p-ping = { workspace = true, optional = true }
31-
libp2p-relay = { workspace = true, optional = true }
31+
libp2p-relay = { workspace = true, optional = true }
3232
libp2p-swarm = { workspace = true }
3333
pin-project = "1.1.5"
3434
prometheus-client = { workspace = true }

0 commit comments

Comments
 (0)