Bump to v0.14.0 — app identifier moves to com.veganostr.Vega

The app identifier changes from `com.hoornet.vega` to `com.veganostr.Vega`.
A reverse-DNS app ID must sit on a domain the project controls; the old one
did not, which blocks publishing on Flathub and leaves Vega's identity
inconsistent across Flathub, winget and the native installers.

The identifier keys every per-app directory, so this migrates existing
installs on first launch: the SQLite cache (vega.db), the embedded relay's
database (relay.db), and webview localStorage (themes, drafts, podcast
subscriptions, article read-state).

Migration runs at the top of run(), before tauri::Builder — not inside
.setup(). Tauri builds the config-defined windows before invoking the setup
hook, and building a webview create_dir_all's <LocalData>/<identifier>, which
on Linux is the same directory that holds vega.db. Migrating from setup()
would therefore always find a non-empty destination, skip, and silently
strand every Linux user's data with no way for a later fix to recover it.

Entries are moved individually rather than renaming the whole tree, so a
destination the webview already created does not block the migration, and a
failed attempt retries on the next launch. An entry that already exists at
the destination is never overwritten — the live copy always wins.

All three per-platform roots are covered: WebView2 keeps localStorage under
%LOCALAPPDATA% on Windows (not %APPDATA%), and WKWebView keeps it under
~/Library/WebKit on macOS, neither of which is the app data dir.

Keys are unaffected — the keychain service name is independent of the
identifier, so users stay logged in.

Windows installs v0.14.0 alongside v0.13.2 rather than replacing it, since
the changed identifier reads as a new application. Documented in the README,
CHANGELOG and release notes.
This commit is contained in:
Jure
2026-07-14 12:20:32 +02:00
parent d37a414b82
commit 957557708e
9 changed files with 285 additions and 6 deletions
+8
View File
@@ -69,6 +69,14 @@ jobs:
> **Windows note:** The installer is not yet code-signed. Windows SmartScreen will show an "Unknown publisher" warning — click "More info → Run anyway" to install.
### v0.14.0 — Vega moves to its own app identifier
Vega's internal app identifier changes from `com.hoornet.vega` to `com.veganostr.Vega`, so it is anchored to a domain the project controls. This is a prerequisite for publishing Vega on Flathub and winget, and it makes the app's identity consistent across every platform.
**Your data comes with you.** On first launch, v0.14.0 moves your existing data directory across automatically — cached notes and profiles, the embedded relay's database, your themes, drafts, podcast subscriptions and article read-state. Your keys are stored in the OS keychain and are not affected at all, so you stay logged in.
> **Upgrading on Windows:** because the identifier changed, Windows treats this as a new application, so v0.14.0 installs alongside v0.13.2 instead of replacing it. Your data is carried over — you can uninstall the old "Vega" entry from Add/Remove Programs afterwards. This is a one-time step; future updates will upgrade in place as normal.
### v0.13.2 — Mute-aware search, a tidier compose box & a resizable sidebar
Three community-requested improvements plus a couple of nice touches.