fix(deps): update module github.com/libp2p/go-libp2p to v0.37.1 #811
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.35.4
->v0.37.1
Release Notes
libp2p/go-libp2p (github.com/libp2p/go-libp2p)
v0.37.1
Compare Source
Bug Fixes
What's Changed
0606295
refactor(libp2phttp): don't require specific port for the HTTP host example (#3047)ae0d78a
fix: Defer resource usage cleanup until the very end (#3042)df02f4d
chore: update go-multistream to v0.6.0 (#3041)09ae179
fix: obsaddr: do not record observations over relayed conn (#3043)2404f75
webrtc: handshake more connections in parallel (#3040)994b69e
fix: basichost: Use NegotiationTimeout as fallback timeout for NewStream (#3020)Full Changelog: libp2p/go-libp2p@v0.37.0...dont-delete/release-v0371
v0.37.0
Compare Source
Breaking Changes
libp2p.MultiaddrResolver
option now takes an interface rather than aspecific pointer. This decouples the resolver from a specific implementation
and also defines a better interface that is aware of bounds.
ResolverFromMaDNS
that implements this interface from a*madns.Resolver
. The one line diff is essentially:🔦 Highlights
HTTP Peer ID Authentication (#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)
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 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
Full Changelog: libp2p/go-libp2p@v0.36.5...v0.37.0
New Contributors
v0.36.5
Compare Source
What's Changed
Note
In the previous release, we called out a bug in go1.23 unbuffered timers 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: libp2p/go-libp2p@v0.36.4...v0.36.5
v0.36.4
Compare Source
Note
What's Changed
Full Changelog: libp2p/go-libp2p@v0.36.3...v0.36.4
v0.36.3
Compare Source
What's Changed
New Contributors
Full Changelog: libp2p/go-libp2p@v0.36.2...v0.36.3
v0.36.2
Compare Source
What's Changed
Full Changelog: libp2p/go-libp2p@v0.36.1...v0.36.2
v0.36.1
Compare Source
Conn.NewStream
,Network.NewStream
andHost.NewStream
timeout after 15 seconds, if no deadline is specified on the providedctx
.🔦 Highlights
AutoNAT v2
EnableAutoNATV2
option.WebRTC
WebRTC Direct transport is now Non-Experimental
/webrtc-direct
is now enabled by default.Share listening port with QUIC
What's Changed
Notable Users
in README.md by @samyfodil in https://github.com/libp2p/go-libp2p/pull/2870/http-path
by @MarcoPolo in https://github.com/libp2p/go-libp2p/pull/2850New Contributors
Full Changelog: libp2p/go-libp2p@v0.35.0...v0.36.1
v0.36.0
Compare Source
Retracted
What's Changed
Notable Users
in README.md by @samyfodil in https://github.com/libp2p/go-libp2p/pull/2870/http-path
by @MarcoPolo in https://github.com/libp2p/go-libp2p/pull/2850New Contributors
Full Changelog: libp2p/go-libp2p@v0.35.0...v0.36.0
v0.35.5
Compare Source
Note
GODEBUG=asynctimerchan=1
, or downgrade the go version in your go.mod file.What's Changed
Full Changelog: libp2p/go-libp2p@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.