2022-12-12 12:30:23 +01:00
|
|
|
# 0.43.0 [unreleased]
|
|
|
|
|
2022-12-20 09:52:08 +01:00
|
|
|
- Update to `libp2p-core` `v0.39.0`.
|
|
|
|
|
2022-12-14 11:50:08 +11:00
|
|
|
- Require the node's local `PeerId` to be passed into the constructor of `libp2p_mdns::Behaviour`. See [PR 3153].
|
|
|
|
|
2022-12-12 12:30:23 +01:00
|
|
|
- Update to `libp2p-swarm` `v0.42.0`.
|
|
|
|
|
2023-01-27 05:02:20 +01:00
|
|
|
- Don't expire mDNS records when the last connection was closed.
|
|
|
|
mDNS records will only be expired when the TTL is reached and the DNS record is no longer valid.
|
|
|
|
See [PR 3367].
|
|
|
|
|
2022-12-14 11:50:08 +11:00
|
|
|
[PR 3153]: https://github.com/libp2p/rust-libp2p/pull/3153
|
2023-01-27 05:02:20 +01:00
|
|
|
[PR 3367]: https://github.com/libp2p/rust-libp2p/pull/3367
|
2022-12-14 11:50:08 +11:00
|
|
|
|
2022-11-25 10:37:55 +01:00
|
|
|
# 0.42.0
|
2022-11-02 23:02:21 +11:00
|
|
|
|
|
|
|
- Update to `libp2p-core` `v0.38.0`.
|
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.41.0`.
|
|
|
|
|
2022-11-18 01:12:23 +00:00
|
|
|
- Update to `if-watch` `3.0.0` and both rename `TokioMdns` to `Behaviour` living in `tokio::Behaviour`,
|
|
|
|
and move and rename `Mdns` to `async_io::Behaviour`. See [PR 3096].
|
|
|
|
|
|
|
|
- Remove the remaning `Mdns` prefixes from types as per [discussion 2174].
|
|
|
|
I.e the `Mdns` prefix has been removed from various types like `MdnsEvent`.
|
|
|
|
Users should prefer importing the mdns protocol as a module (`use libp2p::mdns;`),
|
|
|
|
and refer to its types via `mdns::`. For example: `mdns::Behaviour` or `mdns::Event`.
|
|
|
|
|
2022-11-17 09:28:40 +00:00
|
|
|
- Replace `GenMdns`'s `NetworkBehaviour` implemention `inject_*` methods with the new `on_*` methods.
|
|
|
|
See [PR 3011].
|
|
|
|
|
2022-11-14 22:35:18 +00:00
|
|
|
- Use `trust-dns-proto` to parse DNS messages. See [PR 3102].
|
|
|
|
|
2022-11-18 22:04:16 +11:00
|
|
|
- Update `rust-version` to reflect the actual MSRV: 1.62.0. See [PR 3090].
|
|
|
|
|
2022-11-18 01:12:23 +00:00
|
|
|
[discussion 2174]: https://github.com/libp2p/rust-libp2p/discussions/2174
|
|
|
|
[PR 3096]: https://github.com/libp2p/rust-libp2p/pull/3096
|
2022-11-17 09:28:40 +00:00
|
|
|
[PR 3011]: https://github.com/libp2p/rust-libp2p/pull/3011
|
2022-11-14 22:35:18 +00:00
|
|
|
[PR 3102]: https://github.com/libp2p/rust-libp2p/pull/3102
|
2022-11-18 22:04:16 +11:00
|
|
|
[PR 3090]: https://github.com/libp2p/rust-libp2p/pull/3090
|
2022-11-14 22:35:18 +00:00
|
|
|
|
2022-10-14 15:30:16 +01:00
|
|
|
# 0.41.0
|
2022-09-30 01:32:22 +10:00
|
|
|
|
|
|
|
- Remove default features. If you previously depended on `async-io` you need to enable this explicitly now. See [PR 2918].
|
|
|
|
|
|
|
|
- Update to `libp2p-core` `v0.37.0`.
|
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.40.0`.
|
2022-10-04 18:45:39 +11:00
|
|
|
|
|
|
|
- Fix a bug that could cause a delay of ~10s until peers would get discovered when using the tokio runtime. See [PR 2939].
|
|
|
|
|
2022-10-05 01:26:30 +02:00
|
|
|
- Removed the `lazy_static` dependency. See [PR 2977].
|
|
|
|
|
2022-10-05 22:23:50 +02:00
|
|
|
- Update to `if-watch` `v2.0.0` and thus the `async` method `Mdns::new` and `TokioMdns::new` becomes synchronous. See [PR 2978].
|
|
|
|
|
2022-09-30 01:32:22 +10:00
|
|
|
[PR 2918]: https://github.com/libp2p/rust-libp2p/pull/2918
|
2022-10-04 18:45:39 +11:00
|
|
|
[PR 2939]: https://github.com/libp2p/rust-libp2p/pull/2939
|
2022-10-05 01:26:30 +02:00
|
|
|
[PR 2977]: https://github.com/libp2p/rust-libp2p/pull/2977
|
2022-10-05 22:23:50 +02:00
|
|
|
[PR 2978]: https://github.com/libp2p/rust-libp2p/pull/2978
|
2022-09-30 01:32:22 +10:00
|
|
|
|
2022-09-07 09:44:51 +02:00
|
|
|
# 0.40.0
|
2022-08-26 07:08:33 +02:00
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.39.0`.
|
|
|
|
|
2022-09-01 23:53:38 -04:00
|
|
|
- Allow users to choose between async-io and tokio runtime
|
|
|
|
in the mdns protocol implementation. `async-io` is a default
|
|
|
|
feature, with an additional `tokio` feature (see [PR 2748])
|
|
|
|
|
|
|
|
- Fix high CPU usage with Tokio library (see [PR 2748]).
|
|
|
|
|
2022-09-07 09:16:22 +03:00
|
|
|
- Update to `libp2p-core` `v0.36.0`.
|
|
|
|
|
2022-09-01 23:53:38 -04:00
|
|
|
[PR 2748]: https://github.com/libp2p/rust-libp2p/pull/2748
|
|
|
|
|
2022-08-22 05:14:04 +02:00
|
|
|
# 0.39.0
|
2022-07-07 04:20:03 -05:00
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.38.0`.
|
2022-07-19 09:14:00 +02:00
|
|
|
- Update to `if-watch` `v1.1.1`.
|
2022-07-07 04:20:03 -05:00
|
|
|
|
2022-07-18 04:20:11 +01:00
|
|
|
- Update to `libp2p-core` `v0.35.0`.
|
|
|
|
|
2022-07-05 13:09:58 +02:00
|
|
|
# 0.38.0
|
2022-06-23 13:52:11 +02:00
|
|
|
|
|
|
|
- Update to `libp2p-core` `v0.34.0`.
|
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.37.0`.
|
|
|
|
|
2022-05-31 13:12:53 +02:00
|
|
|
# 0.37.0
|
2022-04-06 20:23:16 +02:00
|
|
|
|
|
|
|
- Update to `libp2p-core` `v0.33.0`.
|
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.36.0`.
|
|
|
|
|
2022-04-04 18:27:41 +02:00
|
|
|
# 0.36.0
|
2022-02-28 10:27:58 +01:00
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.35.0`.
|
|
|
|
|
2022-02-22 14:05:19 +01:00
|
|
|
# 0.35.0 [2022-02-22]
|
2022-02-03 16:38:41 +00:00
|
|
|
|
|
|
|
- Update to `libp2p-core` `v0.32.0`.
|
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.34.0`.
|
|
|
|
|
2022-02-09 10:08:28 -05:00
|
|
|
- Merge NetworkBehaviour's inject_\* paired methods (see PR 2445).
|
|
|
|
|
|
|
|
[PR 2445]: https://github.com/libp2p/rust-libp2p/pull/2445
|
|
|
|
|
2022-01-27 11:29:09 +01:00
|
|
|
# 0.34.0 [2022-01-27]
|
2021-11-25 11:15:00 -08:00
|
|
|
|
2021-11-26 10:48:12 -05:00
|
|
|
- Update dependencies.
|
|
|
|
|
2021-11-25 11:15:00 -08:00
|
|
|
- Use a random alphanumeric string instead of the local peer ID for mDNS peer
|
|
|
|
name (see [PR 2311]).
|
|
|
|
|
|
|
|
Note that previous versions of `libp2p-mdns` expect the peer name to be a
|
|
|
|
valid peer ID. Thus they will be unable to discover nodes running this new
|
|
|
|
version of `libp2p-mdns`.
|
|
|
|
|
2021-11-26 09:34:58 -07:00
|
|
|
- Migrate to Rust edition 2021 (see [PR 2339]).
|
|
|
|
|
2021-12-06 16:52:31 +01:00
|
|
|
- Fix generation of peer expiration event and listen on specified IP version (see [PR 2359]).
|
|
|
|
|
2021-12-29 19:02:20 +01:00
|
|
|
- Support multiple interfaces (see [PR 2383]).
|
|
|
|
|
2021-11-26 09:34:58 -07:00
|
|
|
[PR 2339]: https://github.com/libp2p/rust-libp2p/pull/2339
|
|
|
|
|
2021-11-25 11:15:00 -08:00
|
|
|
[PR 2311]: https://github.com/libp2p/rust-libp2p/pull/2311/
|
|
|
|
|
2021-12-06 16:52:31 +01:00
|
|
|
[PR 2359]: https://github.com/libp2p/rust-libp2p/pull/2359
|
|
|
|
|
2021-12-29 19:02:20 +01:00
|
|
|
[PR 2383]: https://github.com/libp2p/rust-libp2p/pull/2383
|
|
|
|
|
2021-11-16 16:39:42 +01:00
|
|
|
# 0.33.0 [2021-11-16]
|
2021-11-15 14:17:23 +01:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2021-11-02 20:40:48 +01:00
|
|
|
# 0.32.0 [2021-11-01]
|
2021-07-22 22:34:13 +02:00
|
|
|
|
2021-08-18 12:08:45 +02:00
|
|
|
- Make default features of `libp2p-core` optional.
|
|
|
|
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
|
|
|
|
|
2021-07-22 22:34:13 +02:00
|
|
|
- Update dependencies.
|
|
|
|
|
2021-08-03 14:55:06 +02:00
|
|
|
- Add support for IPv6. To enable set the multicast address
|
|
|
|
in `MdnsConfig` to `IPV6_MDNS_MULTICAST_ADDRESS`.
|
|
|
|
See [PR 2161] for details.
|
2021-09-07 19:04:57 +02:00
|
|
|
|
|
|
|
- Prevent timers from firing at the same time. See [PR 2212] for details.
|
|
|
|
|
2021-08-03 14:55:06 +02:00
|
|
|
[PR 2161]: https://github.com/libp2p/rust-libp2p/pull/2161/
|
2021-09-07 19:04:57 +02:00
|
|
|
[PR 2212]: https://github.com/libp2p/rust-libp2p/pull/2212/
|
2021-08-03 14:55:06 +02:00
|
|
|
|
2021-07-12 21:24:58 +02:00
|
|
|
# 0.31.0 [2021-07-12]
|
2021-05-27 14:04:33 +02:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2021-05-06 17:08:29 +02:00
|
|
|
# 0.30.2 [2021-05-06]
|
|
|
|
|
|
|
|
- Fix discovered event emission.
|
|
|
|
[PR 2065](https://github.com/libp2p/rust-libp2p/pull/2065)
|
|
|
|
|
2021-04-21 16:07:38 +02:00
|
|
|
# 0.30.1 [2021-04-21]
|
|
|
|
|
|
|
|
- Fix timely discovery of peers after listening on a new address.
|
|
|
|
[PR 2053](https://github.com/libp2p/rust-libp2p/pull/2053/)
|
|
|
|
|
2021-04-13 20:15:15 +02:00
|
|
|
# 0.30.0 [2021-04-13]
|
2021-03-18 14:55:33 +01:00
|
|
|
|
2021-03-23 09:54:04 +01:00
|
|
|
- Derive `Debug` and `Clone` for `MdnsConfig`.
|
|
|
|
|
2021-03-18 14:55:33 +01:00
|
|
|
- Update `libp2p-swarm`.
|
|
|
|
|
2021-03-17 15:28:13 +01:00
|
|
|
# 0.29.0 [2021-03-17]
|
2021-02-25 11:35:52 +01:00
|
|
|
|
2021-03-02 10:18:24 +01:00
|
|
|
- Introduce `MdnsConfig` with configurable TTL of discovered peer
|
|
|
|
records and configurable multicast query interval. The default
|
|
|
|
query interval is increased from 20 seconds to 5 minutes, to
|
|
|
|
significantly reduce bandwidth usage. To ensure timely peer
|
|
|
|
discovery in the majority of cases, a multicast query is
|
|
|
|
initiated whenever a change on a network interface is detected,
|
|
|
|
which includes MDNS initialisation at node startup. If necessary
|
|
|
|
the MDNS query interval can be reduced via the `MdnsConfig`.
|
|
|
|
The `MdnsService` has been removed from the public API, making
|
|
|
|
it compulsory that all uses occur through the `Mdns` `NetworkBehaviour`.
|
|
|
|
An `MdnsConfig` must now be given to `Mdns::new()`.
|
|
|
|
[PR 1977](https://github.com/libp2p/rust-libp2p/pull/1977).
|
|
|
|
|
2021-02-25 11:35:52 +01:00
|
|
|
- Update `libp2p-swarm`.
|
|
|
|
|
2021-02-15 20:06:50 +01:00
|
|
|
# 0.28.1 [2021-02-15]
|
2021-02-15 16:11:30 +01:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2021-01-12 20:33:43 +01:00
|
|
|
# 0.28.0 [2021-01-12]
|
2021-01-12 12:48:37 +01:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2020-12-18 10:03:20 +01:00
|
|
|
# 0.27.0 [2020-12-17]
|
2020-12-15 14:40:39 +01:00
|
|
|
|
|
|
|
- Update `libp2p-swarm` and `libp2p-core`.
|
|
|
|
|
2020-12-08 12:07:20 +01:00
|
|
|
# 0.26.0 [2020-12-08]
|
2020-12-03 13:30:52 +01:00
|
|
|
|
2020-12-08 11:47:35 +01:00
|
|
|
- Create multiple multicast response packets as required to avoid
|
|
|
|
hitting the limit of 9000 bytes per MDNS packet.
|
|
|
|
[PR 1877](https://github.com/libp2p/rust-libp2p/pull/1877).
|
|
|
|
|
2020-12-03 13:30:52 +01:00
|
|
|
- Detect interface changes and join the MDNS multicast
|
|
|
|
group on all interfaces as they become available.
|
|
|
|
[PR 1830](https://github.com/libp2p/rust-libp2p/pull/1830).
|
|
|
|
|
|
|
|
- Replace the use of macros for abstracting over `tokio`
|
|
|
|
and `async-std` with the use of `async-io`. As a result
|
|
|
|
there may now be an additional reactor thread running
|
|
|
|
called `async-io` when using `tokio`, with the futures
|
|
|
|
still being polled by the `tokio` runtime.
|
|
|
|
[PR 1830](https://github.com/libp2p/rust-libp2p/pull/1830).
|
|
|
|
|
2020-11-25 15:30:13 +01:00
|
|
|
# 0.25.0 [2020-11-25]
|
2020-11-17 11:15:20 +01:00
|
|
|
|
|
|
|
- Update `libp2p-swarm` and `libp2p-core`.
|
|
|
|
|
2020-11-09 17:46:07 +01:00
|
|
|
# 0.24.0 [2020-11-09]
|
2020-10-31 01:51:27 +11:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2020-10-16 20:36:47 +02:00
|
|
|
# 0.23.0 [2020-10-16]
|
2020-10-16 16:53:02 +02:00
|
|
|
|
|
|
|
- Update `libp2p-swarm` and `libp2p-core`.
|
2020-10-05 10:11:50 +02:00
|
|
|
|
|
|
|
- Double receive buffer to 4KiB. [PR 1779](https://github.com/libp2p/rust-libp2p/pull/1779/files).
|
|
|
|
|
2020-09-09 12:20:25 +02:00
|
|
|
# 0.22.0 [2020-09-09]
|
2020-08-23 16:57:20 +02:00
|
|
|
|
2020-09-03 12:31:04 +02:00
|
|
|
- Update `libp2p-swarm` and `libp2p-core`.
|
2020-08-23 16:57:20 +02:00
|
|
|
|
2020-08-18 17:04:34 +02:00
|
|
|
# 0.21.0 [2020-08-18]
|
2020-08-04 11:30:09 +02:00
|
|
|
|
|
|
|
- Bump `libp2p-core` and `libp2p-swarm` dependencies.
|
|
|
|
|
2020-08-18 14:51:03 +02:00
|
|
|
- Allow libp2p-mdns to use either async-std or tokio to drive required UDP
|
|
|
|
socket ([PR 1699](https://github.com/libp2p/rust-libp2p/pull/1699)).
|
|
|
|
|
2020-07-01 15:36:20 +02:00
|
|
|
# 0.20.0 [2020-07-01]
|
|
|
|
|
|
|
|
- Updated dependencies.
|
|
|
|
|
2020-06-22 11:41:28 +02:00
|
|
|
# 0.19.2 [2020-06-22]
|
|
|
|
|
2020-07-01 15:36:20 +02:00
|
|
|
- Updated dependencies.
|