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::.
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].
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on libp2p to permit the latest version.
Release notes
Sourced from libp2p's releases.
Changelog
Sourced from libp2p's changelog.
... (truncated)
Commits
b185946
*: Prepare v0.43.0 (#2531)fd2be38
swarm/: Rename ProtocolsHandler to ConnectionHandler (#2527)6511e6b
core/src/signed_envelope/: Return signing key with payload (#2522)2ff9ace
swarm/: Make NodeHandlerWrapper an impl detail of connection (#2523)eeb3504
swarm/src/lib: Rework connection exports (#2525)65cc899
*: DeriveDebug
andClone
(#2495)9f1114d
protocols/gossipsub: Add IWANT and memcache misses metrics (#2518)80bbb62
build(deps): Update parking_lot requirement from 0.11.0 to 0.12.0 (#2463)8ffa84e
swarm/src: Remove ConnectionHandler (#2519)df4905d
core/src: Take ref of key in SignedEnvelope & PeerRecord (#2516)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)