NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2647 most downloaded on crates.io
Yamux multiplexing protocol for libp2p
Latest stable
0.48.0
Last release 2 months ago
11 Sep 2026
Ships unpredictably
gaps range from 1 weeks to 1.7 years
Most releases are documented
notes for 36 of 55 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
58 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
> Remove deprecated NetworkBehaviourEventProcess. See [libp2p-swarm v0.38.0 changelog entry] for migration path.
Most notable changes:
Remove deprecated
NetworkBehaviourEventProcess. See libp2p-swarm v0.38.0 changelog entry for migration path.
Make RSA keypair support optional. To enable RSA support,
rsafeature should be enabled. See PR 2860.
Allow users to choose between async-io and tokio runtime in the mdns protocol implementation.
async-iois a default feature, with an additionaltokiofeature (see PR 2748)
For all other changes, see individual changelogs for details.
Thanks to the many folks involved!
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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.
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.
Update yamux to version v0.13.3.`
yamux to version v0.13.3.`See individual changelogs for details.
See individual changelogs for details.
WindowUpdateMode::on_receive.
It does not enforce flow-control, i.e. breaks backpressure.
Use WindowUpdateMode::on_read instead.
See yamux crate version v0.12.1 and Yamux PR #177.yamux v0.13 enables auto-tuning for the Yamux stream receive window.
While preserving small buffers on low-latency and/or low-bandwidth connections, this change allows for high-latency and/or high-bandwidth connections to exhaust the available bandwidth on a single stream.
Have libp2p-yamux use yamux v0.13 (new version) by default and fall back to yamux v0.12 (old version) when setting any configuration options.
Thus default users benefit from the increased performance, while power users with custom configurations maintain the old behavior.
libp2p-yamux will switch over to yamux v0.13 entirely with the next breaking release.
See PR 4970.Medium size release. See individual changelogs for details.
Medium size release. See individual changelogs for details.
Update to yamux v0.12 which brings performance improvements and introduces an ACK backlog of 256 inbound streams. When interacting with other libp2p n
yamux v0.12 which brings performance improvements and introduces an ACK backlog of 256 inbound streams.
When interacting with other libp2p nodes that are also running this or a newer version, the creation of inbound streams will be backpressured once the ACK backlog is hit.
See PR 3013.Small release. See individual changelogs for details.
Drop Yamux prefix from all types. Users are encouraged to import the yamux module and refer to types via yamux::Muxer, yamux::Config etc. See [PR 3852
Yamux prefix from all types.
Users are encouraged to import the yamux module and refer to types via yamux::Muxer, yamux::Config etc.
See PR 3852.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.
Nothing published for this version
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.
Update to libp2p-core v0.38.0.
Update rust-version to reflect the actual MSRV: 1.60.0. See PR 3090.
See https://github.com/libp2p/rust-libp2p/pull/2427.
See https://github.com/libp2p/rust-libp2p/pull/2427.
StreamMuxer::poll as soon as we receive a single substream.
This fixes issue 3041.
See PR 3071.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.35.0
libp2p-core v0.35.0See individual changelogs for details.
See individual changelogs for details.
- Update to libp2p-core v0.33.0.
libp2p-core v0.33.0.See individual changelogs for details.
See individual changelogs for details.
Update to libp2p-core v0.32.0.
Update to parking_lot v0.12.0. See PR 2463.
Migrate to Rust edition 2021 (see [PR 2339]).
Make default features of libp2p-core optional. PR 2181
Nothing published for this version
- Update dependencies.
Update to yamux v0.9.0 PR 1960.
yamux v0.9.0 PR
1960.- Update libp2p-core.
libp2p-core.- Update yamux to 0.8.1.
yamux to 0.8.1.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 libp2p-core.
libp2p-core.- Update libp2p-core.
libp2p-core.Tweak the naming in the MplexConfig API for better consistency with libp2p-mplex. PR 1822.
Tweak the naming in the MplexConfig API for better
consistency with libp2p-mplex.
PR 1822.
Update dependencies.
- Update libp2p-core.
libp2p-core.Update to yamux-0.8.0. Upgrade step 4 of 4. This version always implements the additive meaning w.r.t. initial window updates. The configuration optio
yamux-0.8.0. Upgrade step 4 of 4. This version always implements
the additive meaning w.r.t. initial window updates. The configuration option
lazy_open is removed. Yamux will automatically send an initial window update
if the receive window is configured to be larger than the default.Update to yamux-0.7.0. Upgrade step 3 of 4. This version sets the flag but will always interpret initial window updates as additive.
yamux-0.7.0. Upgrade step 3 of 4. This version sets the flag but will
always interpret initial window updates as additive.Update to yamux-0.6.0. As explain below, this is step 2 of 4 in a multi-release upgrade. This version recognises and sets the flag that causes the new
yamux-0.6.0. As explain below, this is step 2 of 4 in a multi-release
upgrade. This version recognises and sets the flag that causes the new semantics
for the initial window update.Update to yamux-0.5.0. *This is the start of a multi-release transition* to a different behaviour w.r.t. the initial window update frame. Tracked in [
Update to yamux-0.5.0. This is the start of a multi-release transition to a
different behaviour w.r.t. the initial window update frame. Tracked in [1],
this will change the initial window update to mean "in addition to the default
receive window" rather than "the total receive window". This version recognises
a temporary flag, that will cause the new meaning. The next version 0.23.0
will also set the flag. Version 0.24.0 will still set the flag but will always
implement the new meaning, and (finally) version 0.25.0 will no longer set the
flag and always use the additive semantics. If current code uses the default
Yamux configuration, all upgrades need to be performed in order because each
version is only compatible with its immediate predecessor. Alternatively, if the
default configuration is deployed with lazy_open set to true, one can
directly upgrade from version 0.21.0 to 0.25.0 without any intermediate
upgrades.
Bump libp2p-core dependency.
Allow overriding the mode (client/server), e.g. in the context of TCP hole punching. PR 1691.
Bump libp2p-core dependency.
Allow overriding the mode (client/server), e.g. in the context of TCP hole punching. PR 1691.
Update libp2p-core, i.e. StreamMuxer::poll_inbound has been renamed to poll_event and returns a StreamMuxerEvent.
libp2p-core, i.e. StreamMuxer::poll_inbound has been renamed
to poll_event and returns a StreamMuxerEvent.Deprecated method Yamux::is_remote_acknowledged has been removed as part of PR 1616.
Yamux::is_remote_acknowledged has been removed
as part of PR 1616.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.