mudler / edgevpn

:sailboat: The immutable, decentralized, statically built p2p VPN without any central server and automatic discovery! Create decentralized introspectable tunnels over p2p with shared tokens
https://mudler.github.io/edgevpn
Apache License 2.0
672 stars 95 forks source link

fix(deps): update module github.com/libp2p/go-libp2p to v0.37.0 #785

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/libp2p/go-libp2p v0.35.4 -> v0.37.0 age adoption passing confidence

Release Notes

libp2p/go-libp2p (github.com/libp2p/go-libp2p) ### [`v0.37.0`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.37.0) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.36.5...v0.37.0) #### Breaking Changes - The `libp2p.MultiaddrResolver` option now takes an interface rather than a specific pointer. This decouples the resolver from a specific implementation and also defines a better interface that is aware of bounds. - The swarm exports a new type `ResolverFromMaDNS` that implements this interface from a `*madns.Resolver`. The one line diff is essentially: ```diff -libp2p.MultiaddrResolver(rslv) +libp2p.MultiaddrResolver(swarm.ResolverFromMaDNS{Resolver: rslv}) ``` #### šŸ”¦ Highlights ##### HTTP Peer ID Authentication ([#​2854](https://redirect.github.com/libp2p/go-libp2p/issues/2854)) Authenticate a peer's identity over HTTP. This works on both libp2p stream backed HTTP transports and standard HTTP transports. There is also browser support in the js-libp2p module: https://github.com/libp2p/js-libp2p-http-fetch/tree/main. See the spec for more details on how it works: https://github.com/libp2p/specs/blob/master/http/peer-id-auth.md ##### *Experimental* WithFxOption ([#​2956](https://redirect.github.com/libp2p/go-libp2p/issues/2956)) A new libp2p Config option lets you add custom Fx options to the libp2p constructor. Use this to get access to and provide libp2p services. For example, this allows you to easily get a reference to the ID Service of a libp2p Node. Refer to this test for a concrete code example: https://github.com/libp2p/go-libp2p/blob/c4c3a34545aab54b5b825a7adbd6a3db2c680afa/fx_options_test.go#L50-L60 In the future we'd like to [expose the Fx options](https://redirect.github.com/libp2p/go-libp2p/pull/2962) libp2p uses to construct itself so that users can better customize their libp2p nodes and integrate it seamlessly into their applications. #### Changelog From v0.36.5 to v0.37.0 - feat: Add WithFxOption ([#​2956](https://redirect.github.com/libp2p/go-libp2p/issues/2956)) - Make BlackHoleState type public ([#​2917](https://redirect.github.com/libp2p/go-libp2p/issues/2917)) - connmgr: reduce log level for untagging untracked peers - feat(websocket): switch the underlying http server logger to use ipfs/go-log ([#​2985](https://redirect.github.com/libp2p/go-libp2p/issues/2985)) - fix(websocket): re-enable websocket transport test ([#​2987](https://redirect.github.com/libp2p/go-libp2p/issues/2987)) - relay: make only 1 reservation per peer ([#​2974](https://redirect.github.com/libp2p/go-libp2p/issues/2974)) - libp2phttp: HTTP Peer ID Authentication ([#​2854](https://redirect.github.com/libp2p/go-libp2p/issues/2854)) - chore: update quic-go to v0.48.1 - Add backoff for updating local IP addresses on error ([#​2999](https://redirect.github.com/libp2p/go-libp2p/issues/2999)) Reporting credit to [@​elecbug](https://redirect.github.com/elecbug) - fix: swarm: refactor address resolution ([#​2990](https://redirect.github.com/libp2p/go-libp2p/issues/2990)) - peerstore: limit number of non connected peers in addrbook ([#​2971](https://redirect.github.com/libp2p/go-libp2p/issues/2971)) - swarm: add a peer dial latency metric ([#​2959](https://redirect.github.com/libp2p/go-libp2p/issues/2959)) - autonat: fix interaction with autorelay ([#​2967](https://redirect.github.com/libp2p/go-libp2p/issues/2967)) **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.36.5...v0.37.0 #### New Contributors - [@​joshklop](https://redirect.github.com/joshklop) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2920](https://redirect.github.com/libp2p/go-libp2p/pull/2920) - [@​cpeliciari](https://redirect.github.com/cpeliciari) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2917](https://redirect.github.com/libp2p/go-libp2p/pull/2917) - [@​bytetigers](https://redirect.github.com/bytetigers) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2938](https://redirect.github.com/libp2p/go-libp2p/pull/2938) - [@​2color](https://redirect.github.com/2color) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2931](https://redirect.github.com/libp2p/go-libp2p/pull/2931) ### [`v0.36.5`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.36.5) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.36.4...v0.36.5) #### What's Changed - basichost: ensure no duplicates in Addrs output [#​2980](https://redirect.github.com/libp2p/go-libp2p/issues/2980) - autonatv2: recover from panics [#​2992](https://redirect.github.com/libp2p/go-libp2p/issues/2992) - chore: update go-multiaddr-dns to v0.4.0 [#​2994](https://redirect.github.com/libp2p/go-libp2p/issues/2994) #### Note In the previous release, we called out a bug in go1.23 [unbuffered timers](https://redirect.github.com/golang/go/issues/69312) that deadlocked go-libp2p. This has been fixed in go1.23.2. You can safely update your go.mod's go version to go1.23 now. **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.36.4...v0.36.5 ### [`v0.36.4`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.36.4) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.36.3...v0.36.4) #### Note > \[!CAUTION] > Due to[https://github.com/golang/go/issues/69312](https://redirect.github.com/golang/go/issues/69312)312 in unbuffered timers introduced in go1.23, libp2p deadlocks if the go version in your go.mod file is go1.23. To fix this, either use the environment variable `GODEBUG="asynctimerchan=1"`, or downgrade the go version in your go.mod file. #### What's Changed - Release v0.36.4 by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2978](https://redirect.github.com/libp2p/go-libp2p/pull/2978) **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.36.3...v0.36.4 ### [`v0.36.3`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.36.3) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.36.2...v0.36.3) #### What's Changed - Fix proto import paths by [@​joshklop](https://redirect.github.com/joshklop) in [https://github.com/libp2p/go-libp2p/pull/2920](https://redirect.github.com/libp2p/go-libp2p/pull/2920) - Remove 32-bit tests by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2900](https://redirect.github.com/libp2p/go-libp2p/pull/2900) - metrics: BlackHoleState type public by [@​cpeliciari](https://redirect.github.com/cpeliciari) in [https://github.com/libp2p/go-libp2p/pull/2917](https://redirect.github.com/libp2p/go-libp2p/pull/2917) - ci: Out of the tarpit by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2923](https://redirect.github.com/libp2p/go-libp2p/pull/2923) - test: Try to fix test timeout by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2930](https://redirect.github.com/libp2p/go-libp2p/pull/2930) - ci: Fail on test timeout by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2929](https://redirect.github.com/libp2p/go-libp2p/pull/2929) - ci: use go1.23, drop go1.21 by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2933](https://redirect.github.com/libp2p/go-libp2p/pull/2933) - webrtc: wait for listener context before dropping connection by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2932](https://redirect.github.com/libp2p/go-libp2p/pull/2932) - bug: fix slice append value by [@​bytetigers](https://redirect.github.com/bytetigers) in [https://github.com/libp2p/go-libp2p/pull/2938](https://redirect.github.com/libp2p/go-libp2p/pull/2938) - ci: uci/update-go by [@​web3-bot](https://redirect.github.com/web3-bot) in [https://github.com/libp2p/go-libp2p/pull/2937](https://redirect.github.com/libp2p/go-libp2p/pull/2937) - fix: QUIC/Webtransport Transports now will prefer their owned listeners for dialing out by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2936](https://redirect.github.com/libp2p/go-libp2p/pull/2936) - fix: enable dctur when interface address is public by [@​2color](https://redirect.github.com/2color) in [https://github.com/libp2p/go-libp2p/pull/2931](https://redirect.github.com/libp2p/go-libp2p/pull/2931) - Fix: WebSocket: Clone TLS config before creating a new listener by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2943](https://redirect.github.com/libp2p/go-libp2p/pull/2943) #### New Contributors - [@​joshklop](https://redirect.github.com/joshklop) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2920](https://redirect.github.com/libp2p/go-libp2p/pull/2920) - [@​cpeliciari](https://redirect.github.com/cpeliciari) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2917](https://redirect.github.com/libp2p/go-libp2p/pull/2917) - [@​bytetigers](https://redirect.github.com/bytetigers) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2938](https://redirect.github.com/libp2p/go-libp2p/pull/2938) - [@​2color](https://redirect.github.com/2color) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2931](https://redirect.github.com/libp2p/go-libp2p/pull/2931) **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.36.2...v0.36.3 ### [`v0.36.2`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.36.2) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.36.1...v0.36.2) #### What's Changed - Revert "Create funding.json" by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2919](https://redirect.github.com/libp2p/go-libp2p/pull/2919) - basic_host: close swarm on Close by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2916](https://redirect.github.com/libp2p/go-libp2p/pull/2916) - webrtc: close connection when remote closes by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2914](https://redirect.github.com/libp2p/go-libp2p/pull/2914) - webrtc: reduce loglevel for pion logs by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2915](https://redirect.github.com/libp2p/go-libp2p/pull/2915) **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.36.1...v0.36.2 ### [`v0.36.1`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.36.1) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.36.0...v0.36.1) #### āš ļø Breaking Changes āš ļø - `Conn.NewStream`, `Network.NewStream` and `Host.NewStream` timeout after 15 seconds, if no deadline is specified on the provided `ctx`. #### šŸ”¦ Highlights ##### AutoNAT v2 - This release ships with an autonat-v2 service. The service allows users to check their rechability for individual addresses. - For more details of the protocol, refer to the [specs](https://redirect.github.com/libp2p/specs/blob/autonat-v2/autonat/autonat-v2.md): - BasicHost doesn't use autonat-v2 right now for verifying reachability. Once there are enough autonat-v2 servers in the IPFS network, we will use autonat-v2 to infer the node's reachability, and deprecate autonat-v1. - AutoNAT v2 is disabled by default. To enable, use the `EnableAutoNATV2` [option](https://redirect.github.com/libp2p/go-libp2p/blob/master/options.go#L614). ##### WebRTC ##### WebRTC Direct transport is now Non-Experimental - `/webrtc-direct` is now enabled by default. - We will provide patch releases for any bug fixes or security vulnerabilities in WebRTC just like other transports. ##### Share listening port with QUIC - WebRTC Direct nodes, like WebTransport nodes can use the same port as the QUIC transport. ```go h, err = libp2p.New( libp2p.ListenAddrStrings( "/ip4/0.0.0.0/udp/4242/quic-v1", "/ip4/0.0.0.0/udp/4242/webrtc-direct"), ) ``` - Servers now don't need to open an extra port in their firewalls. This also enables WebRTC Direct nodes to infer their publicly visible address on machines behind a NAT. #### What's Changed - Remove out-dated code in example readme by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2818](https://redirect.github.com/libp2p/go-libp2p/pull/2818) - upgrade checkout action to version with node20 by [@​cario-dev](https://redirect.github.com/cario-dev) in [https://github.com/libp2p/go-libp2p/pull/2790](https://redirect.github.com/libp2p/go-libp2p/pull/2790) - limit ping duration to 30s by [@​vyzo](https://redirect.github.com/vyzo) in [https://github.com/libp2p/go-libp2p/pull/1358](https://redirect.github.com/libp2p/go-libp2p/pull/1358) - chore: Update fx by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2819](https://redirect.github.com/libp2p/go-libp2p/pull/2819) - identify: Don't filter addr if remote is neither public nor private by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2820](https://redirect.github.com/libp2p/go-libp2p/pull/2820) - identify: fix observed address handling by [@​ivan4th](https://redirect.github.com/ivan4th) in [https://github.com/libp2p/go-libp2p/pull/2825](https://redirect.github.com/libp2p/go-libp2p/pull/2825) - identify: add test for observed address handling by [@​ivan4th](https://redirect.github.com/ivan4th) in [https://github.com/libp2p/go-libp2p/pull/2828](https://redirect.github.com/libp2p/go-libp2p/pull/2828) - Add go-spacemesh to the list of notable users by [@​lrettig](https://redirect.github.com/lrettig) in [https://github.com/libp2p/go-libp2p/pull/2830](https://redirect.github.com/libp2p/go-libp2p/pull/2830) - libp2phttp: workaround for ResponseWriter's CloseNotifier by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2821](https://redirect.github.com/libp2p/go-libp2p/pull/2821) - circuitv2: improve voucher validation by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2826](https://redirect.github.com/libp2p/go-libp2p/pull/2826) - webrtc: fix ufrag prefix for dialing by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2832](https://redirect.github.com/libp2p/go-libp2p/pull/2832) - webrtc: add a test for establishing many connections by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2801](https://redirect.github.com/libp2p/go-libp2p/pull/2801) - autonatv2: implement autonatv2 spec by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2469](https://redirect.github.com/libp2p/go-libp2p/pull/2469) - pstoremanager: fix connectedness check by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2845](https://redirect.github.com/libp2p/go-libp2p/pull/2845) - swarm: improve dial worker performance for common case by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2844](https://redirect.github.com/libp2p/go-libp2p/pull/2844) - libp2phttp.Host implements RoundTripper by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2840](https://redirect.github.com/libp2p/go-libp2p/pull/2840) - metricshelper: improve checks for ip and transport by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2849](https://redirect.github.com/libp2p/go-libp2p/pull/2849) - libp2p: use rcmgr for autonat dials by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2842](https://redirect.github.com/libp2p/go-libp2p/pull/2842) - fix: Close conn in quic listener when wrapping fails by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2852](https://redirect.github.com/libp2p/go-libp2p/pull/2852) - autonatv2: add server metrics for dial requests by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2848](https://redirect.github.com/libp2p/go-libp2p/pull/2848) - chore: Bump fx to v1.22.1 by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2857](https://redirect.github.com/libp2p/go-libp2p/pull/2857) - chore: Bump gorilla/websocket to 1.5.3 by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2861](https://redirect.github.com/libp2p/go-libp2p/pull/2861) - peerstore: don't intern protocols by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2860](https://redirect.github.com/libp2p/go-libp2p/pull/2860) - webtransport: close underlying h3 connection by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2862](https://redirect.github.com/libp2p/go-libp2p/pull/2862) - Test that the conn attempt is dropped when the rcmgr blocks it for WebRTC by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2856](https://redirect.github.com/libp2p/go-libp2p/pull/2856) - basichost: reset new stream if rcmgr blocks by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2869](https://redirect.github.com/libp2p/go-libp2p/pull/2869) - Adding tau to `Notable Users` in README.md by [@​samyfodil](https://redirect.github.com/samyfodil) in [https://github.com/libp2p/go-libp2p/pull/2870](https://redirect.github.com/libp2p/go-libp2p/pull/2870) - websocket: don't return transport.ErrListenerClosed on closing listener by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2867](https://redirect.github.com/libp2p/go-libp2p/pull/2867) - Updated readme as per latest MultiversX rename by [@​sstanculeanu](https://redirect.github.com/sstanculeanu) in [https://github.com/libp2p/go-libp2p/pull/2874](https://redirect.github.com/libp2p/go-libp2p/pull/2874) - feat: libp2phttp `/http-path` by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2850](https://redirect.github.com/libp2p/go-libp2p/pull/2850) - basichost: reset stream if SetProtocol fails by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2875](https://redirect.github.com/libp2p/go-libp2p/pull/2875) - chore: /quic ā†’ /quic-v1 by [@​lidel](https://redirect.github.com/lidel) in [https://github.com/libp2p/go-libp2p/pull/2888](https://redirect.github.com/libp2p/go-libp2p/pull/2888) - config: fix AddrFactory for AutoNAT by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2868](https://redirect.github.com/libp2p/go-libp2p/pull/2868) - webrtc: remove experimental tag, enable by default by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2887](https://redirect.github.com/libp2p/go-libp2p/pull/2887) - quic: add support for quic-go metrics by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2823](https://redirect.github.com/libp2p/go-libp2p/pull/2823) - chore: update protobufs by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2893](https://redirect.github.com/libp2p/go-libp2p/pull/2893) - fix(discovery): allow FindPeers limit to be 0 by [@​guillaumemichel](https://redirect.github.com/guillaumemichel) in [https://github.com/libp2p/go-libp2p/pull/2894](https://redirect.github.com/libp2p/go-libp2p/pull/2894) - examples/chat-with-mdns: default to a random port by [@​Jorropo](https://redirect.github.com/Jorropo) in [https://github.com/libp2p/go-libp2p/pull/2896](https://redirect.github.com/libp2p/go-libp2p/pull/2896) - feat: WebRTC reuse QUIC conn by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2889](https://redirect.github.com/libp2p/go-libp2p/pull/2889) - ObsAddrManager: Infer external addresses for transports that share the same listening address. by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2892](https://redirect.github.com/libp2p/go-libp2p/pull/2892) - Chore: bump deps by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2902](https://redirect.github.com/libp2p/go-libp2p/pull/2902) - udpmux: Don't log an error if canceled because of shutdown by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2903](https://redirect.github.com/libp2p/go-libp2p/pull/2903) - chore: update pion/sctp by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2906](https://redirect.github.com/libp2p/go-libp2p/pull/2906) - swarm: add a default timeout to conn.NewStream by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2907](https://redirect.github.com/libp2p/go-libp2p/pull/2907) - Release v0.36.0 by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2905](https://redirect.github.com/libp2p/go-libp2p/pull/2905) #### New Contributors - [@​cario-dev](https://redirect.github.com/cario-dev) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2790](https://redirect.github.com/libp2p/go-libp2p/pull/2790) - [@​ivan4th](https://redirect.github.com/ivan4th) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2825](https://redirect.github.com/libp2p/go-libp2p/pull/2825) - [@​lrettig](https://redirect.github.com/lrettig) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2830](https://redirect.github.com/libp2p/go-libp2p/pull/2830) - [@​samyfodil](https://redirect.github.com/samyfodil) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2870](https://redirect.github.com/libp2p/go-libp2p/pull/2870) - [@​sstanculeanu](https://redirect.github.com/sstanculeanu) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2874](https://redirect.github.com/libp2p/go-libp2p/pull/2874) - [@​lidel](https://redirect.github.com/lidel) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2888](https://redirect.github.com/libp2p/go-libp2p/pull/2888) - [@​guillaumemichel](https://redirect.github.com/guillaumemichel) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2894](https://redirect.github.com/libp2p/go-libp2p/pull/2894) **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.35.0...v0.36.1 ### [`v0.36.0`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.36.0) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.35.5...v0.36.0) #### Retracted - This release was retracted due to an error in the release process. Use https://github.com/libp2p/go-libp2p/releases/tag/v0.36.1 #### What's Changed - Remove out-dated code in example readme by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2818](https://redirect.github.com/libp2p/go-libp2p/pull/2818) - upgrade checkout action to version with node20 by [@​cario-dev](https://redirect.github.com/cario-dev) in [https://github.com/libp2p/go-libp2p/pull/2790](https://redirect.github.com/libp2p/go-libp2p/pull/2790) - limit ping duration to 30s by [@​vyzo](https://redirect.github.com/vyzo) in [https://github.com/libp2p/go-libp2p/pull/1358](https://redirect.github.com/libp2p/go-libp2p/pull/1358) - chore: Update fx by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2819](https://redirect.github.com/libp2p/go-libp2p/pull/2819) - identify: Don't filter addr if remote is neither public nor private by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2820](https://redirect.github.com/libp2p/go-libp2p/pull/2820) - identify: fix observed address handling by [@​ivan4th](https://redirect.github.com/ivan4th) in [https://github.com/libp2p/go-libp2p/pull/2825](https://redirect.github.com/libp2p/go-libp2p/pull/2825) - identify: add test for observed address handling by [@​ivan4th](https://redirect.github.com/ivan4th) in [https://github.com/libp2p/go-libp2p/pull/2828](https://redirect.github.com/libp2p/go-libp2p/pull/2828) - Add go-spacemesh to the list of notable users by [@​lrettig](https://redirect.github.com/lrettig) in [https://github.com/libp2p/go-libp2p/pull/2830](https://redirect.github.com/libp2p/go-libp2p/pull/2830) - libp2phttp: workaround for ResponseWriter's CloseNotifier by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2821](https://redirect.github.com/libp2p/go-libp2p/pull/2821) - circuitv2: improve voucher validation by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2826](https://redirect.github.com/libp2p/go-libp2p/pull/2826) - webrtc: fix ufrag prefix for dialing by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2832](https://redirect.github.com/libp2p/go-libp2p/pull/2832) - webrtc: add a test for establishing many connections by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2801](https://redirect.github.com/libp2p/go-libp2p/pull/2801) - autonatv2: implement autonatv2 spec by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2469](https://redirect.github.com/libp2p/go-libp2p/pull/2469) - pstoremanager: fix connectedness check by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2845](https://redirect.github.com/libp2p/go-libp2p/pull/2845) - swarm: improve dial worker performance for common case by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2844](https://redirect.github.com/libp2p/go-libp2p/pull/2844) - libp2phttp.Host implements RoundTripper by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2840](https://redirect.github.com/libp2p/go-libp2p/pull/2840) - metricshelper: improve checks for ip and transport by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2849](https://redirect.github.com/libp2p/go-libp2p/pull/2849) - libp2p: use rcmgr for autonat dials by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2842](https://redirect.github.com/libp2p/go-libp2p/pull/2842) - fix: Close conn in quic listener when wrapping fails by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2852](https://redirect.github.com/libp2p/go-libp2p/pull/2852) - autonatv2: add server metrics for dial requests by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2848](https://redirect.github.com/libp2p/go-libp2p/pull/2848) - chore: Bump fx to v1.22.1 by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2857](https://redirect.github.com/libp2p/go-libp2p/pull/2857) - chore: Bump gorilla/websocket to 1.5.3 by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2861](https://redirect.github.com/libp2p/go-libp2p/pull/2861) - peerstore: don't intern protocols by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2860](https://redirect.github.com/libp2p/go-libp2p/pull/2860) - webtransport: close underlying h3 connection by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2862](https://redirect.github.com/libp2p/go-libp2p/pull/2862) - Test that the conn attempt is dropped when the rcmgr blocks it for WebRTC by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2856](https://redirect.github.com/libp2p/go-libp2p/pull/2856) - basichost: reset new stream if rcmgr blocks by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2869](https://redirect.github.com/libp2p/go-libp2p/pull/2869) - Adding tau to `Notable Users` in README.md by [@​samyfodil](https://redirect.github.com/samyfodil) in [https://github.com/libp2p/go-libp2p/pull/2870](https://redirect.github.com/libp2p/go-libp2p/pull/2870) - websocket: don't return transport.ErrListenerClosed on closing listener by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2867](https://redirect.github.com/libp2p/go-libp2p/pull/2867) - Updated readme as per latest MultiversX rename by [@​sstanculeanu](https://redirect.github.com/sstanculeanu) in [https://github.com/libp2p/go-libp2p/pull/2874](https://redirect.github.com/libp2p/go-libp2p/pull/2874) - feat: libp2phttp `/http-path` by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2850](https://redirect.github.com/libp2p/go-libp2p/pull/2850) - basichost: reset stream if SetProtocol fails by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2875](https://redirect.github.com/libp2p/go-libp2p/pull/2875) - chore: /quic ā†’ /quic-v1 by [@​lidel](https://redirect.github.com/lidel) in [https://github.com/libp2p/go-libp2p/pull/2888](https://redirect.github.com/libp2p/go-libp2p/pull/2888) - config: fix AddrFactory for AutoNAT by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2868](https://redirect.github.com/libp2p/go-libp2p/pull/2868) - webrtc: remove experimental tag, enable by default by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2887](https://redirect.github.com/libp2p/go-libp2p/pull/2887) - quic: add support for quic-go metrics by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2823](https://redirect.github.com/libp2p/go-libp2p/pull/2823) - chore: update protobufs by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2893](https://redirect.github.com/libp2p/go-libp2p/pull/2893) - fix(discovery): allow FindPeers limit to be 0 by [@​guillaumemichel](https://redirect.github.com/guillaumemichel) in [https://github.com/libp2p/go-libp2p/pull/2894](https://redirect.github.com/libp2p/go-libp2p/pull/2894) - examples/chat-with-mdns: default to a random port by [@​Jorropo](https://redirect.github.com/Jorropo) in [https://github.com/libp2p/go-libp2p/pull/2896](https://redirect.github.com/libp2p/go-libp2p/pull/2896) - feat: WebRTC reuse QUIC conn by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2889](https://redirect.github.com/libp2p/go-libp2p/pull/2889) - ObsAddrManager: Infer external addresses for transports that share the same listening address. by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2892](https://redirect.github.com/libp2p/go-libp2p/pull/2892) - Chore: bump deps by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2902](https://redirect.github.com/libp2p/go-libp2p/pull/2902) - udpmux: Don't log an error if canceled because of shutdown by [@​MarcoPolo](https://redirect.github.com/MarcoPolo) in [https://github.com/libp2p/go-libp2p/pull/2903](https://redirect.github.com/libp2p/go-libp2p/pull/2903) #### New Contributors - [@​cario-dev](https://redirect.github.com/cario-dev) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2790](https://redirect.github.com/libp2p/go-libp2p/pull/2790) - [@​ivan4th](https://redirect.github.com/ivan4th) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2825](https://redirect.github.com/libp2p/go-libp2p/pull/2825) - [@​lrettig](https://redirect.github.com/lrettig) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2830](https://redirect.github.com/libp2p/go-libp2p/pull/2830) - [@​samyfodil](https://redirect.github.com/samyfodil) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2870](https://redirect.github.com/libp2p/go-libp2p/pull/2870) - [@​sstanculeanu](https://redirect.github.com/sstanculeanu) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2874](https://redirect.github.com/libp2p/go-libp2p/pull/2874) - [@​lidel](https://redirect.github.com/lidel) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2888](https://redirect.github.com/libp2p/go-libp2p/pull/2888) - [@​guillaumemichel](https://redirect.github.com/guillaumemichel) made their first contribution in [https://github.com/libp2p/go-libp2p/pull/2894](https://redirect.github.com/libp2p/go-libp2p/pull/2894) **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.35.0...v0.36.0 ### [`v0.35.5`](https://redirect.github.com/libp2p/go-libp2p/releases/tag/v0.35.5) [Compare Source](https://redirect.github.com/libp2p/go-libp2p/compare/v0.35.4...v0.35.5) #### Note - Due to a [race condition](https://redirect.github.com/golang/go/issues/69312) in unbuffered timers introduced in go1.23, libp2p deadlocks if the go version in your go.mod file is go1.23. To fix this, either use the environment variable `GODEBUG=asynctimerchan=1`, or downgrade the go version in your go.mod file. #### What's Changed - Release v0.35.5 by [@​sukunrt](https://redirect.github.com/sukunrt) in [https://github.com/libp2p/go-libp2p/pull/2977](https://redirect.github.com/libp2p/go-libp2p/pull/2977) **Full Changelog**: https://github.com/libp2p/go-libp2p/compare/v0.35.4...v0.35.5

Configuration

šŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 month ago

ā„¹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

Details:

Package Change
github.com/klauspost/compress v1.17.9 -> v1.17.11
github.com/libp2p/go-flow-metrics v0.1.0 -> v0.2.0
github.com/pion/datachannel v1.5.8 -> v1.5.9
github.com/pion/ice/v2 v2.3.34 -> v2.3.36
github.com/pion/interceptor v0.1.29 -> v0.1.37
github.com/pion/rtp v1.8.8 -> v1.8.9
github.com/pion/sctp v1.8.20 -> v1.8.33
github.com/pion/webrtc/v3 v3.3.0 -> v3.3.4
github.com/prometheus/client_golang v1.19.1 -> v1.20.5
github.com/prometheus/common v0.55.0 -> v0.60.0
github.com/quic-go/qpack v0.4.0 -> v0.5.1
github.com/quic-go/quic-go v0.45.2 -> v0.48.1
github.com/quic-go/webtransport-go v0.8.0 -> v0.8.1-0.20241018022711-4ac2c9250e66
github.com/wlynxg/anet v0.0.3 -> v0.0.5
go.uber.org/dig v1.17.1 -> v1.18.0
go.uber.org/fx v1.22.1 -> v1.23.0
go.uber.org/mock v0.4.0 -> v0.5.0
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 -> v0.0.0-20241009180824-f66d83c29e7c
renovate[bot] commented 1 week ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v0.37.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.