Hello people, it’s Synapse 1.7.0 time.
This release includes some long requested features, most notably the ability to automatically delete message data after a predefined period. For more details take a look at the config here ─ it should be pretty self explanatory.
Another significant change this release is to explicitly set room directories to be private by default. Previously it was possible to inadvertently configure the directory to be visible to arbitrary Matrix servers and the internet in general.
This means that for those admins who want their room directories to be publicly searchable (matrix.org for instance) they need to explicitly say so in the config. For more details see the upgrade notes and our blog post explaining the situation in greater detail.
We also have early support for ephemeral messages, as well as the ability to specify a reason when rejecting an invite (amongst other actions).
Aside from all of that, we want to let you know about some changes on the horizon. Currently Synapse runs Sqlite by default. This is great in that it gets new admins going quickly without needing to install and configure Postgres. The downside of using Sqlite is that it offers very poor performance, especially once a server tries to join the federation. In truth Sqlite is only really there to demonstrate the service, but for anything other than the most trivial cases it is essential to migrate to Postgres.
Over the past few months we’ve been working to improve the migration path to Postgres such that finally we feel confident to actively encourage admins to migrate. What’s more, in a future release we will forcibly prevent SQLite-backed servers federating unless the admin explicitly sets a config flag to show that they understand the trade-off they are making.
Overall we see these changes as something that will improve everyone’s experience of the matrix federation. We’ll talk more about this closer to the time, but please expect a change in the coming months and if you are running SQLite, consider this a nudge to get yourself migrated.
As ever, you can get the new update here or any of the sources mentioned at https://github.com/matrix-org/synapse. Also, check out our Synapse installation guide page.
The changelog since 1.6.1 follows:
This release changes the default settings so that only local authenticated users can query the server's room directory. See the upgrade notes for details.
Support for SQLite versions before 3.11 is now deprecated. A future release will refuse to start if used with an SQLite version before 3.11.
Administrators are reminded that SQLite should not be used for production instances. Instructions for migrating to Postgres are available here. A future release of synapse will, by default, disable federation for servers using SQLite.
No significant changes since 1.7.0rc2.
/admin/v2/users
endpoint with pagination. Contributed by Awesome Technologies Innovationslabor GmbH. (#5925)/account/3pid/add
, meaning the user's password will be required to add a third-party ID to their account. (#6119)/_matrix/federation/unstable/net.atleastfornow/state/<context>
API as drafted in MSC2314. (#6176)state
, events_before
and events_after
fields in the response to /context
requests. (#6329)register_user()
while using LDAP auth module. (#6406)synapse_port_db
not exiting with a 0 code if something went wrong during the port process. (#6470)public_baseurl
isn't set when necessary. (#6379)/messages
in the future. (#6392)