Skip to content

Releases: libp2p/go-libp2p-kad-dht

v0.14.0

26 Oct 18:43
7724838
Compare
Choose a tag to compare
  • 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

18 Aug 18:22
7a8aeb6
Compare
Choose a tag to compare
  • Add some opentelemetry tracing into the fullrt dht client #734
  • Codecov removed #742
  • Extract validation logic from the protocol messenger to enable easier reuse #741

Release v0.13.0

28 Jul 06:06
d2c9a7c
Compare
Choose a tag to compare
  • 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

18 Jun 16:11
6fff2a3
Compare
Choose a tag to compare
  • Reduced CPU usage by the FullRT DHT client during bulk providing #720
  • Updated CI and fixed some linter errors (#712 , #721)

v0.12.1

27 May 17:39
301a6e4
Compare
Choose a tag to compare

Fixed some bugs in the FullRT DHT client #719

v0.12.0

14 May 07:51
eac1b5e
Compare
Choose a tag to compare
  • 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

v0.11.1

09 Dec 01:02
09d923f
Compare
Choose a tag to compare

Fixed bug when initializing the DHT and already connected to DHT servers #698

v0.11.0

09 Dec 01:00
v0.11.0
7db4172
Compare
Choose a tag to compare
  • Update to go-libp2p 0.12 #693
  • Bootstrap on startup #694

v0.10.0

02 Sep 20:56
Compare
Choose a tag to compare
  • 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

v0.9.0

26 Aug 01:11
57a258f
Compare
Choose a tag to compare
  • 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)
  • 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