Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

v0.42.0

Choose a tag to compare

@jacobheun jacobheun released this 21 Mar 08:57
· 48 commits to master since this release
45a86af

Features

  • add basic dial queue to avoid many connections to peer (#310) (6a94d9a)
  • update identify to include supported protocols (#311) (46e2509)

BREAKING CHANGES

  • This adds a very basic dial queue peer peer.
    This will prevent multiple, simultaneous dial requests to the same
    peer from creating multiple connections. The requests will be queued
    per peer, and will leverage the same connection when possible.
    The breaking change here is that .dial, will no longer return a
    connection. js-libp2p, circuit relay, and kad-dht, which use .dial
    were not using the returned connection. So while this is a breaking change
    it should not break the existing libp2p stack. If custom applications
    are leveraging the returned connection, they will need to convert to only
    using the connection returned via the callback.

  • chore: dont log priviatized unless it actually happened

  • refactor: only get our addresses for filtering once