From 74e315719cb4f934ba9b7052b8bc5e565dda3599 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Sun, 5 Nov 2023 08:45:26 +0100 Subject: [PATCH] chore: prepare v0.53.0 Pull-Request: #4796. --- core/CHANGELOG.md | 2 +- libp2p/CHANGELOG.md | 2 +- misc/allow-block-list/CHANGELOG.md | 4 ++-- misc/connection-limits/CHANGELOG.md | 2 +- misc/futures-bounded/CHANGELOG.md | 2 +- misc/memory-connection-limits/CHANGELOG.md | 2 +- misc/metrics/CHANGELOG.md | 2 +- muxers/mplex/CHANGELOG.md | 4 ++-- muxers/yamux/CHANGELOG.md | 2 +- protocols/autonat/CHANGELOG.md | 4 ++-- protocols/dcutr/CHANGELOG.md | 6 +++--- protocols/floodsub/CHANGELOG.md | 2 +- protocols/gossipsub/CHANGELOG.md | 2 +- protocols/identify/CHANGELOG.md | 4 ++-- protocols/kad/CHANGELOG.md | 4 ++-- protocols/mdns/CHANGELOG.md | 6 +++--- protocols/perf/CHANGELOG.md | 2 +- protocols/ping/CHANGELOG.md | 2 +- protocols/relay/CHANGELOG.md | 6 +++--- protocols/rendezvous/CHANGELOG.md | 2 +- protocols/request-response/CHANGELOG.md | 2 +- protocols/upnp/CHANGELOG.md | 2 +- swarm-derive/CHANGELOG.md | 2 +- swarm-test/CHANGELOG.md | 4 ++-- swarm/CHANGELOG.md | 2 +- transports/dns/CHANGELOG.md | 4 ++-- transports/noise/CHANGELOG.md | 2 +- transports/plaintext/CHANGELOG.md | 2 +- transports/pnet/CHANGELOG.md | 2 +- transports/quic/CHANGELOG.md | 2 +- transports/tcp/CHANGELOG.md | 2 +- transports/tls/CHANGELOG.md | 2 +- transports/uds/CHANGELOG.md | 4 ++-- transports/websocket-websys/CHANGELOG.md | 2 +- transports/websocket/CHANGELOG.md | 2 +- transports/webtransport-websys/CHANGELOG.md | 2 +- 36 files changed, 50 insertions(+), 50 deletions(-) diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index da6f81c139e..6dda895c70a 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.41.0 - unreleased +## 0.41.0 - Remove blanket-impl of `{In,Out}boundUpgrade` for `{In,Out}boundConnectionUpgrade`. See [PR 4695](https://github.com/libp2p/rust-libp2p/pull/4695). diff --git a/libp2p/CHANGELOG.md b/libp2p/CHANGELOG.md index 636d0622256..1c325215778 100644 --- a/libp2p/CHANGELOG.md +++ b/libp2p/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.53.0 - unreleased +## 0.53.0 - Raise MSRV to 1.73. See [PR 4692](https://github.com/libp2p/rust-libp2p/pull/4692). diff --git a/misc/allow-block-list/CHANGELOG.md b/misc/allow-block-list/CHANGELOG.md index d9b8e0c6de1..7778e924886 100644 --- a/misc/allow-block-list/CHANGELOG.md +++ b/misc/allow-block-list/CHANGELOG.md @@ -1,7 +1,7 @@ -## 0.3.0 - unreleased +## 0.3.0 -## 0.2.0 +## 0.2.0 - Raise MSRV to 1.65. See [PR 3715]. diff --git a/misc/connection-limits/CHANGELOG.md b/misc/connection-limits/CHANGELOG.md index 36884867b97..a5b68a6f51b 100644 --- a/misc/connection-limits/CHANGELOG.md +++ b/misc/connection-limits/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.3.0 - unreleased +## 0.3.0 ## 0.2.1 diff --git a/misc/futures-bounded/CHANGELOG.md b/misc/futures-bounded/CHANGELOG.md index 9801c9c1498..6e3b720fe4c 100644 --- a/misc/futures-bounded/CHANGELOG.md +++ b/misc/futures-bounded/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.2.1 - unreleased +## 0.2.1 - Add `.len()` getter to `FuturesMap`, `FuturesSet`, `StreamMap` and `StreamSet`. See [PR 4745](https://github.com/libp2p/rust-lib2pp/pulls/4745). diff --git a/misc/memory-connection-limits/CHANGELOG.md b/misc/memory-connection-limits/CHANGELOG.md index 32d9c8bf59b..fc598872d50 100644 --- a/misc/memory-connection-limits/CHANGELOG.md +++ b/misc/memory-connection-limits/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.2.0 - unreleased +## 0.2.0 ## 0.1.0 diff --git a/misc/metrics/CHANGELOG.md b/misc/metrics/CHANGELOG.md index acad2043fc8..482cb6b6e0a 100644 --- a/misc/metrics/CHANGELOG.md +++ b/misc/metrics/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.14.0 - unreleased +## 0.14.0 - Add metrics for `SwarmEvent::{NewExternalAddrCandidate,ExternalAddrConfirmed,ExternalAddrExpired}`. See [PR 4721](https://github.com/libp2p/rust-libp2p/pull/4721). diff --git a/muxers/mplex/CHANGELOG.md b/muxers/mplex/CHANGELOG.md index 1e50042e08a..48ab616e131 100644 --- a/muxers/mplex/CHANGELOG.md +++ b/muxers/mplex/CHANGELOG.md @@ -1,9 +1,9 @@ -## 0.41.0 - unreleased +## 0.41.0 - Migrate to `{In,Out}boundConnectionUpgrade` traits. See [PR 4695](https://github.com/libp2p/rust-libp2p/pull/4695). -## 0.40.0 +## 0.40.0 - Raise MSRV to 1.65. See [PR 3715]. diff --git a/muxers/yamux/CHANGELOG.md b/muxers/yamux/CHANGELOG.md index d9925596bad..a2983b31572 100644 --- a/muxers/yamux/CHANGELOG.md +++ b/muxers/yamux/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.45.0 - unreleased +## 0.45.0 - Migrate to `{In,Out}boundConnectionUpgrade` traits. See [PR 4695](https://github.com/libp2p/rust-libp2p/pull/4695). diff --git a/protocols/autonat/CHANGELOG.md b/protocols/autonat/CHANGELOG.md index 2b14598bd3e..1259dd01fd4 100644 --- a/protocols/autonat/CHANGELOG.md +++ b/protocols/autonat/CHANGELOG.md @@ -1,10 +1,10 @@ -## 0.12.0 - unreleased +## 0.12.0 - Remove `Clone`, `PartialEq` and `Eq` implementations on `Event` and its sub-structs. The `Event` also contains errors which are not clonable or comparable. See [PR 3914](https://github.com/libp2p/rust-libp2p/pull/3914). -## 0.11.0 +## 0.11.0 - Raise MSRV to 1.65. See [PR 3715]. diff --git a/protocols/dcutr/CHANGELOG.md b/protocols/dcutr/CHANGELOG.md index cb84020ec5f..d3857373658 100644 --- a/protocols/dcutr/CHANGELOG.md +++ b/protocols/dcutr/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.11.0 - unreleased +## 0.11.0 - Add `ConnectionId` to `Event::DirectConnectionUpgradeSucceeded` and `Event::DirectConnectionUpgradeFailed`. See [PR 4558](https://github.com/libp2p/rust-libp2p/pull/4558). @@ -7,9 +7,9 @@ See [PR 4624](https://github.com/libp2p/rust-libp2p/pull/4624). - Simplify public API. We now only emit a single event: whether the hole-punch was successful or not. - See [PR XXXX](https://github.com/libp2p/rust-libp2p/pull/XXXX). + See [PR 4749](https://github.com/libp2p/rust-libp2p/pull/4749). -## 0.10.0 +## 0.10.0 - Raise MSRV to 1.65. See [PR 3715]. diff --git a/protocols/floodsub/CHANGELOG.md b/protocols/floodsub/CHANGELOG.md index 3891a09f4d4..8e3cb70ddf1 100644 --- a/protocols/floodsub/CHANGELOG.md +++ b/protocols/floodsub/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.44.0 - unreleased +## 0.44.0 - Change publish to require `data: impl Into` to internally avoid any costly cloning / allocation. See [PR 4754](https://github.com/libp2p/rust-libp2p/pull/4754). diff --git a/protocols/gossipsub/CHANGELOG.md b/protocols/gossipsub/CHANGELOG.md index b86ec4de6d4..a9dac438223 100644 --- a/protocols/gossipsub/CHANGELOG.md +++ b/protocols/gossipsub/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.46.0 - unreleased +## 0.46.0 - Remove `fast_message_id_fn` mechanism from `Config`. See [PR 4285](https://github.com/libp2p/rust-libp2p/pull/4285). diff --git a/protocols/identify/CHANGELOG.md b/protocols/identify/CHANGELOG.md index 960ed530682..9ee8565b254 100644 --- a/protocols/identify/CHANGELOG.md +++ b/protocols/identify/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.44.0 - unreleased +## 0.44.0 - Add `Info` to the `libp2p-identify::Event::Pushed` to report pushed info. See [PR 4527](https://github.com/libp2p/rust-libp2p/pull/4527) @@ -7,7 +7,7 @@ See [PR 4735](https://github.com/libp2p/rust-libp2p/pull/4735) - Don't repeatedly report the same observed address as a `NewExternalAddrCandidate`. Instead, only report each observed address once per connection. - This allows users to probabilistically deem an address as external if it gets reported as a candidate repeatedly. + This allows users to probabilistically deem an address as external if it gets reported as a candidate repeatedly. See [PR 4721](https://github.com/libp2p/rust-libp2p/pull/4721). ## 0.43.1 diff --git a/protocols/kad/CHANGELOG.md b/protocols/kad/CHANGELOG.md index d2b92195ab3..842204cbef2 100644 --- a/protocols/kad/CHANGELOG.md +++ b/protocols/kad/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.45.0 - unreleased +## 0.45.0 - Remove deprecated `kad::Config::set_connection_idle_timeout` in favor of `SwarmBuilder::idle_connection_timeout`. See [PR 4659](https://github.com/libp2p/rust-libp2p/pull/4659). @@ -10,7 +10,7 @@ See [PR 4698](https://github.com/libp2p/rust-libp2p/pull/4698). - Remove previously deprecated type-aliases. Users should follow the convention of importing the `libp2p::kad` module and referring to symbols as `kad::Behaviour` etc. - See [PR 4733](https://github.com/libp2p/rust-libp2p/pull/4733). + See [PR 4733](https://github.com/libp2p/rust-libp2p/pull/4733). ## 0.44.6 diff --git a/protocols/mdns/CHANGELOG.md b/protocols/mdns/CHANGELOG.md index 060fac8c51c..29b0fbcbb9c 100644 --- a/protocols/mdns/CHANGELOG.md +++ b/protocols/mdns/CHANGELOG.md @@ -1,13 +1,13 @@ -## 0.45.0 - unreleased +## 0.45.0 - Don't perform IO in `Behaviour::poll`. See [PR 4623](https://github.com/libp2p/rust-libp2p/pull/4623). -## 0.44.0 +## 0.44.0 - Change `mdns::Event` to hold `Vec` and remove `DiscoveredAddrsIter` and `ExpiredAddrsIter`. See [PR 3621]. - + - Raise MSRV to 1.65. See [PR 3715]. - Remove deprecated `Mdns` prefixed items. See [PR 3699]. diff --git a/protocols/perf/CHANGELOG.md b/protocols/perf/CHANGELOG.md index 6976a89887b..4e448d7f44a 100644 --- a/protocols/perf/CHANGELOG.md +++ b/protocols/perf/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.3.0 - unreleased +## 0.3.0 - Continuously measure on single connection (iperf-style). See https://github.com/libp2p/test-plans/issues/261 for high level overview. diff --git a/protocols/ping/CHANGELOG.md b/protocols/ping/CHANGELOG.md index b94b4581a6a..33e0139b996 100644 --- a/protocols/ping/CHANGELOG.md +++ b/protocols/ping/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.44.0 - unreleased +## 0.44.0 ## 0.43.1 diff --git a/protocols/relay/CHANGELOG.md b/protocols/relay/CHANGELOG.md index 200cc4bc18d..8c1198f9974 100644 --- a/protocols/relay/CHANGELOG.md +++ b/protocols/relay/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.17.0 - unreleased +## 0.17.0 - Don't close connections on protocol failures within the relay-server. To achieve this, error handling was restructured: @@ -10,7 +10,7 @@ - Fix a rare race condition when making a reservation on a relay that could lead to a failed reservation. See [PR 4747](https://github.com/libp2p/rust-lib2pp/pulls/4747). - Propagate errors of relay client to the listener / dialer. - A failed reservation will now appear as `SwarmEvent::ListenerClosed` with the `ListenerId` of the corresponding `Swarm::listen_on` call. + A failed reservation will now appear as `SwarmEvent::ListenerClosed` with the `ListenerId` of the corresponding `Swarm::listen_on` call. A failed circuit request will now appear as `SwarmEvent::OutgoingConnectionError` with the `ConnectionId` of the corresponding `Swarm::dial` call. Lastly, a failed reservation or circuit request will **no longer** close the underlying relay connection. As a result, we remove the following enum variants: @@ -18,7 +18,7 @@ - `relay::client::Event::OutboundCircuitReqFailed` - `relay::client::Event::InboundCircuitReqDenied` - `relay::client::Event::InboundCircuitReqDenyFailed` - + See [PR 4745](https://github.com/libp2p/rust-lib2pp/pulls/4745). ## 0.16.2 diff --git a/protocols/rendezvous/CHANGELOG.md b/protocols/rendezvous/CHANGELOG.md index 7b75b35ae9c..e60699da734 100644 --- a/protocols/rendezvous/CHANGELOG.md +++ b/protocols/rendezvous/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.14.0 - unreleased +## 0.14.0 ## 0.13.1 diff --git a/protocols/request-response/CHANGELOG.md b/protocols/request-response/CHANGELOG.md index 138401c2f50..30fc700da3c 100644 --- a/protocols/request-response/CHANGELOG.md +++ b/protocols/request-response/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.26.0 - unreleased +## 0.26.0 - Remove `request_response::Config::set_connection_keep_alive` in favor of `SwarmBuilder::idle_connection_timeout`. See [PR 4679](https://github.com/libp2p/rust-libp2p/pull/4679). diff --git a/protocols/upnp/CHANGELOG.md b/protocols/upnp/CHANGELOG.md index 75aeaf64d6e..806ed2e11d5 100644 --- a/protocols/upnp/CHANGELOG.md +++ b/protocols/upnp/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.2.0 - unreleased +## 0.2.0 ## 0.1.1 diff --git a/swarm-derive/CHANGELOG.md b/swarm-derive/CHANGELOG.md index 3ed7b9931df..08adba00cdb 100644 --- a/swarm-derive/CHANGELOG.md +++ b/swarm-derive/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.34.0 - unreleased +## 0.34.0 - Adapt to interface changes in `libp2p-swarm`. See [PR 4706](https://github.com/libp2p/rust-libp2p/pull/4076). diff --git a/swarm-test/CHANGELOG.md b/swarm-test/CHANGELOG.md index 341b3d6e01f..95223e60272 100644 --- a/swarm-test/CHANGELOG.md +++ b/swarm-test/CHANGELOG.md @@ -1,7 +1,7 @@ -## 0.3.0 - unreleased +## 0.3.0 -## 0.2.0 +## 0.2.0 - Raise MSRV to 1.65. See [PR 3715]. diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 979f056a425..48cafee6ced 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.44.0 - unreleased +## 0.44.0 - Add `#[non_exhaustive]` to `FromSwarm`, `ToSwarm`, `SwarmEvent`, `ConnectionHandlerEvent`, `ConnectionEvent`. See [PR 4581](https://github.com/libp2p/rust-libp2p/pull/4581). diff --git a/transports/dns/CHANGELOG.md b/transports/dns/CHANGELOG.md index 734e7f08740..6906cc972d6 100644 --- a/transports/dns/CHANGELOG.md +++ b/transports/dns/CHANGELOG.md @@ -1,9 +1,9 @@ -## 0.41.0 - unreleased +## 0.41.0 - Make `tokio::Transport::custom` and `async_std::Transport::custom` constructors infallible. See [PR 4464](https://github.com/libp2p/rust-libp2p/pull/4464). - Remove deprecated type-aliases. - See [PR 4739](https://github.com/libp2p/rust-libp2p/pull/4739). + See [PR 4739](https://github.com/libp2p/rust-libp2p/pull/4739). - Migrate to the `hickory-dns` project which has rebranded from `trust-dns`. We also remove the `tokio-dns-over-rustls` and `tokio-dns-over-https-rustls` features. Users should activate these features themselves on `hickory-resolver` if so desired. diff --git a/transports/noise/CHANGELOG.md b/transports/noise/CHANGELOG.md index e53d3a1077e..78effb673d2 100644 --- a/transports/noise/CHANGELOG.md +++ b/transports/noise/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.44.0 - unreleased +## 0.44.0 - Migrate to `{In,Out}boundConnectionUpgrade` traits. See [PR 4695](https://github.com/libp2p/rust-libp2p/pull/4695). diff --git a/transports/plaintext/CHANGELOG.md b/transports/plaintext/CHANGELOG.md index d13b355339b..42b53d12a88 100644 --- a/transports/plaintext/CHANGELOG.md +++ b/transports/plaintext/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.41.0 - unreleased +## 0.41.0 - Migrate to `{In,Out}boundConnectionUpgrade` traits. See [PR 4695](https://github.com/libp2p/rust-libp2p/pull/4695). diff --git a/transports/pnet/CHANGELOG.md b/transports/pnet/CHANGELOG.md index 7111b1039dc..e6c3d1974dc 100644 --- a/transports/pnet/CHANGELOG.md +++ b/transports/pnet/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.24.0 - unreleased +## 0.24.0 ## 0.23.1 diff --git a/transports/quic/CHANGELOG.md b/transports/quic/CHANGELOG.md index bb106fcf170..49438fa7ebb 100644 --- a/transports/quic/CHANGELOG.md +++ b/transports/quic/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.10.0 - unreleased +## 0.10.0 - Improve hole-punch timing. This should improve success rates for hole-punching QUIC connections. diff --git a/transports/tcp/CHANGELOG.md b/transports/tcp/CHANGELOG.md index 23293f09252..2bde64056cb 100644 --- a/transports/tcp/CHANGELOG.md +++ b/transports/tcp/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.41.0 - unreleased +## 0.41.0 ## 0.40.1 diff --git a/transports/tls/CHANGELOG.md b/transports/tls/CHANGELOG.md index 04793c719f0..83f72286559 100644 --- a/transports/tls/CHANGELOG.md +++ b/transports/tls/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.3.0 - unreleased +## 0.3.0 - Migrate to `{In,Out}boundConnectionUpgrade` traits. See [PR 4695](https://github.com/libp2p/rust-libp2p/pull/4695). diff --git a/transports/uds/CHANGELOG.md b/transports/uds/CHANGELOG.md index 10610de17b6..aad61d21547 100644 --- a/transports/uds/CHANGELOG.md +++ b/transports/uds/CHANGELOG.md @@ -1,7 +1,7 @@ -## 0.40.0 - unreleased +## 0.40.0 -## 0.39.0 +## 0.39.0 - Raise MSRV to 1.65. See [PR 3715]. diff --git a/transports/websocket-websys/CHANGELOG.md b/transports/websocket-websys/CHANGELOG.md index 71fb0726535..17c253cb80a 100644 --- a/transports/websocket-websys/CHANGELOG.md +++ b/transports/websocket-websys/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.3.0 - unreleased +## 0.3.0 ## 0.2.0 diff --git a/transports/websocket/CHANGELOG.md b/transports/websocket/CHANGELOG.md index 87c8f519d5d..192b1fa094e 100644 --- a/transports/websocket/CHANGELOG.md +++ b/transports/websocket/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.43.0 - unreleased +## 0.43.0 ## 0.42.1 diff --git a/transports/webtransport-websys/CHANGELOG.md b/transports/webtransport-websys/CHANGELOG.md index 358f709cf86..b368a943395 100644 --- a/transports/webtransport-websys/CHANGELOG.md +++ b/transports/webtransport-websys/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.2.0 - unreleased +## 0.2.0 ## 0.1.0