Releases: libp2p/go-libp2p-kad-dht
Releases · libp2p/go-libp2p-kad-dht
v0.14.0
- Disallow GetPublicKey when DisableValues is passed by @aschmahmann in #604
- Update CI config files by @web3-bot in #743
- Make compatible with go-libp2p 0.15 by @Stebalien in #747
- Introduces
ProviderStore
interface for custom provider record sources. This new interface enables provider sources to supply address information in addition to peer id information by @petar in #751
Full Changelog: v0.13.1...v0.14.0
v0.13.1
Release v0.13.0
- Update to go-libp2p 0.14
- Remove GetValues (it didn't do what you think it did).
- Improve peer usefulness metrics.
- Avoid blocking when calling RefreshRoutingTable
- Allow passing a function to determine bootstrap peers.
v0.12.2
v0.12.1
v0.12.0
- Extracted the protocol messaging functionality from the DHT itself to enable reuse #659
- Fixed FindPeer queries not working if the peer would be excluded by a query filter #711
- Added an experimental basic crawler #663
- Added an experimental alternative DHT client #709
Breaking Changes:
- The signature of the filter functions (query and routing table filters) has been changed to allow reuse across DHT client implementations
- Note: The API area here is still being explored and may change in the future
- The signature of
GetClosestPeers
has been changed to return a slice of peers instead of a channel- This has been a long standing complaint since
GetClosestPeers
cannot return until the query has completed anyway and so using a channel is incorrect and an added source of complexity
- This has been a long standing complaint since
v0.11.1
v0.11.0
v0.10.0
- Removed the
/kad/2.0.0
protocol ID as it's not being used currently and we'd like to avoid potential confusion. It can be re-added once we have a protocol breaking DHT change (similarly removed the V1CompatMode option since everything is only v1) - Added a V1ProtocolOverride function to be used by existing networks that do not have protocol IDs of the form
/app/kad/1.0.0
new networks SHOULD NOT use this function.- As DHT protocol versions are bumped in the future expect that we will not be adding override functions and that protocol IDs will look like
/app/kad/2.0.0
- As DHT protocol versions are bumped in the future expect that we will not be adding override functions and that protocol IDs will look like
v0.9.0
- Reduced routing table churn #668
- We now lock peers into the routing table once they enter the routing table unless they are:
- Found in the early bootstrapping stages (in which case they are added on a probationary basis)
- They fail to respond to a query from us (in which case they are evicted)
- We now lock peers into the routing table once they enter the routing table unless they are:
- Added peer diversity to the routing table #658
- Allows us to restrict the routing table to only hold a limited number of peers with particular network attributes (e.g. IP address range, or ASN)
- Allow passing custom dual-dht options #671, #688
- Fixed key log encoding, now outputs keys in base32 encoded multibase #682
- Updated dependencies #689