Hey ho Synapse release day.
0.99.4 is a maintenance release collecting together all of the bug fixes and performance improvements over the past few weeks, additionally there is further support for the upcoming 1.0 release (more info coming soon). One thing worth calling out is how many community contributions have made their way into 0.99.4, take a look at the change log for details, but many thanks to everyone submitting PRs, keep them coming!
As ever, you can get the new update here or any of the sources mentioned at https://github.com/matrix-org/synapse. Note, Synapse is now available from PyPI, pick it up here. Also, check out our Synapse installation guide page
Synapse 0.99.4 Changelog
Features
- Add systemd-python to the optional dependencies to enable logging to the systemd journal. Install with
pip install matrix-synapse[systemd]
. (#4339) - Add a default .m.rule.tombstone push rule. (#4867)
- Add ability for password provider modules to bind email addresses to users upon registration. (#4947)
- Implementation of MSC1711 including config options for requiring valid TLS certificates for federation traffic, the ability to disable TLS validation for specific domains, and the ability to specify your own list of CA certificates. (#4967)
- Remove presence list support as per MSC 1819. (#4989)
- Reduce CPU usage starting pushers during start up. (#4991)
- Add a delete group admin API. (#5002)
- Add config option to block users from looking up 3PIDs. (#5010)
- Add context to phonehome stats. (#5020)
- Configure the example systemd units to have a log identifier of
matrix-synapse
instead of the executable name,python
. Contributed by Christoph Müller. (#5023) - Add time-based account expiration. (#5027, #5047, #5073, #5116)
- Add support for handling /versions, /voip and /push_rules client endpoints to client_reader worker. (#5063, #5065, #5070)
- Add an configuration option to require authentication on /publicRooms and /profile endpoints. (#5083)
- Move admin APIs to
/_synapse/admin/v1
. (The old paths are retained for backwards-compatibility, for now). (#5119) - Implement an admin API for sending server notices. Many thanks to @krombel who provided a foundation for this work. (#5121, #5142)
Bugfixes
- Avoid redundant URL encoding of redirect URL for SSO login in the fallback login page. Fixes a regression introduced in #4220. Contributed by Marcel Fabian Krüger ("zaugin"). (#4555)
- Fix bug where presence updates were sent to all servers in a room when a new server joined, rather than to just the new server. (#4942, #5103)
- Fix sync bug which made accepting invites unreliable in worker-mode synapses. (#4955, #4956)
- start.sh: Fix the --no-rate-limit option for messages and make it bypass rate limit on registration and login too. (#4981)
- Transfer related groups on room upgrade. (#4990)
- Prevent the ability to kick users from a room they aren't in. (#4999)
- Fix issue #4596 so synapse_port_db script works with --curses option on Python 3. Contributed by Anders Jensen-Waud [email protected]. (#5003)
- Clients timing out/disappearing while downloading from the media repository will now no longer log a spurious "Producer was not unregistered" message. (#5009)
- Fix "cannot import name execute_batch" error with postgres. (#5032)
- Fix disappearing exceptions in manhole. (#5035)
- Workaround bug in twisted where attempting too many concurrent DNS requests could cause it to hang due to running out of file descriptors. (#5037)
- Make sure we're not registering the same 3pid twice on registration. (#5071)
- Don't crash on lack of expiry templates. (#5077)
- Fix the ratelimting on third party invites. (#5104)
- Add some missing limitations to room alias creation. (#5124, #5128)
- Limit the number of EDUs in transactions to 100 as expected by synapse. Thanks to @superboum for this work! (#5138)
- Fix bogus imports in unit tests. (#5154)
Internal Changes
- Add test to verify threepid auth check added in #4435. (#4474)
- Fix/improve some docstrings in the replication code. (#4949)
- Split synapse.replication.tcp.streams into smaller files. (#4953)
- Refactor replication row generation/parsing. (#4954)
- Run
black
to clean up formatting onsynapse/storage/roommember.py
andsynapse/storage/events.py
. (#4959) - Remove log line for password via the admin API. (#4965)
- Fix typo in TLS filenames in docker/README.md. Also add the '-p' commandline option to the 'docker run' example. Contributed by Jurrie Overgoor. (#4968)
- Refactor room version definitions. (#4969)
- Reduce log level of .well-known/matrix/client responses. (#4972)
- Add
config.signing_key_path
that can be read bysynapse.config
utility. (#4974) - Track which identity server is used when binding a threepid and use that for unbinding, as per MSC1915. (#4982)
- Rewrite KeyringTestCase as a HomeserverTestCase. (#4985)
- README updates: Corrected the default POSTGRES_USER. Added port forwarding hint in TLS section. (#4987)
- Remove a number of unused tables from the database schema. (#4992, #5028, #5033)
- Run
black
on the remainder ofsynapse/storage/
. (#4996) - Fix grammar in get_current_users_in_room and give it a docstring. (#4998)
- Clean up some code in the server-key Keyring. (#5001)
- Convert SYNAPSE_NO_TLS Docker variable to boolean for user friendliness. Contributed by Gabriel Eckerson. (#5005)
- Refactor synapse.storage._base._simple_select_list_paginate. (#5007)
- Store the notary server name correctly in server_keys_json. (#5024)
- Rewrite Datastore.get_server_verify_keys to reduce the number of database transactions. (#5030)
- Remove extraneous period from copyright headers. (#5046)
- Update documentation for where to get Synapse packages. (#5067)
- Add workarounds for pep-517 install errors. (#5098)
- Improve logging when event-signature checks fail. (#5100)
- Factor out an "assert_requester_is_admin" function. (#5120)
- Remove the requirement to authenticate for /admin/server_version. (#5122)
- Prevent an exception from being raised in a IResolutionReceiver and use a more generic error message for blacklisted URL previews. (#5155)
- Run
black
on the tests directory. (#5170) - Fix CI after new release of isort. (#5179)
The Foundation needs you
The Matrix.org Foundation is a non-profit and only relies on donations to operate. Its core mission is to maintain the Matrix Specification, but it does much more than that.
It maintains the matrix.org homeserver and hosts several bridges for free. It fights for our collective rights to digital privacy and dignity.
Support us