0.13.0
- Due to the refactor of
Transportit's no longer required to create a seperate transport for AutoNAT where port reuse is disabled. This information is now passed by the behaviour. See PR 4568. - Introduce the new AutoNATv2 protocol.
It's split into a client and a server part, represented in their respective modules
Features:
- The server now always dials back over a newly allocated port. This more accurately reflects the reachability state for other peers and avoids accidental hole punching.
- The server can now test addresses different from the observed address (i.e., the connection to the server was made through a
p2p-circuit). To mitigate against DDoS attacks, the client has to send more data to the server than the dial-back costs. See PR 5526.
0.12.1
- Use
web-timeinstead ofinstant. See PR 5347.
0.12.0
- Remove
Clone,PartialEqandEqimplementations onEventand its sub-structs. TheEventalso contains errors which are not clonable or comparable. See PR 3914.
0.11.0
- Raise MSRV to 1.65. See PR 3715.
0.10.2
- Store server
PeerIds inHashSetto avoid duplicates and lower memory consumption. See PR 3736.
0.10.1
- Migrate from
prosttoquick-protobuf. This removesprotocdependency. See PR 3312.
0.10.0
Update to
libp2p-corev0.39.0.Require the node's local
PeerIdto be passed into the constructor oflibp2p_autonat::Behaviour. See PR 3153.Update to
libp2p-request-responsev0.24.0.Update to
libp2p-swarmv0.42.0.
0.9.1
- Skip unparsable multiaddr in
DialRequest::from_bytes. See PR 3351.
0.9.0
Update to
libp2p-corev0.38.0.Update to
libp2p-swarmv0.41.0.Update to
libp2p-request-responsev0.23.0.Replace
Behaviour'sNetworkBehaviourimplementioninject_*methods with the newon_*methods. See PR 3011.Update
rust-versionto reflect the actual MSRV: 1.62.0. See PR 3090.
0.8.0
Update to
libp2p-corev0.37.0.Update to
libp2p-swarmv0.40.0.Update to
libp2p-request-responsev0.22.0.
0.7.0
Update to
libp2p-swarmv0.39.0.Update to
libp2p-request-responsev0.21.0.Update to
libp2p-corev0.36.0.
0.6.0
Update prost requirement from 0.10 to 0.11 which no longer installs the protoc Protobuf compiler. Thus you will need protoc installed locally. See PR 2788.
Update to
libp2p-swarmv0.38.0.Update to
libp2p-request-responsev0.20.0.Update to
libp2p-corev0.35.0.
0.5.0
Update to
libp2p-corev0.34.0.Update to
libp2p-swarmv0.37.0.Update to
libp2p-request-responsev0.19.0.
0.4.1
- Export
DEFAULT_PROTOCOL_NAME.
0.4.0
Update to
libp2p-corev0.33.0.Update to
libp2p-swarmv0.36.0.Update to
libp2p-request-responsev0.18.0.Add
Config::only_global_ipsto skip peers that are observed at a private IP-address (see PR 2618).
0.3.0
Update to
libp2p-swarmv0.35.0.Update to
libp2p-request-responsev0.17.0.
0.2.0 [2022-02-22]
Update to
libp2p-corev0.32.0.Update to
libp2p-swarmv0.34.0.Update to
libp2p-request-responsev0.16.0.Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
0.1.0 [2022-01-27]
- Initial release.