PackageTrack
Sign in Get early access

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 2025
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 55
  1. 0.47.0 27 Jun 2025
    Release notes

    <!-- Update to libp2p-swarm v0.47.0 -->

    Open source →
  2. 0.46.0 14 Jan 2025
    Release notes
    • Deprecate void crate. See PR 5676.

    <!-- Update to libp2p-core v0.43.0 -->

    Open source →
  3. 0.45.0 09 Aug 2024
    Release notes

    <!-- Update to libp2p-swarm v0.45.0 -->

    Open source →
  4. 0.44.1 01 May 2024
    Release notes
    • Impose Sync on ping::Failure::Other. ping::Event can now be shared between threads. See PR 5250
    Open source →
  5. 0.44.0 05 Nov 2023

    Nothing published for this version

  6. 0.43.1 22 Sep 2023
    Release notes
    • Honor ping interval in case of errors. Previously, we would immediately open another ping stream if the current one failed. See PR 4423.
    Open source →
  7. 0.43.0 20 Jun 2023
    Release notes
    • 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_connection upon receiving a ping::Event with a ping::Failure. This also removes the max_failures config option. See PR 3947.

    Open source →
  8. 0.42.0 24 Feb 2023
    Release notes
    • Update to libp2p-core v0.39.0.

    • Update to libp2p-swarm v0.42.0.

    Open source →
  9. 0.41.0 25 Nov 2022
    Release notes
    • Update to libp2p-core v0.38.0.

    • Update to libp2p-swarm v0.41.0.

    • Replace Behaviour's NetworkBehaviour implementation inject_* methods with the new on_* methods. See PR 3011.

    • Replace Handler's ConnectionHandler implementation inject_* methods with the new on_* methods. See PR 3085.

    • Update rust-version to reflect the actual MSRV: 1.62.0. See PR 3090.

    Open source →
  10. 0.40.1 14 Oct 2022

    Nothing published for this version

  11. 0.39.0 07 Sep 2022
    Release notes
    • Update to libp2p-swarm v0.39.0.

    • Update to libp2p-core v0.36.0.

    Open source →
  12. 0.38.0 22 Aug 2022
    Release notes
    • Update to libp2p-swarm v0.38.0.

    • Expose PROTOCOL_NAME. See PR 2734.

    • Update to libp2p-core v0.35.0.

    Open source →
  13. 0.37.0 05 Jul 2022
    Release notes
    • Update to libp2p-core v0.34.0.

    • Update to libp2p-swarm v0.37.0.

    Open source →
  14. 0.36.0 31 May 2022
    Release notes
    • Update to libp2p-core v0.33.0.

    • Update to libp2p-swarm v0.36.0.

    Open source →
  15. 0.35.0 04 Apr 2022
    Release notes
    • Update to libp2p-swarm v0.35.0.
    Open source →
  16. 0.34.0 22 Feb 2022
    Release notes
    • Update to libp2p-core v0.32.0.

    • Update to libp2p-swarm v0.34.0.

    • Merge NetworkBehaviour's inject_* paired methods (see PR 2445).

    Open source →
  17. 0.33.0 27 Jan 2022
    Release notes
    • Update dependencies.

    • Migrate to Rust edition 2021 (see PR 2339).

    Open source →
  18. 0.32.0 16 Nov 2021
    Release notes
    • Use instant and futures-timer instead of wasm-timer (see PR 2245).

    • Update dependencies.

    Open source →
  19. 0.31.0 01 Nov 2021
    Release notes
    • Make default features of libp2p-core optional. 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::Unsupported once 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.

      Fixes #2109. Also see PR 2149.

    • Rename types as per discussion 2174. Ping has been renamed to Behaviour. The Ping prefix has been removed from various types like PingEvent. Users should prefer importing the ping protocol as a module (use libp2p::ping;), and refer to its types via ping::. For example: ping::Behaviour or ping::Event.

    Open source →
  20. 0.31.0-rc.1 15 Oct 2021 pre-release

    Nothing published for this version

  21. 0.30.0 12 Jul 2021
    Release notes
    • Update dependencies.
    Open source →
  22. 0.29.0 13 Apr 2021
    Release notes
    • Update libp2p-swarm.
    Open source →
  23. 0.28.0 17 Mar 2021
    Release notes
    • Update libp2p-swarm.
    Open source →
  24. 0.27.0 12 Jan 2021
    Release notes
    • Update dependencies.
    Open source →
  25. 0.26.0 18 Dec 2020
    Release notes
    • Update libp2p-swarm and libp2p-core.
    Open source →
  26. 0.25.0 25 Nov 2020
    Release notes
    • Update libp2p-swarm and libp2p-core.
    Open source →
  27. 0.24.0 09 Nov 2020
    Release notes
    • Update dependencies.
    Open source →
  28. 0.23.0 16 Oct 2020
    Release notes
    • Update libp2p-swarm and libp2p-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.

    Open source →
  29. 0.22.0 09 Sep 2020
    Release notes
    • Update libp2p-swarm and libp2p-core.
    Open source →
  30. 0.21.0 18 Aug 2020
    Release notes
    • Refactor the ping protocol for conformity by (re)using a single substream for outbound pings, addressing #1601.

    • Bump libp2p-core and libp2p-swarm dependencies.

    Open source →
  31. 0.20.0 01 Jul 2020
    Release notes
    • Updated dependencies.
    Open source →
  32. 0.19.3 22 Jun 2020
    Release notes
    • Updated dependencies.
    Open source →
  33. 0.19.2 18 Jun 2020
    Release notes
    • Close substream in inbound upgrade PR 1606.
    Open source →
  34. 0.19.1 25 May 2020

    Nothing published for this version

  35. 0.19.0 18 May 2020

    Nothing published for this version

  36. 0.18.0 09 Apr 2020

    Nothing published for this version

  37. 0.17.0 01 Apr 2020

    Nothing published for this version

  38. 0.16.0 14 Feb 2020

    Nothing published for this version

  39. 0.15.0 24 Jan 2020

    Nothing published for this version

  40. 0.14.0-alpha.1 07 Jan 2020 pre-release

    Nothing published for this version

  41. 0.13.1 13 Nov 2019

    Nothing published for this version

  42. 0.13.0 06 Nov 2019

    Nothing published for this version

  43. 0.12.0 15 Aug 2019

    Nothing published for this version

  44. 0.11.0 19 Jul 2019

    Nothing published for this version

  45. 0.10.0 25 Jun 2019

    Nothing published for this version

  46. 0.9.0 04 Jun 2019

    Nothing published for this version

  47. 0.8.0 15 May 2019

    Nothing published for this version

  48. 0.7.0 23 Apr 2019

    Nothing published for this version

  49. 0.6.0 29 Mar 2019

    Nothing published for this version

  50. 0.5.0 13 Mar 2019

    Nothing published for this version

  51. 0.4.1 27 Feb 2019

    Nothing published for this version

  52. 0.4.0 20 Feb 2019

    Nothing published for this version

  53. 0.3.0 30 Jan 2019

    Nothing published for this version

  54. 0.2.0 10 Jan 2019

    Nothing published for this version

  55. 0.1.0 02 Jan 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive