From 5d0785389310c33ec68d32c751db669935a4534e Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Thu, 20 Aug 2026 22:39:40 +0700 Subject: [PATCH] chore(release): irtt-server 0.5.1, irtt-rs 0.6.1 irtt-server gains address_family_available() as a public helper, and irtt-rs picks up the server zero-argument defaults and single-family fallback that depend on it. --- CHANGELOG.md | 16 ++++++++++++++++ Cargo.lock | 4 ++-- Cargo.toml | 2 +- crates/irtt-app/Cargo.toml | 2 +- crates/irtt-server/Cargo.toml | 2 +- 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41ce832..d998add 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,12 @@ release. The format is loosely based on ## irtt-server +### 0.5.1 + +#### Added + +- New public `address_family_available()` helper (re-exported from `set`), for probing whether an address family can actually bind locally rather than merely constructing a socket for it. Used by the `irtt-rs` server applet to distinguish a genuinely unsupported address family from an ordinary bind failure when falling back from its default dual-family bind. + ### 0.5.0 #### Added @@ -90,6 +96,16 @@ release. The format is loosely based on ## irtt-rs +### 0.6.1 + +#### Added + +- The `irtt-server` applet now has sensible zero-argument defaults: with no `--bind`, it binds the wildcard IRTT port on both address families (`[::]:2112` then `0.0.0.0:2112`) instead of requiring an explicit address, on platforms where wildcard reply-source selection is supported. Any explicit `--bind` fully replaces the default pair rather than adding to it. + +#### Changed + +- If one of the two default listeners fails because its address family has no local support on the host (e.g. IPv6 administratively disabled on an otherwise IPv4-capable host), the server now falls back to serving just the surviving family instead of failing outright. Any other failure reason (port in use, permission denied, no safe wildcard reply-source path) still fails startup as it would for an explicit `--bind`. + ### 0.6.0 #### Changed diff --git a/Cargo.lock b/Cargo.lock index ae5a4b3..2834c9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -749,7 +749,7 @@ dependencies = [ [[package]] name = "irtt-rs" -version = "0.6.0" +version = "0.6.1" dependencies = [ "clap", "crossterm", @@ -764,7 +764,7 @@ dependencies = [ [[package]] name = "irtt-server" -version = "0.5.0" +version = "0.5.1" dependencies = [ "getrandom 0.4.3", "irtt-proto", diff --git a/Cargo.toml b/Cargo.toml index 978bb15..539fe2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ homepage = "https://github.com/Lochnair/irtt-rs" [workspace.dependencies] irtt-proto = { version = "0.5.0", path = "crates/irtt-proto" } irtt-client = { version = "0.5.0", path = "crates/irtt-client" } -irtt-server = { version = "0.5.0", path = "crates/irtt-server" } +irtt-server = { version = "0.5.1", path = "crates/irtt-server" } irtt-stats = { version = "0.5.0", path = "crates/irtt-stats" } [profile.release] diff --git a/crates/irtt-app/Cargo.toml b/crates/irtt-app/Cargo.toml index 14687e7..4f8f6e5 100644 --- a/crates/irtt-app/Cargo.toml +++ b/crates/irtt-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "irtt-rs" -version = "0.6.0" +version = "0.6.1" description = "IRTT-compatible client, TUI, and server applications" edition.workspace = true license.workspace = true diff --git a/crates/irtt-server/Cargo.toml b/crates/irtt-server/Cargo.toml index f77bc13..7ff6821 100644 --- a/crates/irtt-server/Cargo.toml +++ b/crates/irtt-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "irtt-server" -version = "0.5.0" +version = "0.5.1" description = "IRTT-compatible Rust server library" edition.workspace = true license.workspace = true