Skip to content

Commit 22b19c8

Browse files
authored
chore: Release litep2p 0.9.2 (#356)
## [0.9.2] - 2025-03-10 This release downgrades a spamming log message to debug level and adds tests for the WebSocket stream implementation. Thanks to @dharjeezy for contributing to this release by avoiding to clone the Kademlia peers when yielding the closest nodes! ### Changed - manager: Downgrade refusing to add address log to debug ([#355](#355)) - Clone only needed KademliaPeers when yielding closest nodes ([#326](#326)) ### Added - websocket/stream/tests: Add tests for the stream implementation ([#329](#329)) cc @paritytech/networking --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
1 parent 8004d47 commit 22b19c8

File tree

4 files changed

+50
-7
lines changed

4 files changed

+50
-7
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
- name: Checkout sources
4343
uses: actions/checkout@v4
4444

45+
- name: Install Rust stable toolchain
46+
uses: actions-rs/toolchain@v1
47+
with:
48+
profile: minimal
49+
toolchain: stable
50+
override: true
51+
4552
- name: Rust Cache
4653
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
4754
with:
@@ -90,6 +97,13 @@ jobs:
9097
- name: Checkout sources
9198
uses: actions/checkout@v4
9299

100+
- name: Install Rust stable toolchain
101+
uses: actions-rs/toolchain@v1
102+
with:
103+
profile: minimal
104+
toolchain: stable
105+
override: true
106+
93107
- name: Rust Cache
94108
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
95109
with:
@@ -109,6 +123,13 @@ jobs:
109123
- name: Checkout sources
110124
uses: actions/checkout@v4
111125

126+
- name: Install Rust stable toolchain
127+
uses: actions-rs/toolchain@v1
128+
with:
129+
profile: minimal
130+
toolchain: stable
131+
override: true
132+
112133
- name: Rust Cache
113134
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
114135
with:
@@ -127,6 +148,13 @@ jobs:
127148
- name: Checkout sources
128149
uses: actions/checkout@v4
129150

151+
- name: Install Rust stable toolchain
152+
uses: actions-rs/toolchain@v1
153+
with:
154+
profile: minimal
155+
toolchain: stable
156+
override: true
157+
130158
- name: Rust Cache
131159
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
132160
with:
@@ -148,11 +176,11 @@ jobs:
148176
- name: Checkout sources
149177
uses: actions/checkout@v4
150178

151-
- name: Install Rust 1.81
152-
run: rustup install 1.81.0-x86_64-unknown-linux-gnu
179+
- name: Install Rust 1.85
180+
run: rustup install 1.85.0-x86_64-unknown-linux-gnu
153181

154-
- name: Use Rust 1.81
155-
run: rustup default 1.81.0-x86_64-unknown-linux-gnu
182+
- name: Use Rust 1.85
183+
run: rustup default 1.85.0-x86_64-unknown-linux-gnu
156184

157185
- name: Rust Cache
158186
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.9.2] - 2025-03-10
9+
10+
This release downgrades a spamming log message to debug level and adds tests for the WebSocket stream implementation.
11+
12+
Thanks to @dharjeezy for contributing to this release by avoiding to clone the Kademlia peers when yielding the closest nodes!
13+
14+
### Changed
15+
16+
- manager: Downgrade refusing to add address log to debug ([#355](https://github.com/paritytech/litep2p/pull/355))
17+
- Clone only needed KademliaPeers when yielding closest nodes ([#326](https://github.com/paritytech/litep2p/pull/326))
18+
19+
### Added
20+
21+
- websocket/stream/tests: Add tests for the stream implementation ([#329](https://github.com/paritytech/litep2p/pull/329))
22+
823
## [0.9.1] - 2025-01-19
924

1025
This release enhances compatibility between litep2p and libp2p by using the latest Yamux upstream version. Additionally, it includes various improvements and fixes to boost the stability and performance of the WebSocket stream and the multistream-select protocol.

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "litep2p"
33
description = "Peer-to-peer networking library"
44
license = "MIT"
5-
version = "0.9.1"
5+
version = "0.9.2"
66
edition = "2021"
77

88
[build-dependencies]

0 commit comments

Comments
 (0)