0.45.0
0.44.2
Use
web-timeinstead ofinstant. See PR 5347.Fix panic in WASM caused by retrying on dial upgrade errors. See PR 5447.
0.44.1
- Impose
Synconping::Failure::Other.ping::Eventcan now be shared between threads. See PR 5250
0.44.0
0.43.1
- 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.0
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.0
Update to
libp2p-corev0.39.0.Update to
libp2p-swarmv0.42.0.
0.41.0
Update to
libp2p-corev0.38.0.Update to
libp2p-swarmv0.41.0.Replace
Behaviour'sNetworkBehaviourimplementioninject_*methods with the newon_*methods. See PR 3011.Replace
Handler'sConnectionHandlerimplementioninject_*methods with the newon_*methods. See PR 3085.Update
rust-versionto reflect the actual MSRV: 1.62.0. See PR 3090.
0.40.0
Bump rand to 0.8 and quickcheck to 1. See PR 2857.
Deprecate types with
Pingprefix. Prefer importing them via thepingnamespace, i.e.libp2p::ping::Eventinstead oflibp2p::ping::PingEvent. See PR 2937.Update to
libp2p-corev0.37.0.Update to
libp2p-swarmv0.40.0.Deprecate
Config::with_keep_alive. See PR 2859.
0.39.0
Update to
libp2p-swarmv0.39.0.Update to
libp2p-corev0.36.0.
0.38.0
Update to
libp2p-swarmv0.38.0.Expose
PROTOCOL_NAME. See PR 2734.Update to
libp2p-corev0.35.0.
0.37.0
Update to
libp2p-corev0.34.0.Update to
libp2p-swarmv0.37.0.
0.36.0
Update to
libp2p-corev0.33.0.Update to
libp2p-swarmv0.36.0.
0.35.0
- Update to
libp2p-swarmv0.35.0.
0.34.0 [2022-02-22]
Update to
libp2p-corev0.32.0.Update to
libp2p-swarmv0.34.0.Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
0.33.0 [2022-01-27]
Update dependencies.
Migrate to Rust edition 2021 (see PR 2339).
0.32.0 [2021-11-16]
Use
instantandfutures-timerinstead ofwasm-timer(see PR 2245).Update dependencies.
0.31.0 [2021-11-01]
Make default features of
libp2p-coreoptional. PR 2181Update dependencies.
Don't close connection if ping protocol is unsupported by remote. Previously, a failed protocol negotation 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.30.0 [2021-07-12]
- Update dependencies.
0.29.0 [2021-04-13]
- Update
libp2p-swarm.
0.28.0 [2021-03-17]
- Update
libp2p-swarm.
0.27.0 [2021-01-12]
- Update dependencies.
0.26.0 [2020-12-17]
- Update
libp2p-swarmandlibp2p-core.
0.25.0 [2020-11-25]
- Update
libp2p-swarmandlibp2p-core.
0.24.0 [2020-11-09]
- Update dependencies.
0.23.0 [2020-10-16]
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.0 [2020-09-09]
- Update
libp2p-swarmandlibp2p-core.
0.21.0 [2020-08-18]
Refactor the ping protocol for conformity by (re)using a single substream for outbound pings, addressing #1601.
Bump
libp2p-coreandlibp2p-swarmdependencies.
0.20.0 [2020-07-01]
- Updated dependencies.
0.19.3 [2020-06-22]
- Updated dependencies.
0.19.2 [2020-06-18]
- Close substream in inbound upgrade PR 1606.