0.13.0
Don't wait for negotiation on
<Negotiated as AsyncWrite>::poll_close. This can save one round-trip for protocols that use stream closing as an operation in ones protocol, e.g. using stream closing to signal the end of a request. See PR 4019 for details.Raise MSRV to 1.65. See PR 3715.
0.12.1
- Update
rust-versionto reflect the actual MSRV: 1.60.0. See PR 3090.
0.12.0
- Remove parallel dialing optimization, to avoid requiring the use of the
lscommand. See PR 2934.
0.11.0 [2022-01-27]
- Migrate to Rust edition 2021 (see PR 2339).
0.10.4 [2021-11-01]
- Implement
From<io::Error> for ProtocolErrorinstead ofInto. PR 2169
0.10.3 [2021-03-17]
- Update dependencies.
0.10.2 [2021-03-01]
- Re-enable "parallel negotiation" if the dialer has 3 or more alternative protocols. PR 1934
0.10.1 [2021-02-15]
- Update dependencies.
0.10.0 [2021-01-12]
- Update dependencies.
0.9.1 [2020-12-02]
- Ensure uniform outcomes for failed negotiations with both
V1andV1Lazy. PR 1871
0.9.0 [2020-11-25]
Make the
V1Lazyupgrade strategy more interoperable withV1. Specifically, the listener now behaves identically withV1andV1Lazy. Furthermore, the multistream-select protocol header is now also identical, makingV1andV1Lazyindistinguishable on the wire. The remaining central effect ofV1Lazyis that the dialer, if it only supports a single protocol in a negotiation, optimistically settles on that protocol without immediately flushing the negotiation data (i.e. protocol proposal) and without waiting for the corresponding confirmation before it is able to start sending application data, expecting the used protocol to be confirmed with the response.Fix the encoding and decoding of
lsresponses to be spec-compliant and interoperable with other implementations. For a clean upgrade,0.8.4must already be deployed.
0.8.5 [2020-11-09]
- During negotiation do not interpret EOF error as an IO error, but instead as a negotiation error. See https://github.com/libp2p/rust-libp2p/pull/1823.
0.8.4 [2020-10-20]
- Temporarily disable the internal selection of "parallel" protocol negotiation for the dialer to later change the response format of the "ls" message for spec compliance. See https://github.com/libp2p/rust-libp2p/issues/1795.
0.8.3 [2020-10-16]
Fix a regression resulting in a panic with the
V1Lazyprotocol. PR 1783.Fix a potential deadlock during protocol negotiation due to a missing flush, potentially resulting in sporadic protocol upgrade timeouts. PR 1781.
Update dependencies.
0.8.2 [2020-06-22]
- Updated dependencies.