v0.33.0
What's Changed
🔦 Highlights
TLS encryption for TCP by default
For TCP Connections, the default encryption scheme has been changed from noise to TLS for better performance. See PR for details.
Note: When making TCP connections to nodes that only support noise this will add 1 extra round trip for connection establishment. If you wish to avoid this and keep noise the default, configure your node to prefer noise over TLS like
node, err := libp2p.New(
... other options
libp2p.Security("/noise", noise.New),
libp2p.Security("/tls/1.0.0", libp2ptls.New),
)
Misc
- WebRTC streams now wait for a FIN_ACK before closing data channels. For more details see the specs PR: libp2p/specs#582
- Removed unused public function
crypto.GenerateEKeyPair
. This was used in SECIO which has been long deprecated. - This release drops support for go1.20.
Changelog
- Update docs from RSA to Ed25519 by @librick in #2606
- examples: remove unused 'SetStreamHandler' by @joohhnnn in #2598
- chore: update examples to v0.32 by @sukunrt in #2626
- ci: ignore protoc version comment on go generate by @galargh in #2631
- pstoremanager: fix race condition when removing peers from peer store by @marten-seemann in #2644
- chore: add resource manager dashboard to docker-compose by @burdiyan in #2641
- chore: fix typos by @shuoer86 in #2608
- Fix Swarm Grafana Dashboard by @burdiyan in #2640
- tcp: fix build on loong64 by @wojiushixiaobai in #2655
- rcmgr: fix connmgr connection limit conflict warning by @sukunrt in #2648
- webrtc: clarify that there is no reuseport functionality by @sukunrt in #2652
- security: remove separate licenses for Noise and TLS by @marten-seemann in #2663
- chore: update go security policy url by @sukunrt in #2665
- chore: update go-libp2p-asn-util by @Jorropo in #2673
- chore: fix typos in comment by @bodhi-crypo in #2674
- examples: call NewStream from only one side by @Halimao in #2677
- chore: update chat-with-mdns example readme by @Halimao in #2678
- chore: remove unnecessary conversions by @estensen in #2680
- webrtc: fix flaky TestMaxInFlightRequests by @sukunrt in #2682
- defaults: do TLS by default for encryption by @Jorropo in #2650
- chore: Fixed spelling errors in some files. by @keienWang in #2689
- chore(p2p/host): typo fix by @fakefraud in #2683
- chore: update go-multiaddr 0.12.2 by @Jorropo in #2691
- libp2phttp: fix flaky ExampleHost_listenOnHTTPTransportAndStreams by @sukunrt in #2697
- chore: fix typos by @GoodDaisy in #2694
- fix:Add HTTPS to documentation link by @keienWang in #2695
- chore(cfg): Add config.yml for new issues by @dhuseby in #2688
- chore: testify fixes by @dozyio in #2666
- chore: drop support for go1.20 by @sukunrt in #2708
- chore: remove unused GenerateEKeyPair function by @sukunrt in #2711
- quic: upgrade quic-go to v0.41.0 by @sukunrt in #2710
- webrtc: wait for FIN_ACK before closing data channels by @sukunrt in #2615
- chore: update dependencies for v0.33 by @sukunrt in #2713
New Contributors
- @joohhnnn made their first contribution in #2598
- @galargh made their first contribution in #2631
- @burdiyan made their first contribution in #2641
- @shuoer86 made their first contribution in #2608
- @wojiushixiaobai made their first contribution in #2655
- @bodhi-crypo made their first contribution in #2674
- @Halimao made their first contribution in #2677
- @keienWang made their first contribution in #2689
- @fakefraud made their first contribution in #2683
- @GoodDaisy made their first contribution in #2694
- @dhuseby made their first contribution in #2688
- @dozyio made their first contribution in #2666
Full Changelog: v0.32.1...v0.33.0