diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ecd666..97dea46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [2.0.1] - 2026-04-25 + +### Fixed + +- **TUI quit no longer hangs on a misleading "updating DHT" screen.** + The 2.0.0 migration to `iroh-gossip-rendezvous` removed the + synchronous mainline-DHT publish that the old `Gossip::shutdown()` + performed (rendezvous entries age out instead), but the TUI flow + was unchanged: pressing `q` drew an "updating DHT…" overlay, + awaited `swarm.shutdown()`, and only then restored the terminal — + so the user sat on the stale message for as long as + `endpoint.close()` took to flush in-flight connections. Restore + the terminal the moment `q` is pressed, drop the overlay, and + cap the graceful-shutdown wait at 2 s so a slow endpoint close + can't stall the process. + ## [2.0.0] - 2026-04-23 ### Breaking diff --git a/Cargo.lock b/Cargo.lock index e78a417..69d29c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1031,7 +1031,7 @@ dependencies = [ [[package]] name = "donglora-bridge" -version = "2.0.0" +version = "2.0.1" dependencies = [ "anyhow", "blake3", diff --git a/Cargo.toml b/Cargo.toml index 06e2fad..4e35827 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "donglora-bridge" -version = "2.0.0" +version = "2.0.1" edition = "2024" authors = ["Stephen Waits "] license = "MIT"