-
Update to
libp2p-corev0.39.0. -
Rename types as per discussion 2174.
RequestResponsehas been renamed toBehaviour. TheRequestResponseprefix has been removed from various types likeRequestResponseEvent. Users should prefer importing the request_response protocol as a module (use libp2p::request_response;), and refer to its types viarequest_response::. For example:request_response::Behaviourorrequest_response::Event. See PR 3159. -
Update to
libp2p-swarmv0.42.0.
-
Update to
libp2p-corev0.38.0. -
Update to
libp2p-swarmv0.41.0. -
Replace
RequestResponse'sNetworkBehaviourimplementioninject_*methods with the newon_*methods. See PR 3011. -
Replace
RequestResponseHandler'sConnectionHandlerimplementioninject_*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.
-
Update to
libp2p-corev0.37.0. -
Update to
libp2p-swarmv0.40.0.
-
Update to
libp2p-swarmv0.39.0. -
Update to
libp2p-corev0.36.0.
-
Update to
libp2p-swarmv0.38.0. -
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.
-
Remove unused
lrucrate (see PR 2358). -
Migrate to Rust edition 2021 (see PR 2339).
-
Use
instantinstead ofwasm-timer(see PR 2245). -
Update dependencies.
-
Make default features of
libp2p-coreoptional. PR 2181 -
Update dependencies.
-
Manually implement
DebugforRequestResponseHandlerEventandRequestProtocol. See PR 2183. -
Remove
RequestResponse::throttledand thethrottledmodule. See PR 2236.
- Update dependencies.
- Update
libp2p-swarm. - Implement
std::error::ErrorforInboundFailureandOutboundFailurePR 2033.
-
Update
libp2p-swarm. -
Close stream even when no response has been sent. PR 1987.
-
Update dependencies.
-
Make
is_pending_outboundreturn true on pending connection. PR 1928. -
Update dependencies.
-
Update dependencies.
-
Re-export
throttled-specific response channel. PR 1902.
-
Update
libp2p-swarmandlibp2p-core. -
Emit
InboundFailure::ConnectionClosedfor inbound requests that failed due to the underlying connection closing. PR 1886. -
Derive Clone for
InboundFailureandOutbound}Failure. PR 1891
- Refine emitted events for inbound requests, introducing
the
ResponseSentevent and theResponseOmissioninbound failures. This effectively removes previous support for one-way protocols without responses. PR 1867.
- Update
libp2p-swarmandlibp2p-core.
- Update dependencies.
- Update dependencies.
-
Add support for opt-in request-based flow-control to any request-response protocol via
RequestResponse::throttled(). PR 1726. -
Update
libp2p-swarmandlibp2p-core.
- Fixed connection keep-alive, permitting connections to close due to inactivity.
- Bump
libp2p-coreandlibp2p-swarmdependencies.
- Always properly
close()the substream after sending requests and responses in theInboundUpgradeandOutboundUpgrade. Otherwise this is left toRequestResponseCodec::write_requestandRequestResponseCodec::write_response, which can be a pitfall and lead to subtle problems (see e.g. libp2p#1606).
- Initial release.