Skip to content

0.10 beta

Pre-release
Pre-release

Choose a tag to compare

@KitsuneRal KitsuneRal released this 27 Nov 15:26
· 4 commits to dev since this release
31d1698

Two years after 0.9.0 (and 9 months after the last 0.9.x release), with more than 220 (non-merge) commits in between, here is the first beta of 0.10. The API is mostly settled; expect a few more changes to land before the final 0.10 but we're aiming to cut it real soon and head on to the next cycle.

The main one: E2EE on matrix-rust-sdk-crypto

As has been mentioned many times, the long cycle this time has a big reason: @TobiasFella's monumental work in #820 (together with his follow-up tweaks and fixes in #892, #928, #933, #968, #975, #976, #980, #987, #991, #995, #996, #997, and #999, as well as @redstrate's #948, #973, #974, #977, and #978; and @KitsuneRal's #1006 and #1007) replaced the E2EE backend, using matrix-rust-sdk-crypto instead of outdated and unmaintained Olm. It's the same crypto stack the Matrix project maintains for its own SDKs, and the same used by Element in its client applications. Besides keeping us in step with the protocol, this paves the way to roll out more E2EE features, faster, without extended stabilisation rounds.

While it massively improves the quality of life for users, that means more complications for the Linux packagers. The dependency on matrix-rust-sdk-crypto is unconditional; you can't switch it off even if you don't want to use E2EE (not that anybody asked...). The Rust/C++ integration glue is built from source as part of the build using Corrosion 0.6.1 - no prebuilt binaries are involved but this version of Corrosion is still too new for some Linux distros so you will likely have to build Corrosion on the spot. Hopefully matrix-rust-sdk updates will not break the ABI so libQuotient won't have to be rebuilt every time matrix-rust-sdk-crypto gets an update.

QML integration

This has been on the cards since a long time (see #156 if you want some history) but it only became possible to meaningfully expose the library API to QML later in Qt 6 iterations. Now that we can use all the good things from newer Qt, libQuotient 0.10 is making the library friendlier to QML. The idea is to eventually provide most of the facilities in a way that wouldn't need extra C++ glue code on the client side. For that, we started using Qt's modern way for QML integration - QML_ELEMENT etc. (#895, #971, #979, and #981 by @TobiasFella), are making more things available as Q_PROPERTYs (#966 by @redstrate), and provide Q_INVOKABLE/Q_SLOT calls with parameters that can be represented on the QML side (#955 and #961 by @redstrate).

Toolchain and compatibility

We keep the compiler/toolchain floor at ~1-year-old level; these days it means that libQuotient expects GCC 15, Clang 19, Apple Clang 17 (Xcode 16.4), MSVC 19.50+ (VS 2026) (#1004 by @KitsuneRal) that support most C++23 features. The minimum Qt version is now 6.8 (#919 by @KitsuneRal).

Despite the work on QML integration, the library itself doesn't need QtQml. However, it uses Extra CMake Modules (aka ECM) to determine installation directories (and for the QML integration to work outside of the build tree, you'll need ECM 6.27 or newer). This is only a build dependency - once the library is installed you can consume it with or without ECM.

From this version onwards, qmake cannot be used to build the library or build a client with the library (#988 by @TobiasFella).

Other notable changes

  • (feat) Event relations can be used with all post message functions (#806 by @nvrWhere, with a mis-merge fix in #851 by @KitsuneRal)
  • (feat) Message threads support (#825, #849, and #917 by @nvrWhere; #953 by @KitsuneRal)
  • (feat) ECM_ENABLE_SANITIZERS support (#860 by @TobiasFella)
  • (change) event() member functions in CS API are renamed to requestedEvent() to avoid shadowing QObject::event() (#854 by @KitsuneRal)
  • (feat) JoinRule and join rule event type (#862 by @nvrWhere and #954 by @redstrate)
  • (chore) Safer JobHandle that makes it harder to accidentally overwrite continuations (#874 by @KitsuneRal)
  • (fix) More robust code around Qt Keychain, among other smaller fixes (#884 by @KitsuneRal)
  • (chore) Tighter guards against event type clashes caused by, e.g. forgetting to use QUOTIENT_API on an external symbol (#881 by @KitsuneRal)
  • (chore) Compatibility with Qt 6.10+ (#883 by @krop and #937 by @vkrause)
  • (fix) No more sporadic crashes when the read marker received from the server is older than the one locally stored - a long-standing heisenbug (#890 by @TobiasFella)
  • (chore) Fixes and improvements around file downloading (#891 by @kbroulik and #894 by @vkrause)
  • (perf) Numerous performance enhancements in E2EE backend (#893 by @redstrate)
  • (fix) Saving and loading the state for rooms with (historical) ids containing / works now (#896 by @TobiasFella)
  • (feat) Room version 12 support (#897 by @KitsuneRal)
  • (feat) Reply-related functions and event relations can now be used on any RoomEvent, not just RoomMessageEvent (#906 by @TobiasFella and #943 by @KitsuneRal)
  • (feat) Support listening to and ignoring SSL errors for MxcReply (#916 by @redstrate)
  • (perf) Store event id as a string in RoomEvent instead of picking it out of event JSON every time (#924 by @KitsuneRal)
  • (feat) Ordinary fromJson/toJson can also be used on enums - special functions for them are no more needed (#927 by @KitsuneRal)
  • (fix) Connection objects don't miss device ids any more (#930 by @KitsuneRal)
  • (chore) Encryption pickle operations in AccountSettings have long been unused - they are now officially deprecated (#935 by @KitsuneRal)
  • (chore) EncryptedEvent::setRelation() is now called applyRelationFrom(), for clarity (#944 by @KitsuneRal)
  • (fix) Connection::join(AndGet)Room() functions now return the right room object that outlives the slot call (#949 by @KitsuneRal)
  • (chore) StickerEvent tweaks (#947 by @KitsuneRal)
  • (fix) Find edits when loading historical messages (#950 by @redstrate and @KitsuneRal, with an extra fix in #965 by @KitsuneRal; partially also backported to 0.9.x)
  • (feat) Optionally suppress sending public read receipts (#964 by @amazingakai)
  • (feat) The mock Synapse setup script now works with podman and any other container tool that has Docker-ish CLI (#983 by @KitsuneRal)
  • (feat) Install libQuotient without stripping its RUNPATH (#970 by @ahartmetz)
  • (fix) A failing SsoSession no more goes down the signal death-loop (#1001 by @TobiasFella)
  • (fix) Timeline is ordered correctly when sync and historical messages get loaded at the same time (#1005 by @TobiasFella and @KitsuneRal)

Aside from the established Quotient/NeoChat gang (@TobiasFella, @redstrate, @nvrWhere, @vkrause, @KitsuneRal) we've got quite a few first-time contributors in this cycle. Welcome @ahartmetz, @amazingakai, @mjoerg, @kbroulik and @krop - and thanks for your help!

Full Changelog: 0.9.6.1...0.10-beta1