2022-12-12 12:30:23 +01:00
|
|
|
# 0.42.0 [unreleased]
|
|
|
|
|
2022-12-20 09:52:08 +01:00
|
|
|
- Update to `libp2p-core` `v0.39.0`.
|
|
|
|
|
2022-12-12 12:30:23 +01:00
|
|
|
- Update to `libp2p-swarm` `v0.42.0`.
|
|
|
|
|
2022-11-25 10:37:55 +01:00
|
|
|
# 0.41.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-17 09:28:40 +00:00
|
|
|
- Replace `Behaviour`'s `NetworkBehaviour` implemention `inject_*` methods with the new `on_*` methods.
|
|
|
|
See [PR 3011].
|
|
|
|
|
2022-11-17 17:19:36 +00:00
|
|
|
- Replace `Handler`'s `ConnectionHandler` implemention `inject_*` methods with the new `on_*` methods.
|
|
|
|
See [PR 3085].
|
|
|
|
|
2022-11-18 22:04:16 +11:00
|
|
|
- Update `rust-version` to reflect the actual MSRV: 1.62.0. See [PR 3090].
|
|
|
|
|
2022-11-17 17:19:36 +00:00
|
|
|
[PR 3085]: https://github.com/libp2p/rust-libp2p/pull/3085
|
2022-11-17 09:28:40 +00:00
|
|
|
[PR 3011]: https://github.com/libp2p/rust-libp2p/pull/3011
|
2022-11-18 22:04:16 +11:00
|
|
|
[PR 3090]: https://github.com/libp2p/rust-libp2p/pull/3090
|
2022-11-17 09:28:40 +00:00
|
|
|
|
2022-10-14 15:30:16 +01:00
|
|
|
# 0.40.0
|
2022-09-22 12:48:32 +04:00
|
|
|
|
|
|
|
- Bump rand to 0.8 and quickcheck to 1. See [PR 2857].
|
2022-10-01 00:19:34 +10:00
|
|
|
- Deprecate types with `Ping` prefix. Prefer importing them via the `ping` namespace, i.e. `libp2p::ping::Event` instead
|
|
|
|
of `libp2p::ping::PingEvent`. See [PR 2937].
|
2022-09-22 12:48:32 +04:00
|
|
|
|
2022-09-30 01:32:22 +10:00
|
|
|
- Update to `libp2p-core` `v0.37.0`.
|
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.40.0`.
|
|
|
|
|
2022-10-06 03:50:11 +11:00
|
|
|
- Deprecate `Config::with_keep_alive`. See [PR 2859].
|
|
|
|
|
2022-09-22 12:48:32 +04:00
|
|
|
[PR 2857]: https://github.com/libp2p/rust-libp2p/pull/2857
|
2022-10-01 00:19:34 +10:00
|
|
|
[PR 2937]: https://github.com/libp2p/rust-libp2p/pull/2937
|
2022-10-06 03:50:11 +11:00
|
|
|
[PR 2859]: https://github.com/libp2p/rust-libp2p/pull/2859/
|
2022-09-22 12:48:32 +04:00
|
|
|
|
2022-09-07 09:44:51 +02:00
|
|
|
# 0.39.0
|
2022-08-26 07:08:33 +02:00
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.39.0`.
|
|
|
|
|
2022-09-07 09:16:22 +03:00
|
|
|
- Update to `libp2p-core` `v0.36.0`.
|
|
|
|
|
2022-08-22 05:14:04 +02:00
|
|
|
# 0.38.0
|
2022-07-07 04:20:03 -05:00
|
|
|
|
|
|
|
- Update to `libp2p-swarm` `v0.38.0`.
|
|
|
|
|
2022-07-15 09:16:03 +02:00
|
|
|
- Expose `PROTOCOL_NAME`. See [PR 2734].
|
|
|
|
|
2022-07-18 04:20:11 +01:00
|
|
|
- Update to `libp2p-core` `v0.35.0`.
|
|
|
|
|
2022-07-15 09:16:03 +02:00
|
|
|
[PR 2734]: https://github.com/libp2p/rust-libp2p/pull/2734/
|
|
|
|
|
2022-07-05 13:09:58 +02:00
|
|
|
# 0.37.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.36.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.35.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.34.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.33.0 [2022-01-27]
|
2021-11-26 10:48:12 -05:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2021-11-26 09:34:58 -07:00
|
|
|
- Migrate to Rust edition 2021 (see [PR 2339]).
|
|
|
|
|
|
|
|
[PR 2339]: https://github.com/libp2p/rust-libp2p/pull/2339
|
|
|
|
|
2021-11-16 16:39:42 +01:00
|
|
|
# 0.32.0 [2021-11-16]
|
2021-10-30 12:41:30 +02:00
|
|
|
|
|
|
|
- Use `instant` and `futures-timer` instead of `wasm-timer` (see [PR 2245]).
|
|
|
|
|
2021-11-15 14:17:23 +01:00
|
|
|
- Update dependencies.
|
|
|
|
|
2021-10-30 12:41:30 +02:00
|
|
|
[PR 2245]: https://github.com/libp2p/rust-libp2p/pull/2245
|
|
|
|
|
2021-11-02 20:40:48 +01:00
|
|
|
# 0.31.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-07-31 06:21:21 +10:00
|
|
|
- Don't close connection if ping protocol is unsupported by remote.
|
|
|
|
Previously, a failed protocol negotation for ping caused a force close of the connection.
|
|
|
|
As a result, all nodes in a network had to support ping.
|
|
|
|
To allow networks where some nodes don't support ping, we now emit
|
|
|
|
`PingFailure::Unsupported` once for every connection on which ping is not supported.
|
|
|
|
|
|
|
|
In case you want to stick with the old behavior, you need to close the connection
|
|
|
|
manually on `PingFailure::Unsupported`.
|
|
|
|
|
|
|
|
Fixes [#2109](https://github.com/libp2p/rust-libp2p/issues/2109). Also see [PR 2149].
|
|
|
|
|
|
|
|
[PR 2149]: https://github.com/libp2p/rust-libp2p/pull/2149/
|
|
|
|
|
2021-09-07 00:10:48 +10:00
|
|
|
- Rename types as per [discussion 2174].
|
|
|
|
`Ping` has been renamed to `Behaviour`.
|
|
|
|
The `Ping` prefix has been removed from various types like `PingEvent`.
|
|
|
|
Users should prefer importing the ping protocol as a module (`use libp2p::ping;`),
|
|
|
|
and refer to its types via `ping::`. For example: `ping::Behaviour` or `ping::Event`.
|
|
|
|
|
|
|
|
[discussion 2174]: https://github.com/libp2p/rust-libp2p/discussions/2174
|
|
|
|
|
2021-07-12 21:24:58 +02:00
|
|
|
# 0.30.0 [2021-07-12]
|
2021-05-27 14:04:33 +02:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2021-04-13 20:15:15 +02:00
|
|
|
# 0.29.0 [2021-04-13]
|
2021-03-18 14:55:33 +01:00
|
|
|
|
|
|
|
- Update `libp2p-swarm`.
|
|
|
|
|
2021-03-17 15:28:13 +01:00
|
|
|
# 0.28.0 [2021-03-17]
|
2021-02-25 11:35:52 +01:00
|
|
|
|
|
|
|
- Update `libp2p-swarm`.
|
|
|
|
|
2021-01-12 20:33:43 +01:00
|
|
|
# 0.27.0 [2021-01-12]
|
2021-01-12 12:48:37 +01:00
|
|
|
|
|
|
|
- Update dependencies.
|
|
|
|
|
2020-12-18 10:03:20 +01:00
|
|
|
# 0.26.0 [2020-12-17]
|
2020-12-15 14:40:39 +01:00
|
|
|
|
|
|
|
- Update `libp2p-swarm` and `libp2p-core`.
|
|
|
|
|
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-09-28 10:57:02 +02:00
|
|
|
|
|
|
|
- Ensure the outbound ping is flushed before awaiting
|
|
|
|
the response. Otherwise the behaviour depends on
|
|
|
|
implementation details of the stream muxer used.
|
|
|
|
The current behaviour resulted in stalls with Mplex.
|
|
|
|
|
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
|
|
|
|
2020-08-10 12:54:55 +02:00
|
|
|
- Refactor the ping protocol for conformity by (re)using
|
|
|
|
a single substream for outbound pings, addressing
|
|
|
|
[#1601](https://github.com/libp2p/rust-libp2p/issues/1601).
|
|
|
|
|
2020-08-04 11:30:09 +02:00
|
|
|
- Bump `libp2p-core` and `libp2p-swarm` dependencies.
|
|
|
|
|
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.3 [2020-06-22]
|
|
|
|
|
2020-07-01 15:36:20 +02:00
|
|
|
- Updated dependencies.
|
2020-06-22 11:41:28 +02:00
|
|
|
|
2020-06-18 17:02:23 +02:00
|
|
|
# 0.19.2 [2020-06-18]
|
|
|
|
|
|
|
|
- Close substream in inbound upgrade
|
|
|
|
[PR 1606](https://github.com/libp2p/rust-libp2p/pull/1606).
|