NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2550 most downloaded on crates.io
TCP/IP transport protocol for libp2p
Latest stable
0.45.0
Last release 2 months ago
11 Sep 2026
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 32 of 53 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
55 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Medium size release. See individual changelogs for details.
Medium size release. See individual changelogs for details.
Version bump for libp2p-swarm and libp2p-dcutr so we can cut patch releases. See #6138 (comment) .
Version bump for libp2p-swarm and libp2p-dcutr so we can cut patch releases. See #6138 (comment).
cc @jxs
Pull-Request: #6250.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Small release. See individual changelogs for details.
Small release. See individual changelogs for details.
Medium size release, containing many internal refactorings as well as the last missing piece of basic hole punching, namely libp2p-dcutr. To try out h
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'sNetworkintoSwarm. 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::.
Merge NetworkBehaviour's inject_* paired methods (see PR 2445).
- Rename
ProtocolsHandlertoConnectionHandler. Upgrade should be as simple as renaming all occurences ofProtocolsHandlertoConnectionHandlerwith your favorite text manipulation tool across your codebase. See [PR 2527].
See individual changelogs for details.
TCP_NODELAY to true.
See PR 5764<!-- Update to libp2p-core v0.43.0 -->
Larger release, among many other things adding most of the components required for hole-punching.
Larger release, among many other things adding most of the components required for hole-punching.
See individual changelogs for details.
Small release most notably improving WASM support.
Small release most notably improving WASM support.
See individual changelogs for details.
Expose async_io::TcpStream. See PR 4683.
async_io::TcpStream.
See PR 4683.See individual changelogs for details.
See individual changelogs for details.
This is a large release consisting of many small changes. As always, please raise any questions you might have here on this GitHub repository. In addition, feel free to tag @mxinden on the pull request updating your project to v0.40.0 for review.
Fix a bug where we removed any other listener in Transport::remove_listener except for the one with the provided ListenerId. See [PR 3387].
libp2p-core v0.39.0.Transport::remove_listener except for the one with the provided ListenerId. See PR 3387.See individual changelogs for details.
See individual changelogs for details.
Update to if-watch v3.0.0 and pass through tokio and async-io features. See PR 3101.
Deprecate types with Tcp prefix (GenTcpConfig, TcpTransport and TokioTcpTransport) in favor of referencing them by module / crate. See PR 2961.
Remove TcpListenStream and TcpListenerEvent from public API. See PR 2961.
Update to libp2p-core v0.38.0.
Update rust-version to reflect the actual MSRV: 1.60.0. See PR 3090.
Update to if-watch v2.0.0. Simplify IfWatcher integration. Use if_watch::IfWatcher for all runtimes. See [PR 2813].
Update to if-watch v2.0.0. Simplify IfWatcher integration.
Use if_watch::IfWatcher for all runtimes. See PR 2813.
Update to libp2p-core v0.37.0.
Remove default features. If you previously depended on async-std you need to enable this explicitly now. See PR 2918.
Return None in GenTcpTransport::address_translation if listen- or observed address are not tcp addresses.
See PR 2970.
See individual changelogs for details.
See individual changelogs for details.
- Update to libp2p-core v0.35.0. - Update to if-watch v1.1.1.
Update to libp2p-core v0.35.0.
Update to if-watch v1.1.1.
Call TcpStream::take_error in tokio Provider to report connection establishment errors early. See also [PR 2458] for the related async-io change.
Update to libp2p-core v0.34.0.
Call TcpStream::take_error in tokio Provider to report connection
establishment errors early. See also [PR 2458] for the related async-io
change.
Split GenTcpConfig into GenTcpConfig and GenTcpTransport. Drive the TcpListenStreams
within the GenTcpTransport. Add Transport::poll and Transport::remove_listener
for GenTcpTransport. See PR 2652.
Remove implementation of Clone on GenTcpConfig. See [PR 2682].
Update to libp2p-core v0.33.0.
Remove implementation of Clone on GenTcpConfig. See PR 2682.
- Update to libp2p-core v0.32.0.
libp2p-core v0.32.0.Call TcpSocket::take_error to report connection establishment errors early. See [PR 2458].
TcpSocket::take_error to report connection establishment errors early. See PR 2458.Migrate to Rust edition 2021 (see [PR 2339]).
Rust-libp2p versions in combination with `multihash` `< v0.11.3` are vulnerable to DoS attacks. Given that e.g. `PeerId::from_bytes` is called with un…
Among other changes, this release adds a requirement across all crates for multihash >= v0.11.3. Rust-libp2p versions in combination with multihash < v0.11.3 are vulnerable to DoS attacks. Given that e.g. PeerId::from_bytes is called with unsanitized data from possibly untrusted sources this call can panic with multihash < v0.11.3 see RustSec for details.
In case you run libp2p in untrusted environments please either (a) update to libp2p v0.30.0 or (b) make sure to run with multihash >=v0.11.3 via your downstream Cargo.lock file.
As always all other contained changes are listed in our CHANGELOG.md.
Make default features of libp2p-core optional.
PR 2181
Update dependencies.
Nothing published for this version
- Update dependencies.
- Update libp2p-core. - Permit /p2p addresses. - Update to if-watch-0.2.
Update libp2p-core.
Permit /p2p addresses.
Update to if-watch-0.2.
- Update dependencies.
Add support for port reuse and (re)add transport-specific address translation. Thereby use only async-io instead of async-std, renaming the feature ac
Add support for port reuse and (re)add transport-specific
address translation. Thereby use only async-io instead of
async-std, renaming the feature accordingly. async-io
is a default feature, with an additional tokio feature
as before.
PR 1887
Update dependencies.
- Update async-io.
async-io.Lower async-std version to 1.6, for compatibility with other libp2p crates.
async-std version to 1.6, for compatibility
with other libp2p crates.- Update libp2p-core.
libp2p-core.- Update dependencies.
Replace get_if_addrs with if-addrs.
Update libp2p-core.
Replace get_if_addrs with if-addrs.
- Bump libp2p-core dependency.
libp2p-core dependency.- Bump libp2p-core dependency.
libp2p-core dependency.- Updated dependencies.
- Updated dependencies.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.