From 22c8623218adf51ca0b7ac9a10ceb627a2c28476 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 4 Oct 2026 18:49:37 +0000 Subject: [PATCH] Release 0.0.1-alpha The apps (voelin-ui, voelin-android) are 0.0.1-alpha; the gateway keeps its own version. A pre-release version broke three package builds, now handled: - Android: versionCode took "1-alpha" as a number (Gradle failed); it counts the version without the pre-release (0.0.1-alpha: 1). - Windows installer: VIProductVersion must be numeric; makensis refused "0.0.1-alpha.0". package.sh passes VERSION_NUMERIC (0.0.1). - Debian: "0.0.1-alpha" reads as revision "alpha" and sorts after 0.0.1; the package version is 0.0.1~alpha. Draft releases of such tags are marked as pre-releases (GitHub, Gitea). Changelog: the Unreleased section is 0.0.1-alpha, with myTeamSpeak sign-in, banners and a known issue. AppStream: the never-released 0.1.0 entry is the 0.0.1-alpha development release. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q --- .github/workflows/release.yml | 2 ++ CHANGELOG.md | 21 ++++++++++++++++++- Cargo.lock | 4 ++-- android/app/build.gradle.kts | 5 +++-- crates/voelin-android/Cargo.toml | 2 +- crates/voelin-ui/Cargo.toml | 2 +- .../io.github.faumaray.Voelin.metainfo.xml | 6 ++++-- packaging/windows/installer.nsi | 7 ++++++- scripts/gitea-release.sh | 2 +- scripts/package.sh | 6 ++++-- 10 files changed, 44 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 207c671..796d6bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -228,5 +228,7 @@ jobs: - uses: softprops/action-gh-release@v2 with: draft: true + # v0.0.1-alpha and the like are pre-releases. + prerelease: ${{ contains(github.ref_name, '-') }} generate_release_notes: true files: dist/* diff --git a/CHANGELOG.md b/CHANGELOG.md index a7bc771..5e449b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,24 @@ User-visible changes of the apps and the `tsgw` gateway. The format follows ## [Unreleased] -The first release is in preparation. +## [0.0.1-alpha] - 2026-10-04 + +The first alpha. ### Added +- myTeamSpeak account sign-in (desktop): sign in with the account's email, + password and one-time code; the session is kept in the system keyring and + checked at start. Voice connections present the account to servers (its + id with a proof signed by the account) and follow sign-in and sign-out + live. The account screen links to the account website for creating an + account, resetting the password and managing it. +- Banners: the host banner and TeamSpeak 6 channel banners, behind the + server card, the channel rows and the chat and voice headers. Banners on + the web (http, https) and in the server's own files (`ts3image://`) are + downloaded, up to 64 MiB, retried after failures and reloaded as often as + the server asks; server and channel icons and avatars are retried too. + - Desktop app (Linux Wayland/X11, Windows): servers and bookmarks, channel tree with talking indicators, server and channel chat, voice with push-to-talk (global hotkeys), voice activation, echo cancellation, noise @@ -56,3 +70,8 @@ The first release is in preparation. through the gateway) is shown once. Settings: `chat.store_history`, `chat.history_page`, `chat.dedupe_tolerance_ms`, `chat.retention_days`. - Opt-in local crash reports; third-party notices in the About page. + +### Known issues + +- Account keyring access runs on the UI thread: a locked keyring's unlock + prompt holds the window until it is answered. diff --git a/Cargo.lock b/Cargo.lock index 0a98bd0..47951aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9648,7 +9648,7 @@ dependencies = [ [[package]] name = "voelin-android" -version = "0.1.0" +version = "0.0.1-alpha" dependencies = [ "anyhow", "jni 0.22.4", @@ -9910,7 +9910,7 @@ dependencies = [ [[package]] name = "voelin-ui" -version = "0.1.0" +version = "0.0.1-alpha" dependencies = [ "anyhow", "chrono", diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 824e483..a7c6da9 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -46,8 +46,9 @@ android { minSdk = 29 targetSdk = 36 versionName = crateVersion - // major * 1000000 + minor * 1000 + patch (docs/release.md). - versionCode = crateVersion.split('.').map(String::toInt) + // major * 1000000 + minor * 1000 + patch (docs/release.md); a + // pre-release (0.0.1-alpha) counts as its version. + versionCode = crateVersion.substringBefore('-').split('.').map(String::toInt) .let { (major, minor, patch) -> major * 1_000_000 + minor * 1_000 + patch } } diff --git a/crates/voelin-android/Cargo.toml b/crates/voelin-android/Cargo.toml index 7ba4c75..284ad3e 100644 --- a/crates/voelin-android/Cargo.toml +++ b/crates/voelin-android/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "voelin-android" -version = "0.1.0" +version = "0.0.1-alpha" description = "Android app library: native activity entry point, engine kept for the whole process, JNI bridge to the Kotlin services (voice, screen share), Android Keystore secrets." edition.workspace = true rust-version.workspace = true diff --git a/crates/voelin-ui/Cargo.toml b/crates/voelin-ui/Cargo.toml index 39b990f..10427a8 100644 --- a/crates/voelin-ui/Cargo.toml +++ b/crates/voelin-ui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "voelin-ui" -version = "0.1.0" +version = "0.0.1-alpha" description = "Slint user interface and the desktop binary." edition.workspace = true rust-version.workspace = true diff --git a/packaging/linux/io.github.faumaray.Voelin.metainfo.xml b/packaging/linux/io.github.faumaray.Voelin.metainfo.xml index 7ebc0d1..77e35f6 100644 --- a/packaging/linux/io.github.faumaray.Voelin.metainfo.xml +++ b/packaging/linux/io.github.faumaray.Voelin.metainfo.xml @@ -39,9 +39,11 @@ pointing - + -

First packaged build.

+

The first alpha: servers and bookmarks, voice, channel and server chat, + TeamSpeak 6 streams, observing servers through the tsgw gateway, + myTeamSpeak account sign-in, and host and channel banners.

diff --git a/packaging/windows/installer.nsi b/packaging/windows/installer.nsi index d3f89e0..2919b5d 100644 --- a/packaging/windows/installer.nsi +++ b/packaging/windows/installer.nsi @@ -3,6 +3,8 @@ ; makensis /DVERSION=0.1.0 packaging\windows\installer.nsi ; ; Paths are relative to this file. Optional defines: +; VERSION_NUMERIC VERSION without a pre-release (0.0.1 for 0.0.1-alpha), +; for the numeric file version (default: VERSION) ; BINARY the executable (default ..\..\target\release\voelin.exe) ; OUTDIR where the installer goes (default: next to this file) ; SIGN a signing command; "%1" is replaced by the file to sign, e.g. @@ -15,6 +17,9 @@ SetCompressor /SOLID lzma !ifndef VERSION !define VERSION "0.1.0" !endif +!ifndef VERSION_NUMERIC + !define VERSION_NUMERIC "${VERSION}" +!endif !ifndef BINARY !define BINARY "..\..\target\release\voelin.exe" !endif @@ -40,7 +45,7 @@ InstallDir "$PROGRAMFILES64\${APP_NAME}" InstallDirRegKey HKLM "${UNINSTALL_KEY}" "InstallLocation" RequestExecutionLevel admin -VIProductVersion "${VERSION}.0" +VIProductVersion "${VERSION_NUMERIC}.0" VIAddVersionKey "ProductName" "${APP_NAME}" VIAddVersionKey "ProductVersion" "${VERSION}" VIAddVersionKey "FileVersion" "${VERSION}" diff --git a/scripts/gitea-release.sh b/scripts/gitea-release.sh index 7b8b50a..1114195 100755 --- a/scripts/gitea-release.sh +++ b/scripts/gitea-release.sh @@ -131,7 +131,7 @@ def main(): release = request("GET", base + "/tags/" + quote(tag, safe=""), missing=True) if release is not_found: release = request("POST", base, payload={"tag_name": tag, "target_commitish": sha, - "name": tag, "draft": True, "prerelease": False, + "name": tag, "draft": True, "prerelease": "-" in tag, "body": "Packages and SHA256 checksums. Review before publishing."}) if not isinstance(release, dict) or release.get("tag_name") != tag or release.get("draft") is not True: fail("refusing to modify a published or mismatched release") diff --git a/scripts/package.sh b/scripts/package.sh index a77269b..ff2cdde 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -69,7 +69,8 @@ make_deb() { EOF mkdir -p "$root/DEBIAN" { - printf 'Package: %s\nVersion: %s\nArchitecture: %s\n' "$pkg" "$ver" "$deb_arch" + # A pre-release sorts before its release in Debian with ~ (0.0.1~alpha). + printf 'Package: %s\nVersion: %s\nArchitecture: %s\n' "$pkg" "${ver/-/\~}" "$deb_arch" printf 'Maintainer: Faumaray <23194470+Faumaray@users.noreply.github.com>\n' printf 'Section: net\nPriority: optional\nHomepage: %s\n' "$homepage" printf 'Depends: %s\n' "$depends" @@ -167,7 +168,8 @@ package_windows() { return fi # Absolute paths: makensis changes into the script's directory. - "$makensis" -V2 -DVERSION="$version" -DOUTDIR="$(native_path "$out")" \ + "$makensis" -V2 -DVERSION="$version" -DVERSION_NUMERIC="${version%%-*}" \ + -DOUTDIR="$(native_path "$out")" \ -DBINARY="$(native_path "$(cd "$bin" && pwd)/voelin.exe")" packaging/windows/installer.nsi files+=("voelin-$version-setup.exe") }