You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add basic dial queue to avoid many connections to peer ([#310](https://github.com/libp2p/js-libp2p-switch/issues/310)) ([6a94d9a](https://github.com/libp2p/js-libp2p-switch/commit/6a94d9a))
8
+
* update identify to include supported protocols ([#311](https://github.com/libp2p/js-libp2p-switch/issues/311)) ([46e2509](https://github.com/libp2p/js-libp2p-switch/commit/46e2509))
9
+
10
+
11
+
### BREAKING CHANGES
12
+
13
+
* This adds a very basic dial queue peer peer.
14
+
This will prevent multiple, simultaneous dial requests to the same
15
+
peer from creating multiple connections. The requests will be queued
16
+
per peer, and will leverage the same connection when possible.
17
+
The breaking change here is that `.dial`, will no longer return a
18
+
connection. js-libp2p, circuit relay, and kad-dht, which use `.dial`
19
+
were not using the returned connection. So while this is a breaking change
20
+
it should not break the existing libp2p stack. If custom applications
21
+
are leveraging the returned connection, they will need to convert to only
22
+
using the connection returned via the callback.
23
+
24
+
* chore: dont log priviatized unless it actually happened
25
+
* refactor: only get our addresses for filtering once
0 commit comments