mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 09:11:34 +00:00
yamux-0.5.0 upgrade (#1733)
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
This commit is contained in:
@ -25,6 +25,9 @@
|
|||||||
|
|
||||||
# Version 0.25.0 [unreleased]
|
# Version 0.25.0 [unreleased]
|
||||||
|
|
||||||
|
- Update `libp2p-yamux` to `0.22.0`. *This version starts a multi-release
|
||||||
|
upgrade process.* See the `libp2p-yamux` CHANGELOG for details.
|
||||||
|
|
||||||
- Bump `libp2p-noise` to `0.24`. See the `libp2p-noise`
|
- Bump `libp2p-noise` to `0.24`. See the `libp2p-noise`
|
||||||
changelog for details about the `LegacyConfig`.
|
changelog for details about the `LegacyConfig`.
|
||||||
|
|
||||||
|
@ -1,7 +1,23 @@
|
|||||||
# 0.22.0 [unreleased]
|
# 0.22.0 [unreleased]
|
||||||
|
|
||||||
|
- Update to `yamux-0.5.0`. *This is the start of a multi-release transition* to a
|
||||||
|
different behaviour w.r.t. the initial window update frame. Tracked in [[1]],
|
||||||
|
this will change the initial window update to mean "in addition to the default
|
||||||
|
receive window" rather than "the total receive window". This version recognises
|
||||||
|
a temporary flag, that will cause the new meaning. The next version `0.23.0`
|
||||||
|
will also set the flag. Version `0.24.0` will still set the flag but will always
|
||||||
|
implement the new meaning, and (finally) version `0.25.0` will no longer set the
|
||||||
|
flag and always use the additive semantics. If current code uses the default
|
||||||
|
Yamux configuration, all upgrades need to be performed in order because each
|
||||||
|
version is only compatible with its immediate predecessor. Alternatively, if the
|
||||||
|
default configuration is deployed with `lazy_open` set to `true`, one can
|
||||||
|
directly upgrade from version `0.21.0` to `0.25.0` without any intermediate
|
||||||
|
upgrades.
|
||||||
|
|
||||||
- Bump `libp2p-core` dependency.
|
- Bump `libp2p-core` dependency.
|
||||||
|
|
||||||
|
[1]: https://github.com/paritytech/yamux/issues/92
|
||||||
|
|
||||||
# 0.21.0 [2020-08-18]
|
# 0.21.0 [2020-08-18]
|
||||||
|
|
||||||
- Bump `libp2p-core` dependency.
|
- Bump `libp2p-core` dependency.
|
||||||
|
@ -12,6 +12,6 @@ categories = ["network-programming", "asynchronous"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.3.1"
|
futures = "0.3.1"
|
||||||
libp2p-core = { version = "0.22.0", path = "../../core" }
|
libp2p-core = { version = "0.22.0", path = "../../core" }
|
||||||
parking_lot = "0.10"
|
parking_lot = "0.11"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
yamux = "0.4.5"
|
yamux = "0.5.0"
|
||||||
|
Reference in New Issue
Block a user