Repository navigation
Lightning 0.5.18
Lightning 0.5.18 is a timeline reliability and usability release.
Highlights:
• Automatic initial room history. Room entry now waits for live Rust SDK
timeline readiness and automatically retries transient initial dispatch
failures, so opening a room no longer requires a manual Retry. Retries are
bounded, room-generation changes cancel stale loads, and completion is
accepted only after the backend reports the batch loading. No second history
loader is introduced.
• Persistent Show room activity setting. Enabled by default and stored
globally, it presentation-filters routine membership, profile, and room state
activity. The underlying Rust timeline is untouched, so disabling hides no
ordinary messages, media, send failures, or undecryptable-event warnings, and
re-enabling restores activity without a resync.
• SDK-backed unread divider and Jump to latest. The matrix-sdk-ui read-marker
virtual item renders as a stable New messages divider, and a floating Jump to
latest control appears when scrolled away from the bottom. Reading older
history is never force-scrolled, and hidden routine activity does not create
visible gaps.
• Stable reply navigation. Reply previews navigate by Matrix event ID.
In-timeline targets center immediately; older targets use a bounded pagination
search. Repeated clicks coalesce, room switches cancel navigation, targets are
briefly highlighted, and an unavailable target reports "Original message is
unavailable." safely.
• Per-room stable scroll restoration. Each room's visible event ID, pixel
offset, and follow-latest state are remembered in memory. Returning to a room
restores that anchor (or latest); rooms with the latest event followed return
to latest; anchors are not shared across rooms; and logout clears them. No
message body or decrypted content is persisted.
• Stable-ID message context and details. Ordinary message rows expose the same
context menu from right-click, the overflow button, and the keyboard
context-menu action. The event ID is snapshotted at menu-open time and actions
re-resolve against authoritative TimelineModel state. Reply, React, Edit,
Delete, Copy text, Copy message link, and View details are available where
permitted. Copy message link produces a token-free matrix.to room/event
permalink, and View details shows safe metadata only — no raw body, raw JSON,
token, key, or media URL. Room switching closes stale menus and dialogs.
Security boundaries are unchanged. No Matrix cryptography is implemented in C++
or QML, the Rust SDK timeline/sync engine is not replaced or duplicated, no
access tokens or authenticated media URLs are exposed to QML, and no decrypted
plaintext is persisted in the C++ cache. Matrix dependencies remain pinned to
matrix-sdk 0.18.0 and matrix-sdk-ui 0.18.0.
Validation: 20 Rust tests passed; the Rust-enabled and non-Rust builds both
succeeded; both CTest suites passed 20/20; both binaries report matrix-client
0.5.18; and git diff --check is clean. The Rust-backed client was launched
against the persistent logged-in test account and ran a full session restore
stably for several minutes with a clean stderr (no binding loops,
ReferenceError, TypeError, panic, or QML warnings) before a normal shutdown.
Live-validation limitation: interactive, click-driven flows (opening specific
rooms, toggling the activity setting in the UI, exercising the unread divider,
reply navigation, scroll restoration, and the context/details menus) were not
manually driven in this release environment and are marked NOT TESTED rather
than claimed as passing. These paths are covered by the automated runtime QML
regression suites, which pass 20/20.
Version: 0.5.18.
Mirrored from the canonical release: https://gitlab.smetonis.net/Mizerd/lightning/-/releases/v0.5.18 — installation packages are hosted on GitLab:
(source-only release)