Skip to content

Tags: crcastle/synapse

Tags

v1.35.1

Toggle v1.35.1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
clokep Patrick Cloke
Synapse 1.35.1 (2021-06-03)

===========================

Bugfixes
--------

- Fix a bug introduced in v1.35.0 where invite-only rooms would be shown to all users in a space, regardless of if the user had access to it. ([\matrix-org#10109](matrix-org#10109))

v1.35.0

Toggle v1.35.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
anoadragon453 Andrew Morgan
Synapse 1.35.0 (2021-06-01)

===========================

Note that [the tag](https://github.com/matrix-org/synapse/releases/tag/v1.35.0rc3) and [docker images](https://hub.docker.com/layers/matrixdotorg/synapse/v1.35.0rc3/images/sha256-34ccc87bd99a17e2cbc0902e678b5937d16bdc1991ead097eee6096481ecf2c4?context=explore) for `v1.35.0rc3` were incorrectly built. If you are experiencing issues with either, it is recommended to upgrade to the equivalent tag or docker image for the `v1.35.0` release.

Deprecations and Removals
-------------------------

- The core Synapse development team plan to drop support for the [unstable API of MSC2858](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), including the undocumented `experimental.msc2858_enabled` config option, in August 2021. Client authors should ensure that their clients are updated to use the stable API (which has been supported since Synapse 1.30) well before that time, to give their users time to upgrade. ([\matrix-org#10101](matrix-org#10101))

Bugfixes
--------

- Fixed a bug causing replication requests to fail when receiving a lot of events via federation. Introduced in v1.33.0. ([\matrix-org#10082](matrix-org#10082))
- Fix HTTP response size limit to allow joining very large rooms over federation. Introduced in v1.33.0. ([\matrix-org#10093](matrix-org#10093))

Internal Changes
----------------

- Log method and path when dropping request due to size limit. ([\matrix-org#10091](matrix-org#10091))

Synapse 1.35.0rc2 (2021-05-27)
==============================

Bugfixes
--------

- Fix a bug introduced in v1.35.0rc1 when calling the spaces summary API via a GET request. ([\matrix-org#10079](matrix-org#10079))

Synapse 1.35.0rc1 (2021-05-25)
==============================

Features
--------

- Add experimental support to allow a user who could join a restricted room to view it in the spaces summary. ([\matrix-org#9922](matrix-org#9922), [\matrix-org#10007](matrix-org#10007), [\matrix-org#10038](matrix-org#10038))
- Reduce memory usage when joining very large rooms over federation. ([\matrix-org#9958](matrix-org#9958))
- Add a configuration option which allows enabling opentracing by user id. ([\matrix-org#9978](matrix-org#9978))
- Enable experimental support for [MSC2946](matrix-org/matrix-spec-proposals#2946) (spaces summary API) and [MSC3083](matrix-org/matrix-spec-proposals#3083) (restricted join rules) by default. ([\matrix-org#10011](matrix-org#10011))

Bugfixes
--------

- Fix a bug introduced in v1.26.0 which meant that `synapse_port_db` would not correctly initialise some postgres sequences, requiring manual updates afterwards. ([\matrix-org#9991](matrix-org#9991))
- Fix `synctl`'s `--no-daemonize` parameter to work correctly with worker processes. ([\matrix-org#9995](matrix-org#9995))
- Fix a validation bug introduced in v1.34.0 in the ordering of spaces in the space summary API. ([\matrix-org#10002](matrix-org#10002))
- Fixed deletion of new presence stream states from database. ([\matrix-org#10014](matrix-org#10014), [\matrix-org#10033](matrix-org#10033))
- Fixed a bug with very high resolution image uploads throwing internal server errors. ([\matrix-org#10029](matrix-org#10029))

Updates to the Docker image
---------------------------

- Fix bug introduced in Synapse 1.33.0 which caused a `Permission denied: '/homeserver.log'` error when starting Synapse with the generated log configuration. Contributed by Sergio Miguéns Iglesias. ([\matrix-org#10045](matrix-org#10045))

Improved Documentation
----------------------

- Add hardened systemd files as proposed in [matrix-org#9760](matrix-org#9760) and added them to `contrib/`. Change the docs to reflect the presence of these files. ([\matrix-org#9803](matrix-org#9803))
- Clarify documentation around SSO mapping providers generating unique IDs and localparts. ([\matrix-org#9980](matrix-org#9980))
- Updates to the PostgreSQL documentation (`postgres.md`). ([\matrix-org#9988](matrix-org#9988), [\matrix-org#9989](matrix-org#9989))
- Fix broken link in user directory documentation. Contributed by @junquera. ([\matrix-org#10016](matrix-org#10016))
- Add missing room state entry to the table of contents of room admin API. ([\matrix-org#10043](matrix-org#10043))

Deprecations and Removals
-------------------------

- Removed support for the deprecated `tls_fingerprints` configuration setting. Contributed by Jerin J Titus. ([\matrix-org#9280](matrix-org#9280))

Internal Changes
----------------

- Allow sending full presence to users via workers other than the one that called `ModuleApi.send_local_online_presence_to`. ([\matrix-org#9823](matrix-org#9823))
- Update comments in the space summary handler. ([\matrix-org#9974](matrix-org#9974))
- Minor enhancements to the `@cachedList` descriptor. ([\matrix-org#9975](matrix-org#9975))
- Split multipart email sending into a dedicated handler. ([\matrix-org#9977](matrix-org#9977))
- Run `black` on files in the `scripts` directory. ([\matrix-org#9981](matrix-org#9981))
- Add missing type hints to `synapse.util` module. ([\matrix-org#9982](matrix-org#9982))
- Simplify a few helper functions. ([\matrix-org#9984](matrix-org#9984), [\matrix-org#9985](matrix-org#9985), [\matrix-org#9986](matrix-org#9986))
- Remove unnecessary property from SQLBaseStore. ([\matrix-org#9987](matrix-org#9987))
- Remove `keylen` param on `LruCache`. ([\matrix-org#9993](matrix-org#9993))
- Update the Grafana dashboard in `contrib/`. ([\matrix-org#10001](matrix-org#10001))
- Add a batching queue implementation. ([\matrix-org#10017](matrix-org#10017))
- Reduce memory usage when verifying signatures on large numbers of events at once. ([\matrix-org#10018](matrix-org#10018))
- Properly invalidate caches for destination retry timings every (instead of expiring entries every 5 minutes). ([\matrix-org#10036](matrix-org#10036))
- Fix running complement tests with Synapse workers. ([\matrix-org#10039](matrix-org#10039))
- Fix typo in `get_state_ids_for_event` docstring where the return type was incorrect. ([\matrix-org#10050](matrix-org#10050))

v1.35.0rc3

Toggle v1.35.0rc3's commit message

Verified

This tag was signed with the committer’s verified signature.
erikjohnston Erik Johnston
Synapse 1.35.0rc3 (2021-05-28)

==============================

Bugfixes
--------

- Fixed a bug causing replication requests to fail when receiving a lot of events via federation. Introduced in v1.33.0. ([\matrix-org#10082](matrix-org#10082))
- Fix HTTP response size limit to allow joining very large rooms over federation. Introduced in v1.33.0. ([\matrix-org#10093](matrix-org#10093))

Internal Changes
----------------

- Log method and path when dropping request due to size limit. ([\matrix-org#10091](matrix-org#10091))

v1.35.0rc2

Toggle v1.35.0rc2's commit message

Verified

This tag was signed with the committer’s verified signature.
erikjohnston Erik Johnston
Synapse 1.35.0rc2 (2021-05-27)

==============================

Bugfixes
--------

- Fix a bug introduced in v1.35.0rc1 when calling the spaces summary API via a GET request. ([\matrix-org#10079](matrix-org#10079))

v1.35.0rc1

Toggle v1.35.0rc1's commit message

Verified

This tag was signed with the committer’s verified signature.
erikjohnston Erik Johnston
Synapse 1.35.0rc1 (2021-05-25)

==============================

Features
--------

- Add experimental support to allow a user who could join a restricted room to view it in the spaces summary. ([\matrix-org#9922](matrix-org#9922), [\matrix-org#10007](matrix-org#10007), [\matrix-org#10038](matrix-org#10038))
- Reduce memory usage when joining very large rooms over federation. ([\matrix-org#9958](matrix-org#9958))
- Add a configuration option which allows enabling opentracing by user id. ([\matrix-org#9978](matrix-org#9978))
- Enable experimental support for [MSC2946](matrix-org/matrix-spec-proposals#2946) (spaces summary API) and [MSC3083](matrix-org/matrix-spec-proposals#3083) (restricted join rules) by default. ([\matrix-org#10011](matrix-org#10011))

Bugfixes
--------

- Fix a bug introduced in v1.26.0 which meant that `synapse_port_db` would not correctly initialise some postgres sequences, requiring manual updates afterwards. ([\matrix-org#9991](matrix-org#9991))
- Fix `synctl`'s `--no-daemonize` parameter to work correctly with worker processes. ([\matrix-org#9995](matrix-org#9995))
- Fix a validation bug introduced in v1.34.0 in the ordering of spaces in the space summary API. ([\matrix-org#10002](matrix-org#10002))
- Fixed deletion of new presence stream states from database. ([\matrix-org#10014](matrix-org#10014), [\matrix-org#10033](matrix-org#10033))
- Fixed a bug with very high resolution image uploads throwing internal server errors. ([\matrix-org#10029](matrix-org#10029))

Updates to the Docker image
---------------------------

- Fix bug introduced in Synapse 1.33.0 which caused a `Permission denied: '/homeserver.log'` error when starting Synapse with the generated log configuration. Contributed by Sergio Miguéns Iglesias. ([\matrix-org#10045](matrix-org#10045))

Improved Documentation
----------------------

- Add hardened systemd files as proposed in [matrix-org#9760](matrix-org#9760) and added them to `contrib/`. Change the docs to reflect the presence of these files. ([\matrix-org#9803](matrix-org#9803))
- Clarify documentation around SSO mapping providers generating unique IDs and localparts. ([\matrix-org#9980](matrix-org#9980))
- Updates to the PostgreSQL documentation (`postgres.md`). ([\matrix-org#9988](matrix-org#9988), [\matrix-org#9989](matrix-org#9989))
- Fix broken link in user directory documentation. Contributed by @junquera. ([\matrix-org#10016](matrix-org#10016))
- Add missing room state entry to the table of contents of room admin API. ([\matrix-org#10043](matrix-org#10043))

Deprecations and Removals
-------------------------

- Removed support for the deprecated `tls_fingerprints` configuration setting. Contributed by Jerin J Titus. ([\matrix-org#9280](matrix-org#9280))

Internal Changes
----------------

- Allow sending full presence to users via workers other than the one that called `ModuleApi.send_local_online_presence_to`. ([\matrix-org#9823](matrix-org#9823))
- Update comments in the space summary handler. ([\matrix-org#9974](matrix-org#9974))
- Minor enhancements to the `@cachedList` descriptor. ([\matrix-org#9975](matrix-org#9975))
- Split multipart email sending into a dedicated handler. ([\matrix-org#9977](matrix-org#9977))
- Run `black` on files in the `scripts` directory. ([\matrix-org#9981](matrix-org#9981))
- Add missing type hints to `synapse.util` module. ([\matrix-org#9982](matrix-org#9982))
- Simplify a few helper functions. ([\matrix-org#9984](matrix-org#9984), [\matrix-org#9985](matrix-org#9985), [\matrix-org#9986](matrix-org#9986))
- Remove unnecessary property from SQLBaseStore. ([\matrix-org#9987](matrix-org#9987))
- Remove `keylen` param on `LruCache`. ([\matrix-org#9993](matrix-org#9993))
- Update the Grafana dashboard in `contrib/`. ([\matrix-org#10001](matrix-org#10001))
- Add a batching queue implementation. ([\matrix-org#10017](matrix-org#10017))
- Reduce memory usage when verifying signatures on large numbers of events at once. ([\matrix-org#10018](matrix-org#10018))
- Properly invalidate caches for destination retry timings every (instead of expiring entries every 5 minutes). ([\matrix-org#10036](matrix-org#10036))
- Fix running complement tests with Synapse workers. ([\matrix-org#10039](matrix-org#10039))
- Fix typo in `get_state_ids_for_event` docstring where the return type was incorrect. ([\matrix-org#10050](matrix-org#10050))

v1.34.0

Toggle v1.34.0's commit message

Verified

This tag was signed with the committer’s verified signature.
erikjohnston Erik Johnston
Synapse 1.34.0 (2021-05-17)

===========================

This release deprecates the `room_invite_state_types` configuration setting. See the [upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.34.0/UPGRADE.rst#upgrading-to-v1340) for instructions on updating your configuration file to use the new `room_prejoin_state` setting.

This release also deprecates the `POST /_synapse/admin/v1/rooms/<room_id>/delete` admin API route. Server administrators are encouraged to update their scripts to use the new `DELETE /_synapse/admin/v1/rooms/<room_id>` route instead.

No significant changes since v1.34.0rc1.

Synapse 1.34.0rc1 (2021-05-12)
==============================

Features
--------

- Add experimental option to track memory usage of the caches. ([\matrix-org#9881](matrix-org#9881))
- Add support for `DELETE /_synapse/admin/v1/rooms/<room_id>`. ([\matrix-org#9889](matrix-org#9889))
- Add limits to how often Synapse will GC, ensuring that large servers do not end up GC thrashing if `gc_thresholds` has not been correctly set. ([\matrix-org#9902](matrix-org#9902))
- Improve performance of sending events for worker-based deployments using Redis. ([\matrix-org#9905](matrix-org#9905), [\matrix-org#9950](matrix-org#9950), [\matrix-org#9951](matrix-org#9951))
- Improve performance after joining a large room when presence is enabled. ([\matrix-org#9910](matrix-org#9910), [\matrix-org#9916](matrix-org#9916))
- Support stable identifiers for [MSC1772](matrix-org/matrix-spec-proposals#1772) Spaces. `m.space.child` events will now be taken into account when populating the experimental spaces summary response. Please see [the upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.34.0/UPGRADE.rst#upgrading-to-v1340) if you have customised `room_invite_state_types` in your configuration. ([\matrix-org#9915](matrix-org#9915), [\matrix-org#9966](matrix-org#9966))
- Improve performance of backfilling in large rooms. ([\matrix-org#9935](matrix-org#9935))
- Add a config option to allow you to prevent device display names from being shared over federation. Contributed by @aaronraimist. ([\matrix-org#9945](matrix-org#9945))
- Update support for [MSC2946](matrix-org/matrix-spec-proposals#2946): Spaces Summary. ([\matrix-org#9947](matrix-org#9947), [\matrix-org#9954](matrix-org#9954))

Bugfixes
--------

- Fix a bug introduced in v1.32.0 where the associated connection was improperly logged for SQL logging statements. ([\matrix-org#9895](matrix-org#9895))
- Correct the type hint for the `user_may_create_room_alias` method of spam checkers. It is provided a `RoomAlias`, not a `str`. ([\matrix-org#9896](matrix-org#9896))
- Fix bug where user directory could get out of sync if room visibility and membership changed in quick succession. ([\matrix-org#9910](matrix-org#9910))
- Include the `origin_server_ts` property in the experimental [MSC2946](matrix-org/matrix-spec-proposals#2946) support to allow clients to properly sort rooms. ([\matrix-org#9928](matrix-org#9928))
- Fix bugs introduced in v1.23.0 which made the PostgreSQL port script fail when run with a newly-created SQLite database. ([\matrix-org#9930](matrix-org#9930))
- Fix a bug introduced in Synapse 1.29.0 which caused `m.room_key_request` to-device messages sent from one user to another to be dropped. ([\matrix-org#9961](matrix-org#9961), [\matrix-org#9965](matrix-org#9965))
- Fix a bug introduced in v1.27.0 preventing users and appservices exempt from ratelimiting from creating rooms with many invitees. ([\matrix-org#9968](matrix-org#9968))

Updates to the Docker image
---------------------------

- Add `startup_delay` to docker healthcheck to reduce waiting time for coming online and update the documentation with extra options. Contributed by @maquis196. ([\matrix-org#9913](matrix-org#9913))

Improved Documentation
----------------------

- Add `port` argument to the Postgres database sample config section. ([\matrix-org#9911](matrix-org#9911))

Deprecations and Removals
-------------------------

- Mark as deprecated `POST /_synapse/admin/v1/rooms/<room_id>/delete`. ([\matrix-org#9889](matrix-org#9889))

Internal Changes
----------------

- Reduce the length of Synapse's access tokens. ([\matrix-org#5588](matrix-org#5588))
- Export jemalloc stats to Prometheus if it is being used. ([\matrix-org#9882](matrix-org#9882))
- Add type hints to presence handler. ([\matrix-org#9885](matrix-org#9885))
- Reduce memory usage of the LRU caches. ([\matrix-org#9886](matrix-org#9886))
- Add type hints to the `synapse.handlers` module. ([\matrix-org#9896](matrix-org#9896))
- Time response time for external cache requests. ([\matrix-org#9904](matrix-org#9904))
- Minor fixes to the `make_full_schema.sh` script. ([\matrix-org#9931](matrix-org#9931))
- Move database schema files into a common directory. ([\matrix-org#9932](matrix-org#9932))
- Add debug logging for lost/delayed to-device messages. ([\matrix-org#9959](matrix-org#9959))

v1.34.0rc1

Toggle v1.34.0rc1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
babolivier Brendan Abolivier
Synapse 1.34.0rc1 (2021-05-12)

==============================

This release deprecates the `room_invite_state_types` configuration setting. See the [upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.34.0/UPGRADE.rst#upgrading-to-v1340) for instructions on updating your configuration file to use the new `room_prejoin_state` setting.

This release also deprecates the `POST /_synapse/admin/v1/rooms/<room_id>/delete` admin API route. Server administrators are encouraged to update their scripts to use the new `DELETE /_synapse/admin/v1/rooms/<room_id>` route instead.

Features
--------

- Add experimental option to track memory usage of the caches. ([\matrix-org#9881](matrix-org#9881))
- Add support for `DELETE /_synapse/admin/v1/rooms/<room_id>`. ([\matrix-org#9889](matrix-org#9889))
- Add limits to how often Synapse will GC, ensuring that large servers do not end up GC thrashing if `gc_thresholds` has not been correctly set. ([\matrix-org#9902](matrix-org#9902))
- Improve performance of sending events for worker-based deployments using Redis. ([\matrix-org#9905](matrix-org#9905), [\matrix-org#9950](matrix-org#9950), [\matrix-org#9951](matrix-org#9951))
- Improve performance after joining a large room when presence is enabled. ([\matrix-org#9910](matrix-org#9910), [\matrix-org#9916](matrix-org#9916))
- Support stable identifiers for [MSC1772](matrix-org/matrix-spec-proposals#1772) Spaces. `m.space.child` events will now be taken into account when populating the experimental spaces summary response. Please see [the upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.34.0/UPGRADE.rst#upgrading-to-v1340) if you have customised `room_invite_state_types` in your configuration. ([\matrix-org#9915](matrix-org#9915), [\matrix-org#9966](matrix-org#9966))
- Improve performance of backfilling in large rooms. ([\matrix-org#9935](matrix-org#9935))
- Add a config option to allow you to prevent device display names from being shared over federation. Contributed by @aaronraimist. ([\matrix-org#9945](matrix-org#9945))
- Update support for [MSC2946](matrix-org/matrix-spec-proposals#2946): Spaces Summary. ([\matrix-org#9947](matrix-org#9947), [\matrix-org#9954](matrix-org#9954))

Bugfixes
--------

- Fix a bug introduced in v1.32.0 where the associated connection was improperly logged for SQL logging statements. ([\matrix-org#9895](matrix-org#9895))
- Correct the type hint for the `user_may_create_room_alias` method of spam checkers. It is provided a `RoomAlias`, not a `str`. ([\matrix-org#9896](matrix-org#9896))
- Fix bug where user directory could get out of sync if room visibility and membership changed in quick succession. ([\matrix-org#9910](matrix-org#9910))
- Include the `origin_server_ts` property in the experimental [MSC2946](matrix-org/matrix-spec-proposals#2946) support to allow clients to properly sort rooms. ([\matrix-org#9928](matrix-org#9928))
- Fix bugs introduced in v1.23.0 which made the PostgreSQL port script fail when run with a newly-created SQLite database. ([\matrix-org#9930](matrix-org#9930))
- Fix a bug introduced in Synapse 1.29.0 which caused `m.room_key_request` to-device messages sent from one user to another to be dropped. ([\matrix-org#9961](matrix-org#9961), [\matrix-org#9965](matrix-org#9965))
- Fix a bug introduced in v1.27.0 preventing users and appservices exempt from ratelimiting from creating rooms with many invitees. ([\matrix-org#9968](matrix-org#9968))

Updates to the Docker image
---------------------------

- Add `startup_delay` to docker healthcheck to reduce waiting time for coming online and update the documentation with extra options. Contributed by @maquis196. ([\matrix-org#9913](matrix-org#9913))

Improved Documentation
----------------------

- Add `port` argument to the Postgres database sample config section. ([\matrix-org#9911](matrix-org#9911))

Deprecations and Removals
-------------------------

- Mark as deprecated `POST /_synapse/admin/v1/rooms/<room_id>/delete`. ([\matrix-org#9889](matrix-org#9889))

Internal Changes
----------------

- Reduce the length of Synapse's access tokens. ([\matrix-org#5588](matrix-org#5588))
- Export jemalloc stats to Prometheus if it is being used. ([\matrix-org#9882](matrix-org#9882))
- Add type hints to presence handler. ([\matrix-org#9885](matrix-org#9885))
- Reduce memory usage of the LRU caches. ([\matrix-org#9886](matrix-org#9886))
- Add type hints to the `synapse.handlers` module. ([\matrix-org#9896](matrix-org#9896))
- Time response time for external cache requests. ([\matrix-org#9904](matrix-org#9904))
- Minor fixes to the `make_full_schema.sh` script. ([\matrix-org#9931](matrix-org#9931))
- Move database schema files into a common directory. ([\matrix-org#9932](matrix-org#9932))
- Add debug logging for lost/delayed to-device messages. ([\matrix-org#9959](matrix-org#9959))

v1.33.2

Toggle v1.33.2's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
babolivier Brendan Abolivier
Synapse 1.33.2 (2021-05-11)

===========================

Due to the security issue highlighted below, server administrators are encouraged to update Synapse. We are not aware of these vulnerabilities being exploited in the wild.

Security advisory
-----------------

This release fixes a denial of service attack ([CVE-2021-29471](GHSA-x345-32rc-8h85)) against Synapse's push rules implementation. Server admins are encouraged to upgrade.

Internal Changes
----------------

- Unpin attrs dependency. ([\matrix-org#9946](matrix-org#9946))

v1.33.1

Toggle v1.33.1's commit message

Verified

This tag was signed with the committer’s verified signature.
erikjohnston Erik Johnston
Synapse 1.33.1 (2021-05-06)

===========================

Bugfixes
--------

- Fix bug where `/sync` would break if using the latest version of `attrs` dependency, by pinning to a previous version. ([\matrix-org#9937](matrix-org#9937))

v1.33.0

Toggle v1.33.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
babolivier Brendan Abolivier
Synapse 1.33.0 (2021-05-05)

===========================

Features
--------

- Build Debian packages for Ubuntu 21.04 (Hirsute Hippo). ([\matrix-org#9909](matrix-org#9909))

Synapse 1.33.0rc2 (2021-04-29)
==============================

Bugfixes
--------

- Fix tight loop when handling presence replication when using workers. Introduced in v1.33.0rc1. ([\matrix-org#9900](matrix-org#9900))

Synapse 1.33.0rc1 (2021-04-28)
==============================

Features
--------

- Update experimental support for [MSC3083](matrix-org/matrix-spec-proposals#3083): restricting room access via group membership. ([\matrix-org#9800](matrix-org#9800), [\matrix-org#9814](matrix-org#9814))
- Add experimental support for handling presence on a worker. ([\matrix-org#9819](matrix-org#9819), [\matrix-org#9820](matrix-org#9820), [\matrix-org#9828](matrix-org#9828), [\matrix-org#9850](matrix-org#9850))
- Return a new template when an user attempts to renew their account multiple times with the same token, stating that their account is set to expire. This replaces the invalid token template that would previously be shown in this case. This change concerns the optional account validity feature. ([\matrix-org#9832](matrix-org#9832))

Bugfixes
--------

- Fixes the OIDC SSO flow when using a `public_baseurl` value including a non-root URL path. ([\matrix-org#9726](matrix-org#9726))
- Fix thumbnail generation for some sites with non-standard content types. Contributed by @rkfg. ([\matrix-org#9788](matrix-org#9788))
- Add some sanity checks to identity server passed to 3PID bind/unbind endpoints. ([\matrix-org#9802](matrix-org#9802))
- Limit the size of HTTP responses read over federation. ([\matrix-org#9833](matrix-org#9833))
- Fix a bug which could cause Synapse to get stuck in a loop of resyncing device lists. ([\matrix-org#9867](matrix-org#9867))
- Fix a long-standing bug where errors from federation did not propagate to the client. ([\matrix-org#9868](matrix-org#9868))

Improved Documentation
----------------------

- Add a note to the docker docs mentioning that we mirror upstream's supported Docker platforms. ([\matrix-org#9801](matrix-org#9801))

Internal Changes
----------------

- Add a dockerfile for running Synapse in worker-mode under Complement. ([\matrix-org#9162](matrix-org#9162))
- Apply `pyupgrade` across the codebase. ([\matrix-org#9786](matrix-org#9786))
- Move some replication processing out of `generic_worker`. ([\matrix-org#9796](matrix-org#9796))
- Replace `HomeServer.get_config()` with inline references. ([\matrix-org#9815](matrix-org#9815))
- Rename some handlers and config modules to not duplicate the top-level module. ([\matrix-org#9816](matrix-org#9816))
- Fix a long-standing bug which caused `max_upload_size` to not be correctly enforced. ([\matrix-org#9817](matrix-org#9817))
- Reduce CPU usage of the user directory by reusing existing calculated room membership. ([\matrix-org#9821](matrix-org#9821))
- Small speed up for joining large remote rooms. ([\matrix-org#9825](matrix-org#9825))
- Introduce flake8-bugbear to the test suite and fix some of its lint violations. ([\matrix-org#9838](matrix-org#9838))
- Only store the raw data in the in-memory caches, rather than objects that include references to e.g. the data stores. ([\matrix-org#9845](matrix-org#9845))
- Limit length of accepted email addresses. ([\matrix-org#9855](matrix-org#9855))
- Remove redundant `synapse.types.Collection` type definition. ([\matrix-org#9856](matrix-org#9856))
- Handle recently added rate limits correctly when using `--no-rate-limit` with the demo scripts. ([\matrix-org#9858](matrix-org#9858))
- Disable invite rate-limiting by default when running the unit tests. ([\matrix-org#9871](matrix-org#9871))
- Pass a reactor into `SynapseSite` to make testing easier. ([\matrix-org#9874](matrix-org#9874))
- Make `DomainSpecificString` an `attrs` class. ([\matrix-org#9875](matrix-org#9875))
- Add type hints to `synapse.api.auth` and `synapse.api.auth_blocking` modules. ([\matrix-org#9876](matrix-org#9876))
- Remove redundant `_PushHTTPChannel` test class. ([\matrix-org#9878](matrix-org#9878))
- Remove backwards-compatibility code for Python versions < 3.6. ([\matrix-org#9879](matrix-org#9879))
- Small performance improvement around handling new local presence updates. ([\matrix-org#9887](matrix-org#9887))