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

Releases: libp2p/js-libp2p-switch

v0.42.3

28 Mar 08:28
57146a0
Compare
Choose a tag to compare

Features

v0.42.2

25 Mar 12:47
1e23eb2
Compare
Choose a tag to compare

Bug Fixes

v0.42.1

21 Mar 12:13
b318e3f
Compare
Choose a tag to compare

Bug Fixes

  • ensure dials always use the latest PeerInfo from the PeerBook (#312) (16f2bc3)

v0.42.0

21 Mar 08:57
45a86af
Compare
Choose a tag to compare

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

v0.41.7

13 Mar 13:21
4216144
Compare
Choose a tag to compare

Bug Fixes

  • peer disconnect event and improve logging performance (#309) (f731cdc)

v0.41.6

06 Mar 10:01
33d49e9
Compare
Choose a tag to compare

Bug Fixes

  • dial in series until we have proper abort support (#306) (ddf622b)
  • import async/setImmediate to avoid webpack errors (#303) (86e0a7a)

v0.41.5

11 Jan 18:37
6fade87
Compare
Choose a tag to compare

Bug Fixes

v0.41.4

20 Dec 15:36
5b498a0
Compare
Choose a tag to compare

Bug Fixes

  • avoid sync callback in async functions (#297) (089835e)

v0.41.3

14 Dec 15:35
1b445cf
Compare
Choose a tag to compare

Bug Fixes

  • improve connection tracking and closing (#291) (aa86307)
  • use retimer to avoid creating so many timers (#289) (f43084b)

v0.41.2

15 Nov 12:38
823c776
Compare
Choose a tag to compare

Bug Fixes

  • dont dial an address that we have (f406dd5)
  • ensure circuit listens last on start (7697281)
  • improve connection closing and error handling (#285) (e757cf6)