Skip to content

v4.12.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 03:36
· 124 commits to master since this release
Immutable release. Only release title and notes can be modified.

BREAKING CHANGES FOR DESKTOP APPS: Migrated from Electron to Wails.

Untested on Windows and MacOS.

Release Notes

Added

  • Reticulum 1.6.1: Backbone listener client_limit and a per-interface hop limiter are editable in the interface form, stamp worker count and niceness are tunable in Settings, and RNStatus shows filtered traffic, link traffic, tunnel and remote transport info when RNS reports it. Path table entries expose interface_hash. A first-start hint explains that stamp generation can take a few minutes.
  • Tests: local loopback RNS e2e for LXMF and NomadNet requests, network send scenarios with exact path request counts, Playwright layout specs for onboarding and popup containment, and a geo-wasm Android packaging test.
  • Updates: new opt-in signed update system. Everything is off by default: no checks, no polling, no announcements until you enable it in Settings under Maintenance. Updates verify a signed msgpack manifest against a pinned signer identity, download over HTTPS mirrors or RNS with ETag and Range support, reuse unchanged blocks from the installed copy, and stage verified artifacts for manual or on-restart apply. Peer relay, custom mirrors, signer pinning, and a slow-link guard for automatic downloads are included. See docs/en/updates.md.
  • Relay chat: NomadNet Micron colour and formatting now renders in relay messages. Bodies carrying the broken-bar tag form get 12-bit and 24-bit foreground and background colours, bold, italic, underline, and full or partial resets. Layout and link tags are dropped, unknown bars stay as text, and raw backtick Micron still behaves as Markdown inline code. A message that sets a colour draws as one unwrapped monospace line with whitespace preserved, so multi-line colour art keeps its shape.

Changed

  • Desktop shell: the desktop app is now a Go/Wails v3 shell instead of Electron. IPC channel names are unchanged, the Python backend is untouched, and the shell cross-compiles to Windows and macOS from Linux. The app now serves the UI through a loopback app server so the loading and app pages share one web process, which reduces memory use on software-rendered systems.
  • Dependencies: RNS 1.6.1, LXMF 1.3.1, and a refresh of frontend and backend packages. RNS now keeps known destinations and announces in SQLite storage, and MeshChatX writes ratchets through that store instead of a thread per write. The local propagation node address resolves lazily, and path expiry follows RNS's PATH_TIMEOUT.
  • Reticulum 1.6: the Settings transport section gains a "Reticulum 1.6 tuning" group exposing the new [filter] options (required announces only, hop limiter) and [stamps] options (destination/path/link-request stamping, cost/value, timeouts, enforcement), all optional and off by default. The RNStatus page now shows path-table pool counts and which storage backend is active, and the RNPath table surfaces per-path stamp value, usage and link-request cost.
  • Map: the Quad4 planet PMTiles archive (s3.quad4.io) is now an explicit option in the tile source dropdown and the default for new installs. Existing configs that still hold the old stock OSM default are migrated once, custom URLs are kept, and OSM raster stays selectable and is the automatic fallback. The CSP allows the archive host.
  • Map: the online default basemap is now a vector basemap read from a single PMTiles archive (planet.pmtiles) instead of raster OpenStreetMap tiles. The client fetches the archive header, tile directory, and only the tile byte ranges it needs through HTTP range requests, so the browser never downloads the whole archive, and the Protomaps light style renders landcover, landuse, water, roads, buildings, boundaries, places, and points of interest to zoom 15. If the archive cannot be reached or validated within ten seconds the map falls back to the previous raster source. Offline mode, custom tile server URLs, and tile caching are unchanged.
  • Map: local .pmtiles archives are now a first-class offline source alongside mbtiles. Files in the map storage directory can be uploaded, listed, activated and deleted from the Offline panel, the backend serves them through a ranged endpoint with strong validators, and both raster and vector (MVT) archives render offline, vector ones with the Protomaps style. See docs/en/offline-maps.md.
  • Map: the PMTiles basemap now has a selectable renderer in the tile source panel (Auto, GPU, CPU, Raster only). Auto uses a MapLibre GL layer driven by WebGL with worker tile decoding when a hardware renderer is detected, and keeps the trimmed OpenLayers vector path as the CPU fallback. Raster only skips the vector stack entirely. Software WebGL (SwiftShader, llvmpipe) is detected via WEBGL_debug_renderer_info and routed to the CPU path because it is slower than the canvas renderer.
  • NomadNet: small screens get a Fit/Scroll toggle in the browser chrome for wide ASCII and preformatted pages. Fit scales the page so the widest line matches the viewport, Scroll keeps natural size with horizontal scroll inside the page frame only. The choice is remembered per device.
  • Map: the drawing toolbar and the map control bar now wrap to multiple rows on narrow screens instead of scrolling sideways.
  • Map: PMTiles range requests now share one archive source per URL with a persistent cache. Header, directory and hot tile bytes are kept in a bounded in-memory LRU and a Cache API store keyed by an archive fingerprint (ETag when readable, else Last-Modified or a hash of the archive header bytes), identical in-flight ranges are deduplicated, and stale entries are revalidated with a conditional 127-byte probe so an unchanged archive costs almost nothing and a rebuilt one invalidates cleanly. The basemap style is trimmed so detail layers only render inside their useful zoom range, and tile fade-ins, interim tiles from other zoom levels, and mid-interaction rebuilds are disabled. At 4x CPU throttle zoom long-task time drops by roughly half and worst frames about halve too.
  • Dependencies: LXST 0.5.4 to 0.6.1. Telephony now declares its destination type to Reticulum 1.6 announce-interest filtering, adds an opt-in low-latency output mode, and the Android audio backend fixes the recording buffer size query and gains low-latency frame timing. The install-time patch guards the new destination-type call so Telephone still constructs without a live Reticulum instance, and the Android wheel patch applies the same guard.

Fixed

  • Security: the client IP behind a trusted proxy is now the rightmost X-Forwarded-For entry that is not itself a trusted proxy. The leftmost entry was attacker controlled, so a client could claim any address, including allowlisted ones, and dodge login lockout.
  • Security: markdown links such as \/evil.com no longer slip past the protocol-relative URL check.
  • Security: imported blocklist and sieve regexes with nested quantifiers or overlapping alternation are rejected, because they could freeze LXMF delivery.
  • Map data: geo validation rejects empty coordinate lists, booleans and non-finite ordinates, and deeply nested input returns a clean error.
  • RNStatus and interface import: malformed or infinite values no longer cause server errors.
  • LXMF: file attachment names with NUL characters are cleaned before they are published.
  • Relay chat: messages whose sequence number arrives as a string no longer defeat dedup or sort order.
  • Maidenhead locators past the poles are no longer turned into map links.
  • Archives: a null archive entry no longer crashes the archive card.
  • API: any unmounted identity context attribute during an identity switch now returns 503 instead of a server error.
  • Blocklist: entry normalization uses the first key that is present instead of skipping falsy values.
  • NomadNet: on a fresh install the announce list stayed empty until you typed in search because a failed first load was never retried. It now retries with backoff.
  • Onboarding: the viewport now sets viewport-fit=cover and keyboard resizing so safe-area insets work on notched phones, short and landscape screens use the fullscreen dialog with compact spacing, and the changelog modal no longer opens over the tutorial.
  • Network: path requests are deduplicated per destination over a short window, a failed request no longer consumes that window, and propagation node selection no longer re-requests a path that already exists. Errors from has_path are no longer swallowed.
  • RNode: patched an RNS 1.6.1 regression that dropped received byte accounting.
  • Android: the embedded server registers the application/wasm MIME type so geo wasm loads in the APK.
  • Android: the wheel build scripts now accept build-tagged wheel filenames (for example rns-1.6.1-0-py3-none-any.whl), which newer PyPI uploads produce and the exact-name globs missed.
  • Map: the drawing toolbar is now anchored at a fixed offset below the header at every window size. A stray responsive offset moved it 48px lower between 640 and 1280px wide, and the bar now caps at the map width and scrolls instead of overflowing small screens or covering the zoom control.
  • Map: offline map uploads now stage to a temporary file, check the archive magic, and rename atomically, so a concurrent reader never sees a partial file and two same-name uploads can no longer interleave.
  • Relay chat: merging a fetched page of history is now linear instead of quadratic. Deduplication uses sets built once and ordering uses a single stable sort, which removes the multi-second stall when opening a busy relay chat.
  • Web UI: disabled controls show a not-allowed cursor.
  • Integrity check: the stat fast path trusted size and mtime alone, so a file changed within the same timestamp tick as the manifest write could pass verification on stale metadata. It now only trusts files last modified before the manifest.
  • Database wedge recovery: the reset cooldown used 0.0 as its never-reset sentinel, but monotonic time can sit below the cooldown right after boot, so a wedge on a fresh boot could go unrecovered. The sentinel is now None.
  • Message blocklist: importing a shared document whose version field is not an integer crashed the request with a server error. Malformed documents are now rejected cleanly.
  • Web UI access: a malformed entry in the IP allowlist file or in the trusted proxy CIDRs environment variable turned every request into a server error. Access checks now fail closed instead.
  • NomadNet browser: the renderer engine toggle and toolbar icon buttons now pick up the themed hover color. They referenced a design token that does not exist, so the inactive toggle rendered without a background and icon hovers stayed dark even in light mode.
  • Web UI: the keyboard focus ring was clipped at the edges of scrollable sidebars and tab strips. Affected controls now draw the ring inside their bounds so it stays fully visible.
  • Web UI: context menus no longer hijack text selection. On touch devices, long-pressing selectable text (messages, NomadNet pages, inputs) keeps the native selection and copy menu, while desktop right-click and the overflow buttons still open the app menus.
  • Web UI: several actions that failed silently now warn the user: loading the bot list, plugins, notification sounds, or sticker packs, and saving message drafts, relay chat preferences, or Micron editor content.
  • Reticulum 1.6: new identities can optionally be created with an identity stamp value (Settings -> Transport, default off). Stamped key generation is CPU-heavy, so it stays opt-in.
  • LXMF: redelivered messages no longer re-forward to peers or re-broadcast to the UI. A bounded dedup cache drops repeats after the database upsert keeps its idempotency. Attachment detection no longer misses image and audio fields when the file field is empty or malformed, and inbound field conversion survives malformed titles, timestamps, hashes, and non-serializable values instead of producing NULL timestamps that broke conversation rendering. Telemetry coordinates outside valid latitude and longitude ranges are rejected. The stranger attachment and block-all policies now reject at the LXMF resource layer instead of only stripping after delivery: an identified stranger's transfer is refused at advertisement before any bytes move, transfers accepted before the sender's identity resolved are cancelled when identification lands, and either way the sender sees a terminal rejected state instead of delivered for a message the receiver then strips. Post-delivery stripping remains as the fallback for first-contact sends, where LXMF cannot prove the sender's identity until after the first delivery.
  • WebSocket and HTTP: binary msgpack frames are now priced by message type at the upgrade gate, so heavy mutators like paper-URI generation and rns.link operations no longer get a rate-limit discount on the binary path. Paper-URI generation payloads are size capped, LXMF URI ingest decode runs off the event loop, and NomadNet download cancellation verifies the requesting client owns the download. Translation pack import, maintenance clears, and page-node file upload now run their synchronous work on worker threads instead of stalling every connected client.
  • Relay chat: incoming messages no longer trigger one hub-list REST refresh and one read-receipt POST per message. Both are throttled, local mention flags survive hub refreshes, and stale room or hub selections stop issuing requests. Websocket event handlers also dispatch concurrently so one slow handler cannot starve the rest.
  • RRC: inbound packets are capped at 1 MiB before CBOR decoding, history files compact on every cleanup cadence so chat-only rooms cannot grow past the 8 MiB cap, and history load reads a bounded tail window and deduplicates only the retained messages instead of scanning the whole file quadratically. Duplicate-envelope scans are bounded, and invalid or oversized packets are rejected before decode.
  • Page nodes: executable pages are limited to four concurrent processes with a 15 second timeout, a 4 MiB output cap, and generic errors to remote callers. Expired file-access grants are swept when grants are created, and media hashing is memoized by file metadata.
  • Announce and propagation: failed block-list reads now back off instead of re-querying the database on every announce, and the propagation probe only trusts state transitions backed by a transfer actually aimed at the probed node, so an unrelated sync can no longer mark an unverified node as good.
  • Frontend sanitizing: the Micron overlay CSS scrubber strips comments and hex escapes before inspection and blocks obfuscated positioning, inset, margin, and viewport-sized declarations. KML and GeoJSON DTD detection now scans the real XML prolog so a long comment cannot hide a DOCTYPE (and an off-by-one that swallowed the declaration after a comment is fixed). NomadNet page CSS rewrites html and body selectors in any complex-selector position such as body * or body:hover back to the fragment root. Geo linkify and trailing-punctuation scans no longer go quadratic on adversarial input, and MicronParser keeps legitimate margin use for image alignment while still blocking viewport-sized margins.
  • Test infrastructure: concurrent pytest runs no longer wipe each other's temporary directories, because the run-marker files are now preserved across the shared temp-root reset.
  • Announce cadence: the shared minimum interval rises from 60 to 900 seconds, and stored values below the floor are clamped where they are consumed, covering app auto-announce, propagation auto-sync, page nodes, RRC hubs, map data, FileSync, and bot LXMF overrides. Bot templates and the vendored FileSync default move from 600 and 300 seconds to the shared 6 hour default, and every interval input in the UI enforces the 15 minute floor. Sub-15-minute cadences rebroadcast across the whole mesh and are treated as announce spam upstream.
  • Interface discovery: auto-connect to discovered interfaces is capped at 32 slots while the default stays 3, matching upstream guidance of about 3 interfaces for home nodes and 12 for backbone nodes. Out-of-range values are rejected by the discovery API, and stale stored values are normalized on the next save instead of breaking unrelated updates.
  • Linux backend freeze: the frozen backend aborted during startup on hosts with no PulseAudio server. cx_Freeze optimize=2 strips the asserts LXST relies on for control flow, so the first PulseAudio call produced a NULL operation that libpulse rejected with a process abort inside the host audio probe. The probe now returns early when no PulseAudio socket exists, every backend freeze build applies the LXST PulseAudio hardening patch, and the remaining asserts in the binding raise catchable exceptions instead of aborting. MESHCHAT_FORCE_WEB_AUDIO=1 still skips host audio probing entirely on custom hosts.
  • Linux AppImage: WebKitGTK's bubblewrap sandbox runs inside unprivileged user namespaces that Ubuntu 24.04 and later restrict through AppArmor, and minimal installs may lack bubblewrap entirely. The AppRun launcher now probes bubblewrap once at startup and disables the WebKit sandbox for that run only when the probe fails, logging [meshchatx] WebKit sandbox disabled: ... to stderr. MESHCHAT_WEBKIT_SANDBOX=0 forces the sandbox off and MESHCHAT_WEBKIT_SANDBOX=1 forces it on. On hosts with no DRM render node the launcher also disables the WebKit DMA-BUF renderer and selects the GTK cairo renderer, matching the shell's own no-GPU fallback.
  • Shared instance RPC: rnsd opens its control listener with a queue of one pending connection, so a burst of client calls gets reset at the handshake (Errno 54 on macOS) and the reset could surface as an unhandled thread crash in LXMF outbound processing. When MeshChatX itself runs as the shared instance its listener backlog is now 128, and every client-side RPC connect retries transient resets and refusals a few times before giving up, so a full accept queue or a shared instance mid-restart no longer fails sends, path requests, or packet stats lookups.
  • System tray: the tray item now reports its name as MeshChatX instead of the Wails default and ships a 64px icon instead of the raw 1024px image, which several tray hosts rendered as blank. Closing the window no longer hides it when no tray host is running. On Linux desktops without a StatusNotifier host, such as stock GNOME which needs the AppIndicator extension, the close action now follows the non-tray path instead of orphaning the window, and the app log records the missing watcher once.
  • NomadNet browser: the page renderer no longer stays on Loading page in the desktop app. The renderer runs in a sandboxed frame whose content security policy named the backend port instead of the port the desktop app server uses, so the browser blocked all of its scripts and the ready handshake never fired. The app server now forwards the real origin and the backend stamps it into the policy only when the request comes from a loopback peer.
  • Linux desktop: the Flatpak build crashed on launch inside the WebKit sandbox. The shell registered its GTK application id as the Wails default org.wails.meshchatx while the sandbox app id is com.meshchatx.app, so the portal refused WebKit's accessibility bus name and killed the web process. The shell now uses FLATPAK_ID inside a sandbox and the packaged id com.meshchatx.app everywhere else, which also makes the window app id match StartupWMClass on AppImage, deb, and Arch installs.
  • Linux desktop: the Flatpak build flashed the old page twice on every navigation. WebKitGTK repaints whole layers during opacity transitions under software rendering, so the shell now reports a render mode through its runtime info and the route fade is disabled in Flatpak and when GPU compositing is off.
  • Web UI: action buttons no longer look like pills. The shared primary, secondary and danger button styles now use a small border radius and a tighter height, with 44px touch targets kept on touch devices.
  • Quit: the desktop app no longer looks frozen while closing. The window switches to a shutdown page that shows the live step the backend reports, such as saving databases or stopping the network, and the web UI shows a blocking overlay for its shutdown button.
  • Backend: shutdown is faster and bounded. Databases flush first, then independent teardown steps run in parallel with per-step timeouts, websocket clients close together instead of one after another, and a watchdog force-exits the process after 12 seconds so a stalled network thread cannot leave the app hanging. Each step is written to a status file and stdout.
Changelog

What's Changed

  • .github/workflows: Migrate workflows to Blacksmith runners by @blacksmith-sh[bot] in #140

New Contributors

Full Changelog: v4.10.7...v4.12.0

SHA256 Checksums
Asset SHA256
meshchatx-frontend.zip 78641fc18fe4468220e251b6769e1ca51748fa5b29f50cc5dc24483face4c00a
ReticulumMeshChatX-v4.12.0-linux-arm64.AppImage a7c507b244e91526dd0b75afc7815fd02824dc7e5b83d7d8b0f19228476fa3b2
ReticulumMeshChatX-v4.12.0-mac-x64.dmg.cosign.bundle 1a06511726160253981240323d334db44f53bd780b251629be20c87cbd5dd682
meshchatx-desktop-v4.12.0.intoto.jsonl 2188d621128e1ec941b20d66cd8cd84ba71cfa8ec02cfd9e852b82de92c9414a
MeshChatX-v4.12.0.torrent a88e321ac49c35053968da564a18137c11838af653593a96ccf2208600e8c362
reticulum_meshchatx-4.12.0-py3-none-any.whl 1140e58bbcbfc5627c360f18c03fa0bf04f81436775c6a44f5ec7571e0d17212
sbom.cyclonedx.json 21bedfad0825f29b838c35deb058a9f5173de836fe5992468a53d77e8d3f2a7e
meshchatx-android-flatpak-v4.12.0.intoto.jsonl 249b265dc49dfaf5ac71216954317952e69c724ef906dc351368fb04af74a762
openvex.json d6aa027853ecbc974f8c52f64c4fa5c874724ad412bd33c77483cf167853077d
meshchatx-py311-linux-arm64.pyz f165188758c64239d4c20b2fce2519b24c3e2a96109a4f30a9c6c76c677f4a5e
ReticulumMeshChatX-v4.12.0-mac-x64.dmg 38a352061d9503774601a4d61e94cb7b0e7e0babd003b7c5db5233c6a1af43f9
meshchatx-desktop-x64.deb 9537033a2822d92aad20d31c464b1e880acdd10179d3818918eeecc4161efe01
meshchatx-desktop-arm64.rpm 15290cca83ed963e29ac0d29b0df1e1ac4b987e0c68af079064fe1e79935f39e
meshchatx-desktop-arm64.deb ff5c70204cb8d69a56079585d0593370ead83a0bc1392a5c23cb850dc6a356d9
ReticulumMeshChatX-v4.12.0-android-universal.apk 138e81220c73948124d66a5f453dda82acddedeb192782516c5a032dc05982e9
meshchatx-py315-linux-x64.pyz afcb50e336f861aedede8afeb3f85a510537686c1ee6cf5e6a907c61b10c6b85
meshchatx-desktop-x64.rpm 313caa41557cc68812d4846d55d03b4ce11ef7f64ffc697734144f30cee94cb3
ReticulumMeshChatX-v4.12.0-win32-amd64-installer.exe.cosign.bundle 7bf79c2ac3d4f579e004b8fa0f7e8f1fd87f816d975f84f6494869059ce00a0e
ReticulumMeshChatX-v4.12.0-win32-amd64-installer.exe 5058ff57a2bfcebc6c678fde2e391ea47dcb52dcd7eef360945f88ca8df0e2b2
ReticulumMeshChat-v4.12.0-win32-amd64.zip.cosign.bundle 9238ff2a55773279f07ddf8570c22b9865d1aa4918c5e53e6d0cd76f31c72240
reticulum-meshchatx-stable.flatpak 649a7a13d9b4e5de5ea5768ed2cd2ce5ea06731d424430293168864a63390e9d
meshchatx-linux-v4.12.0.intoto.jsonl bafd1b8bc89c3e7162d93b2d2a2627965ea079d8fd8aef78559ab1ef33fdd468
ReticulumMeshChatX-v4.12.0-mac-universal.dmg 7d3537b05a2c2d86e348b3a3e76523561c57600bedc7d6570fc7c3387fd8c71b
ReticulumMeshChatX-v4.12.0-linux-x64.AppImage 08098dba07603a2923b87c41395b575ab220dff104095ce3e8567ef881d145ef
ReticulumMeshChat-v4.12.0-win32-amd64.zip 83bf5a14bc6a563d51f7ee381d7243e6456cab5892ef892d40599f9e0a6e9626
meshchatx-py311-linux-x64.pyz 4f4a59b9cb0f358a5b5ca8cf8ba05917ef340cd8b4d75a7cfe175f85cb89cc50
MeshChatX-v4.12.0.json 3ab8bcdf63e12d74afcc1240b374c7dc16c1a3f8ee82432787673f1bd88334d1
ReticulumMeshChatX-v4.12.0-mac-universal.dmg.cosign.bundle 1ac0e39254c7a82aaf5c1a2c8904906195162df0b373b266b229b7288a4459b5
meshchatx-py315-linux-arm64.pyz 501d7c9806653d6aedb801b139e19709a80162a7807f2a568ba50dde14f9256f
Verification
  • Cosign bundles (.cosign.bundle) are attached for keyless sigstore verification.
  • SLSA provenance (.intoto.jsonl) is available for supply-chain attestation.
  • Or verify manually using the SHA256 table above.