libp2p-ping
Ping protocol for libp2p
0.47.0
14M downloads/mo
#2550 most downloaded on crates.io
libp2p/rust-libp2p
What this package is like to depend on
Last release 1 years ago
27 Jun 2025
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 30 of 53 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
55 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
55 releases · Jan 2019 to Jun 2025Releases
latest 55-
0.47.027 Jun 2025 -
0.46.014 Jan 2025Release notes
Open source →- Deprecate
voidcrate. See PR 5676.
<!-- Update to libp2p-core v0.43.0 -->
- Deprecate
-
0.45.009 Aug 2024 -
0.44.101 May 2024Release notes
Open source →- Impose
Synconping::Failure::Other.ping::Eventcan now be shared between threads. See PR 5250
- Impose
-
0.44.005 Nov 2023Nothing published for this version
-
0.43.122 Sep 2023Release notes
Open source →- Honor ping interval in case of errors. Previously, we would immediately open another ping stream if the current one failed. See PR 4423.
-
0.43.020 Jun 2023Release notes
Open source →-
Raise MSRV to 1.65. See PR 3715.
-
Remove deprecated items. See PR 3702.
-
Don't close connections on ping failures. To restore the previous behaviour, users should call
Swarm::close_connectionupon receiving aping::Eventwith aping::Failure. This also removes themax_failuresconfig option. See PR 3947.
-
-
0.42.024 Feb 2023 -
0.41.025 Nov 2022Release notes
Open source →-
Update to
libp2p-corev0.38.0. -
Update to
libp2p-swarmv0.41.0. -
Replace
Behaviour'sNetworkBehaviourimplementationinject_*methods with the newon_*methods. See PR 3011. -
Replace
Handler'sConnectionHandlerimplementationinject_*methods with the newon_*methods. See PR 3085. -
Update
rust-versionto reflect the actual MSRV: 1.62.0. See PR 3090.
-
-
0.40.114 Oct 2022Nothing published for this version
-
0.39.007 Sep 2022 -
0.38.022 Aug 2022Release notes
Open source →-
Update to
libp2p-swarmv0.38.0. -
Expose
PROTOCOL_NAME. See PR 2734. -
Update to
libp2p-corev0.35.0.
-
-
0.37.005 Jul 2022 -
0.36.031 May 2022 -
0.35.004 Apr 2022 -
0.34.022 Feb 2022Release notes
Open source →-
Update to
libp2p-corev0.32.0. -
Update to
libp2p-swarmv0.34.0. -
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
-
-
0.33.027 Jan 2022 -
0.32.016 Nov 2021Release notes
Open source →-
Use
instantandfutures-timerinstead ofwasm-timer(see PR 2245). -
Update dependencies.
-
-
0.31.001 Nov 2021Release notes
Open source →-
Make default features of
libp2p-coreoptional. PR 2181 -
Update dependencies.
-
Don't close connection if ping protocol is unsupported by remote. Previously, a failed protocol negotiation for ping caused a force close of the connection. As a result, all nodes in a network had to support ping. To allow networks where some nodes don't support ping, we now emit
PingFailure::Unsupportedonce for every connection on which ping is not supported.In case you want to stick with the old behavior, you need to close the connection manually on
PingFailure::Unsupported. -
Rename types as per discussion 2174.
Pinghas been renamed toBehaviour. ThePingprefix has been removed from various types likePingEvent. Users should prefer importing the ping protocol as a module (use libp2p::ping;), and refer to its types viaping::. For example:ping::Behaviourorping::Event.
-
-
0.31.0-rc.115 Oct 2021 pre-releaseNothing published for this version
-
0.30.012 Jul 2021 -
0.29.013 Apr 2021 -
0.28.017 Mar 2021 -
0.27.012 Jan 2021 -
0.26.018 Dec 2020 -
0.25.025 Nov 2020 -
0.24.009 Nov 2020 -
0.23.016 Oct 2020Release notes
Open source →-
Update
libp2p-swarmandlibp2p-core. -
Ensure the outbound ping is flushed before awaiting the response. Otherwise the behaviour depends on implementation details of the stream muxer used. The current behaviour resulted in stalls with Mplex.
-
-
0.22.009 Sep 2020 -
0.21.018 Aug 2020Release notes
Open source →-
Refactor the ping protocol for conformity by (re)using a single substream for outbound pings, addressing #1601.
-
Bump
libp2p-coreandlibp2p-swarmdependencies.
-
-
0.20.001 Jul 2020 -
0.19.322 Jun 2020 -
0.19.218 Jun 2020 -
0.19.125 May 2020Nothing published for this version
-
0.19.018 May 2020Nothing published for this version
-
0.18.009 Apr 2020Nothing published for this version
-
0.17.001 Apr 2020Nothing published for this version
-
0.16.014 Feb 2020Nothing published for this version
-
0.15.024 Jan 2020Nothing published for this version
-
0.14.0-alpha.107 Jan 2020 pre-releaseNothing published for this version
-
0.13.113 Nov 2019Nothing published for this version
-
0.13.006 Nov 2019Nothing published for this version
-
0.12.015 Aug 2019Nothing published for this version
-
0.11.019 Jul 2019Nothing published for this version
-
0.10.025 Jun 2019Nothing published for this version
-
0.9.004 Jun 2019Nothing published for this version
-
0.8.015 May 2019Nothing published for this version
-
0.7.023 Apr 2019Nothing published for this version
-
0.6.029 Mar 2019Nothing published for this version
-
0.5.013 Mar 2019Nothing published for this version
-
0.4.127 Feb 2019Nothing published for this version
-
0.4.020 Feb 2019Nothing published for this version
-
0.3.030 Jan 2019Nothing published for this version
-
0.2.010 Jan 2019Nothing published for this version
-
0.1.002 Jan 2019Nothing published for this version