Skip to content

Commit cee6b15

Browse files
Add changelog entry
1 parent a816a09 commit cee6b15

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

protocols/ping/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818

1919
[PR 2149]: https://github.com/libp2p/rust-libp2p/pull/2149/
2020

21+
- Rename types as per [discussion 2174].
22+
`Ping` has been renamed to `Behaviour`.
23+
The `Ping` prefix has been removed from various types like `PingEvent`.
24+
Users should prefer importing the ping protocol as a module (`use libp2p::ping;`),
25+
and refer to its types via `ping::`. For example: `ping::Behaviour` or `ping::Event`.
26+
27+
[discussion 2174]: https://github.com/libp2p/rust-libp2p/discussions/2174
28+
2129
# 0.30.0 [2021-07-12]
2230

2331
- Update dependencies.

0 commit comments

Comments
 (0)