- Discard
Info
s received from remote peers that contain a public key that doesn't match their peer ID. See PR 5707.
- Make
identify::Config
fields private and add getter functions. See PR 5663.
- Add
hide_listen_addrs
option to prevent leaking (local) listen addresses. See PR 5507.
- Address translation is moved here from
libp2p-core
. See PR 4568
- Add
ConnectionId
inEvent
. See PR 4981.
- Emit
ToSwarm::NewExternalAddrOfPeer
for all external addresses of remote peers. For this work, the address cache must be enabled viaidentify::Config::with_cache_size
. The default is 0, i.e. disabled. See PR 4371.
- Ensure
Multiaddr
handled and returned byBehaviour
are/p2p
terminated. See PR 4596.
- Add
Info
to thelibp2p-identify::Event::Pushed
to report pushed info. See PR 4527 - Remove deprecated
initial_delay
. Identify requests are always sent instantly after the connection has been established. See PR 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. See PR 4721.
- Handle partial push messages. Previously, push messages with partial information were ignored. See PR 4495.
-
Observed addresses (aka. external address candidates) of the local node, reported by a remote node via
libp2p-identify
, are no longer automatically considered confirmed external addresses, in other words they are no longer trusted by default. Instead users need to confirm the reported observed address either manually, or by usinglibp2p-autonat
. In trusted environments users can simply extract observed addresses from alibp2p-identify::Event::Received { info: libp2p_identify::Info { observed_addr }}
and confirm them viaSwarm::add_external_address
. See PR 3954 and PR 4052. -
Remove deprecated
Identify
prefixed symbols. See PR 3698. -
Raise MSRV to 1.65. See PR 3715.
-
Reduce the initial delay before running the identify protocol to 0 and make the option deprecated. See PR 3545.
-
Fix aborting the answering of an identify request in rare situations. See PR 3876.
-
Actively push changes in listen protocols to remote. See PR 3980.
- Do not implicitly dial a peer upon
identify::Behaviour::push
. Previously, we would dial each peer in the provided list. Now, we skip peers that we are not connected to. See PR 3843.
- Migrate from
prost
toquick-protobuf
. This removesprotoc
dependency. See PR 3312.
-
Update to
libp2p-core
v0.39.0
. -
Move I/O from
Behaviour
toHandler
. HandleBehaviour
's Identify and Push requests independently by incoming order, previously Push requests were prioritized. see PR 3208. -
Update to
libp2p-swarm
v0.42.0
. -
Don't close the stream when reading the identify info in
protocol::recv
. See PR 3344.
- Skip invalid multiaddr in
listen_addrs
. See PR 3246.
-
Change default
cache_size
ofConfig
to 100. See PR 2995. -
Update to
prost-codec
v0.3.0
. -
Update to
libp2p-core
v0.38.0
. -
Update to
libp2p-swarm
v0.41.0
. -
Replace
Behaviour
'sNetworkBehaviour
implementioninject_*
methods with the newon_*
methods. See PR 3011. -
Replace
Handler
'sConnectionHandler
implementioninject_*
methods with the newon_*
methods. See PR 3085. -
Update
rust-version
to reflect the actual MSRV: 1.62.0. See PR 3090.
-
Update dependencies.
-
Rename types as per discussion 2174.
Identify
has been renamed toBehaviour
. TheIdentify
prefix has been removed from various types likeIdentifyEvent
. Users should prefer importing the identify protocol as a module (use libp2p::identify;
), and refer to its types viaidentify::
. For example:identify::Behaviour
oridentify::Event
. -
Update to
libp2p-core
v0.37.0
. -
Update to
libp2p-swarm
v0.40.0
.
-
Update to
libp2p-swarm
v0.39.0
. -
Update to
libp2p-core
v0.36.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-swarm
v0.38.0
. -
Expose
PROTOCOL_NAME
andPUSH_PROTOCOL_NAME
. See PR 2734. -
Update to
libp2p-core
v0.35.0
.
-
Update to
libp2p-core
v0.34.0
. -
Update to
libp2p-swarm
v0.37.0
. -
Extend log message on second identify push stream with peer ID.
- Allow at most one inbound identify push stream.
-
Update to
libp2p-core
v0.33.0
. -
Update to
libp2p-swarm
v0.36.0
. -
Expose explicits errors via
UpgradeError
instead of genericio::Error
. See PR 2630.
- Update to
libp2p-swarm
v0.35.0
.
-
Update to
libp2p-core
v0.32.0
. -
Update to
libp2p-swarm
v0.34.0
. -
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
-
Update dependencies.
-
Migrate to Rust edition 2021 (see PR 2339).
-
Use
futures-timer
instead ofwasm-timer
(see PR 2245). -
Filter invalid peers from cache used in
addresses_of_peer
– PR 2338. -
Update dependencies.
-
Make default features of
libp2p-core
optional. PR 2181 -
Update dependencies.
-
Assist in peer discovery by optionally returning reported listen addresses of other peers from
addresses_of_peer
(see PR 2232), disabled by default.
- Update dependencies.
-
Add support for configurable automatic push to connected peers on listen addr changes. Disabled by default. PR 2004
-
Implement the
/ipfs/id/push/1.0.0
protocol. cf. https://github.com/libp2p/specs/tree/master/identify#identifypush PR 1999 -
Emit
IdentifyEvent::Pushed
event after successfully pushing identification information to peer PR 2030.
-
Update
libp2p-swarm
. -
Update dependencies.
- Update dependencies.
- Update
libp2p-swarm
andlibp2p-core
.
- Update
libp2p-swarm
andlibp2p-core
.
- Update dependencies.
- Update
libp2p-swarm
andlibp2p-core
.
- Update
libp2p-swarm
andlibp2p-core
.
- Bump
libp2p-core
andlibp2p-swarm
dependencies.
- Updated dependencies.
- Updated dependencies.