Synapse v1.19.0.rc1 Release Notes
Release Date: 2020-08-13 // almost 4 years ago-
โ Removal warning
๐ As outlined in the previous release, we are no longer publishing Docker images with the
-py3
tag suffix. On top of that, we have also removed thelatest-py3
tag. Please see the announcement in the upgrade notes for 1.18.0.๐ Features
- โ Add option to allow server admins to join rooms which fail complexity checks. Contributed by @lugino-emeritus. (#7902)
- Add an option to purge room or not with delete room admin endpoint (
POST /_synapse/admin/v1/rooms/<room_id>/delete
). Contributed by @dklimpel. (#7964) - โ Add rate limiting to users joining rooms. (#8008)
- โ Add a
/health
endpoint to every configured HTTP listener that can be used as a health check endpoint by load balancers. (#8048) - ๐ Allow login to be blocked based on the values of SAML attributes. (#8052)
- Allow guest access to the
GET /_matrix/client/r0/rooms/{room_id}/members
endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH. (#7314)
๐ Bugfixes
- ๐ Fix a bug introduced in Synapse v1.7.2 which caused inaccurate membership counts in the room directory. (#7977)
- Fix a long standing bug: 'Duplicate key value violates unique constraint "event_relations_id"' when message retention is configured. (#7978)
- ๐ Fix "no create event in auth events" when trying to reject invitation after inviter leaves. Bug introduced in Synapse v1.10.0. (#7980)
- ๐ Fix various comments and minor discrepencies in server notices code. (#7996)
- ๐ Fix a long standing bug where HTTP HEAD requests resulted in a 400 error. (#7999)
- ๐ Fix a long-standing bug which caused two copies of some log lines to be written when synctl was used along with a MemoryHandler logger. (#8011, #8012)
โก๏ธ Updates to the Docker image
- โฌ๏ธ We no longer publish Docker images with the
-py3
tag suffix, as announced in the upgrade notes. (#8056)
๐ Improved Documentation
- ๐ Document how to set up a client .well-known file and fix several pieces of outdated documentation. (#7899)
- ๐ Improve workers docs. (#7990, #8000)
- ๐ Fix typo in
docs/workers.md
. (#7992) - โ Add documentation for how to undo a room shutdown. (#7998, #8010)
Internal Changes
- โฌ๏ธ Reduce the amount of whitespace in JSON stored and sent in responses. Contributed by David Vo. (#7372)
- Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. (#7936, #7979)
- Convert various parts of the codebase to async/await. (#7947, #7948, #7949, #7951, #7963, #7973, #7975, #7976, #7981, #7987, #7989, #8003, #8014, #8016, #8027, #8031, #8032, #8035, #8042, #8044, #8045, #8061, #8062, #8063, #8066, #8069, #8070)
- ๐ Move some database-related log lines from the default logger to the database/transaction loggers. (#7952)
- โ Add a script to detect source code files using non-unix line terminators. (#7965, #7970)
- ๐ฒ Log the SAML session ID during creation. (#7971)
- Implement new experimental push rules for some users. (#7997)
- โ Remove redundant and unreliable signature check for v1 Identity Service lookup responses. (#8001)
- ๐ Improve the performance of the register endpoint. (#8009)
- โฌ๏ธ Reduce less useful output in the newsfragment CI step. Add a link to the changelog section of the contributing guide on error. (#8024)
- ๐ Rename storage layer objects to be more sensible. (#8033)
- ๐ Change the default log config to reduce disk I/O and storage for new servers. (#8040)
- Add an assertion on
prev_events
increate_new_client_event
. (#8041) - โ Add a comment to
ServerContextFactory
about the use ofSSLv23_METHOD
. (#8043) - ๐ฒ Log
OPTIONS
requests atDEBUG
rather thanINFO
level to reduce amount logged atINFO
. (#8049) - โฌ๏ธ Reduce amount of outbound request logging at
INFO
level. (#8050) - ๐ง It is no longer necessary to explicitly define
filters
in the logging configuration. (Continuing to do so is redundant but harmless.) (#8051) - โ Add and improve type hints. (#8058, #8064, #8060, #8067)
Synapse 1.18.0 (2020-07-30)
๐ Deprecation Warnings
๐ณ Docker Tags with
-py3
Suffix๐ From 10th August 2020, we will no longer publish Docker images with the
-py3
tag suffix. The images tagged with the-py3
suffix have been identical to the non-suffixed tags since release 0.99.0, and the suffix is obsolete.๐ On 10th August, we will remove the
latest-py3
tag. Existing per-release tags (such asv1.18.0-py3
) will not be removed, but no new-py3
tags will be added.โก๏ธ Scripts relying on the
-py3
suffix will need to be updated.TCP-based Replication
๐ When setting up worker processes, we now recommend the use of a Redis server for replication. The old direct TCP connection method is deprecated and will be removed in a future release. See docs/workers.md for more details.
๐ Improved Documentation
- โก๏ธ Update worker docs with latest enhancements. (#7969)