diff --git a/Cargo.lock b/Cargo.lock index 0ccf4a46dddff..4e50fd52007c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9703,9 +9703,9 @@ checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" [[package]] name = "litep2p" -version = "0.9.5" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14fb10e63363204b89d91e1292df83322fd9de5d7fa76c3d5c78ddc2f8f3efa9" +checksum = "c666ef772d123a7643323ad4979c30dd825e9c68ec1aa5b387a6c9a9871c11ea" dependencies = [ "async-trait", "bs58", @@ -9735,7 +9735,7 @@ dependencies = [ "thiserror 2.0.12", "tokio", "tokio-stream", - "tokio-tungstenite 0.26.2", + "tokio-tungstenite 0.27.0", "tokio-util", "tracing", "uint 0.10.0", @@ -25281,6 +25281,18 @@ name = "tokio-tungstenite" version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" +dependencies = [ + "futures-util", + "log", + "tokio", + "tungstenite 0.26.2", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "489a59b6730eda1b0171fcfda8b121f4bee2b35cba8645ca35c5f7ba3eb736c1" dependencies = [ "futures-util", "log", @@ -25289,7 +25301,7 @@ dependencies = [ "rustls-pki-types", "tokio", "tokio-rustls 0.26.0", - "tungstenite 0.26.2", + "tungstenite 0.27.0", ] [[package]] @@ -25634,6 +25646,23 @@ name = "tungstenite" version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" +dependencies = [ + "bytes", + "data-encoding", + "http 1.1.0", + "httparse", + "log", + "rand 0.9.0", + "sha1", + "thiserror 2.0.12", + "utf-8", +] + +[[package]] +name = "tungstenite" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eadc29d668c91fcc564941132e17b28a7ceb2f3ebf0b9dae3e03fd7a6748eb0d" dependencies = [ "bytes", "data-encoding", diff --git a/Cargo.toml b/Cargo.toml index c05aabc5bb4a8..c943368b47893 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -895,7 +895,7 @@ linked-hash-map = { version = "0.5.4" } linked_hash_set = { version = "0.1.4" } linregress = { version = "0.5.1" } lite-json = { version = "0.2.0", default-features = false } -litep2p = { version = "0.9.5", features = ["websocket"] } +litep2p = { version = "0.10.0", features = ["websocket"] } log = { version = "0.4.22", default-features = false } macro_magic = { version = "0.5.1" } maplit = { version = "1.0.2" } diff --git a/prdoc/pr_9287.prdoc b/prdoc/pr_9287.prdoc new file mode 100644 index 0000000000000..ca2ca69786929 --- /dev/null +++ b/prdoc/pr_9287.prdoc @@ -0,0 +1,23 @@ +title: 'network: Upgrade litep2p to v0.10.0' +doc: +- audience: Node Dev + description: |- + ## litep2p v0.10.0 + + This release adds the ability to use system DNS resolver and change Kademlia DNS memory store capacity. It also fixes the Bitswap protocol implementation and correctly handles the dropped notification substreams by unregistering them from the protocol list. + + ### Added + + - kad: Expose memory store configuration ([#407](https://github.com/paritytech/litep2p/pull/407)) + - transport: Allow changing DNS resolver config ([#384](https://github.com/paritytech/litep2p/pull/384)) + + ### Fixed + + - notification: Unregister dropped protocols ([#391](https://github.com/paritytech/litep2p/pull/391)) + - bitswap: Fix protocol implementation ([#402](https://github.com/paritytech/litep2p/pull/402)) + - transport-manager: stricter supported multiaddress check ([#403](https://github.com/paritytech/litep2p/pull/403)) +crates: +- name: sc-network + bump: major +- name: sc-network-types + bump: major