NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2611 most downloaded on crates.io
Cryptographic handshake protocol using the noise framework.
Latest stable
0.47.0
Last release 2 months ago
11 Sep 2026
Release timing varies
gaps range from 2 weeks to 1.2 years
Most releases are documented
notes for 34 of 54 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
57 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Most notable change is the deprecation of NetworkBehaviourEventProcess. See corresponding changelog entry on how to migrate.
Most notable change is the deprecation of NetworkBehaviourEventProcess. See corresponding changelog entry on how to migrate.
Also rust-libp2p v0.47.0 updates to prost v0.11.0 which no longer installs the protoc Protobuf compiler. Thus to build rust-libp2p you will need protoc installed locally. On CI you can use the arduino/setup-protoc GitHub action:
- name: Install Protoc
uses: arduino/setup-protoc@v1
For all other changes, see individual changelogs for details.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
See individual changelogs for details.
See individual changelogs for details.
Small on the surface, though containing many internal refactorings. Shout out to @elenaf9 and @thomaseizinger!
Small on the surface, though containing many internal refactorings. Shout out to @elenaf9 and @thomaseizinger!
See individual changelogs for details.
cargo clippy warnings in rustc 1.84.0-beta.1.
See PR 5700.<!-- Update to libp2p-core v0.43.0 -->
See individual changelogs for details.
See individual changelogs for details.
Medium size release. See individual changelogs for details.
Medium size release. See individual changelogs for details.
Small release. See individual changelogs for details.
Small release. See individual changelogs for details.
- Update x25519-dalek to 2.0.0.
- Update dependencies.
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.
See individual changelogs for details.
See individual changelogs for details.
NoiseConfig and NoiseAuthenticated in favor of a new libp2p_noise::Config struct.
In addition, we deprecate all types with a Noise prefix.
Users are encouraged to import the noise module and refer to types as noise::Error etc.
See PR 3768.See individual changelogs for details.
See individual changelogs for details.
prost to quick-protobuf. This removes protoc dependency. See PR 3312.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.
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.
Update to libp2p-core v0.37.0.
Introduce NoiseAuthenticated::xx constructor, assuming a X25519 DH key exchange. An XX key exchange and X25519 keys
are the most common way of using noise in libp2p and thus deserve a convenience constructor. See PR 2887.
Add NoiseConfig::with_prologue which allows users to set the noise prologue of the handshake. See PR 2903.
Remove Deref implementation on AuthenticKeypair. See PR 2909.
Make handshake module private. See PR 2909.
Deprecate AuthenticKeypair::into_identity. See PR 2909.
- Update to libp2p-core v0.36.0.
libp2p-core v0.36.0.See individual changelogs for details.
See individual changelogs for details.
Update prost requirement from 0.10 to 0.11 which no longer installs the protoc Protobuf compiler. Thus you will need protoc installed locally. See PR 2788.
Update to libp2p-core v0.35.0.
- Update to libp2p-core v0.34.0.
libp2p-core v0.34.0.See individual changelogs for details.
See individual changelogs for details.
Update to snow v0.9.0. See [PR 2472].
Update to libp2p-core v0.32.0.
Update to snow v0.9.0. See PR 2472.
Migrate to Rust edition 2021 (see [PR 2339]).
Update dependencies.
Migrate to Rust edition 2021 (see PR 2339).
Make default features of libp2p-core optional. PR 2181
Make default features of libp2p-core optional.
PR 2181
Update dependencies.
Nothing published for this version
- Update dependencies.
Update to snow v0.8.0 ([PR-2068]).
snow v0.8.0 (PR-2068).Nothing published for this version
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.
- Update dependencies.
- Update libp2p-core.
libp2p-core.- Update libp2p-core.
libp2p-core.- Update dependencies.
- Update dependencies.
Remove fallback legacy handshake payload decoding by default. To continue supporting inbound legacy handshake payloads, recv_legacy_handshake must be
Bump libp2p-core dependency.
Remove fallback legacy handshake payload decoding by default.
To continue supporting inbound legacy handshake payloads,
recv_legacy_handshake must be configured on the LegacyConfig.
- Bump libp2p-core dependency.
libp2p-core dependency.NOTE: For a smooth upgrade path from 0.20 to > 0.21 on an existing deployment, this version must not be skipped or the provided LegacyConfig used!
NOTE: For a smooth upgrade path from 0.20 to > 0.21
on an existing deployment, this version must not be skipped
or the provided LegacyConfig used!
LegacyConfig is provided to optionally
configure sending the legacy handshake. Note: This release
always supports receiving legacy handshake payloads. A future
release will also move receiving legacy handshake payloads
into a LegacyConfig option. However, all legacy configuration
options will eventually be removed, so this is primarily to allow
delaying the handshake upgrade or keeping compatibility with a network
whose peers are slow to upgrade, without having to freeze the
version of libp2p-noise altogether in these projects.NOTE: For a smooth upgrade path from 0.20 to > 0.21 on an existing deployment, this version must not be skipped!
NOTE: For a smooth upgrade path from 0.20 to > 0.21
on an existing deployment, this version must not be skipped!
Add support for reading handshake protobuf frames without length prefixes in preparation for no longer sending them. See issue 1631.
Update the snow dependency to the latest patch version.
Conditional compilation fixes for the wasm32-wasi target (PR 1633).
wasm32-wasi target
(PR 1633).Re-add noise upgrades for IK and IX (PR 1580).
Re-add noise upgrades for IK and IX (PR 1580).
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
One column per quarter.