- Fix
cargo clippy
warnings inrustc 1.84.0-beta.1
. See PR 5700.
- Migrate to
{In,Out}boundConnectionUpgrade
traits. See PR 4695.
- Update x25519-dalek to 2.0.0.
- Update dependencies.
-
Raise MSRV to 1.65. See PR 3715.
-
Remove deprecated APIs. See PR 3511.
-
Add
Config::with_webtransport_certhashes
. See [PR 3991]. This can be used by WebTransport implementers to send (responder) or verify (initiator) certhashes.
- Deprecate all noise handshakes apart from XX.
This deprecates
NoiseConfig
andNoiseAuthenticated
in favor of a newlibp2p_noise::Config
struct. In addition, we deprecate all types with aNoise
prefix. Users are encouraged to import thenoise
module and refer to types asnoise::Error
etc. See PR 3768.
- Migrate from
prost
toquick-protobuf
. This removesprotoc
dependency. See PR 3312.
-
Update to
libp2p-core
v0.39.0
. -
Deprecate non-compliant noise implementation. We intend to remove it in a future release without replacement. See PR 3227.
-
Deprecate
LegacyConfig
without replacement. See PR 3265.
-
Remove
prost::Error
from public API. See PR 3058. -
Update to
libp2p-core
v0.38.0
. -
Update
rust-version
to reflect the actual MSRV: 1.60.0. See PR 3090. -
Introduce more variants to
NoiseError
to better differentiate between failure cases during authentication. See PR 2972.
-
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 onAuthenticKeypair
. See PR 2909. -
Make
handshake
module private. See PR 2909. -
Deprecate
AuthenticKeypair::into_identity
. See PR 2909.
- Update to
libp2p-core
v0.36.0
.
-
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
.
- Update to
libp2p-core
v0.33.0
.
-
Update to
libp2p-core
v0.32.0
. -
Update to
snow
v0.9.0
. See PR 2472.
-
Update dependencies.
-
Migrate to Rust edition 2021 (see PR 2339).
-
Make default features of
libp2p-core
optional. PR 2181 -
Update dependencies.
- Update dependencies.
- Update to
snow
v0.8.0
(PR-2068).
- Update
libp2p-core
.
- Update dependencies.
- Update
libp2p-core
.
- Update
libp2p-core
.
- Update dependencies.
- Update dependencies.
-
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 theLegacyConfig
.
- Bump
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!
- Stop sending length-prefixed protobuf frames in handshake
payloads by default. See issue 1631.
The new
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 aLegacyConfig
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 oflibp2p-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!
-
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.
- Updated dependencies.
- Conditional compilation fixes for the
wasm32-wasi
target (PR 1633).
-
Re-add noise upgrades for IK and IX (PR 1580).
-
Updated dependencies.