Repository navigation
bitchat 2.1.2 delivers major security, privacy, and recovery hardening across Cashu, Tor/Arti, private groups, BLE mesh, Nostr, push notifications, and macOS/iOS stability — including complete Swift strict concurrency (SWIFT_STRICT_CONCURRENCY = complete) with zero warnings, multi-context Tor circuit isolation, Cashu swap recovery protection, offline group key rotation replay, Lock-Screen PTT channel filtering, mesh-first DM failover, and macOS launch crash fixes.
Platform requirements: iOS 17.0+ / macOS 14.0+ (build 1).
Security, Privacy & Cryptography
- Multi-Context Tor Isolation & Audit Hardening: Isolated Nostr DM, geohash, and courier traffic across separate Tor/Arti circuits with active-session tracking; retained Cashu swap recovery records on
404/501; added encryptedGroupStoreat-rest sealing with crash-safe legacy migration; hardened Stealth Mode RAM-only handling, Crew Radar pin expiry, and device-linking confirmation; and resolved all Swift 6 concurrency andAttributeScopeswarnings (#2164, #2108, #2095). - Complete Strict Concurrency & Protocol Hardening: Enabled
SWIFT_STRICT_CONCURRENCY = completeacross the app, hardened crypto zeroization, sealed NSE metadata, hardenedpush-gatewayHTTP/APNs JWT/clustering/per-device retry dedup, and removed fail-open protocol defaults for relays and read receipts (#2108, #2091). - Rate Limiter, Dedup & Fragment Guards: Switched
NoiseRateLimiterto a monotonic unified deque (#2102), movedBLESubscriptionAnnounceLimiterontoContinuousClock(#2100), honored TTL checks in message deduplication (#2135), and rejected oversized first fragments before evicting active assemblies (#2044).
Mesh, Nostr, Cashu & Transport Reliability
- Mesh-First DM Failover & Group Delivery Status: Prefer multi-hop BLE mesh before failing over to Nostr for reachable DMs (#2157), fix group message delivery status for unreachable and removed members (#2156), and replay missed group key rotations to offline BLE members upon reconnect (#2164).
- Blossom Media, Tor Teardown & Noise Barrier Fixes: Fixed Blossom HTTP 415 encrypted media uploads and DM screenshot notices (#2149), moved
error.localizedDescriptionout of the Noise manager barrier to eliminate multi-second BLE queue stalls (#2173), hardened Arti teardown and Tor stall recovery (#2098), fixed DM receipt UI lag and wedged Tor relay connects (#2107), and skipped relay ranking for invalid geohash strings (#2151). - Wire Compatibility, Cashu V4 & Cold Launch: Preserved received wire payload encoding across signing and relay (#2087), shared Cashu V4 decoding between chat and wallet (#2081), and fixed cold-launch concurrency, deduplication, and wipe gaps (#1960).
UX, Accessibility & Platform Stability
- macOS Launch Crash Fix & Split Layout: Weak-linked
PushToTalkand guarded the macOS runtime to eliminate macOS launch crashes (#2094), and refined macOS split layout, accessibility, RTL support, and 30-locale NSE localization (#2108, #2164). - Lock-Screen PTT Banner & Composer Polish: Filtered Lock-Screen / Dynamic Island PTT speaker banners by the pinned channel (#2153), preserved literal
@mentions,#channels, and/commandsduring autocorrection (#2099), matched@mentionsacross NFC and NFD nicknames (#2125), and logged framed-filepayloadLengthrejections (#2121).
Tests, CI & Architecture
- Added shared cross-platform wire-format golden test vectors (#2089), expanded test coverage across BLE, Nostr, Cashu, Push, Coordinators, NIP-19 Bech32, voice routing, and Push Gateway (#2085, #2088, #2004, #2077, #2155, #2172, #2174), enforced the PR iOS simulator suite list in CI (#2021), and cleaned up stale comments, dead favorites leftovers, and unused view code (#2078, #2079, #2080, #2169).
Contributors
- jack (
jackjackbits) - Jozef Koval (
jozanek) - Taksh Kothari (
chessing234) heyaim
Full Changelog: v2.1.1...v2.1.2