-
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