github lightning-matrix/lightning v0.10.7
Lightning 0.10.7

one hour ago

Lightning 0.10.7

A features and fixes release. You can drag across several messages to copy
them, edit history shows what changed, the thread panel renders its root
message properly and follows edits, text sent with an image becomes its
caption, calls work with a self-hosted LiveKit behind a private certificate
authority, a received screen share recovers from packet loss, and X11 desktops
without a screen-share portal can share a single window. Spoilers no longer
leak into previews or copies, an edit can no longer wipe a message, and eleven
translations are complete. Thanks to cryptomilk and jcredland for their
contributions.

New

  • Select and copy across messages with the mouse. A drag that starts in a
    message's text and leaves its row selects across messages, partly at the
    ends, and scrolls when you reach the top or bottom of the view. Ctrl+C or
    the menu copies plain text with a sender and time line whenever the sender
    changes, the same format as the Shift+C range copy. Works in the timeline
    and the thread panel.
  • Edit history shows what changed. Each revision marks removed words in
    red and struck through, and added words in green and underlined.
  • Quiet days of room updates merge. Days that hold only room changes
    (names, members, settings) now collapse into one "N room updates since
    " row instead of a ladder of dates; expanding it labels each day.
  • Text sent with an attachment is its caption by default, as Element
    sends it: one message with the file and the text, in the room, in replies,
    in threads and for pasted images. Text with a mention still goes as its own
    message. If you turned the setting off before, it stays off.
  • Schedule messages with images and other attachments (#86, reported by
    EsVagy42). They upload when you schedule them. In an encrypted room they are
    held in memory, so Lightning must be running at the chosen time, as for
    scheduled text there.
  • Activity panel: "Unseen only" filter (#104) that is remembered, and the
    collapsed room list keeps the Activity button and its unseen dot (#103).
    Both reported by LTSCommerce.
  • Activity from your other accounts (#35, requested by sphh), in Labs:
    with "Run several accounts at once" on, mentions, messages and invites for
    your other running accounts appear under "From your other accounts", and a
    click switches account and opens the room.
  • Click anywhere in a room and start typing (#99, requested by
    TheCarrotStick): the keys go to the message box. A click also ends a
    keyboard message selection; J/K selection still works after Escape.
  • Going back to a saved reading position works however far back it was
    (#51, reported by goodboy). Close by, it walks the loaded history; further
    back it opens your place with a single request.
  • Remove a room sticker pack with a Remove pack button (#85, reported by
    EsVagy42).
  • An archived room comes back when it gets new messages, also when they
    arrived while Lightning was closed (#84, reported by EsVagy42). Muted rooms
    stay archived.
  • Quotes look like quotes (#92, reported by Ai-rin): a bar down the left
    in the theme's colour, muted text and an indent, deeper for nested quotes.
  • Emoji suggestions work while editing a message (#87, reported by EsVagy42).
  • The reaction tooltip names up to ten people, and wraps.
  • The star on a GIF or image explains that it saves the item to the GIF
    picker.
  • A room name is bold whenever the room has unread activity, as in Element,
    and no longer just because it is selected. Contributed by cryptomilk.
  • Invitations show when they were sent rather than when Lightning first saw
    them.
  • Settings › About you can be found through the Settings search.

Threads

  • The thread panel renders its root message with its formatting, links
    and line breaks instead of the Markdown source (#100).
  • An edited thread root shows its latest text in the thread list and the
    panel (#101).
  • Open in room works when the thread fills the pane: the thread closes and
    the room shows the root (#102).
  • The root message's text can be selected and copied, and a long root scrolls
    with a touchpad too (#88).
  • Dragging the reply list's scroll bar no longer throws you back to the newest
    reply when a new one arrives, and reaching the top that way loads older
    replies (#89).
  • Threads started while the thread list is open appear in it, and the list
    keeps its place.
  • Attachments sent in a thread go one at a time in the order you added them,
    also after the thread is closed.
  • Issues #88 to #102 above were reported by LTSCommerce.

Calls and screen sharing

  • Calls to a self-hosted LiveKit behind a private certificate authority
    (#82, reported by edenworky). The call connection trusted only the public
    authorities bundled with Lightning, not the system's certificate store, so
    it got a call token and then failed with "Couldn't connect". It now uses the
    system store like the rest of the app, and a refused certificate says so. A
    LiveKit server that requires a client certificate is still not supported.
  • Lightning tries a call server's addresses in parallel instead of one
    after another, so an address that does not answer no longer delays the call.
  • A received screen share recovers from packet loss. Lost video packets
    were never re-requested, or were re-requested too early for LiveKit to
    answer, so the picture froze and stuttered. On a test link with 1.5% loss
    towards the viewer, a 1440p share went from about 10 frames per second to
    25-30, with almost no lost packets left.
  • Share a single window on X11 desktops without a screen-share portal
    (Cinnamon, MATE, Xfce, i3 and similar). The picker lists windows with
    thumbnails, and nothing covering the window is shared. A minimised window
    sends black and a closed one ends the share. Tested end to end from the
    AppImage, in an X11 session without a portal, to another client on a real
    homeserver.
  • A Flatpak Lightning captures other Flatpak apps' audio when sharing
    (#91, reported by LinuzXD).
  • Games keep the CPU while you share video. The video encoder runs at the
    lowest priority and uses fewer threads on small machines, and ending a call
    under heavy load no longer waits on it.
  • A "window was closed" share notice no longer stays for the rest of the call.
  • Back to grid is a proper call control button.

Fixes

  • Editing a message with a mention could open an empty editor, and saving
    then replaced the message with whatever was typed. Fixed in both editors.
    An edit that would leave the message empty is now refused, and a message
    whose formatted text could not be turned back into plain text is edited from
    the formatted text instead of from its fallback.
  • A mention of someone whose display name holds [, a backtick or similar
    characters
    no longer breaks into a name and a separate link.
  • In Bubbles, a long reply quote no longer widens the bubble past its own
    text.
  • Other people's reactions appear live in the AppImage and the Debian
    package.
    On Qt 6.8 only the first reaction on a message showed until the
    room was reopened; this had been the case since 0.10.5. Flatpak, Fedora,
    openSUSE, Windows and macOS builds were not affected.
  • A message sent to a room that is not open no longer disappears if you open
    the room while it is sending.
  • A mention followed by newer messages now counts as a mention and appears in
    Activity.
  • A room the server has dropped says so when an action or a send is refused,
    and Leave removes it.
  • The incoming call card names a direct-message caller before the member list
    has loaded.
  • Account switching and room opens no longer make a dozen requests for
    account data that does not exist. A homeserver protected by CrowdSec could
    read those as a scan and ban the client.
  • Switching rooms no longer reads the access token from the keyring every
    time (#83, reported by tom-kuca).
  • A sign-out that leaves the other accounts unreadable in the keyring offers
    Try again instead of asking for a restart.
  • The session list's "Verified" follows the SDK's verification state.
  • A failed media preview is retried instead of hiding media for the session.
  • The reply preview in the message box uses the full width of the bar.
  • The New conversation dialog fits long translations.
  • Right-to-left languages mirror checkboxes, sliders, drop-down arrows, the
    filter arrows and the read receipt pile.

Memory and speed

  • Idle trimming works. A room left open trims its history back to the
    latest messages after two idle minutes. Before, it never ran in a session
    without input, and never at all once a message had been clicked. Measured in a
    test: 2,131 loaded rows down to 41, and memory from 1,158 to
    670 MiB.
  • The search indexer releases the history it reads and no longer walks the
    same rooms again every session (#98, reported by TheCarrotStick). It held
    about 90 MB per 20,000 messages for the whole session.
  • Opening and closing the emoji picker no longer grows memory (about 13 MiB
    per 100 opens before).
  • --log-file stops at 32 MiB and rolls over to one .1 file.
  • Kept media files past their 60-day limit are also removed at sign-in.
  • The font lists in Settings are built when first opened: about 1.5 s off
    startup on a Mac with many fonts. Contributed by jcredland.

Security and privacy

  • Spoilers stay hidden in room list, thread list and Activity previews,
    copied text, the edit history, the thread panel, reply
    quotes (including a quoted image's thumbnail) and what screen readers read
    out. Previews also no longer show a message's Markdown source. The
    preview leak was reported by emmkay440 (#69).
  • Links to Matrix media are refused in the browser, including ones with an
    access token, and a short notice says why instead of the click doing
    nothing.
  • Deeply nested or repeated quotes are bounded by the same limits as
    tables, so a crafted message cannot build an unbounded layout.
  • rustls updated to 0.23.46 for four security advisories.
  • The Linux binary no longer has an executable stack (#95, reported by
    cryptomilk).
  • The privacy policy now lists every server Lightning contacts and when.

Translations

  • German, Arabic, Hindi, Bengali, Lithuanian, Indonesian, Russian, French,
    Spanish, Portuguese and Simplified Chinese are fully translated, and terms
    such as Space, session and sticker are used consistently.

For packagers

  • -DLIGHTNING_ENABLE_UPDATER=OFF builds without the in-app updater.
  • X11 window sharing loads libxcb and libxcb-composite at run time;
    without them Lightning still starts and offers whole displays only.

Known limits and not yet tested

  • History you stay scrolled up in is not trimmed (about 22 MiB per 1,000
    messages); it is trimmed once you return to the newest messages and leave
    the app idle. The message cache on disk has no size limit; Clear cache in
    About is the only way to shrink it.
  • The 4 GB memory and lag in #98 were not reproduced; the indexer fixes
    above may not cover them.
  • macOS needs macOS 26 or newer (#97) and is NOT TESTED on a real Mac.
  • A LiveKit server that requires a client certificate (mTLS) is not
    supported.
  • Not tested live on a public homeserver: Activity from your other
    accounts and the deep saved-position restore (both tested on a local test
    server), and captions as other clients display them.
  • Show hidden events in the timeline and choosing a single app's audio
    when sharing on macOS
    are not available yet; both are planned for the next
    update.
  • Signing in while the homeserver is rate-limiting logins waits silently until
    the server allows it.
  • Threads with stable-format polls still do not show the poll.
  • Windows packages are unsigned.

How this release was checked

  • Every change ran the full C++ and Rust test suites on the gitlab.com runner,
    with each fix's test shown failing on the previous code first. Risky changes
    (calls, encryption-adjacent edits, persistence, the sanitizer, FFI) had an
    independent review.
  • A live audit on NixOS covered every issue and feature reported since 0.10.6,
    plus a design review of all new UI on all eleven themes, in right-to-left
    Arabic and at narrow and wide window sizes.
  • On a real homeserver: encrypted group calls with audio both ways, screen
    sharing (VP8 and NVIDIA H.264 at 30 frames per second), a 1:1 call, Element
    Call hearing Lightning, messaging, captions, replies, edits and threads.
  • The packages built for release were tested themselves: the AppImage
    (including the X11 window share and calls), the Flatpak (calls and sharing),
    the deb, rpm and snap on Debian 13, Ubuntu 26.04, Fedora 44 and openSUSE
    Tumbleweed, and the Windows portable, MSI and setup on Windows 11 with a
    call and screen sharing to Linux both ways.
  • macOS: the bundle builds and passes its package checks; it is not tested on
    a real Mac.

Lightning 0.10.7 is published here on GitHub. The release assets are
built and validated on clean systems by the project's packaging pipeline and
uploaded unchanged.

Verify any download against the SHA256SUMS asset.

Lightning's in-app updater reads a signed update manifest (published as the
update-latest release on this repository) and verifies an Ed25519 signature
made with a key that is not stored on GitHub. Every downloaded file is checked
against the SHA-256 recorded in that signed manifest before it is installed, so
replacing a file here cannot cause Lightning to install it.

Issues, source, and history: https://github.com/lightning-matrix/lightning

Don't miss a new lightning release

NewReleases is sending notifications on new releases.