-
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.
- Update
rust-version
to reflect the actual MSRV: 1.60.0. See PR 3090.
- Remove parallel dialing optimization, to avoid requiring the use of the
ls
command. See PR 2934.
- Migrate to Rust edition 2021 (see PR 2339).
- Implement
From<io::Error> for ProtocolError
instead ofInto
. PR 2169
- Update dependencies.
- Re-enable "parallel negotiation" if the dialer has 3 or more alternative protocols. PR 1934
- Update dependencies.
- Update dependencies.
- Ensure uniform outcomes for failed negotiations with both
V1
andV1Lazy
. PR 1871
-
Make the
V1Lazy
upgrade strategy more interoperable withV1
. Specifically, the listener now behaves identically withV1
andV1Lazy
. Furthermore, the multistream-select protocol header is now also identical, makingV1
andV1Lazy
indistinguishable on the wire. The remaining central effect ofV1Lazy
is 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
ls
responses to be spec-compliant and interoperable with other implementations. For a clean upgrade,0.8.4
must already be deployed.
- During negotiation do not interpret EOF error as an IO error, but instead as a negotiation error. See #1823.
- 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 #1795.
-
Fix a regression resulting in a panic with the
V1Lazy
protocol. 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.
- Updated dependencies.