Skip to content

Releases: ep2p/kademlia-api

5.1.0 release

30 Dec 14:57
Compare
Choose a tag to compare

What's Changed

  • Add support for pulling data from requester node when doing a store() instead of pushing it to each node.

  • build(deps): bump maven-javadoc-plugin from 3.4.0 to 3.4.1 by @dependabot in #32

  • build(deps): bump slf4j-api from 2.0.3 to 2.0.6 by @dependabot in #43

Full Changelog: 5.0.0-RELEASE...5.1.0-RELEASE

5.0.0 release

22 Dec 10:01
Compare
Choose a tag to compare

Breaking changes:

  • New store and lookup answers support node instead of nodeId.
  • DHTKademliaNode is decorating KademliaNodeAPI.
  • Constructors of DHTKademliaNode has changed.

Minor performance improvements and configurations has been added in this version as well.

Full Changelog: 4.1.18-RELEASE...5.0.0-RELEASE

4.1.18-release

26 Nov 14:28
Compare
Choose a tag to compare

What's new

Cleaning future's from lookup list after they are done.

Full Changelog: 4.1.17-RELEASE...4.1.18-RELEASE

4.1.17-release

25 Nov 17:42
Compare
Choose a tag to compare

What's new

Fixed critical issue with getting blocked behind Future<LookupAnswer>>

Full Changelog: 4.1.16-RELEASE...4.1.17-RELEASE

4.1.16-release

25 Nov 12:57
d824e5f
Compare
Choose a tag to compare

What's new

Fixed critical issue with network consumption. Too many requests would be sent for a lookup of a not-existing key.

Full Changelog: 4.1.15-RELEASE...4.1.16-RELEASE

4.1.15-release

04 Nov 17:21
Compare
Choose a tag to compare

What's new

Adds support to configure Referenced Nodes as a strategy.

// Built-in strategy that returns list of closest node per bucket
node.setReferencedNodesStrategy(ReferencedNodesStrategy.Strategies.CLOSEST_PER_BUCKET.getReferencedNodesStrategy());
// Built-in strategy that returns empty list
node.setReferencedNodesStrategy(ReferencedNodesStrategy.Strategies.EMPTY.getReferencedNodesStrategy());
// Built-in strategy that returns all of the alive nodes
node.setReferencedNodesStrategy(ReferencedNodesStrategy.Strategies.ALL_ALIVE.getReferencedNodesStrategy());

// or implement your own
node.setReferencedNodesStrategy(new ReferencedNodesStrategy() {
    @Override
    public <ID extends Number, C extends ConnectionInfo> List<Node<ID, C>> getReferencedNodes(KademliaNodeAPI<ID, C> kademliaNode) {
        // Your implementations
        return new ArrayList<>();
    }
});

Full Changelog: 4.1.14-RELEASE...4.1.15-RELEASE

4.1.14-release

31 Oct 13:42
Compare
Choose a tag to compare

What's changed

  • Ugh, #39 code has a bug 😢 Bringing back BigInteger support which was removed in previous commits
  • Fixes BigInteger support

Full Changelog: 4.1.12-RELEASE...4.1.14-RELEASE

4.1.12-release

28 Oct 12:45
Compare
Choose a tag to compare

What's changed

  • BigInteger support is dropped (#39)
  • Improved performance in handling results of find requests

Full Changelog: 4.1.11-RELEASE...4.1.12-RELEASE

4.1.11-release

25 Oct 11:22
Compare
Choose a tag to compare

What's Changed

  • Improved code readability. Created DHTStoreService and DHTLookUpService to cleanup DHTKademliaNode implementation
  • Improved serialization of Bucket, RoutingTable and Answer sub classes
  • Cleaned up code and added more comments on what is happening
  • License is not MIT

Full Changelog: 4.1.9-RELEASE...4.1.11-RELEASE

4.1.9-release

24 Oct 16:23
Compare
Choose a tag to compare

What's Changed

  • Routing table and buckets are now actually serializable ... finally 😑
  • Node Interface no longer has last seen getters and setter
  • Other refactors
  • build(deps): bump slf4j-api from 1.7.36 to 2.0.3 by @dependabot in #38
  • build(deps-dev): bump junit-jupiter-engine from 5.8.2 to 5.9.1 by @dependabot in #36
  • build(deps-dev): bump junit-platform-launcher from 1.8.2 to 1.9.1 by @dependabot in #37

Full Changelog: 4.1.8-RELEASE...4.1.9-RELEASE