Skip to content

v0.19.0

Compare
Choose a tag to compare
@marten-seemann marten-seemann released this 19 Apr 12:12
· 3301 commits to master since this release
0d51d87

We're happy to announce to v0.19.0 release of go-libp2p.

🛠 BREAKING CHANGES

AutoRelay now discovers Circuit Relay v2 nodes. AutoRelays reads peers from a channel (provided by autorelay.WithPeerSource), tests if those peers speak the relay v2 protocol and tries to obtain a reservation with these nodes.
By default, AutoRelay does not use Circuit Relay v1 nodes any more. If circuit v1 support is desired, the autorelay.WithCircuitV1Support option can be used.

The mplex stream multiplexer was removed from the default list of stream multiplexers. If you still need to support both yamux and mplex, you can manually enable it using the following libp2p.Option:

libp2p.ChainOptions(
	libp2p.Muxer("/yamux/1.0.0", yamux.DefaultTransport),
	libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport),
)

Changelog

Contributors

Contributor Commits Lines ± Files Changed
Marten Seemann 123 +44877/-11386 659
Artem Mikheev 2 +616/-120 5
Toby 2 +107/-86 11
Rachel Chen 1 +124/-57 15
Christian Stewart 3 +106/-60 13
Andrew Gillis 2 +61/-0 3
Arash Payan 1 +5/-0 1
Elena Frank 1 +2/-2 2
ignoramous 1 +0/-1 1