## 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].

[PR 4019]: https://github.com/libp2p/rust-libp2p/pull/4019
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715

## 0.12.1

- Update `rust-version` to reflect the actual MSRV: 1.60.0. See [PR 3090].

[PR 3090]: https://github.com/libp2p/rust-libp2p/pull/3090

## 0.12.0

- Remove parallel dialing optimization, to avoid requiring the use of the `ls` command. See [PR 2934].

[PR 2934]: https://github.com/libp2p/rust-libp2p/pull/2934

## 0.11.0 [2022-01-27]

- Migrate to Rust edition 2021 (see [PR 2339]).

[PR 2339]: https://github.com/libp2p/rust-libp2p/pull/2339

## 0.10.4 [2021-11-01]

- Implement `From<io::Error> for ProtocolError` instead of `Into`.
  [PR 2169](https://github.com/libp2p/rust-libp2p/pull/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](https://github.com/libp2p/rust-libp2p/pull/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
  `V1` and `V1Lazy`.
  [PR 1871](https://github.com/libp2p/rust-libp2p/pull/1871)

## 0.9.0 [2020-11-25]

- Make the `V1Lazy` upgrade strategy more interoperable with `V1`. Specifically,
  the listener now behaves identically with `V1` and `V1Lazy`. Furthermore, the
  multistream-select protocol header is now also identical, making `V1` and `V1Lazy`
  indistinguishable on the wire. The remaining central effect of `V1Lazy` 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.

## 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 `V1Lazy` protocol.
  [PR 1783](https://github.com/libp2p/rust-libp2p/pull/1783).

- Fix a potential deadlock during protocol negotiation due
  to a missing flush, potentially resulting in sporadic protocol
  upgrade timeouts.
  [PR 1781](https://github.com/libp2p/rust-libp2p/pull/1781).

- Update dependencies.

## 0.8.2 [2020-06-22]

- Updated dependencies.
