Synapse 1.74.0 (2022-12-20)
Improved Documentation
- Add release note and update documentation regarding optional ICU support in user search. (#14712)
Synapse 1.74.0rc1 (2022-12-13)
Features
- Improve user search for international display names. (#14464)
- Stop using deprecated
keyIds
parameter when calling/_matrix/key/v2/server
. (#14490, #14525) - Add new
push.enabled
config option to allow opting out of push notification calculation. (#14551, #14619) - Advertise support for Matrix 1.5 on
/_matrix/client/versions
. (#14576) - Improve opentracing and logging for to-device message handling. (#14598)
- Allow selecting "prejoin" events by state keys in addition to event types. (#14642)
Bugfixes
- Fix a long-standing bug where a device list update might not be sent to clients in certain circumstances. (#14435, #14592, #14604)
- Suppress a spurious warning when
POST /rooms/<room_id>/<membership>/
,POST /join/<room_id_or_alias
, or the unspeccedPUT /join/<room_id_or_alias>/<txn_id>
receive an empty HTTP request body. (#14600) - Return spec-compliant JSON errors when unknown endpoints are requested. (#14620, #14621)
- Update html templates to load images over HTTPS. Contributed by @ashfame. (#14625)
- Fix a long-standing bug where the user directory would return 1 more row than requested. (#14631)
- Reject invalid read receipt requests with empty room or event IDs. Contributed by Nick @ Beeper (@Fizzadar). (#14632)
- Fix a bug introduced in Synapse 1.67.0 where not specifying a config file or a server URL would lead to the
register_new_matrix_user
script failing. (#14637) - Fix a long-standing bug where the user directory and room/user stats might be out of sync. (#14639, #14643)
- Fix a bug introduced in Synapse 1.72.0 where the background updates to add non-thread unique indexes on receipts would fail if they were previously interrupted. (#14650)
- Improve validation of field size limits in events. (#14664)
- Fix bugs introduced in Synapse 1.55.0 and 1.69.0 where application services would not be notified of events in the correct rooms, due to stale caches. (#14670)
Improved Documentation
- Update worker settings for
pusher
andfederation_sender
functionality. (#14493) - Add links to third party package repositories, and point to the bug which highlights Ubuntu's out-of-date packages. (#14517)
- Remove old, incorrect minimum postgres version note and replace with a link to the Dependency Deprecation Policy. (#14590)
- Add Single-Sign On setup instructions for Mastodon-based instances. (#14594)
- Change
turn_allow_guests
example value to lowercasetrue
. (#14634)
Internal Changes
- Optimise push badge count calculations. Contributed by Nick @ Beeper (@Fizzadar). (#14255)
- Faster remote room joins: stream the un-partial-stating of rooms over replication. (#14473, #14474)
- Share the
ClientRestResource
for both workers and the main process. (#14528) - Add
--editable
flag tocomplement.sh
which uses an editable install of Synapse for faster turn-around times whilst developing iteratively. (#14548) - Faster joins: use servers list approximation to send read receipts when in partial state instead of waiting for the full state of the room. (#14549)
- Modernize unit tests configuration related to workers. (#14568)
- Bump jsonschema from 4.17.0 to 4.17.3. (#14591)
- Fix Rust lint CI. (#14602)
- Bump JasonEtco/create-an-issue from 2.5.0 to 2.8.1. (#14607)
- Alter some unit test environment parameters to decrease time spent running tests. (#14610)
- Switch to Go recommended installation method for
gotestfmt
template in CI. (#14611) - Bump phonenumbers from 8.13.0 to 8.13.1. (#14612)
- Bump types-setuptools from 65.5.0.3 to 65.6.0.1. (#14613)
- Bump twine from 4.0.1 to 4.0.2. (#14614)
- Bump types-requests from 2.28.11.2 to 2.28.11.5. (#14615)
- Bump cryptography from 38.0.3 to 38.0.4. (#14616)
- Remove useless cargo install with apt from Dockerfile. (#14636)
- Bump certifi from 2021.10.8 to 2022.12.7. (#14645)
- Bump flake8-bugbear from 22.10.27 to 22.12.6. (#14656)
- Bump packaging from 21.3 to 22.0. (#14657)
- Bump types-pillow from 9.3.0.1 to 9.3.0.4. (#14658)
- Bump serde from 1.0.148 to 1.0.150. (#14659)
- Bump phonenumbers from 8.13.1 to 8.13.2. (#14660)
- Bump authlib from 1.1.0 to 1.2.0. (#14661)
- Move
StateFilter
tosynapse.types
. (#14668) - Improve type hints. (#14597, #14646, #14671)