Skip to content

Commit 45a86af

Browse files
committed
chore: release version v0.42.0
1 parent 485ff7f commit 45a86af

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
<a name="0.42.0"></a>
2+
# [0.42.0](https://github.com/libp2p/js-libp2p-switch/compare/v0.41.7...v0.42.0) (2019-03-21)
3+
4+
5+
### Features
6+
7+
* 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
26+
27+
28+
129
<a name="0.41.7"></a>
230
## [0.41.7](https://github.com/libp2p/js-libp2p-switch/compare/v0.41.6...v0.41.7) (2019-03-13)
331

0 commit comments

Comments
 (0)