-
matrix-rat 1.4.2
StableAll checks were successfulChecks / fmt, deny, browser build, tools (push) Successful in 7m24sRelease / Version, notes and the draft (push) Successful in 6sRelease / Linux binaries (push) Successful in 28m17sRelease / Browser app (push) Successful in 3m40sRelease / Check the draft and publish it (push) Successful in 6sreleased this
2026-12-04 01:05:23 +01:00 | 4 commits to main since this releasematrix-rat 1.4.2
An Enter key on the phone's key bar, so what the arrow keys reach can be opened or changed
without touching it; a new room no longer shows as "Empty Room"; and the app asks the server
for nothing more once a room is left.Before you upgrade
- Nothing changes in your profile or your browser's data. 1.4.2 reads and writes them
as 1.4.1 did; going back to 1.4.1 works. - For packagers: no new crate;
matrix-sdk,matrix-sdk-uiandmatrix-sdk-base
stay pinned at=0.20.0.
New
↵(Enter) on the phone's key bar, betweenAltand←:
☰ · Esc Tab Ctrl Alt · ↵ ← ↑ ↓ → · Paste. With the on-screen keyboard closed, the arrows
move to an entry and↵acts on it as Enter on a keyboard does: a Settings row changes,
a room in the list opens, a menu item runs. The keyboard stays closed unless what opens
is a field to type in (as with☰). In the message box↵does what your phone
keyboard's Enter does: it starts a new line, or sends if Settings → Enter on phones
sayssend;Altthen↵is a line break either way, and the➤block beside the box
always sends. The key is as wide as the arrows. To make room on narrow screens the
bar shortensCtrltoCtland☰to≡before the keys get narrower: at 41 columns
the arrows and↵are three cells wide, at 36 two, as the arrows were in 1.4.1, with
every key there. The price of the new key: at some widths the arrows are one cell
narrower than in 1.4.1, at 39 and 40 columns (two instead of three; a 360-pixel Android
phone has 39), 45 to 49 (three instead of four; a 412-pixel one has 45), 34 and 35, and
52 to 57. On still
narrower barsTabgives way first, thenCtrl, as before;↵stays down to 15
columns.
Fixed
- A room no longer shows as "Empty Room". A room new to this session (made or joined
on another device, or any room right after logging in) could show in the list as
"Empty Room" instead of its name, and stay so until something happened in it or the
page was reloaded. The app asked for the room's name while the first news of the room
was still being stored, and that early answer could replace the right name. It now
never asks at that moment: until the name is stored, the list shows what is already
known of the room, and the name follows as soon as it is. Seen in the browser with
Tuwunel; 1.4.1 had it too. - No read receipts for a room you have left. Marking a room read right after leaving
it (or after it was left from another device) could still send its read receipt, which
the server refused. The app now checks before each receipt that the room is still
joined, also between the two receipts of one room. - No more requests for a room you have left. When a room was left or forgotten from
another device while it was open here, the app could still ask the server for that
room's older messages and its member list, and the server refused (seen on Tuwunel,
which reports such a leave together with a fresh place in the room's history). The app
now stops following a room the moment it is no longer joined, and asks for nothing
more of it. A room you rejoin, or an invitation you accept, loads as before. trunk servein a fresh checkout (for those who build the browser app themselves).
It stopped with "error taking the canonical path to the watch ignore path" until the
Python tests had run once, becauseweb/Trunk.tomlnamed a folder that only they
make. The list now names only folders that are in the repository. The release build
(trunk build) was never affected.
Tests
2,265 unit tests (12 more than 1.4.1;
matrix-rat,matrix-rat-engine,matrix-rat-web,
plus 3 unit and 6 doc-tests in vendoredratzilla), 84 tests against a real homeserver
(the whole server suite passing in one run on Continuwuity 26.11 and in one on Tuwunel 2.0),
and 294 headless Chromium checks (0 CSP violations, 0 console errors), all passing in one
run on Continuwuity 26.11 and in one on Tuwunel 2.0.New: unit tests for the key bar's
↵(the key and its modifiers; the bar's layout at
every width from 13 to 64 columns; what↵does in the message box under both settings,
with a completion open and while editing a message; that it stays Enter in Settings, the
room list, the timeline and the login fields; each once as a tap and once as a click), for
rooms that are no longer joined (no receipt, no request for older messages), and four
headless checks that tap the key on a phone-sized page, among them↵changing a
Settings row with the keyboard closed and the message box under both settings. A test
holdsweb/Trunk.toml's watch list to folders that every checkout has. Three tests show
that working out a room's name never writes over the one the app stores, and the lint
configuration refuses the call that did. The headless check of the sync nudge now
counts restarts by the requests that only a restart makes, so a server that answers at
once no longer fails it.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Nothing changes in your profile or your browser's data. 1.4.2 reads and writes them
-
matrix-rat 1.4.1
StableAll checks were successfulChecks / fmt, deny, browser build, tools (push) Successful in 8m59sRelease / Version, notes and the draft (push) Successful in 8sRelease / Linux binaries (push) Successful in 28m17sRelease / Browser app (push) Successful in 3m42sRelease / Check the draft and publish it (push) Successful in 22sreleased this
2026-12-03 12:34:24 +01:00 | 22 commits to main since this releasematrix-rat 1.4.1
A fix for the browser app: after a fresh login on an iPhone, the status line could blink
"offline" about twice a second, and keep blinking until the app was closed. The sync no
longer starts over in a hot loop, the status line stays calm, and the app repairs what got
it stuck.Before you upgrade
- Nothing changes in your profile or your browser's data. 1.4.1 reads and writes them
as 1.4.0 did; going back to 1.4.0 works. - For packagers: no new crate;
matrix-sdk,matrix-sdk-uiandmatrix-sdk-base
stay pinned at=0.20.0.
Fixed
- The sync no longer starts over in a hot loop when it keeps failing. What happened:
a single write of the event cache to the browser's IndexedDB failed during the first big
batch of rooms. matrix-sdk 0.20 then keeps those events in memory without having stored
them, and every later sync of that room fails against the store ("item not found"), even
though the store is healthy, until the page is reloaded. The SDK's own offline mode
started the sync again the moment the server answered, about once a second, and the
status line said "offline" and "synced" as often. Now matrix-rat starts the sync again
itself: at once after the first failure, then after pauses that grow (1, 2, 4 ... up to
30 seconds) while it keeps failing. - The app repairs it. At the second failure in a row that comes from the app itself
(not from the network or the server), it starts the part that failed anew, as a reload
of the page would: the event cache when the failure came from there (open rooms then
load their messages again), else the sync's sessions with the server. - A calm status line. It says "offline" only once the sync has failed for three
seconds (a single failure the next attempt gets over says nothing), and "synced" again
only once the sync has held for three seconds, not at each new attempt. - When nothing helps, the browser app offers a reload. From the third failure in a
row that comes from the app itself, the status line says "Sync keeps failing" ("Sync
stuck" on a narrow screen) with a Reload button, where an update would be offered.
It is not offered while a message is still being sent, and an offer of an update comes
first. - Settings > Connection says what failed last: "offline · last problem 07:20:
event cache: item not found (4 in a row)". Only the kind of the failure, never its text,
and the same kind goes to the log. A store failure in the browser now keeps the name of
IndexedDB'sDOMException(QuotaExceededError,TransactionInactiveError...).
Tests
2,253 unit tests (18 more than 1.4.0;
matrix-rat,matrix-rat-engine,matrix-rat-web,
plus 3 unit and 6 doc-tests in vendoredratzilla), 84 tests against a real homeserver
(the whole server suite passing in one run on Continuwuity 26.11 and in one on Tuwunel 2.0),
and 290 headless Chromium checks (0 CSP violations, 0 console errors).New: unit tests for the retry policy (pauses, when the status line changes, the repair, the
reload offer), for the failure kinds, for the status line's offer and the Connection
text, and an end-to-end test against a mock server that keeps sending what the app cannot
read: a few attempts in nine seconds instead of hundreds, "offline" once, the reload
offered from the third failure, and "synced" again once the server is well and the sync
has held. The event cache repair was checked in Chromium and WebKit by aborting one
IndexedDB write during the first big batch, the same failure as on the iPhone.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Nothing changes in your profile or your browser's data. 1.4.1 reads and writes them
-
matrix-rat 1.4.0
StableAll checks were successfulChecks / fmt, deny, browser build, tools (push) Successful in 7m55sRelease / Version, notes and the draft (push) Successful in 7sRelease / Linux binaries (push) Successful in 28m11sRelease / Browser app (push) Successful in 3m42sRelease / Check the draft and publish it (push) Successful in 6sreleased this
2026-12-03 06:06:18 +01:00 | 31 commits to main since this releasematrix-rat 1.4.0
The browser app gets its own home at https://tergelius.de/matrix-rat/app/, served with
real security headers, and plays voice and audio messages. A video sent from the browser
carries a poster frame, and the browser's bottom bar shows what is going on. The project
now lives on its own Forgejo (https://git.tergelius.de/tylerstyle/matrix-rat), where its
checks and releases are built; GitHub is a mirror.Before you upgrade
- The browser app has a new address: https://tergelius.de/matrix-rat/app/. A browser
keeps a site's data per address, so log in there once (with your recovery key, as on any
new device) and, on a phone, add the new page to the home screen. The old address
(tylerstyle.github.io/matrix-rat/) now shows a notice pointing to the new one: its
service worker retires itself, so an installed 1.3 app shows the notice at its next
start. Your old login stays on that device until you remove it: sign the old browser
session out from the new app (Settings, Sessions), then press the notice's button
"Remove matrix-rat's data from this address". - The terminal app: nothing changes in your profile. 1.4.0 reads and writes the profile
as 1.3.0 did; going back to 1.3.0 with the same profile works. - Releases are on Forgejo: https://git.tergelius.de/tylerstyle/matrix-rat/releases
(every release from 0.7.0 on, with its archives). GitHub mirrors the branches and tags
but gets no releases any more. Clone from either. - For packagers: no new crate;
matrix-sdk,matrix-sdk-uiandmatrix-sdk-base
stay pinned at=0.20.0. The browser app is also in the NUR, asmatrix-rat-web: the
release's archive pinned by hash, checked against itsSHA256SUMS, as static files for
a web server (it is what the site serves).
New
- Voice and audio messages play in the browser. A tap on a voice or audio message's
▶, orxon it, plays it in the page with the waveform and clock the terminal app
shows;Spacepauses,←→go 5 seconds back or on,x(or another sound, another
room, logging out, deleting the message) stops it. It plays in the page's own<audio>
element from aBlobof the decrypted bytes (no decoding of our own), which is readied
inside the tap or key that starts it, so iPhones and Safari let it play once the bytes
are there. It goes on while the screen is locked; the lock screen (Media Session) gets
play, pause, seek and stop, and names only "Voice message" or "Audio" by "matrix-rat",
never the sender, the room or the file. While it plays, the bottom bar shows it
("▶ voice 0:03 / 0:12", with "‖" when paused; "▶ 0:03" on a phone), also when the
message is scrolled out of sight; a tap there pauses it or goes on (and stops one that is
still loading). What the browser says it cannot play is not
downloaded: a message names the kind ("This browser can't play Ogg/Opus; use Download
original", as on Safari before iOS 18.4). Element's voice messages (Ogg/Opus) play on
iOS 18.4 and later, also in silent mode. Recording in the browser comes later. - A video sent from the browser carries a poster. Before it goes out, the page reads the
video's size and length and draws one frame of it (at most 800×600, as a JPEG) in a
hidden<video>and<canvas>, so other apps show a preview of the right shape before
anyone plays it. Where the browser has no frame ready (always on an iPhone, now and then
in Chrome on Android), the hidden video plays without sound until one comes; a frame that
is black to the eye (a covered lens, a frame not painted yet) is never sent. It gets
3 seconds: a video the browser cannot read goes out as before, and one without a frame in
time (or whose playback the browser refuses, as iOS does in Low Power Mode) keeps its
size and length. The video is read from the file the user picked (ablob:address that
is let go at once). Tried with 4K.movfrom an iPhone and camera clips from Android. - The browser's bottom bars. On a monitor, the left of the bottom bar shows what is
going on (mentions in other rooms, a sound playing, uploads, reminders that are due, do
not disturb, and the connection only when it is not synced), the right one fixed set of
hints (Ctrl-P commands,F1,F2,F3). A click on the mentions, an upload or a due
reminder opens its room or the reminder; one on the sound pauses it or goes on. On a
phone the bottom row shows only what matters right now, in short forms, centred clear of
rounded screen corners; it keeps its row when empty, so nothing jumps. The connection
state moves into Settings (Connection). The rooms bar above the chat reads‹ Roomsin
the browser. The terminal's status line stays as it is. - The command palette and help open over the picture viewer (
Ctrl-Por☰,F1) and
close back to it; a palette action that leaves the picture closes the viewer.
Changed
- The site's headers. At its new address the app is served with its Content Security
Policy as an HTTP header (soframe-ancestors 'none'applies, which a<meta>policy
cannot do),Referrer-Policy: no-referrer,X-Content-Type-Options: nosniffand
noindex; hashed files are cached for a year, the page, its worker and its manifest are
always revalidated. The page's policy gainsmedia-src blob:for playback. No other page
of the site runs any script, as the app shares its origin with them. - Builds. Checks run on every push to main and every week (formatting,
cargo deny,
the browser build's clippy, the tool tests), and each release is built from its tag on
Forgejo's runners: the x86-64 and ARM64 archives as before, and the browser app as
matrix-rat-web-<version>.tar.gzwith itsSHA256SUMS. Build steps run as an
unprivileged user without the job's token; a draft release is checked for its exact
assets, published, then downloaded anonymously and compared.
Fixed
- A mention that came with a room the app had not seen yet (a room made a moment before,
or one waiting at login) was not counted on a homeserver that does not send your own
membership along with a room, as Continuwuity 26.11 does not: no badge, and@1where
it should say@2. matrix-rat fetches that membership for such rooms; what came before
it is now counted once it is there, in the browser and in the terminal. - Jumping to a message of someone you ignore said "Message could not be found." on Tuwunel
(it answers withM_SENDER_IGNOREDin a 404) and on Continuwuity 26.11 (a plain 404 with
"You have ignored the sender of this event."); it says "That message is from an ignored
user." again. - Room info on phones:
◂and▸of Notifications stay on screen down to 27 columns, and
they are easier to hit (they reach across the gap and to the border). - A picture or video still being sent no longer makes the app ask the homeserver for a
small version of it: the send queue's own copy is shown, as the SDK does.
Good to know (the browser)
- What only the terminal app does: search across all rooms (
Ctrl-G), recording voice
messages, playing videos, local transcripts, translations and catch-up summaries,
writing in$EDITOR, opening a picture or file in the system's viewer (O; the browser
downloads the original), theme files of your own, exporting and importing room keys to a
file, andserveandmcp. - Size: the first visit loads about 7.07 MiB compressed (6.76 MiB for the
17.48 MiB WebAssembly module; 17.98 MiB uncompressed across 16 published files); later
visits start from the browser's cache. - Testing: 2,235 unit tests (
matrix-rat,matrix-rat-engine,matrix-rat-web, plus
3 unit and 6 doc-tests in vendoredratzilla), 84 tests against a real homeserver (the
whole server suite passing in one run on Continuwuity 26.11 and in one on Tuwunel 2.0),
36 browser-tool tests and 23 tests of the release workflow, and 290 headless Chromium
checks (0 CSP violations, 0 console errors), plus live phone testing on iPhone and
OnePlus 8 Pro.
Dependencies
pin-project-lite0.2.19 (every earlier version was yanked for a soundness fix in its
parsing). Nothing else changed since 1.3.0, released the same week.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- The browser app has a new address: https://tergelius.de/matrix-rat/app/. A browser
-
matrix-rat 1.3.0 Stable
released this
2026-12-02 11:27:20 +01:00 | 108 commits to main since this releasematrix-rat 1.3.0
Real pictures in the browser, phone polish and gestures, a full-viewport grid without the
top bar, and a stricter Content Security Policy backed by a vendored patchedratzilla.Both apps also gain active room call indicators and ringing with
Vto open the call,
previous room (Alt-P), jump to date (/goto YYYY-MM-DD), who reacted in Message details,
ancestor spaces and retention policy in Room info, SDK-backed image packs with a global
toggle, and store sizes in Doctor.Before you upgrade
- Nothing changes in your profile. 1.3.0 reads and writes the profile as 1.2.0 did;
going back to 1.2.x with the same profile works (browser-only settings added in 1.3.0,
such asphone_enterandtext_size, are ignored or noted once on older versions). - Two new default shortcuts (
Alt-PandV).Alt-P(last_room, Previous room)
works everywhere andV(open_call, Open call) works in the timeline: if your 1.2
config.toml[keys]section already binds either key, your binding wins (with a
startup warning) and you can bindlast_room/open_callunder[keys]or invoke
them via the Command Palette (Ctrl-P). - For packagers:
Cargo.lockhas no git sources anymore.ratzilla(commit2f6f7ef) is now vendored underweb/vendor/ratzilla/with
PATCHES.mdand bothLICENSE-MITandLICENSE-APACHE.default.nixdrops
outputHashesand adds./web/vendorto its sourcefileset. Its optionalwebgl2
(beamterm-renderer) andcanvasfeatures are disabled by default so they are not
compiled intomatrix-rat-web(their optional/dev entries remain inCargo.lock).matrix-rat-engineadds one new crate dependency:imagesize 0.15.0(MIT, zero
dependencies) for header-only dimension guards before browser decoding, and uses
gif 0.14directly (already inCargo.lockviaimage 0.25) without pixel decoding
to bound GIF first-frame extents.sha2is updated from0.11.2(yanked) to0.11.3.matrix-sdk,matrix-sdk-ui, andmatrix-sdk-baseremain pinned at=0.20.0.
New
- Real pictures in the browser. Inline pictures and the picture viewer draw into
<canvas class="mr-picture">overlays usingdrawImagefrom shell-owned
ImageBitmaps decoded viacreateImageBitmap, keeping large RGBA pixel buffers out of
wasm linear memory. Backed by a 16 MB inline LRU cache (with inline bitmaps released
when leaving a room), header dimension guards viaimagesizeandgiffirst-frame
extents (up to 16 384 px per side and 50 MP; ICO refused), HEIC support on Safari,
transparent stickers with cleared grid cells, a play mark drawn in the canvas for videos
(omitted safely on tiny thumbnails), occlusion and end-of-frame verification over popups
and pills, and half-blocks kept as fallback. - Download original. The picture viewer now shows a tappable
" Download original "
pill above its bottom border while keeping the viewer open, and the message context menu
offers a unified"Download original"across pictures, stickers, videos, audio/voice
messages, and files (decrypting encrypted attachments; Safari download/share sheet on
iOS,DownloadDirin the terminal). - Calls, step 0 (both apps). Rooms with an active call show
● callin the room
list and a"call in progress · N people"banner with" Open call ". Incoming
m.rtc.notificationevents respect room mute settings and MSC4075 freshness
(sender_ts + lifetime): muted rooms never ring,"notification"call events never
ring (at most a normal notice according to the room's notification mode), and"ring"
events ring only for direct chats or explicit user/roommentions — showing a ringing
banner with" Decline "(syncing declines from your other devices), an in-app toast
whenever the timeline banner is hidden (one-pane room list, picture viewer, help, or a
popup), and an OS notice when unfocused. PressingVor choosing" Open call "opens
the room's verifiedhttps://matrix.to/#/...permalink in the browser (built from the
room's ID or alias only). - Previous room (
Alt-P,last_room). Switches back to the most recently visited
room, skipping left rooms (and reopening a closed chat). - Jump to date (
/goto YYYY-MM-DD). Jumps to the first event at or after local
midnight (via Matrix 1.6get_event_by_timestamp, falling back to bounded backward
/messagespaging on homeservers such as Continuwuity or proxies that omit
timestamp_to_event, tolerating out-of-order federated timestamps), also reachable as
"Jump to date"in the command palette (Ctrl-P), with plain notes for future dates,
empty ranges, or unsupported deep history. - Who reacted. Message details (
i) lists who reacted per emoji (omitting ignored
users, capped at 20 senders per emoji, and never logged inDebug). - Room info (
F4): spaces & retention. Shows joined ancestor spaces ("In spaces")
and the server's effective message retention policy (MSC1763,"Messages kept for …")
when advertised. - Image packs through the SDK & global toggle. Stable
m.room.image_packpacks load
throughmatrix-sdk-ui::image_packs(with lenient raw-JSON fallback when a pack has a
malformed entry or unknownusage, keeping theim.ponies.*fallback and all size,
length, and sanitisation limits), with a "Use this pack in all rooms" toggle on
stable packs in Room info, the Sticker Picker, and the Emoji Picker. - Doctor store sizes. In-app Doctor (Command Palette
Ctrl-P→"What the app found here";
no default shortcut) shows SQLite/IndexedDB store
sizes, browsernavigator.storage.estimate(), and asynchronous media cache metrics
(displaying"measuring…"until measurement finishes). - Enter on phones & Text size. Settings → Enter on phones (
new lineby default,
orsend) configures what the phone keyboard's Return key does without affecting hardware
keyboards; Settings → Text size (10–24px) stays in sync with two-finger
pinch-to-resize in the browser.
Changed
- Top bar dropped while running (browser).
#barstays hidden during normal use so
the grid fills 100% of the viewport. The version moved into Help (F1) and Doctor,
update offers and page notes moved into the status line with a tappable/clickable
reload, and#barreturns only if the app stops. - Phone key bar, Paste text, and text selection. Helper keys are taller to match the
message box height, with☰andPasteswapped (☰ · Esc Tab Ctrl Alt · ← ↑ ↓ → · Paste) to keep the menu away from the matching square➤Send block, and an extended
narrow-width cascade (down to ~27 cols at23–24px text size) that keeps all four
arrows andPstaccessible. Browser password and recovery popups (login/re-auth, UIAA
verification, session sign-out, recovery key) now offer a"Paste text"button that
keeps a focused field focused (keyboard stays open). Native
text selection mirrors into the grid on iOS/Android with exact tap-to-caret placement
across all text sizes (10–24px) and suppressed overlay spellcheck squiggles. - Phone feel, IME & hybrid devices. Added swipe inertia glide, pinch-to-resize text
(10–24px; inside the picture viewer, pinching zooms and pans the picture up to 5×
inside its canvas without scaling the page, preserved across popups and resetting on
close or picture switch), Badging
API (setAppBadge/clearAppBadgesynced to the unread count and cleared on logout),
immediate draft flush on hide/pagehide, a rate-limited sync nudge on
return/online/pageshow(restarting only when sync has been idle for ≥ 10 s),
immediate#field-secretwiping onpagehide, and a live
bundled-font glyph coverage check againstDejaVuSansMono.woff2. Hybrid devices (iPads
with keyboards, touch laptops) trackpointerTypemodality; taps lock their cell on
pointerdown; desktop Safari's 50 ms post-compositionendEnter is guarded (leaving
Chromium/Gboard immediate Enter untouched); and a
generation-guarded 1-tick post-compositionendre-read (cancelled by Send/Esc/room
switch) catches late IME edits. - Vendored patched ratzilla & stricter CSP. Cell styling uses CSSOM
style.setPropertydiffing to skip unchanged writes during scrolls,set_text_content
instead ofset_inner_html,Modifier::DIMvia 50% sRGB channel mixing against the
background, andcontain: layout paint styleon grid rows. This allows dropping
style-src-attr 'unsafe-inline'from the Content Security Policy.
Fixed
- iOS Safari multi-touch pinch lockout. Fixed a touch-tracking state bug on iOS Safari
where pinch-zooming could leave touch input unresponsive until reload. - Picture viewer pinch no longer zooms the whole page. Replaced browser page
pinch-zoom inside the viewer with in-canvas1×–5×midpoint-anchored pinch and
aspect-clamped 1-finger panning (#termstaystouch-action: noneand zoom resets on
close or image switch). - Composer tap-to-caret and overlay scaling. Replaced hardcoded 15 px overlay scaling
with dynamic per-size CSSOM variables (10–24px), right-edge wrap slack, and
multi-linescrollTopsync so tapping or long-pressing inside a full composer line
lands on the exact character instead of wrapping off the end. - Status-line
Reloadpill over open modals. KeptUpdate available Reload
un-dimmed and clickable above modal backdrops (Login, Recovery, Help) and added
retryable service-worker activation recovery. - Narrow phone key bar at large text sizes. Extended the shrink cascade below 34 cols
so→andPststay visible and hittable at23–24px on narrow phones. /goto YYYY-MM-DDon Continuwuity. Added bounded backward/messagespaging
fallback when the homeserver omits Matrix 1.6timestamp_to_event.- Passive popups opening the soft keyboard. Popups such as Room info and Room settings
now open with the mobile keyboard closed (and blur stale DOM focus) until a text field
is tapped directly. - Phone autocorrect on
/commands. Autocorrect, spellcheck, and autocapitalize now
turn off on#field-textwhile the composer draft is a slash command (/excluding
//literal escapes) so mobile keyboards such as Gboard do not rewrite/gotointo
/go-to, and turn back on as soon as the draft is cleared, sent, or plain text.
Good to know (the browser)
- What only the terminal app does: search across all rooms (
Ctrl-G), voice
recording and playing audio (an audio or voice message offers"Download original"),
local transcripts, translations and catch-up summaries, writing in$EDITOR, opening a
picture or file in the system's viewer (O; the browser downloads the original), theme
files of your own, exporting and importing room keys to a file (unlock history with your
recovery key or by verifying from another device), andserveandmcp. - Safari and the home-screen app keep separate storage: a session opened in one is
not in the other, and a login by the browser started in one finishes in the same one. - The page runs only as itself: it refuses to be shown in a frame of another site,
and its content security policy allows scripts only from its own address and drops
inlinestyleattributes (style-src-attr 'unsafe-inline'removed). - Size: the first visit loads about 7.07 MiB compressed (6.70 MiB for the
17.41 MiB WebAssembly module; 17.91 MiB uncompressed across 17 published files); later
visits start from the browser's cache. - Testing: 2,193 unit tests (
matrix-rat,matrix-rat-engine,matrix-rat-web, plus
3 unit and 6 doc-tests in vendoredratzilla), 75 tests against a real Continuwuity
homeserver (89/89 ignored tests passing), 41 browser-tool tests (including bundled font
glyph coverage and the 20 MiB wasm size limit), and 277 headless Chromium smoke checks
(0 CSP violations, 0 console errors), plus live phone testing on iPhone and OnePlus 8 Pro.
Dependencies
- New in
matrix-rat-engine(both apps):imagesize 0.15.0(MIT, zero transitive
dependencies);gif 0.14is now used directly (already inCargo.lockviaimage 0.25)
for header-only GIF first-frame extent checks. - Updated:
sha20.11.2→0.11.3(replaces yanked release; zero yanked crates). - Changed for the browser only (
matrix-rat-web):ratzilla(2f6f7ef) is now vendored
underweb/vendor/ratzilla/withwebgl2/canvasfeatures disabled by default;
Cargo.lockhas no git sources. matrix-sdk,matrix-sdk-ui, andmatrix-sdk-baseremain pinned at=0.20.0.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Nothing changes in your profile. 1.3.0 reads and writes the profile as 1.2.0 did;
-
matrix-rat 1.2.0 Stable
released this
2026-11-30 07:26:16 +01:00 | 178 commits to main since this releasematrix-rat 1.2.0
matrix-rat in the browser: the same app, the same keys and the same themes, on a desktop
browser and on phones, at https://tylerstyle.github.io/matrix-rat/. Nothing to install,
it works offline, and it keeps your session in the browser, end-to-end encryption included.The terminal app gets a light theme to go with
rat-dark, popups you can leave with a
click, and a message view that keeps your place when the window is resized.Before you upgrade
- Nothing changes in your profile. 1.2.0 reads and writes the profile as 1.1.0 did;
going back to 1.1.x with the same profile works (if you choserat-light, 1.1.x starts
withrat-darkand says once that it does not know that theme). - For packagers: the source is now a Cargo workspace of three packages.
matrix-rat
(the terminal app, at the root, as before),matrix-rat-engine(the library: the app,
the drawing, the Matrix client,serveandmcp) andmatrix-rat-web(the browser's
page; not a default member, socargo buildat the root builds what it did). The binary
and its name are unchanged.Cargo.locknow has one git source, ratzilla at2f6f7ef
(the browser's only): a build that vendors the whole lock offline needs its hash too, as
the repository'sdefault.nixcarries it.
New
- matrix-rat runs in the browser. The real app, not a cut-down one: rooms, threads,
search in a room, reactions, edits, files, pictures, verification, room management, the
command palette, the settings and the thirteen themes (the newrat-lightamong them), drawn
into the page as a grid of characters with the bundled DejaVu Sans Mono. Keys and the
mouse work as in the terminal; the browser's own shortcuts (Ctrl-T,Ctrl-W, …) stay
the browser's. - Log in with a password or with "Log in with browser". The second goes to your
server's account service and back (OAuth 2.0 with PKCE, by redirect), which is how
matrix.org and other servers with the Matrix Authentication Service log you in; the
account service's page has half an hour to send you back. The session stays in that
browser: its encrypted stores in IndexedDB, their passphrase in
localStorage; a reload or the next visit opens it again without logging in. Log
out ends it at the server and deletes the stores. If the server ends the session
(soft logout), the app asks you to log in again and keeps the stores. - On phones (iOS Safari and the home-screen app, Android Chrome, Firefox):
- A key bar above the message box:
Paste · Esc Tab Ctrl Alt · ← ↑ ↓ → · ☰.
A tap onCtrlorAltholds it for the next key; a long-press locks it (it looks
different, and a short note says so) until the next tap.Pastepastes the
clipboard into the field you are typing in (the message box, a password, the recovery
key), dimmed where there is nothing to paste into.☰opens the command palette,
from which every action is reachable without a hardware key. - A tall ➤ Send block beside the message box sends without closing the keyboard;
it is greyed while there is nothing to send. - You type into the app itself: tap the message box and the phone's keyboard opens,
with autocorrect, dictation, swipe typing and other languages' input; a cursor shows
where you are. The keyboard's Enter starts a new line;Sendsends (a hardware
keyboard's Enter sends, as on the desktop). - The grid follows the keyboard: when it opens, the app shrinks to what is left of
the screen instead of hiding under it. Pinch-zoom is left to the browser.
- A key bar above the message box:
- Files: attach with the browser's file picker, by pasting, or by dropping files on
the page; attachments and archives are saved as downloads (an archive's name carries
the time, so two archives of a room on one day do not collide). - Pictures are drawn in the grid in half blocks, in the timeline and in the picture
viewer. Photos from phone cameras are scaled down while they are decoded, and the
server's thumbnails are used where there are some, so large photos show quickly and
without running the page out of memory; a picture too large for the browser says so
instead. - Offline: once opened, the page starts without a connection, shows what is stored,
and sends what you wrote offline when the connection is back. When a new version is
published, a bar at the top offers Reload. - Notifications while the page is open: Allow (Settings → Notifications) asks
the browser, and new messages then notify as in the terminal app.
A tap on one brings the tab that has the session to the front, in that room (or opens
the app if none is open). There is no push in 1.2: a closed tab gets none, and Android
may pause a tab in the background. - One tab runs the session. A second tab or the installed app offers Use here to
take the session over cleanly, instead of both writing to the same stores. If the other
one is asleep in the background (a phone's installed app), the page says so after a few
seconds: switch to it once, or close it, and the hand-over goes on. - The homeserver you typed is remembered for the next login in that browser (only
the address, never the account or a token). - The page follows the theme: the margins and the browser's top bar take the theme's
colours, light or dark. - Picture avatars for people and rooms in the browser: round for people, rounded
squares for rooms, sharp on any screen; the initials stay while a picture loads. - Install it as an app: Add to Home Screen (iOS Safari), Install app (Android
Chrome) or Install (desktop Chrome and Edge) gives it its own icon, name and window.
On iOS this also keeps the session: Safari deletes a site's data after 7 days without a
visit, a home-screen app is exempt. rat-light, a flat, newsprint-like light theme with black chat text: the light
partner of the defaultrat-dark, used when your desktop (or browser) is light, unless
theme_lightnames another theme. In the terminal app too.- Line break in the message box's menu (next to Clear draft), for a keyboard
withoutShift-Enter. - The command palette offers Jump to oldest, First room and Last room, which only the
vim key preset had; First and Last room also move to the room list.
Changed
- A popup's Esc can be clicked. The Esc part of a popup's footer (and of the help and
of find in room) does what Esc does when clicked or tapped. A click beside a popup
steps back one level, as Esc does, where the popup has one (a value being typed in
the settings, a key being captured, the source view of message details, a profile's
views, room management's filter, confirmations and stages) instead of closing it all.
A popup too narrow for its footer shows its Esc part alone, so the way back stays
readable. - The re-authenticate form offers Log out, and Esc on it offers to log out instead
of leaving a session that cannot sync. - Help and settings wrap instead of cutting: a long description in the help, and a
long status in the settings (encryption, key backup, the account under Log out), go on
in an indented second line instead of being cut at the edge; where a row's "Enter to
view" does not fit, it is left out instead of cut (the hint lines below still say what
the row opens). - Large JPEG photos are decoded smaller: a photo much larger than it is drawn is
decoded at a half, a quarter or an eighth of its size (a 12-megapixel camera photo takes
about 0.6 MB instead of about 36 MB), so it shows sooner and takes far less memory, in the
terminal app too.
Fixed
- Resizing keeps your place: when the message view gets shorter or taller (a resized
window, a phone keyboard), a selected message that was on screen stays on screen.
Good to know (the browser)
- What only the terminal app does: search across all rooms (
Ctrl-G), voice
recording and playing audio (an audio or voice message offers Save), local transcripts,
translations and catch-up summaries, writing in$EDITOR, opening a picture or file in
the system's viewer (O; the browser saves it withs), theme files of your own,
exporting and importing room keys to a file (unlock history with your recovery key or by
verifying from another device), andserveandmcp. In the browser these are not offered or say so where
they would be. - Safari and the home-screen app keep separate storage: a session opened in one is
not in the other, and a login by the browser started in one finishes in the same one. - The page runs only as itself: it refuses to be shown in a frame of another site,
and its content security policy allows scripts only from its own address. - Size: the first visit loads about 7.3 MB (compressed); later visits start from the
browser's cache. - Archiving a room reads the history from the server page by page, without loading
it into the room you have open, and the page stays usable meanwhile: 5,000 messages
took about 4 seconds on a phone (a OnePlus 8 Pro, while scrolling).
Security
- curve25519-dalek 5.1.0
(RUSTSEC-2026-0620): its AVX-512
backend could compute a wrong result for a scalar multiplication with a point an
attacker chose. That backend is used only when the build turns on AVX-512 (compiler
flags that neither the release archives nor the Nix package set, and the browser has
no AVX-512), so 1.1.0 was not affected; 1.2.0 takes the fixed version.
Dependencies
- New in both apps: jpeg-decoder 0.3.2, for decoding large photos scaled down.
- New for the browser only: ratzilla (git revision
2f6f7ef, for the DOM grid and its
fixes not yet released on crates.io; with it beamterm, glow and slotmap, and a second,
older hashbrown and lru) and console_error_panic_hook; wasm-bindgen, web-sys, js-sys and
wasm-bindgen-futures, already in the lock through matrix-sdk, become direct dependencies
of the browser's code. - Otherwise the terminal app's dependencies are those of 1.1.0, with curve25519-dalek
5.1.0 (above).
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Nothing changes in your profile. 1.2.0 reads and writes the profile as 1.1.0 did;
-
matrix-rat 1.1.0 Stable
released this
2026-11-28 09:09:03 +01:00 | 490 commits to main since this releaseSearch that reaches back three months, edits, reactions and deletions that say when they could not be sent (and can be tried again), deleted messages that say why, and the move to matrix-sdk 0.20.
matrix-rat now builds on matrix-sdk 0.20: search lists the newest matches first, a handful of fixes come from the SDK, and the SQLite in the release archives is current again. Read Before you upgrade first: a profile opened with 1.1.0 should not go back to 1.0.x.
Before you upgrade
- No way back to 1.0.x with the same profile. On its first start 1.1.0 migrates the profile's stores to what matrix-sdk 0.20 expects. A profile opened with 1.1.0 should not be opened with 1.0.x again. Room keys that 1.1.0 exports to a file or backs up to the server are read by 1.0.x as keys that may not be shared with others (matrix-sdk 0.20 writes that mark under a new name). If you may want to go back, copy the profile's folder (
~/.local/share/matrix-rat/<profile>/, see Several accounts in the README) before the upgrade, while matrix-rat andmatrix-rat serveare not running on it. - The first start rebuilds two local caches. The local copy of the rooms' messages is emptied once by its migration and fetched from the server again as rooms are synced and opened. The search index is rebuilt: matrix-sdk 0.20 no longer stretches its key (which made opening each room's index slow; the profile's key is random and needs no stretching), so the old index cannot be opened and is deleted. Search history (see New) fills both again in the background, three months back; with it turned off, search finds fewer messages until they are loaded again.
New
- Search reaches back three months. Once a session, about ten seconds after the room list is in, matrix-rat fetches three months of every room's messages in the background, a room a second, so that search across all rooms (
Ctrl-G) finds them, encrypted ones too once their keys are there. The search box says how far it has got ("Fetching older messages, back to 28 Aug…", then "back to about 28 Aug"). It costs data and disk, mostly once: on our test server about 2.3 KB of disk per message, so 100,000 messages take about 230 MB and half an hour on the first run; later starts read what is stored, in seconds, and fetch only what is missing. If the app is closed in the middle of it, what was fetched but not yet searchable is made searchable at the next start. Search history in the settings (search_history = false) turns it off, at once;matrix-rat servenever fetches. Built on matrix-sdk 0.20's search backfill. - An edit, a deletion or a reaction that could not be sent says so, and can be tried again or thrown away. It showed nothing: it looked sent, and everything you sent after it in that room stayed "◌ sending", even after a restart. Now the message shows "✕ edit not sent: not allowed in this room" or "✕ deletion not sent", your reaction's chip a
✕, and what waits behind it "◌ waiting".Entertries again, as for a message that was not sent, andDelthrows away what did not go out: a discarded edit brings back the text before it, a discarded deletion keeps the message, a discarded reaction is gone. This works on someone else's message too (your reaction, or your deletion as a moderator); the status line, the menu and the details (i) say what failed. What failed because the connection was lost now goes out by itself once the app is back online. - A deleted message says why, and who deleted it. "Message deleted: sent to the wrong room" when the sender gave a reason, "Deleted by carol: spam link" when a moderator deleted it, "Deleted by you" for one you deleted. The details (
i) show the whole reason and the user ID of whoever deleted it. The reason is shown as it was written, on one line: no links, no formatting. - Delete with a reason… in the menu of your own messages and in the command palette asks for a reason before it deletes;
Delstill deletes at once. It has no key by default (delete_with_reasonunder[keys.timeline]gives it one). - Several messages of one person in a row are told apart. Each one after the first starts with a muted
·under the●of the line with the name and time, on its first line only: no row more, and it is there without colours (NO_COLOR) and in 256 colours over ssh as well. Until now such a run read as one long message, parted only where a message had reactions. - A device that is verified but lacks your signing keys says so, and offers the way out. When, comparing emoji between two of your devices, the new one confirms first, matrix-sdk 0.20 can, rarely, leave it verified but without the private signing keys and the backup key: it cannot verify others, and older messages stay locked. The app said "this device is verified" and offered nothing. Now the status line shows "⚠ keys missing — fix" (30 seconds after a verification, as the keys normally come within seconds), the Encryption setting says "verified, but without the signing keys", and both open a popup with Verify again (with another device: this time the keys come along) and Enter recovery key. The Done screen of a verification offers the same when the keys did not come.
Changed
- Search across all rooms (
Ctrl-G) lists the newest matches first, instead of the best matches first: matrix-sdk 0.20 sorts by time and no longer gives a relevance score. With more than 200 matches the newest 200 are shown ("Showing the newest 200 matches — refine your search"). - A malformed encrypted message says so: "Unable to decrypt: the message is malformed" (a damaged message, or one whose sender does not match its keys), where it said that its key had not arrived. No key will make it readable.
- The room list orders rooms without messages by their activity among the others, instead of after all rooms with messages.
- Room previews reach back: a room whose last events hold no message (only topic changes or people coming and going, say) shows its last message under its name, fetched from the server, where its line had none. And an unread room whose read marker lies further back than what was synced has its older messages fetched (at most 600), so its count of unread messages is right. Both come with matrix-sdk 0.20 and run whatever the search history setting says.
- The log keeps the libraries out. By default it holds only matrix-rat's own notes; the lines of matrix-sdk and the other libraries, many of which carry room, user or device ids or an error as it came, no longer go in.
MATRIX_RAT_LOGstill lets them in to look into a problem (see Good to know in the README). - "They match", the other device first. Comparing emoji between two of your devices, each screen says on which device to confirm first, while it matters: the device that vouches for the new one, so that it trusts the new one before that one asks for the keys.
- A session that is verified already can be verified again from the session list (
v), instead of "That session is verified already": that is how a session that lacks the signing keys gets them from this one. - Theme files are watched more calmly (notify 9): reading a theme no longer wakes the watch, and when the system's queue of file events runs over, the theme is reloaded, since any file may have changed.
Fixed
- Setting your name for one room failed with "Local cache doesn't contain all necessary data" in a room whose state the sync had not brought yet, a room just created for one. The name is now set from what the server holds.
- Your name in a room stays right: the room details could show one name in the header and another for you in the member list, a name for the room given on another device could be missed at start, and an older name of yours could come back and stay.
- A panic in matrix-sdk while loading older messages ("The chunk is not found", matrix-rust-sdk #5416) no longer ends the task that asked (the room said "loading older messages" for good, an agent's listener never got ready) and no longer hands the terminal back while the app goes on: the page counts as not loaded, and is asked for again.
Through matrix-sdk 0.20:
- A batch of messages twice in a timeline. A timeline opened while new messages came in could hold them twice (matrix-sdk-ui 0.19.1); fixed in the SDK, which also no longer sends a timeline's updates out of order when sync, sending and loading older messages meet. matrix-rat's own guard against repeated messages (1.0.0, 1.0.3) stays.
- No sign-out on a failed token refresh. With a password login, a timeout or a server error while the login was renewed signed you out; now only a renewal the server refuses does.
- Emoji verification no longer stalls between its steps: each step could wait for the next sync to go out, up to the length of a waiting sync request.
- Messages that stayed locked though their keys had arrived (when many came in at once) are decrypted.
- After you kick or ban someone, the room's encryption keys are replaced at once, so the next message is not readable with the keys they had.
- Unread counts are right at once after older messages were loaded from the local store, where they could stay stale until the next sync.
- The read marker shows when the last message read is not shown itself (a reaction, an edit): after the nearest message before it.
- The quote of a deleted message keeps its own sender and time, not those of whoever deleted it.
- A reaction you had already given from another device no longer blocks the room's later messages: the server refuses the second copy, which stayed as failed and held back everything sent after it; it is dropped now.
- Search no longer misses messages when many rooms are updated at once (a large sync).
- A crash in the message cache after it shrank a room's stored messages ("Inserting new chunk with no previous nor next chunk identifiers is impossible").
- Leaving and forgetting a room no longer empties the message cache of the other rooms.
- Rate limits: a server's "try again at" time is respected; creating a room is no longer tried again after a network error (which could make two rooms).
- The encrypted search index's files are written to disk at once (they could be lost on a crash of the system).
Security
- SQLite 3.54.1 in the release archives (RUSTSEC-2026-0459): SQLite before 3.54.0 could hand out stale memory when it opened a database whose
-walfile has another page size. It took someone who can write into the profile's private folder, who could read the store there anyway. matrix-sdk 0.20 takes rusqlite 0.41, which bundles the fixed SQLite. The Nix package links the system's SQLite, as before.
Dependencies
- matrix-sdk, matrix-sdk-base and matrix-sdk-ui 0.20.0 (from 0.19.1), pinned exactly as before, with ruma 0.18, rusqlite 0.41 (libsqlite3-sys 0.39.1, SQLite 3.54.1) and tantivy 0.27 for the search index. The SDK moved from anymap2 to anymap3 (one unmaintained crate less) and matrix-sdk-ui from chrono to jiff.
- Rust 1.99 or newer is needed to build matrix-rat (was 1.96).
- notify 9 (from 8) for watching theme files, signal-hook 0.4 (from 0.3) for suspending with
Ctrl-Z, and every other dependency at its newest compatible version.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- No way back to 1.0.x with the same profile. On its first start 1.1.0 migrates the profile's stores to what matrix-sdk 0.20 expects. A profile opened with 1.1.0 should not be opened with 1.0.x again. Room keys that 1.1.0 exports to a file or backs up to the server are read by 1.0.x as keys that may not be shared with others (matrix-sdk 0.20 writes that mark under a new name). If you may want to go back, copy the profile's folder (
-
matrix-rat 1.0.3 Stable
released this
2026-11-23 19:34:26 +01:00 | 686 commits to main since this releaseCatching up on the last messages of a room, the room cursor back over ssh, and a handful of fixes.
New
/catchup Nsummarises the last N messages of the open room (1 to 300), read or not, through your summary command, and moves no read marker: for when scrolling through a room has already marked everything as read. The same limit of 24,000 characters applies (the newest that fit are kept, and the summary says so); it looks no further back than the room's newest 600 events, and says when it stopped there or the room had fewer messages.
Fixed
- The room cursor was invisible over ssh. ssh does not pass
COLORTERMon, so themes are shown in 256 colours, and dark shades fell on the same black or grey: inrat-dark(the default) androse-pinethe cursor in the room list became the background, incatppuccin-mocha,dracula,gruvbox-darkandnordit took the open room's colour. Colours now go to the nearest of the 256, the grey ramp included, shades that differed in the theme stay apart, and a›marks the cursor while the room list has focus.COLORTERM=truecolorstill gives a terminal that can show them all its full colours. - A message twice in a summary or an archive. matrix-sdk-ui 0.19.1 can hold messages twice in a timeline opened while new ones arrive, a copy even after newer messages; a catch-up's newest messages could then hold older ones. Each message now keeps the place of its first copy, as the room view already did.
- Settings hints that were cut off: nine of them, among them the notes of the translate and summary commands that with an online service the text of encrypted rooms leaves the machine. Every hint now fits its two lines.
- A custom emoji right before the read receipts of a cut row no longer leaves half a box.
- A custom emoji picture that failed to load is tried again, after a pause that grows with each failure (until now not before it left the cache).
- Names (a new room or space, a room's name and your name in it, your profile name) stop at 255 bytes, what a server accepts, instead of being refused on sending.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
matrix-rat 1.0.2 Stable
released this
2026-11-23 17:38:57 +01:00 | 720 commits to main since this releaseA maintenance release: the dependencies brought up to date within their versions, two of them with security fixes.
Security
- url 2.5.9 (RUSTSEC-2026-0592): a stack overflow in
Url::origin()on nestedblob:URLs. Nothing in matrix-rat or the libraries it uses calls that function, so 1.0.1 could not be reached through it. - comrak 1.2.0 (GHSA-7f8r-4rh5-vr5h): Markdown with escaped pipes in table cells, some autolinks or long runs of
~took quadratic time to turn into HTML. matrix-rat only turns its own outgoing messages into HTML (what you type, and what your agents send throughsendormcp); received messages never go through it, so only your own text could take that long.
Changed
- Sending Markdown: a
```mathcode block goes out as an ordinary code block (it was marked as display math, a Markdown extension matrix-rat does not turn on), and a list nested more than about 50 levels deep stops there, the deeper lines staying text. Everything else is sent as the same HTML as with 1.0.1.
Dependencies
- 41 crates updated within their versions, among them arc-swap 1.9.5 (two memory-safety fixes, no published advisory; used by the search index), zbus 6.5 (D-Bus), clap 4.6.9, regex 1.13.2 and toml 1.2.2; one (
atomic) is no longer needed. matrix-sdk stays at 0.19.1, the newest release; notify 9, a new major version of the file watcher behind theme reloading, comes with 1.1.0. cargo denyin CI runs cargo-deny 0.22 (cargo-deny-action 2.1.3). It now only looks at direct dependencies for unmaintained crates unless told otherwise;deny.tomltells it to keep checking the whole tree, as before.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- url 2.5.9 (RUSTSEC-2026-0592): a stack overflow in
-
matrix-rat 1.0.1 Stable
released this
2026-11-21 21:49:49 +01:00 | 734 commits to main since this releaseA fix release for 1.0.0: no more quitting after opening a room, and no more highlight under the mouse pointer.
Fixed
- matrix-rat no longer quits two seconds after opening a room. 1.0.0 could end with "The cursor position could not be read within a normal duration" shortly after a room was opened, or whenever the member list of the open room changed, unless a key or the mouse moved in those two seconds. A full repaint asked the terminal for its cursor position, and the answer could not be read while the app was waiting for input. The screen is now cleared without asking the terminal anything. Should the app ever end with an error again, it first closes its connection and store as on a normal quit, instead of also printing a panic from the store.
Changed
- Nothing lights up under the mouse pointer any more. Rows, buttons, chips and menu entries kept a highlight (an underline in the built-in themes) wherever the pointer rested, which drew lines across the chat. Clicks, the scroll wheel and dragging the edge of the room list work as before; an open menu's selection moves with the keys and is chosen with a click, not by pointing. Buttons that only belong to one row (translate on a text message, Unignore in Room info) show on the selected row: a first click selects it, the next one presses the button. The terminal is no longer asked to report every movement of the mouse, only clicks, the wheel and drags. Themes that still set
hoverload as before, without a warning; the value is ignored.
Dependencies
- comrak 1.0 (Markdown when sending): the same HTML as 0.59 for everything matrix-rat sends; clap 4.6.8, zeroize 1.9.2.
- The release workflow uses
actions/checkoutv7,actions/upload-artifactv7 andactions/download-artifactv8.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
matrix-rat 1.0.0 Stable
released this
2026-11-21 19:58:24 +01:00 | 750 commits to main since this releaseThe 1.0.0 release: ready for daily use, with voice messages, a rooms bar, local transcripts and translations, saved messages and reminders, room archives and unread summaries, a full stability and security pass, and a much leaner footprint over long runs.
New
- Record voice messages.
Alt-Mor the 🎤 button in the composer starts recording (hold the button while you speak and let go to stop, or click once to start and once more to stop;Escdiscards while recording; stops by itself at 5 minutes). Nothing is sent on its own: the recording waits above the composer where you can listen before sending (▶orAlt-L), add a caption, remove it (✕/Backspace), or send it (Enter) as an Ogg/Opus voice message with its duration and waveform (plays in Element on desktop and iOS as well). Recording uses a capture program (parec,parecord,pw-record,ffmpegorarecord) and an Opus encoder (opusencorffmpeg) already on your system (audio_recordersetting;"auto"offers nothing over SSH unless you configure a command). - Rooms bar above the chat. While the room list is out of sight (put away with
Ctrl-B, or in a window below 60 columns), a one-line bar above the chat shows ☰ Rooms (click to open the room list) and the rooms with new notifications, newest on the left, with their picture or coloured initial and raised superscript counts ((n)>opens the list when more rooms wait than fit).Alt-Nsteps through every active room in turn; right-clicking a chip opens the room's menu. Switch it off withrooms_bar = false(Settings → Rooms bar). - Transcripts and translations under messages. Nothing is sent to the room and nothing runs until you ask on a message (key, hover button, message menu, or
Ctrl-P; again stops, hides, or shows it):Wtranscribes a voice or audio message locally withwhisper-cli(whisper.cpp) oncetranscribe_modelpoints to a model file (converting viaffmpegwhen installed), or with your owntranscribe_command.Ltranslates a text message, caption, or voice transcript using your owntranslate_commandandtranslate_language({lang}andMATRIX_RAT_TRANSLATE_TO).- Edited messages and language changes invalidate stale notes; "Transcribe again" and "Translate again" in the message menu redo them. By default notes last while the app runs;
keep_notes = true(Settings → Keep transcripts) saves the 200 newest innotes.json(mode0600, bound to your account) in the profile's data folder, in plain text outside the encrypted store.
- Saved messages and reminders.
bon a message saves it for later ((saved));Bopens Saved messages across all rooms (Enteror click jumps to the message,Delremoves it,rsets or removes a reminder). Remind me… in a message's menu offers presets or a typed time (45m,2h,3d,1w,17:30,tomorrow 8:00,2026-12-24 18:00). Due reminders appear in the status line (1 reminder due, clickable) and as desktop notifications (more than three due together become one grouped notification). Stored per account insaved.json(IDs and times only, never message text; removed on logout). - Archive a room as Markdown (
/archive). Writes a room's messages (what is loaded, the last 7 days, the last 30 days, or as far back as it goes — up to the newest 5,000 messages) into one Markdown file in your download folder. Text only: media and attachments are named, not downloaded. Also available from a room's menu ("Archive as Markdown…") andCtrl-P. - Catch up on unread messages (
/catchup). Collects what is unread in a room (up to the newest 300 messages or 24,000 characters), passes it to your ownsummary_command, and shows the summary in a popup only you see (ccopies; nothing is posted or marked read). If where you stopped reading cannot be found, matrix-rat asks before summarising the newest messages instead. - Agent name from the environment (
matrix-rat mcp). When--nameis omitted,matrix-rat mcpreadsMATRIX_RAT_AGENT_NAME(using the same character validation as--name), so several agents can share one.mcp.jsonentry while signing with their own names. - Agents can trust each of your accounts.
--frommay now be given once for each of your Matrix accounts onread,listenandmcp(say one on matrix.org and one on Beeper). Each account is held to the same rule on its own (end-to-end encrypted, from a verified device and a verified identity of that account), and one account never vouches for another. With a single--fromnothing changes, so existing agent configurations keep working. - Several accounts and doctor. The README now documents multi-profile usage (
--profile), locking, and safe profile removal under Several accounts.matrix-rat doctor(and Settings → What the app found) also reports voice recording, transcribing, translating, and summary command status.
Fixed
- No duplicate blocks or stuck "Unable to decrypt" duplicates. Worked around a race in
matrix-sdk-ui0.19.1 (TimelineBuilder::build) that could show a batch of messages twice: the room view,/archive,/catchup, and the agent channel now show each event once with its latest content (keeping edits and the read marker in the right place), and when keys arrive later (such as from a key export file) a still-locked duplicate never hides the decrypted copy. - Interface, global search and pictures. Global search (
Ctrl-G) now highlights and clicks result cards where they are actually drawn; shrinking the terminal while the emoji picker or composer menu is open keeps it on screen without crashing; pictures shown twice on screen are sent once and kept instead of flickering; room avatars are encoded per display size so small tiles are no longer cropped to a quarter and switching between the room list and the rooms bar does not re-encode every picture; hovering a room in the rooms bar highlights its count without fading letter tiles. - Jumps, resets, threads and pagination. Jumping to a message within the open room or thread now keeps a pending reply or edit on the same event (or cancels it and restores your unsent draft if that message is not in the slice) instead of targeting an unrelated message, and loads room custom emoji packs and forgets notes of deleted messages. Every timeline now uses its own internal item-ID prefix so IDs never collide across timelines. A sync reset clears the loaded-start marker (and reloaded
/contextslices reset both bounds), cancelling a jump after the worker switched restores the previous view, stale pagination requests for views you already left are answered immediately while newer requests cancel older ones, and opening a thread with no replies yet loads its first page at once (with decryption retries on an unloaded thread root routed to the room timeline). - Ignoring users and room management. Changing the ignore list keeps open and cached timelines intact instead of dropping them out from under room actions, and hides ignored users' thread-reply previews, thread unread indicators, and read receipts in the room view as well. Newly joined rooms load their member list reliably; late member lists for left rooms are discarded; rooms left in the current session are not queried for image packs; pinned-message cache eviction no longer shrinks capacity when a message is unpinned and re-fetched; opening or closing Room info leaves in-flight room commands running on the server.
- Drafts, formatting, popups and sessions. Early typing and room drafts survive an automatic switch away from a pending invite or knock, and an async clipboard paste or voice recording finishing after switching rooms or threads restores the right conversation's stashed draft.
/shrugkeeps its backslash and underscores when formatted HTML is sent;<br>inside<pre>preserves line breaks when copying code blocks; mention and link parsing readshrefattributes properly; mouse-wheel scrolling is ignored in the room directory while a request is busy; demo redactions with a reason keep reply/edit targets aligned; boundleave_room,invite_userandcancel_composeno longer appear twice in the command palette; editing non-download text settings no longer falls through to the download folder. - Privacy, files and shutdown hygiene. Saved attachments are created owner-only (mode
0600), matching key exports and notes; kept transcripts (notes.json) are bound to the logged-in account (surviving soft logout, removed on logout, and never read by another account); verification prompts sanitise device IDs alongside device names; profile startup retries cleanly through a--reload-themelock/unlink race on the.pidfile; background session tasks (including the token saver on a failed start) end with the session, while graceful shutdown waits briefly only for outgoing changes rather than read-only lookups. - Agent channel (
serve,mcp, CLI).matrix-rat servenow marks updates to already-seen messages with"changed": trueon its socket'slistenlines while staying compatible both ways between old and newserveandmcp/CLI builds (old clients ignore the extra field; new clients treat its absence as a new message).wait_for_messageno longer wakes on edits or late decryptions of old messages beyond its read window or rewinds its anchor; messages found while the anchor was lost survive a cancelled wait, and older messages left out of a long backlog (earlier_messages_not_shown) count as seen instead of replaying out of order on the next wait. A wait whose matched message is deleted during decryption settle keeps listening; a restarted session bases its watch on the new snapshot; a watch emits its final batch before its timeline stream closes;--allow-unverifiedstill rejects identity changes and sender mismatches; oversized text on standard input is refused as too long rather than as invalid UTF-8. - Loading older messages never stalls, and no history stays hidden. A request for older messages that came just as the previous page finished was dropped, so "loading older" could spin for good; every request is now answered, in room and thread timelines and in the public room directory. A quirk in
matrix-sdk-ui0.19.1 showed only the newest 20 of the messages that arrived while a timeline was still empty and then reported the start of the room, hiding the rest; matrix-rat now asks once more before taking the start as reached (no server call when nothing is hidden). A view that cannot come back after a jump is told of the reset, so its spinner no longer sticks. - People who share a display name are told apart. Two accounts with one name (for example the same person on two servers) were shown as one sender with one colour. The name now carries the account ID wherever one could be mistaken for the other: senders, reply quotes, threads, read receipts, membership lines, ban/delete/report dialogs, pinned and saved lists, search,
/catchupand/archive. - Compose targets, drafts and slash commands stay intact. A pending reply or edit (including to a still-sending message) and the timeline selection follow their event across timeline updates and resets, with a toast if the target disappears. Early typing before a room opens automatically merges with the room's saved or stored draft instead of replacing or losing it (keeping the cursor in what you typed and mention marks anchored to their own text); typing a
/commandsets a saved draft and its marks aside until the command finishes or is cancelled (and merges them back if the text stops being a command, while//escapes stay plain messages thatEscwill not discard); a stored draft merges into a waiting/uploadcaption;/jointo a room you are already in no longer overwrites its draft; and non-ASCII completion candidates are lowercased once per query.
Faster and leaner
- Fewer threads, open files and idle wakeups. Tokio worker and blocking pools are bounded (4/16 in the app, 2/8 in
serve), SQLite pools are capped at 4 connections per store, and the SDK stores open in single-process lock mode (the profile lock already prevents two instances on one profile), removing the 50 ms cross-process lease renewal wakeup at rest (measured: 100 → 8 threads, 137 → 33 open files). - Bounded memory over long runs. Completion member lists are kept only for the open room; unused cached room timelines are evicted after 20 minutes and reopen from the store; timeline snapshots queued while writing in
$EDITORare coalesced instead of piling up; converted message lists allocate without doubling slack. - Much faster timeline updates and drawing. The worker reuses converted messages for unchanged SDK timeline items (measured on a 5,000-message room: 10.5 ms → 2.85 ms per change), and a per-message layout memo reuses laid-out rows for unchanged messages instead of laying out the whole room on every reaction, receipt, or new message (28.6 ms → 1.65 ms per change, 1.75 ms for a new message).
- Less work across the UI, worker and agent daemon. Mention completion, unfiltered room lists, Room info rows, and in-room search avoid redundant per-keystroke allocations and full rescans; the room list reads stored encryption state without asking the server room by room; own-profile updates refresh only when your name or picture actually changed; Room info compares member lists and power levels without copying on every update; thread unread checks load room-wide receipts once per pass; store/index removal and key export/import disk work run off the worker's async loop; watched agent rooms convert only their newest tail and skip unchanged updates.
- For developers.
#![warn(clippy::wildcard_enum_match_arm)]is enabled across the program so every match on our own enums names all variants, and Dependabot checks dependencies and GitHub Actions weekly.
Good to know
- Name colours follow the account ID instead of the display name, so some names change colour once after updating. After someone renames, older reply quotes and thread lines keep the old name (the SDK does not refresh them).
- External commands and
keep_notes. Neither translating (translate_command) nor catching up (summary_command) uses a built-in service; if you point either at an online service, message text — including from encrypted rooms — leaves your machine.keep_notes = truewrites transcripts and translations in plain text tonotes.json(mode0600, bound to your account) outside the encrypted store; it is off by default. - Still open in the agent channel:
listenon the command line does not report an answer that arrived during a gap in the sync, and can in rare cases print loaded history as new once. The MCP tools do neither.- If
servegoes away during a long wait and stays away, the wait ends with "nothing new"; the next call says what is wrong. - Progress notices of a waiting call skip about one beat a minute.
- In a room with no message at all, what is written between an agent's first wait or read and its next call is not handed over, unless the agent sent something first.
- Key backup and recovery are used when already set up (and missing ones are flagged), but creating or resetting them is still done in another client such as Element. See
docs/PLAN.md§7 for the full list of known limits. - SQLite in the release archives: unchanged from 0.9.0 and 0.9.1 (
RUSTSEC-2026-0459, bundled SQLite older than 3.54.0 viamatrix-sdk0.19.1; requires write access to the profile's private folder; the fix arrives with the nextmatrix-sdk). The Nix package links the system's SQLite and is unaffected where that is 3.54.0 or newer.
Checked with 1589 unit tests and 47 tests against a real homeserver on the release commit, the Nix build, and a run of the built package; every piece reviewed by a second agent or an independent reviewer.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Record voice messages.