From 9dec056349791b9682c3a8dad7e2ad38624a6525 Mon Sep 17 00:00:00 2001 From: Aleksandr Bogomiakov Date: Mon, 16 Nov 2026 15:03:52 +0000 Subject: [PATCH] Prepare the 1.0.0 release Set all seven workspace package versions to 1.0.0 and align their explicit internal dependency requirements, Cargo.lock entries and Nix package version. The CLI, agent status and tray now report 1.0.0 rather than 0.1.0. Release packaging derives its version from the v1.0.0 tag through the existing workflows, which classify the tag as a stable release. This is a software version change only. Keep protocol wire versions, identity derivation, handshake encoding and storage schemas unchanged; no data migration or protocol upgrade is introduced relative to the current RC. External locked dependencies are unchanged. Each protocol crate retains its own version field. Validation on macOS: - cargo fmt --all -- --check - cargo clippy --locked --workspace --all-targets -- -D warnings - cargo test --locked --workspace --all-targets: 532 passed, 2 ignored - target/debug/tsng --version reports tsng 1.0.0 - Cargo metadata confirms all seven workspace packages are 1.0.0 - Compared Cargo.lock external package entries with HEAD: unchanged - git diff --check Tests ran outside the sandbox so real local test agents could open sockets. Linux/Windows release builds, native desktop GUI and Nix builds were not run. Commit and release tag are local; publishing is left to the user. --- Cargo.lock | 14 +++++++------- crates/tsunagi-awg/Cargo.toml | 2 +- crates/tsunagi-core/Cargo.toml | 2 +- crates/tsunagi-tcp-tls/Cargo.toml | 4 ++-- crates/tsunagi-tray/Cargo.toml | 4 ++-- crates/tsunagi-wg-quic/Cargo.toml | 4 ++-- crates/tsunagi-wireguard/Cargo.toml | 4 ++-- crates/tsunagi/Cargo.toml | 12 ++++++------ nix/package.nix | 2 +- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd42e5a..ffaaacd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6296,7 +6296,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tsunagi" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anstream", "anstyle", @@ -6320,7 +6320,7 @@ dependencies = [ [[package]] name = "tsunagi-awg" -version = "0.1.0" +version = "1.0.0" dependencies = [ "bytes", "iroh", @@ -6335,7 +6335,7 @@ dependencies = [ [[package]] name = "tsunagi-core" -version = "0.1.0" +version = "1.0.0" dependencies = [ "arc-swap", "bytes", @@ -6377,7 +6377,7 @@ dependencies = [ [[package]] name = "tsunagi-tcp-tls" -version = "0.1.0" +version = "1.0.0" dependencies = [ "bytes", "caps", @@ -6397,7 +6397,7 @@ dependencies = [ [[package]] name = "tsunagi-tray" -version = "0.1.0" +version = "1.0.0" dependencies = [ "eframe", "egui-phosphor", @@ -6412,7 +6412,7 @@ dependencies = [ [[package]] name = "tsunagi-wg-quic" -version = "0.1.0" +version = "1.0.0" dependencies = [ "boringtun", "bytes", @@ -6439,7 +6439,7 @@ dependencies = [ [[package]] name = "tsunagi-wireguard" -version = "0.1.0" +version = "1.0.0" dependencies = [ "boringtun", "bytes", diff --git a/crates/tsunagi-awg/Cargo.toml b/crates/tsunagi-awg/Cargo.toml index b812757..fe1a0fb 100644 --- a/crates/tsunagi-awg/Cargo.toml +++ b/crates/tsunagi-awg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tsunagi-awg" -version = "0.1.0" +version = "1.0.0" description = "Ephemeral pairwise Amnezia transport for Tsunagi." edition.workspace = true rust-version.workspace = true diff --git a/crates/tsunagi-core/Cargo.toml b/crates/tsunagi-core/Cargo.toml index ab50eb1..e511359 100644 --- a/crates/tsunagi-core/Cargo.toml +++ b/crates/tsunagi-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tsunagi-core" -version = "0.1.0" +version = "1.0.0" description = "Small private mesh networks: persistent agent identity, deterministic network spaces, an iroh control plane, signed state and a local DNS view." readme = "../../README.md" keywords = ["mesh", "p2p", "iroh", "networking"] diff --git a/crates/tsunagi-tcp-tls/Cargo.toml b/crates/tsunagi-tcp-tls/Cargo.toml index 3c5cc32..bbb6131 100644 --- a/crates/tsunagi-tcp-tls/Cargo.toml +++ b/crates/tsunagi-tcp-tls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tsunagi-tcp-tls" -version = "0.1.0" +version = "1.0.0" description = "TCP TLS carrier for independently encrypted tsunagi mesh traffic." edition.workspace = true rust-version.workspace = true @@ -8,7 +8,7 @@ license.workspace = true repository.workspace = true [dependencies] -tsunagi-core = { path = "../tsunagi-core", version = "0.1.0" } +tsunagi-core = { path = "../tsunagi-core", version = "1.0.0" } iroh.workspace = true tokio = { workspace = true, features = ["net", "io-util", "time", "sync", "macros"] } rustls = "0.23" diff --git a/crates/tsunagi-tray/Cargo.toml b/crates/tsunagi-tray/Cargo.toml index 5b45b5c..22b3e8b 100644 --- a/crates/tsunagi-tray/Cargo.toml +++ b/crates/tsunagi-tray/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tsunagi-tray" -version = "0.1.0" +version = "1.0.0" description = "Tray application to manage a running tsunagi agent." edition.workspace = true rust-version.workspace = true @@ -15,7 +15,7 @@ path = "src/main.rs" # The agent control client and the report types: the GUI is a thin client over # the same local control interface the CLI uses, so it reuses these directly # and never re-implements the protocol. -tsunagi-core = { path = "../tsunagi-core", version = "0.1.0" } +tsunagi-core = { path = "../tsunagi-core", version = "1.0.0" } # Native, lightweight GUI — no web engine. eframe re-exports egui. eframe = { version = "0.31", default-features = false, features = ["default_fonts", "glow", "wayland", "x11"] } # Cross-platform tray icon + menu (Windows tray, macOS menu bar, Linux SNI). diff --git a/crates/tsunagi-wg-quic/Cargo.toml b/crates/tsunagi-wg-quic/Cargo.toml index ff29bea..37eec98 100644 --- a/crates/tsunagi-wg-quic/Cargo.toml +++ b/crates/tsunagi-wg-quic/Cargo.toml @@ -3,7 +3,7 @@ name = "tsunagi-wg-quic" # Its own version, and deliberately separate from the wire version it # negotiates: a release here does not stop it talking to a peer on an older # build, because what peers compare is `ANNOUNCEMENT_VERSION`. -version = "0.1.0" +version = "1.0.0" description = "The single internal WireGuard tunnel for tsunagi, independent of external carriers." edition.workspace = true rust-version.workspace = true @@ -11,7 +11,7 @@ license.workspace = true repository.workspace = true [dependencies] -tsunagi-core = { path = "../tsunagi-core", version = "0.1.0" } +tsunagi-core = { path = "../tsunagi-core", version = "1.0.0" } iroh.workspace = true tokio.workspace = true serde.workspace = true diff --git a/crates/tsunagi-wireguard/Cargo.toml b/crates/tsunagi-wireguard/Cargo.toml index 11fccbd..1e35cfc 100644 --- a/crates/tsunagi-wireguard/Cargo.toml +++ b/crates/tsunagi-wireguard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tsunagi-wireguard" -version = "0.1.0" +version = "1.0.0" description = "Independent authenticated WireGuard and Amnezia UDP carriers for tsunagi." edition.workspace = true rust-version.workspace = true @@ -8,7 +8,7 @@ license = "WTFPL AND Apache-2.0" repository.workspace = true [dependencies] -tsunagi-core = { path = "../tsunagi-core", version = "0.1.0" } +tsunagi-core = { path = "../tsunagi-core", version = "1.0.0" } iroh.workspace = true tokio = { workspace = true, features = ["net", "io-util", "time", "sync", "macros"] } serde.workspace = true diff --git a/crates/tsunagi/Cargo.toml b/crates/tsunagi/Cargo.toml index 42e329d..39e0890 100644 --- a/crates/tsunagi/Cargo.toml +++ b/crates/tsunagi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tsunagi" -version = "0.1.0" +version = "1.0.0" description = "The tsunagi command line agent." edition.workspace = true rust-version.workspace = true @@ -12,11 +12,11 @@ name = "tsng" path = "src/main.rs" [dependencies] -tsunagi-core = { path = "../tsunagi-core", version = "0.1.0", features = ["tun-device", "dns-publish"] } -tsunagi-wireguard = { path = "../tsunagi-wireguard", version = "0.1.0" } -tsunagi-awg = { path = "../tsunagi-awg", version = "0.1.0" } -tsunagi-wg-quic = { path = "../tsunagi-wg-quic", version = "0.1.0" } -tsunagi-tcp-tls = { path = "../tsunagi-tcp-tls", version = "0.1.0" } +tsunagi-core = { path = "../tsunagi-core", version = "1.0.0", features = ["tun-device", "dns-publish"] } +tsunagi-wireguard = { path = "../tsunagi-wireguard", version = "1.0.0" } +tsunagi-awg = { path = "../tsunagi-awg", version = "1.0.0" } +tsunagi-wg-quic = { path = "../tsunagi-wg-quic", version = "1.0.0" } +tsunagi-tcp-tls = { path = "../tsunagi-tcp-tls", version = "1.0.0" } iroh.workspace = true tokio = { version = "1.53", features = ["rt", "rt-multi-thread", "sync", "time", "macros", "signal"] } tracing.workspace = true diff --git a/nix/package.nix b/nix/package.nix index 32dd70e..3b57619 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -34,7 +34,7 @@ let in rustPlatform.buildRustPackage { pname = if withTray then "tsunagi" else "tsunagi-cli"; - version = "0.1.0"; + version = "1.0.0"; src = lib.cleanSource ../.; cargoLock.lockFile = ../Cargo.lock;