Repository navigation
bitchat 2.0.0 is our biggest release yet — introducing Everyday and Stealth privacy modes with Tor ON by default everywhere, a unified Liquid Glass redesign, unified Contacts with seamless hybrid mesh/Nostr groups & 1:1 DMs, Friend Invites, Lock-Screen Push-to-Talk walkie-talkie, spatial Place and Home Feeds with live 3D Globe beacons, a SwiftUI @Observable & hot-path performance overhaul, over 30% smaller iOS download size, and comprehensive security, notification, and live-device transport hardening.
Platform requirements: iOS 17.0+ / macOS 14.0+ (build 4).
Everyday Utility & Unified Liquid Glass Redesign
- Unified navigation & chrome: Streamlined top-dropdown navigation across Chats, Nearby, Places, and Settings with edge-to-edge Liquid Glass chrome, persisted last tab, polished iOS 26 sheet headers, cleaner private chat rows with group header lock indicators, normal-case Settings language dropdown endonyms, and quick first-run onboarding (#1925, #1944, #1965, #1966).
- Everyday Mode & Stealth Mode (Tor ON by default everywhere): Tor routing is now enabled by default in both modes (#1964). Choose between Everyday Mode (Tor-routed Nostr with optional direct relays, ChaCha20-Poly1305 encrypted on-device private chat history in
private-chats.sealed, per-chat disappearing message timers of 24h / 7d / RAM-only, and optional read receipts) and Stealth Mode (hardened fail-closed Tor posture, RAM-only timelines that clear on close, hidden lock-screen previews, read receipts off, and triple-tap Panic Wipe with updated copy). Upgrades from 1.x preserve existing Tor and RAM-only settings until explicitly changed (#1925, #1945, #1964). - Rich messaging & inbox workflows: Swipe-right to pin and swipe-left to delete chats, inbox search, in-chat search with jump-to-message, quoted replies with media-aware quote navigation, emoji reactions, unified Contact Detail sheet, clean localized previews for voice/photo/file/reaction messages across inbox rows and notifications, and iOS autocorrection for normal chat messages (kept off for
/commandsand@mentions) (#1925, #1961, #1962, #1870). - Unified Contacts, Friend Invites & seamless hybrid private groups: Unified Favorites into Contacts, wired Friend Invites (
bitchat://) for end-to-end encrypted 1:1 DMs and private groups that bridge seamlessly between Bluetooth mesh and Nostr, authenticated group Nostr routes, and added per-member outbox retry tracking (#1925, #1967, #1968).
Walkie-Talkie & Lock-Screen Push-to-Talk
- Walkie-Talkie deck: Dedicated hold-to-talk deck for Nearby
#mesh, 1:1 mesh DMs, and mesh groups, with configurable per-chat and#meshauto-listen rules (#1925). - iOS System Push-to-Talk (
PTChannelManager): Lock Screen, Dynamic Island, and headset button walkie-talkie integration with exclusive.playAndRecordAVAudioSessionhandoff,push-to-talkandaudiobackground modes, andaps-environmententitlement (#1925,d420855c–0947986c). - Live voice reliability: Exempted live
voiceFramebroadcasts from duplicate relay cancellation so triangle-topology listeners don't suffer unrecoverable audio dropouts (#1962).
Spatial Place Feed, Home Feed & 3D Globe Beacons
- Place Feed: Toggle any active Place room between live Chat and threaded Place Feed (
kind 1posts, NIP-10 replies, NIP-25 emoji reactions with NIP-09 retraction, passive NIP-13 PoW scoring,Latest/Topsort, andAll/On-site/PoW/Vouchedfilters) (#1934). - Home Feed & opt-in Public Handle: Unified stream across up to 12 Saved Places and a Keychain-backed private Following list (never publishing a public
kind 3contact list), plus an opt-in Public Handle (kind 0, off by default) (#1934). - Offline BLE Gateway bridging, Web of Trust & Tor Blossom media: Expanded BLE Gateway bridging to
kind 1andkind 7, bridged in-person Noise/QR verification andVouchAttestationtrust onto feed authors, added EXIF-stripped SHA-256-verified Tor-routed Blossom photo attachments (blossom.primal.netdefault, tap-to-load in Stealth/Tor), and added live activity halos and bookmarked rings to the 3D Globe picker (#1934). - Feed moderation & notice correctness: Added per-post and per-reply author blocking across Place Feed, Home Feed, and threads backed by the encrypted/panic-wipeable Nostr blocklist (#1962); fixed the Location Notes loading spinner (#1965), tombstone eviction, expired notice filtering/pruning, bridged NIP-09 deletions, out-of-order deletions,
NearbyNotesCounteractivation, and unseen badge clearing (#1963).
Architecture, App Size & Performance
- SwiftUI
@Observable& hot-path optimization: Raised deployment targets to iOS 17.0 / macOS 14.0 and migrated all 11 feature models inAppEnvironmentModelsto@Observablefor fine-grained view invalidation; optimizedPeerListModelwith dirty-section invalidation, O(F+C) single-pass inbox refresh, and memoized Noise-key fingerprints; moved Nostr EVENT deduplication and subscription-generation fencing off the main actor inNostrRelayInboundRouter; decomposedChatViewModel,NostrProtocol, and chat coordinators behind explicit contexts andAppRuntimeDependencies; hardened strict concurrency (-strict-concurrency=complete, 0 warnings) inBitLoggerandBitFoundation(#1969). - 30%+ smaller iOS Release build: Enabled
-Osize, full Swift/LLVM LTO with link-time outlining, localBitSecp256k1, compressed Globe data, optimized Artibuild-std, and compressedLocalizations.zlib(#1923, #1927, #1928, #1933). - Faster Nostr & UI: 8×–17× faster Bech32 encode/decode with ASCII lookup tables and streaming polymod (#1899), off-main-thread
AppSupportFileStorewrites/removals (#1925), and faster CI workflows (#1921, #1922).
Notifications, Security & Privacy
- Hardened local notifications: Added
com.apple.developer.usernotifications.time-sensitiveentitlement (.timeSensitivefor DMs, groups, group invites, and mentions;.activefor nearby/geohash activity), required.authenticationRequiredon the lock-screen👋 Waveaction, deferred the OS notification prompt until onboarding completes, fixed geohash@nick#xxxxmention matching and offline Noise-key mute lookups, suppressed false reaction-removal alerts, added dedicated group message & invite alerts with 24h catch-up coalescing and per-thread sound throttling, wired in-process deep-link routing + foreground suppression + auto-clear on view, and localized all notification strings across all 30 supported locales (#1970). - Cryptography, identity & spoofing defenses: Required signed
npubbindings on mesh contacts and surfaced short-ID ambiguity (#1936); closed action-parser system-message spoofing with strict sender-anchored templates and Unicode blank-scalar checks (#1662 / #1962); hashed Nostr verification fingerprints on raw UTF-8 code units and blocked pre-flight HTTP redirects inGeoRelayDirectory(#1935 / #1962); hardened BLE ingress, padding, scan duty, and removed NostrPoW bypass (#1924). - Panic wipe & read-receipt privacy: Cancelled in-flight
GeoRelayDirectoryfetches and dropped deferred prekey bundles on panic wipe (#1937); fenced in-flight local notifications against concurrent panic wipes, cleared delivered/pending alerts on wipe, and dropped the unreadsenderNamekey from DMuserInfo(#1783 / #1962); boundedNoiseRateLimiterpeer maps (#1670); consolidated read receipts under a single encrypted owner with Everyday/Stealth controls, reconnect gating onisAppActive, and eviction retry handling (#1945, #1948, #1949, #1956, #1958, #1962); updatedPRIVACY_POLICY.mdanddocs/privacy-assessment.mdfor all 2.0 surfaces (#1925, #1962).
Reliability & Fixes
- Live-device BLE, Tor & Nostr transport hardening: Added a 30s redundant-link retirement cooldown (lifted immediately when disconnected) eliminating BLE retire/reconnect thrash; classified Tor
-1011relay handshake errors as retryable via exponential backoff instead of an instant 5-minute ban; short-circuited cold-startTorManager.shutdownCompletely()churn and promoted Tor-parked EOSE callbacks immediately when Tor becomes ready; cancelled stale foreground Tor reconnect tasks across rapid background/lock/unlock cycles; removed duplicate startup subscriptions and coalesced bursty presence location updates (#1969). - BLE mesh & transport handoffs: Fixed mesh relay suppression, directed spool, source routing, and gossip sync (#1931); hardened favoriting validation, offline toggling, blocking, and mutual-favorite routing (#1932); hardened offline-to-online and mesh-to-Nostr transport handoffs (#1946); preserved parked Noise payloads when the capability-proof watchdog fires with no session (#1744); restored prekey bundle rebroadcast timing on failed Keychain reads (#1941 / #1962); let resubscribing BLE centrals recover from the announce rate limit (#1669); dropped
CBConnectPeripheralOptionNotifyOn*options to prevent spurious lock-screen accessory prompts (#1758); retried unavailableGroupStoreloads after transient locked-startup Keychain errors (#1962). - UI, localization & polish: Routed all bare SwiftUI string keys through
CompressedLocalizationswith a coverage guard test (#1947); kept channel invite deep links and App Store links intact across all 30 locales including Arabic, Persian, Hebrew, Urdu, and Korean (#1818 / #1962); scoped composer drafts per window and fixed panic-wipe/Bluetooth alert regressions (#1913); kept the custom geohash field focused when the keyboard opens (#1837); keyed cached formatted message text on sender color and own nickname (#1939); clamped iOS chat overscroll (fec56edf); isolated Tor stall test defaults (#1959); cleared Swift 6 concurrency and unused-result warnings (aae990f7).
Full Changelog: v1.8.1...v2.0.0