You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
Go through relevant libp2p repos looking for unreleased changes that should make it into the release. If you find any, cut releases.
Run go get -u ./... to see if there are any out-of-date deps that look important. If there are, bubble them. Try to avoid directly updating indirect deps in go-libp2p's go.mod when possible.
Stage 1 - Release
Publish the release through the GitHub UI, adding the release notes. Some users rely on this to receive notifications of new releases.
🗺 What's left for release
Possibly deferred
NewStream
blocks on one side despite successful connection #2589Deferred
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:
go-libp2p/fx_options_test.go
Lines 50 to 60 in c4c3a34
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: v0.36.5...v0.37.0
New Contributors
✅ Release Checklist
go get -u ./...
to see if there are any out-of-date deps that look important. If there are, bubble them. Try to avoid directly updating indirect deps in go-libp2p'sgo.mod
when possible.The text was updated successfully, but these errors were encountered: