Synapse 1.29.0rc1 (2021-03-04)
Note that synapse now expects an X-Forwarded-Proto
header when used with a reverse proxy. Please see UPGRADE.rst for more details on this change.
Features
- Add rate limiters to cross-user key sharing requests. (#8957)
- Add
order_by
to the admin APIGET /_synapse/admin/v1/users/<user_id>/media
. Contributed by @dklimpel. (#8978) - Add some configuration settings to make users' profile data more private. (#9203)
- The
no_proxy
andNO_PROXY
environment variables are now respected in proxied HTTP clients with the lowercase form taking precedence if both are present. Additionally, the lowercasehttps_proxy
environment variable is now respected in proxied HTTP clients on top of existing support for the uppercaseHTTPS_PROXY
form and takes precedence if both are present. Contributed by Timothy Leung. (#9372) - Add a configuration option,
user_directory.prefer_local_users
, which when enabled will make it more likely for users on the same server as you to appear above other users. (#9383, #9385) - Add support for regenerating thumbnails if they have been deleted but the original image is still stored. (#9438)
- Add support for
X-Forwarded-Proto
header when using a reverse proxy. (#9472, #9501, #9512, #9539)
Bugfixes
- Fix a bug where users' pushers were not all deleted when they deactivated their account. (#9285, #9516)
- Fix a bug where a lot of unnecessary presence updates were sent when joining a room. (#9402)
- Fix a bug that caused multiple calls to the experimental
shared_rooms
endpoint to return stale results. (#9416) - Fix a bug in single sign-on which could cause a "No session cookie found" error. (#9436)
- Fix bug introduced in v1.27.0 where allowing a user to choose their own username when logging in via single sign-on did not work unless an
idp_icon
was defined. (#9440) - Fix a bug introduced in v1.26.0 where some sequences were not properly configured when running
synapse_port_db
. (#9449) - Fix deleting pushers when using sharded pushers. (#9465, #9466, #9479, #9536)
- Fix missing startup checks for the consistency of certain PostgreSQL sequences. (#9470)
- Fix a long-standing bug where the media repository could leak file descriptors while previewing media. (#9497)
- Properly purge the event chain cover index when purging history. (#9498)
- Fix missing chain cover index due to a schema delta not being applied correctly. Only affected servers that ran development versions. (#9503)
- Fix a bug introduced in v1.25.0 where
/_synapse/admin/join/
would fail when given a room alias. (#9506) - Prevent presence background jobs from running when presence is disabled. (#9530)
- Fix rare edge case that caused a background update to fail if the server had rejected an event that had duplicate auth events. (#9537)
Improved Documentation
- Update the example systemd config to propagate reloads to individual units. (#9463)
Internal Changes
- Add documentation and type hints to
parse_duration
. (#9432) - Remove vestiges of
uploads_path
configuration setting. (#9462) - Add a comment about systemd-python. (#9464)
- Test that we require validated email for email pushers. (#9496)
- Allow python to generate bytecode for synapse. (#9502)
- Fix incorrect type hints. (#9515, #9518)
- Add type hints to device and event report admin API. (#9519)
- Add type hints to user admin API. (#9521)
- Bump the versions of mypy and mypy-zope used for static type checking. (#9529)