Repository navigation
bitchat 2.1.1 adds the iPhone Duo adaptive layout, full translations across all 30 locales, the ported Android spam filter, unified contact sheets and fullscreen DM image previews, iOS 1.8.x / Android mesh signing compatibility, BLE-to-Nostr DM continuity and Nostr keepalive crash fixes, and broad security, concurrency, and architecture hardening.
Platform requirements: iOS 17.0+ / macOS 14.0+ (build 2).
Features & UX
- iPhone Duo, Live Mesh Cockpit & Places Town Square: Added the iPhone Duo adaptive layout, Live Mesh Cockpit, Places Town Square, and Flex Tabletop mode (#1997).
- Complete 30-Locale Translations: Completed translations across all 30 locales and fixed plural substitutions (#1996).
- Public Channel Spam Filter: Ported the Android spam filter to iOS to automatically hide flood, repetition, copy-paste, link-spam, and repeated-character junk in public mesh and geohash channels (with a Settings toggle and panic-wipe reset; private and own messages are never filtered, and mesh media attachments are rate-checked only) (#1817).
- Unified Contact Profile Sheet & DM Scroll Fixes: Unified contact profiles into
ContactDetailSheetwith quick actions (Direct Message, Mention, Hug, Slap), removed the redundant legacyFingerprintViewpopup on swipe-down, and fixed DM/group scroll stalls by replacing the blocking swipe gesture with a leading-edge pan recognizer (#2035). - Scoped Fullscreen Image Lightbox: Present DM and contact images in a scoped fullscreen lightbox (#2057).
- Chat & Globe Polish: Added inline header timestamps and consecutive message grouping (#2025), switched post expiry to a compact dropdown (
1h,6h,24h,7d, permanent) (#2024), isolated 3D Globe camera observation with unified crosshair pulse and detail-keyed graticules (#1977), and named the friend-invite QR scan in the camera purpose string (#2015).
Mesh Compatibility, Nostr & Transport Reliability
- iOS 1.8.x & Android Signing Compatibility: Restored the 1.x padding rule in outbound packet signing preimages while accepting both 1.x and 2.0–2.1.0 preimages during verification (#2020).
- BLE-to-Nostr DM Continuity & Routing: Fixed BLE-to-Nostr DM continuity, relay fan-out, and route exchange (#2072).
- Nostr Keepalive Ping Crash Fix: Eliminated a
CheckedContinuationdouble-resume crash and stale-callback race inURLSessionWebSocketTask.sendPingkeepalive pings during concurrent pong/teardown (#2042). - Geochat, Tor/Arti & Relay Hardening: Hardened geochat, Tor/Arti (
.onion+ SOCKS5), Nostr relays, location state, and Blossom redirects (#2022); preserved link-local fragmentedREQUEST_SYNC(#2010); required reachable peers foradvertisedBridgeGeohash(#2008); preserved saved teleport state whenavailableChannelsis empty (#2006); and consolidated FIFO dedup caches ontoBoundedCache(#1972).
Security, Concurrency & Architecture Hardening
- Deep Security, Strict Concurrency & Provenance Verification: Hardened crypto, Tor, NSE, BLE, and
push-gatewayverification/rate limits/non-blocking I/O; preserved legacy v1 group signatures alongside supplementary v2 TLV; adopted Swift strict concurrency (SWIFT_STRICT_CONCURRENCY = targeted); decomposed monolithic services; and addedlibsecp256k1provenance checks (#2070, #2016). - Media, PTT & Ledger Hardening: Hardened PTT capture copy, file store sync, quota fence, and decode ordering (#1976); quarantined single invalid private-media receipt records instead of dropping the whole ledger (#2000); dropped unsigned prekey bundles at load (#2002); built header sender links with
PeerID.toPercentEncoded()(#1981); removed emptyTransportlifecycle/panic defaults (#2009); and logged rejected compressed payloads at warning level (#2011).
Tests, CI & Documentation
- Added merge-queue CI testing (#2023), dedicated CI runs per
mainpush (#2017),libsecp256k1test coverage in CI (#2016), public message batch-flush tests (#1942), Nostr REQ send-completion test synchronization (#2014), one-sided favorite/blocktest fix (#2001), and refreshed protocol/architecture docs and comments (#1974, #2003, #2012).
Contributors
- jack (
jackjackbits) - Jozef Koval
- callebtc
Full Changelog: v2.1.0...v2.1.1