Medium size release, containing many internal refactorings as well as the last missing piece of basic hole punching, namely libp2p-dcutr
. To try out hole punching yourself, follow the tutorial.
Most notable breaking changes:
-
Fold
libp2p-core
'sNetwork
intoSwarm
. See [PR 2492].Along with this change, many types are now exposed through
libp2p-swarm
instead oflibp2p-core
. When in doubt, changelibp2p::core::
tolibp2p::swarm::
.See
libp2p-swarm
CHANGELOG.md
. -
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
See
libp2p-swarm
CHANGELOG.md
. -
- Rename
ProtocolsHandler
toConnectionHandler
. Upgrade should be as simple as renaming all
occurences ofProtocolsHandler
toConnectionHandler
with your favorite text manipulation tool
across your codebase. See [PR 2527].
See
libp2p-swarm
CHANGELOG.md
. - Rename
See individual changelogs for details.