diff --git a/libp2p/CHANGELOG.md b/libp2p/CHANGELOG.md index 9e7194e2a69..59bf2e81383 100644 --- a/libp2p/CHANGELOG.md +++ b/libp2p/CHANGELOG.md @@ -15,6 +15,13 @@ - Expose swarm builder phase errors. See [PR 5726](https://github.com/libp2p/rust-libp2p/pull/5726). +- Deprecate `ConnectionHandler::{InboundOpenInfo, OutboundOpenInfo}` associated type. + Previously, users could tag pending sub streams with custom data and retrieve the data + after the substream has been negotiated. + But substreams themselves are completely interchangeable, users should instead track + additional data inside `ConnectionHandler` after negotiation. + See [PR 5242](https://github.com/libp2p/rust-libp2p/pull/5242). + ## 0.54.1 - Update individual crates. diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index f1ad994bd1b..250d347430b 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -12,6 +12,13 @@ - Update default for idle-connection-timeout to 10s. See [PR 4967](https://github.com/libp2p/rust-libp2p/pull/4967). +- Deprecate `ConnectionHandler::{InboundOpenInfo, OutboundOpenInfo}` associated type. + Previously, users could tag pending sub streams with custom data and retrieve the data + after the substream has been negotiated. + But substreams themselves are completely interchangeable, users should instead track + additional data inside `ConnectionHandler` after negotiation. + See [PR 5242](https://github.com/libp2p/rust-libp2p/pull/5242). + ## 0.45.1 - Update `libp2p-swarm-derive` to version `0.35.0`, see [PR 5545]