Skip to content

Commit 07240f2

Browse files
authored
chore: Release litep2p version 0.8.1 (#288)
## [0.8.1] - 2024-11-14 This release includes key fixes that enhance the stability and performance of the litep2p library, focusing on long-running stability and improvements to polling mechanisms. ### Long Running Stability Improvements This issue caused long-running nodes to reject all incoming connections, impacting overall stability. Addressed a bug in the connection limits functionality that incorrectly tracked connections due for rejection. This issue caused an artificial increase in inbound peers, which were not being properly removed from the connection limit count. This fix ensures more accurate tracking and management of peer connections [#286](#286). ### Polling implementation fixes This release provides multiple fixes to the polling mechanism, improving how connections and events are processed: - Resolved an overflow issue in TransportContext's polling index for streams, preventing potential crashes. - Fixed a delay in the manager's `poll_next` function that prevented immediate polling of newly added futures. - Corrected an issue where the listener did not return Poll::Ready(None) when it was closed, ensuring proper signal handling. ### Fixed - manager: Fix connection limits tracking of rejected connections ([#286](#286)) - transport: Fix waking up on filtered events from `poll_next` ([#287](#287)) - transports: Fix missing Poll::Ready(None) event from listener ([#285](#285)) - manager: Avoid overflow on stream implementation for `TransportContext` ([#283](#283)) - manager: Log when polling returns Ready(None) ([#284](#284)) cc @paritytech/networking --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
1 parent 40ea4ea commit 07240f2

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,34 @@ 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.8.1] - 2024-11-14
9+
10+
This release includes key fixes that enhance the stability and performance of the litep2p library, focusing on long-running stability and improvements to polling mechanisms.
11+
12+
### Long Running Stability Improvements
13+
14+
This issue caused long-running nodes to reject all incoming connections, impacting overall stability.
15+
16+
Addressed a bug in the connection limits functionality that incorrectly tracked connections due for rejection.
17+
This issue caused an artificial increase in inbound peers, which were not being properly removed from the connection limit count.
18+
This fix ensures more accurate tracking and management of peer connections [#286](https://github.com/paritytech/litep2p/pull/286).
19+
20+
### Polling implementation fixes
21+
22+
This release provides multiple fixes to the polling mechanism, improving how connections and events are processed:
23+
24+
- Resolved an overflow issue in TransportContext's polling index for streams, preventing potential crashes.
25+
- Fixed a delay in the manager's `poll_next` function that prevented immediate polling of newly added futures.
26+
- Corrected an issue where the listener did not return Poll::Ready(None) when it was closed, ensuring proper signal handling.
27+
28+
### Fixed
29+
30+
- manager: Fix connection limits tracking of rejected connections ([#286](https://github.com/paritytech/litep2p/pull/286))
31+
- transport: Fix waking up on filtered events from `poll_next` ([#287](https://github.com/paritytech/litep2p/pull/287))
32+
- transports: Fix missing Poll::Ready(None) event from listenener ([#285](https://github.com/paritytech/litep2p/pull/285))
33+
- manager: Avoid overflow on stream implementation for `TransportContext` ([#283](https://github.com/paritytech/litep2p/pull/283))
34+
- manager: Log when polling returns Ready(None) ([#284](https://github.com/paritytech/litep2p/pull/284))
35+
836
## [0.8.0] - 2024-11-04
937

1038
This release adds support for content provider advertisement and discovery to Kademlia protocol implementation (see libp2p [spec](https://github.com/libp2p/specs/blob/master/kad-dht/README.md#content-provider-advertisement-and-discovery)).

Cargo.lock

Lines changed: 1 addition & 1 deletion
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.8.0"
5+
version = "0.8.1"
66
edition = "2021"
77

88
[build-dependencies]

0 commit comments

Comments
 (0)