github libp2p/rust-libp2p v0.43.0

latest releases: v0.54.1, libp2p-v0.54.0, libp2p-webrtc-v0.7.1-alpha...
2 years ago

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's Network into Swarm. See [PR 2492].

    Along with this change, many types are now exposed through libp2p-swarm instead of libp2p-core. When in doubt, change libp2p::core:: to libp2p::swarm::.

    See libp2p-swarm CHANGELOG.md.

  • Merge NetworkBehaviour's inject_* paired methods (see PR 2445).

    See libp2p-swarm CHANGELOG.md.

    • Rename ProtocolsHandler to ConnectionHandler. Upgrade should be as simple as renaming all
      occurences of ProtocolsHandler to ConnectionHandler with your favorite text manipulation tool
      across your codebase. See [PR 2527].

    See libp2p-swarm CHANGELOG.md.

See individual changelogs for details.

Don't miss a new rust-libp2p release

NewReleases is sending notifications on new releases.