Synapse 1.44.0 is out now!
This release primarily includes fixes for over a dozen long-standing bugs. For example:
We now stay within C code while generating large JSON objects for responses, which should be substantially faster than the previous technique, which fell back to Python for encoding.
Spam checker modules can now use a
user_may_create_room_with_invites callback to inspect room creation events which include invitations to users via Matrix or other media (email, etc.).
Additionally, the ModuleApi can now inspect IP and User Agent data, as well as checking whether Rooms and MXIDs are local to the current homeserver.
We've also been busy refactoring. For example:
synapse.storage.databases.statemodules are now fully type annotated and checked by mypy, among others.
Lastly, this release has seen considerable work toward supporting MSC2716: Incrementally importing history into existing rooms, along with an update to match the current state of MSC3231: Token authenticated registration.