mirror of
https://github.com/hoornet/vega.git
synced 2026-07-24 09:18:11 -07:00
957557708e
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.
119 lines
8.1 KiB
Markdown
119 lines
8.1 KiB
Markdown
# Changelog
|
||
|
||
> Note: entries for v0.12.10 through v0.13.1 live in the [GitHub Releases](https://github.com/hoornet/vega/releases) notes; this file resumes at v0.13.2.
|
||
|
||
## v0.14.0 — App identifier moves to `com.veganostr.Vega` (2026-07-14)
|
||
|
||
### Changed
|
||
- **App identifier is now `com.veganostr.Vega`** (was `com.hoornet.vega`). Reverse-DNS app IDs must sit on a domain the project controls; Flathub rejects anything else, and this keeps Vega's identity consistent across Flathub, winget and the native installers.
|
||
|
||
### Migration
|
||
- **Existing data is carried across automatically on first launch.** The identifier keys every per-app directory, so v0.14.0 moves the old directories to the new ones before opening anything: the SQLite cache (`vega.db`), the embedded relay's database (`relay.db`), and webview localStorage (themes, drafts, podcast subscriptions, article read-state). All three per-platform roots are covered — WebView2 keeps localStorage under `%LOCALAPPDATA%` on Windows, and WKWebView keeps it under `~/Library/WebKit` on macOS, neither of which is the app data dir.
|
||
- The migration only ever moves into a fresh install; an existing directory with data in it is never overwritten.
|
||
- **Keys are unaffected.** The OS keychain service name is independent of the app identifier, so you stay logged in.
|
||
- **Windows only:** the identifier change makes Windows treat v0.14.0 as a new application, so it installs alongside v0.13.2 rather than replacing it. Data is carried over; remove the old "Vega" entry from Add/Remove Programs. One-time only.
|
||
|
||
## v0.13.2 — Mute-aware search, collapsing compose box & resizable sidebar (2026-06-15)
|
||
|
||
### Added
|
||
- **Update banner changelog.** When an update is available, a "What's new" toggle expands the newest version's release notes inline (rendered as markdown), with a link to the full changelog on GitHub. The notes were already fetched by the updater but never shown.
|
||
- **Resizable left sidebar.** Drag the right edge to set the sidebar width (clamped 160–360px); double-click to reset. The chosen width persists to localStorage. Collapse-to-icons is unchanged.
|
||
|
||
### Changed
|
||
- **Search now respects the mute list (#7).** Notes, articles, and people from muted pubkeys — and posts matching muted keywords — are filtered out of search results, matching the feed. Previously only the people *suggestions* list was filtered.
|
||
- **Compose box collapses when idle (#6).** The note composer shows as a single line until focused, then expands to full height with its toolbar; it stays expanded while you interact with its controls or have unsent content. Reclaims vertical space at the top of the feed (reported as oversized on macOS).
|
||
- **Build migrated to Vite 8 / Rolldown.** `manualChunks` converted to the function form Rolldown requires. This also drops the `esbuild` dev-server dependency, clearing two Dependabot alerts (one high, one low).
|
||
|
||
## v0.12.9 — Web of Trust everywhere (2026-04-23)
|
||
|
||
### Changed
|
||
- **Web of Trust filter now applies everywhere.** Previously it only hid notes from outside your social graph on the global feed. It now also filters:
|
||
- **All feed tabs** — global, following, and trending.
|
||
- **Reaction pills** — emoji counts no longer include reactions from pubkeys outside your trust graph.
|
||
- **Zap totals** — sat counts and zap counts no longer include zaps from outside your trust graph. Zaps are filtered by the actual zapper's pubkey (from the inner zap request), not the outer LNURL service pubkey.
|
||
|
||
### Removed
|
||
- The "new account" badge on notes. It marked pubkeys whose kind-0 profile event was newer than 60 days, on the assumption that that approximated account age. It doesn't — kind-0 `created_at` is "profile last updated," so anyone who tweaked their bio recently got flagged regardless of how long they've been on Nostr. Dropped until there's a real signal to use.
|
||
|
||
## v0.12.8 — Fix Linux OOM crash (2026-04-16)
|
||
|
||
### Fixed
|
||
- Linux WebKit web process no longer grows unbounded to 8–12 GB and self-kills. Memory now oscillates at ~0.85–1.6 GB during heavy scrolling on Linux and Windows. Root cause: the Blossom SHA-256 URL auto-detection regex introduced in v0.12.6 caused 3–5× more `<img>` elements per feed page, which combined with WebKitGTK's weak bitmap eviction pushed the WebProcess past its self-kill threshold. Blossom URL auto-detection is temporarily disabled pending proper validation in a future release.
|
||
- WebKit rendering: `WEBKIT_FORCE_SOFTWARE_RENDERING=1` on Linux to keep the Wayland compositor path intact on Hyprland.
|
||
- `fetchNotifications` was firing 3× in the first 8 seconds of login; now fires once and the first background poll is delayed to 90s.
|
||
|
||
### Changed
|
||
- v0.12.7 OOM firefighting reverted: follow feed back to 100 events, global feed caches up to 200 — matching pre-crisis v0.12.6 behavior.
|
||
|
||
## v0.12.7 — Upload Fixes (2026-04-13)
|
||
|
||
### Fixed
|
||
- Image uploads now work again — nostr.build and files.sovbit.host endpoints updated to their current NIP-96 URLs; removed void.cat (dead) and nostrcheck.me (returned broken URLs without file extensions)
|
||
- NIP-98 HTTP Auth header now includes the required SHA-256 payload hash, fixing rejections from strict NIP-96 servers
|
||
- SVG files are now rejected with a clear error message before upload in profile picture, banner, compose box, and inline reply — SVGs were silently uploading but rendering as broken images on all Nostr clients
|
||
|
||
## v0.12.6 — Rich Text Everywhere (2026-04-10)
|
||
|
||
### Added
|
||
- Profile bios now render clickable links, `@mentions`, and `#hashtags` — profiles link to other profiles automatically
|
||
- DM messages now render clickable URLs, inline images, nostr entity links, and hashtags
|
||
- Article editor: selecting multiple images now inserts all of them correctly (previously only the last one was kept)
|
||
- Article editor: image thumbnail strip is now clickable — opens a full-size lightbox
|
||
|
||
### Fixed
|
||
- Blossom / NIP-96 image URLs with non-standard extensions (`.jp`, no extension) now render as inline images
|
||
- `nostr:` entity matching made case-insensitive for broader compatibility
|
||
- Multi-image article upload now inserts images with proper spacing between them
|
||
|
||
## v0.12.5 — UI Polish & Consistency (2026-04-09)
|
||
|
||
### Fixed
|
||
- V4V auto-streaming now stays off when manually disabled mid-episode; previously any play/pause/seek event would re-engage it for the same episode
|
||
|
||
### Changed
|
||
- Sentence case applied consistently to all button labels, tab labels, status text, and placeholders across every view
|
||
- All hard-coded colors (`amber-*`, `gray-*`, `bg-white`, `text-white` on non-colored backgrounds) replaced with theme tokens — correct appearance across all 7 themes
|
||
- All debug logging routed through `debug.ts` — production builds are fully silent (zero `console.*` leaks)
|
||
- Unicode punctuation: `...` → `…`, ASCII `x` close buttons → `×` throughout
|
||
- Hover `title` tooltips added to all truncated text (names, NIP-05, relay URLs, npub/nsec)
|
||
- Focus rings added to interactive elements for keyboard navigation
|
||
- `aria-label` added to all icon-only buttons
|
||
|
||
## v0.12.4 — Polls, Custom Relay & UI Polish (2026-04-06)
|
||
|
||
- NIP-1068 Polls — create, vote, animated result bars
|
||
- Switched default relay to Vega's custom Go relay (`wss://relay2.veganostr.com`)
|
||
- Note action icons with tooltips
|
||
- Fix duplicate search results (people search deduplication)
|
||
- Fix thread indentation overflow on narrow windows
|
||
|
||
## v0.12.3 — Fix Direct Messages (2026-03-xx)
|
||
|
||
- Fix DMs not loading — switched from fetchEvents to subscribe-based fetch for NIP-17 gift wraps
|
||
|
||
## v0.12.2 — Vega Public Relay
|
||
|
||
- `wss://relay2.veganostr.com` included by default
|
||
|
||
## v0.12.1 — Fixes
|
||
|
||
- Fix empty Media feed (24h time window)
|
||
- Fix empty Trending feed (retry on empty)
|
||
- Read-only mode banner
|
||
|
||
## v0.12.0 — Podcasts & Value 4 Value
|
||
|
||
- Built-in podcast player with Fountain.fm + Podcast Index
|
||
- V4V streaming sats per minute to creators
|
||
- Auto-streaming with per-episode caps and weekly budgets
|
||
- V4V sidebar dashboard with history
|
||
|
||
## v0.11.0 — Embedded Relay & Polish
|
||
|
||
- Embedded Nostr relay (strfry), naddr links, new themes, follower badges
|
||
|
||
## v0.10.0 — Rename to Vega
|
||
|
||
- Project renamed from Wrystr to Vega (named after Jurij Vega)
|
||
- All localStorage/keychain keys preserved for backward compatibility
|