- Raise MSRV to 1.88.0. See PR 6273.
- Deprecate
voidcrate. See PR 5676.
-
Use
web-timeinstead ofinstant. See PR 5347. -
Fix panic in WASM caused by retrying on dial upgrade errors. See PR 5447.
- Impose
Synconping::Failure::Other.ping::Eventcan now be shared between threads. See PR 5250
- Honor ping interval in case of errors. Previously, we would immediately open another ping stream if the current one failed. See PR 4423.
-
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.
-
Update to
libp2p-corev0.39.0. -
Update to
libp2p-swarmv0.42.0.
-
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.
-
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.
-
Update to
libp2p-swarmv0.39.0. -
Update to
libp2p-corev0.36.0.
-
Update to
libp2p-swarmv0.38.0. -
Expose
PROTOCOL_NAME. See PR 2734. -
Update to
libp2p-corev0.35.0.
-
Update to
libp2p-corev0.34.0. -
Update to
libp2p-swarmv0.37.0.
-
Update to
libp2p-corev0.33.0. -
Update to
libp2p-swarmv0.36.0.
- Update to
libp2p-swarmv0.35.0.
-
Update to
libp2p-corev0.32.0. -
Update to
libp2p-swarmv0.34.0. -
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
-
Update dependencies.
-
Migrate to Rust edition 2021 (see PR 2339).
-
Use
instantandfutures-timerinstead ofwasm-timer(see PR 2245). -
Update dependencies.
-
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.
- Update dependencies.
- Update
libp2p-swarm.
- Update
libp2p-swarm.
- Update dependencies.
- Update
libp2p-swarmandlibp2p-core.
- Update
libp2p-swarmandlibp2p-core.
- Update dependencies.
-
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.
- Update
libp2p-swarmandlibp2p-core.
-
Refactor the ping protocol for conformity by (re)using a single substream for outbound pings, addressing #1601.
-
Bump
libp2p-coreandlibp2p-swarmdependencies.
- Updated dependencies.
- Updated dependencies.
- Close substream in inbound upgrade PR 1606.