docs: add v1.09.0 changelog entry

Adds the v1.09.0 "We are going crazy" release notes, including the
last 2-3 weeks of work: Desktop multi-account, scheduled posts, LAN
video casting, thread muting, configurable home tabs, NIP-9A community
rules, the geode relay module, expanded QUIC RFC coverage and
quic-interop-runner results, moq-lite nestsClient, and the May fixes.

https://claude.ai/code/session_01PyGyMpa9XvTHrB4iqZX5oZ
This commit is contained in:
Claude
2026-05-14 20:27:49 +00:00
parent 5f89648c54
commit 42113544c8
+190
View File
@@ -1,3 +1,193 @@
<a id="v1.09.0"></a>
# [Release v1.09.0: We are going crazy](https://github.com/vitorpamplona/amethyst/releases/tag/v1.09.0) - 2026-05-14
What's New?
- Go live on audio spaces (Nests)
- Marmot Group chats (WhiteNoise)
- Voice and Video calls (Noscall)
- PDF reader
- Favorite algo feeds
- HLS Video Uploads
- Schedule posts for later
- Cast videos to your TV (Chromecast / DLNA)
- Multiple accounts on Desktop
- Mute a whole conversation thread
- Tap any timestamp to see the exact date and time
- Local LLM helpers (Pixel 9+, Samsung 25+, Xiaomi 15+)
- Cli tools
## Features
- **Voice and Video Calls (NIP-AC)** — one-on-one and group WebRTC calls with full-screen incoming-call UI over the lock screen, PiP, ringtone/vibration, proximity sensor, Bluetooth headset routing, Camera switch, network resilience, default TURN servers, mid-call peer invites with 30s timeout and per-peer status, and a Settings toggle to disable calls
- **Audio Rooms / Nests (NIP-53)** — full revamp: live chat panel, reactions overlay + picker, listener counter, presence with publishing/onstage tags, hand-raise queue, host actions (kick / promote / demote / edit / close room), per-participant context sheet, scheduled rooms with TimePicker + SCHEDULED badge, "Listen to recording" CTA for closed rooms, share as `naddr1`, custom room themes & fonts (kind 30312), home live-bubble row showing follows broadcasting, host-leave confirmation, default-server prompt, in-app lobby route to gate re-entry, PiP that focuses active speakers, feed bucketed into Live / Scheduled / Recently ended, live audio-level speaker ring
- **Marmot Encrypted Group Chats (MLS over Nostr / NIP-EE)** — create, join, leave; inline group rendering in Messages; member management with user search; admin grant/revoke; group info screen with picture, member list and per-relay freshness; auto-publish KeyPackage; Reset Marmot State safety valve in Settings; full RFC 9420 compliance pass (P0/P1/P2), External Commit flow, retained-epoch decryption for offline catch-up; popup notifications for group messages (kind:445)
- **Multi-account on Desktop** — account switcher dropdown in the sidebar and single-pane layout, Add Account dialog, per-account logout, encrypted `DesktopAccountStorage` (AES-256-GCM), migration into a shared `AccountManager`, display names and middle-truncated npubs
- **Schedule posts for later** — date/time picker and toolbar toggle in the post composer, a dedicated screen + drawer entry to view, push or delete scheduled posts, a background worker that publishes at the scheduled time, and a warning when scheduling without always-on notifications
- **Cast videos to your TV** — LAN casting via Chromecast (on play) and DLNA (both flavors), with a Cast button backfilled for accounts that already had video settings
- **Mute a whole thread** — Mute thread entry in the long-press dropdown and quick-action sheet; muted threads are listed in Security Filters with an unmute action and dropped from feeds, notifications and push delivery
- **Configurable home tabs** — choose between New Threads, Conversations and Everything; visibility toggles persist across restarts
- **Reply and Mention notifications (NIP-10 / NIP-22)** — dedicated Mentions channel, per-thread grouping, inline reply, all content-event citations routed to Mentions, plus an opt-in Following / Everyone tab split
- **Filter the home feed in place** by hashtag, community, geohash and relay (no navigation away)
- **NIP-9A Community Rules** — structured rules editor in the new-community flow, post validation against community rules in the composer, and an opt-in moderation feed filter
- **PDF previews** in feeds
- **Multi-wallet NWC** — multiple wallets with balance view, default picker, rename, reorder, dedicated Add Wallet screen with Connect Wallet / paste / QR scan
- **Favorite Algo Feeds** filter in the Top Nav Bar
- **Custom Post creation** on Polls / Pictures / Shorts / Longs
- **HLS Video uploads (NIP-71)** — pick which renditions to upload, see which file is currently uploading, optional cross-post as a kind-1 note, generated poster JPEG, and blurhash + thumbhash on every video imeta
- **NIP-A3 Payment Targets (kind 10133)** — Pay action on note reactions row, payment-targets button on profile, Lightning address moved to the wallet setup screen, alt-text on PaymentTargetsEvent
- **Search power tools** — scope, source, follows and sort toggles, plus paste an `npub1…`, `nprofile1…`, `nevent1…`, `naddr1…` or `note1…` to jump straight to it
- **Markdown renderer** — improved typography, blockquote gutter, table styling
- **Polls** — single-screen creation with poll-type selector, Open/Closed tabs, "View results" option (prevents voting after viewing), dismiss button on active-poll cards
- **Badge support Redesigned** — You can now create, grant, manage and add/remove badges from your profile.
- **Settings revamp** — modernized Settings screen, a dedicated Profile UI settings page, a Compose Settings screen (auto-draft toggle), and Security Filters split into a hub with per-category screens
- **Tap a timestamp** to toggle between relative ("2h ago") and absolute date/time, driven by a single shared ticker
- **Copy raw JSON** of a note from the dropdown menu
- **Stale-relay hint** on replaceable events, using the NIP-66 relay cache
- **Two-stage zap progress**, bulk-remove for blocked users and hidden words, a jump-to-parent icon on replies in Full UI mode, a configurable report-warning threshold, and `.f4a` audio playback
## In AI-Ready phones (Pixel 9+, Samsung 25+, Xiaomi 15+):
- **AI Writing Help** — assistant in the new-post screen with tone suggestions (precomputed in parallel), auto language detection, and an on-device option in Application Preferences
- **AI Alt-Text for images** — on-device image description / labeling, suggestions appear in the upload sheet (Google Play build)
## Desktop
- **Tor Support** — full Tor support on the desktop app (kmp-tor daemon, settings UI, per-relay routing, .onion badge, restart-on-toggle, image loading via Tor)
- **Multi-account** — sidebar account switcher, Add Account dialog, per-account logout, encrypted account storage
- **Embedded local relay** — an in-process relay with SQLite event persistence
- **Custom feeds system** — create, pin and inline-switch between custom feeds, with author search in the feed builder (relay NIP-50 + avatars)
- **Namecoin name resolution** — Namecoin lookups now resolve and surface in search
- **Native theming** for macOS, GNOME, KDE and Windows (matches platform look and accent colors)
- **Relay power tools** — dashboard, config editors, per-screen relay picker, persistent configuration, correct counts
- **Messages** — draggable divider, alignment polish, centered empty states, typography hierarchy, refined dividers
- **macOS polish** — dock / Cmd+Tab icon via Taskbar API, Apple-HIG squircle margins, transparent window icon, light-mode primary contrast, content extends correctly under the title bar
- **Reading layout** — width-capped ReadingColumn + 12 dp horizontal gutter for comfortable wide-window reading
- **Compact UI** — Search/Chat/Profile inputs, Settings hierarchy normalized, tabs-first headers across Home / Reads / Notifications, whole-card hover on notes
- **Per-OS theming preview** flag for testing macOS/GNOME/KDE/Windows looks locally
- Selectable error messages, scrollable single-pane navigation rail
- Fixes feed loading, repost rendering and Profile back-navigation visibility
## Amy (CLI)
- New **`amy`**, a non-interactive CLI Nostr client that drives the same Quartz + Commons engine as the apps. Available on macOS and Linux from the GitHub Release.
- Subcommands: `account` / `use`, `profile`, `post`, `feed`, `notes`, `dm send | list | await | send-file` (NIP-17, kind:14 + kind:15), `marmot …`, `store stat | sweep-expired | scrub | compact`
- Cache-first reads from a local file-backed event store; relays.json gone — `kind:10002 / 10050 / 10051` events in the store *are* the config
- Secure key storage — private keys move out of `identity.json` into the OS keychain or a NIP-49 encrypted file; on-disk data restricted to owner-only
- Color, human-readable output by default; `--json` opts in
## Quartz
- Adds **NIP-AC** — WebRTC call signaling events (offer / answer / ICE / hangup / reject / renegotiate) over EphemeralGiftWrap, multi-device, group calls
- Adds **EphemeralGiftWrapEvent (kind 21059)** — replaces 20s expiration GiftWraps for call signaling
- Adds **NIP-A3 Payment Targets** (kind 10133)
- Adds **NIP-82 Software Applications** (experimental)
- Adds the **AdminCommandEvent** for audio-room kick (kind 4312)
- Adds the **NIP-9A community rules** parser + validator (kind:34551)
- Expands **NIP-34** git collaboration coverage
- Adds the rest of **NIP-51** list event kinds and full **NIP-53** live-activity rendering
- Adds **MLS / Marmot** event types and a pure-Kotlin MLS engine with IETF RFC 9420 interop test vectors (no native deps)
- Adds an async **SQLite event persistence layer** with NIP-09 / NIP-50 / NIP-62 compliance and a Room-style connection pool, plus a reactive `EventStoreProjection` over it
- Adds a **file-backed event store** — flock + transactions, scrub/compact, NIP-50 full-text search, NIP-62 Right-to-Vanish, NIP-01 tiebreaker, NIP-09 created_at window, deletion-author check, SQLite parity matrix
- Promotes the relay toolkit into the new **`geode`** module — a real Nostr relay implementing NIP-01, NIP-45, **NIP-77 negentropy reconciliation** (strfry parity) and a **NIP-86 management API**, with TOML config, graceful drain, and adaptive connection pooling for 10k+ connections
- Adds an **EventInterner** so deserialized events share canonical instances, with an interning event store that interns on insert
- Adds **Ktor KMP HTTP** implementations alongside OkHttp
- Adds **macOS / iOS / Linux native targets**, plus pure-Kotlin Ed25519 and X25519 for those platforms; `commonMain` now compiles for Kotlin/Native
## Crypto and Performance
- **custom pure-Kotlin secp256k1**
- **Starts to replace `fr.acinq.secp256k1` with C and ASM acceleration:
- Hardware SHA-256 (SHA-NI on x86_64, ARMv8 CE on ARM64)
- Comb method for G multiplication → 3× faster sign/keygen
- Same-pubkey **batch** Schnorr verify (56× throughput)
- `verifySchnorrFast` for Nostr (skips y-parity inversion)
- 4×64-bit limb representation, lazy field ops, ARM64 ASM `fe_mul`
- Native macOS / iOS / Linux crypto on KMP
- Standalone `libsecp256k1-nostr` / `libschnorr256k1` C project
- **Concurrent caching DNS resolver** (SurgeDns) — lock-free DNS cache, 24h positive TTL, stale-while-revalidate, persisted across process restarts
- **Smoother video playback** — warm ExoPlayer pool, tuned LoadControl, VideoCache warmup 10s → 1.5s, retained warm players, stable controller-overlay tree
- **Faster icons** — shared FontFamily and TextMeasurer across all Material Symbols
- **Faster chat lists** — typed sealed keys, stable per-chatroom LazyColumn key, hoisted static modifiers
- **Faster note rendering** — cached event-derived values, second-pass remember-key fixes, cut per-item allocations during feed scroll
- **Faster Quartz queries** — direct-slot driver for replaceable + addressable lookups, streaming k-way merge, smallest-first FTS intersect, parallel Schnorr verify in the ingest queue, index-driven (`FilterIndex`) fanout for `LocalCache.observables` and `LiveEventStore`
- **Faster rich-text translation** — split UI from orchestration, dedupe boilerplate
- **Thumbnail disk cache** for profile pictures; Coil disk-cache eviction moved off the write path to prevent scroll stalls
- **Paginated GiftWrap loading** for the DM chat list
- **Bookmark events** preload via EventFinderFilterAssembler
- Drops `remember` wrappers where overhead exceeded savings
## QUIC + nestsClient (foundation)
- New **pure-Kotlin QUIC v1 + HTTP/3 + WebTransport** client (no JNI, no native deps). Powers the **NIP-53 audio-rooms over MoQ-transport** path.
- Full **RFC 9002 loss recovery and retransmission**, **0-RTT early data**, **1-RTT key update**, **TLS 1.3 session resumption (PSK)**, **ECN**, connection migration with **path validation**, **Retry** and **Version Negotiation** packet handling, **stateless-reset** detection, and a broad DoS-hardening / RFC-compliance stabilization sweep
- Passes the **quic-interop-runner** test matrix against picoquic and quic-go (handshake, transfer, multiplexing, retry, 0-RTT, key-update, ECN, http3), with qlog diagnostics
- Multiple security and correctness audits, RFC 9001 test vectors, live interop against aioquic and picoquic
- **`nestsClient`** module — MoQ-transport (IETF) reference implementation plus a production **moq-lite Lite-03/04** codec with version-aware ALPN negotiation, `catalog.json` publishing aligned with kixelated/hang, Opus, AudioRecord/AudioTrack, a reconnection policy with proactive JWT refresh, and a cross-stack (Amethyst ↔ Rust ↔ browser) interop harness in CI
## Improvements and Fixes
- **WakeUp Push Notification events** — Starting to migrate to a better Push/Loading system
- **Pinned notes** moved to their own screen
- **Article writing redesign** — banner, tags, slug
- **GIF playback controls and autoplay**, plus GIF→MP4 upload conversion and GIF keyboard support in the short post screen
- **Configurable video player buttons** in Account Settings (drag restricted to the drag handle)
- **Drag-and-drop reordering** for some relay list settings
- **3-dot options menu** on video / picture / file feed cards
- **Zoomable media** grows from its source bounds
- **Configurable max-hashtag spam filter**
- **Account setting** to forward kind 0 events to a local relay
- **Relay Sync** UI replaced with visual indicators
- **Account Settings**: split broadcast tracker visibility from Complete UI mode, hide payment-targets icon by default, place it after Zap, float the broadcast banner as a rounded card
- **Danger Zone** section in settings
- **NIP-89 client tag** — per-account toggle to disable it, synced via NIP-78 security settings; on by default and moved into Compose settings
- **Local Blossom cache** — image and profile-picture fetches route through a local Blossom cache via an OkHttp interceptor that catches all sha256-keyed URLs
- Mention preservation in compose — atomic against IME word-recomposition, partial-overlap edits delete the whole mention, cursor snaps to mention boundaries
- Chat cursor jumping fixed
- Avatar zoom-in keeps aspect ratio during the animation
- Profile pictures center-cropped to prevent squashing
- HLS video playback routed to the right MediaSource; HLS multi-rendition videos collapse to a single gallery tile and render with artwork + graceful fallback
- Broken "Pause" action removed from the always-on background notification
- Hand-raise button in audio rooms now has a visible toggled state
- GiftWrap unwrapping for all writable accounts when always-on is enabled
- Search bar bech32 paste navigates instead of running a search
- Scaffold spacing keeps top/bottom bars visible on non-scrollable lists
- Rich-text translation — bug, performance and jitter overhaul; `{N}` placeholders so URLs survive CJK translation
- Swipe-to-dismiss containers fixed on newer Compose
- `InterestSetEvent` (kind 30015) now fetched for the account
- Right-to-Vanish settings observe toggles reactively, preserve prior behavior on upgrade
- Auto-reconnect relays after a server-initiated disconnect, plus a periodic keep-alive to revive relays stuck in long backoff
- Broadcasting relays kept out of personal & channel sends but always included in non-private sends; a-tag cycle in the broadcast relay computation broken
- NIP-46 bunker decrypt/encrypt response parsing fixed, with a longer timeout
- Hidden DMs no longer counted toward the unread message badge
- Profile header hides the `_@` prefix on NIP-05 names
- Foreground-service-not-allowed exception from the background handled gracefully
- Fixes Samsung crash on outgoing call
- Foreground service starts earlier to prevent call death on Android 14+
- ProGuard / R8 keep no-arg constructors of Room `*_Impl` classes
- Stop ringtone and call notification when rejecting consecutive calls
## UI Refresh
- Migrates the icon set from Material Icons to **Material Symbols (thin weight)** for a more consistent, modern look across the app
- Drops unused legacy drawables
- Bottom-bar icon size bumped to compensate for Material Symbols padding
## Build & Documentation
- Splits Android into its own CI job, adds Android Lint as the first step, merges test+build to eliminate duplicate compilation, drops `assembleDebug` APK uploads
- Adds a `:nestsClient:test` step to the desktop CI leg
- Adds a quic-interop-runner CI workflow and a browser-side cross-stack interop workflow
- Broadens `libicu` Depends so the `.deb` installs across Debian and Ubuntu
- Adds `SECURITY.md` with private vulnerability reporting policy
- Moves desktop packaging / AppImage tooling into the `desktopApp` module
- AGP and dependencies bumped
## Translations
_(translations will be added separately from Crowdin)_
## Contributors
_(to be filled in)_
<a id="v1.08.0"></a>
# [Release v1.08.0: Arti](https://github.com/vitorpamplona/amethyst/releases/tag/v1.08.0) - 2026-04-01