Tags: actionthomas/synapse
Tags
Synapse 1.11.1 (2020-03-03) =========================== This release includes a security fix impacting installations using Single Sign-On (i.e. SAML2 or CAS) for authentication. Administrators of such installations are encouraged to upgrade as soon as possible. The release also includes fixes for a couple of other bugs. Bugfixes -------- - Add a confirmation step to the SSO login flow before redirecting users to the redirect URL. ([b2bd54a](matrix-org@b2bd54a), [65c73cd](matrix-org@65c73cd), [a0178df](matrix-org@a0178df)) - Fixed set a user as an admin with the admin API `PUT /_synapse/admin/v2/users/<user_id>`. Contributed by @dklimpel. ([\matrix-org#6910](matrix-org#6910)) - Fix bug introduced in Synapse 1.11.0 which sometimes caused errors when joining rooms over federation, with `'coroutine' object has no attribute 'event_id'`. ([\matrix-org#6996](matrix-org#6996))
Synapse 1.11.0 (2020-02-21) =========================== Improved Documentation ---------------------- - Small grammatical fixes to the ACME v1 deprecation notice. ([\matrix-org#6944](matrix-org#6944))
Synapse 1.11.0rc1 (2020-02-19) ============================== Features -------- - Admin API to add or modify threepids of user accounts. ([\matrix-org#6769](matrix-org#6769)) - Limit the number of events that can be requested by the backfill federation API to 100. ([\matrix-org#6864](matrix-org#6864)) - Add ability to run some group APIs on workers. ([\matrix-org#6866](matrix-org#6866)) - Reject device display names over 100 characters in length to prevent abuse. ([\matrix-org#6882](matrix-org#6882)) - Add ability to route federation user device queries to workers. ([\matrix-org#6873](matrix-org#6873)) - The result of a user directory search can now be filtered via the spam checker. ([\matrix-org#6888](matrix-org#6888)) - Implement new `GET /_matrix/client/unstable/org.matrix.msc2432/rooms/{roomId}/aliases` endpoint as per [MSC2432](matrix-org/matrix-spec-proposals#2432). ([\matrix-org#6939](matrix-org#6939), [\matrix-org#6948](matrix-org#6948), [\matrix-org#6949](matrix-org#6949)) - Stop sending `m.room.alias` events wheng adding / removing aliases. Check `alt_aliases` in the latest `m.room.canonical_alias` event when deleting an alias. ([\matrix-org#6904](matrix-org#6904)) - Change the default power levels of invites, tombstones and server ACLs for new rooms. ([\matrix-org#6834](matrix-org#6834)) Bugfixes -------- - Fixed third party event rules function `on_create_room`'s return value being ignored. ([\matrix-org#6781](matrix-org#6781)) - Allow URL-encoded User IDs on `/_synapse/admin/v2/users/<user_id>[/admin]` endpoints. Thanks to @NHAS for reporting. ([\matrix-org#6825](matrix-org#6825)) - Fix Synapse refusing to start if `federation_certificate_verification_whitelist` option is blank. ([\matrix-org#6849](matrix-org#6849)) - Fix errors from logging in the purge jobs related to the message retention policies support. ([\matrix-org#6945](matrix-org#6945)) - Return a 404 instead of 200 for querying information of a non-existant user through the admin API. ([\matrix-org#6901](matrix-org#6901)) Updates to the Docker image --------------------------- - The deprecated "generate-config-on-the-fly" mode is no longer supported. ([\matrix-org#6918](matrix-org#6918)) Improved Documentation ---------------------- - Add details of PR merge strategy to contributing docs. ([\matrix-org#6846](matrix-org#6846)) - Spell out that the last event sent to a room won't be deleted by a purge. ([\matrix-org#6891](matrix-org#6891)) - Update Synapse's documentation to warn about the deprecation of ACME v1. ([\matrix-org#6905](matrix-org#6905), [\matrix-org#6907](matrix-org#6907), [\matrix-org#6909](matrix-org#6909)) - Add documentation for the spam checker. ([\matrix-org#6906](matrix-org#6906)) - Fix worker docs to point `/publicised_groups` API correctly. ([\matrix-org#6938](matrix-org#6938)) - Clean up and update docs on setting up federation. ([\matrix-org#6940](matrix-org#6940)) - Add a warning about indentation to generated configuration files. ([\matrix-org#6920](matrix-org#6920)) - Databases created using the compose file in contrib/docker will now always have correct encoding and locale settings. Contributed by Fridtjof Mund. ([\matrix-org#6921](matrix-org#6921)) - Update pip install directions in readme to avoid error when using zsh. ([\matrix-org#6855](matrix-org#6855)) Deprecations and Removals ------------------------- - Remove `m.lazy_load_members` from `unstable_features` since lazy loading is in the stable Client-Server API version r0.5.0. ([\matrix-org#6877](matrix-org#6877)) Internal Changes ---------------- - Add type hints to `SyncHandler`. ([\matrix-org#6821](matrix-org#6821)) - Refactoring work in preparation for changing the event redaction algorithm. ([\matrix-org#6823](matrix-org#6823), [\matrix-org#6827](matrix-org#6827), [\matrix-org#6854](matrix-org#6854), [\matrix-org#6856](matrix-org#6856), [\matrix-org#6857](matrix-org#6857), [\matrix-org#6858](matrix-org#6858)) - Fix stacktraces when using `ObservableDeferred` and async/await. ([\matrix-org#6836](matrix-org#6836)) - Port much of `synapse.handlers.federation` to async/await. ([\matrix-org#6837](matrix-org#6837), [\matrix-org#6840](matrix-org#6840)) - Populate `rooms.room_version` database column at startup, rather than in a background update. ([\matrix-org#6847](matrix-org#6847)) - Reduce amount we log at `INFO` level. ([\matrix-org#6833](matrix-org#6833), [\matrix-org#6862](matrix-org#6862)) - Remove unused `get_room_stats_state` method. ([\matrix-org#6869](matrix-org#6869)) - Add typing to `synapse.federation.sender` and port to async/await. ([\matrix-org#6871](matrix-org#6871)) - Refactor `_EventInternalMetadata` object to improve type safety. ([\matrix-org#6872](matrix-org#6872)) - Add an additional entry to the SyTest blacklist for worker mode. ([\matrix-org#6883](matrix-org#6883)) - Fix the use of sed in the linting scripts when using BSD sed. ([\matrix-org#6887](matrix-org#6887)) - Add type hints to the spam checker module. ([\matrix-org#6915](matrix-org#6915)) - Convert the directory handler tests to use HomeserverTestCase. ([\matrix-org#6919](matrix-org#6919)) - Increase DB/CPU perf of `_is_server_still_joined` check. ([\matrix-org#6936](matrix-org#6936)) - Tiny optimisation for incoming HTTP request dispatch. ([\matrix-org#6950](matrix-org#6950))
Synapse 1.10.1 (2020-02-17) =========================== Bugfixes -------- - Fix a bug introduced in Synapse 1.10.0 which would cause room state to be cleared in the database if Synapse was upgraded direct from 1.2.1 or earlier to 1.10.0. ([\matrix-org#6924](matrix-org#6924))
Synapse 1.10.0 (2020-02-12) =========================== **WARNING to client developers**: As of this release Synapse validates `client_secret` parameters in the Client-Server API as per the spec. See [\matrix-org#6766](matrix-org#6766) for details. Updates to the Docker image --------------------------- - Update the docker images to Alpine Linux 3.11. ([\matrix-org#6897](matrix-org#6897)) Synapse 1.10.0rc5 (2020-02-11) ============================== Bugfixes -------- - Fix the filtering introduced in 1.10.0rc3 to also apply to the state blocks returned by `/sync`. ([\matrix-org#6884](matrix-org#6884)) Synapse 1.10.0rc4 (2020-02-11) ============================== This release candidate was built incorrectly and is superceded by 1.10.0rc5. Synapse 1.10.0rc3 (2020-02-10) ============================== Features -------- - Filter out `m.room.aliases` from the CS API to mitigate abuse while a better solution is specced. ([\matrix-org#6878](matrix-org#6878)) Internal Changes ---------------- - Fix continuous integration failures with old versions of `pip`, which were introduced by a release of the `zipp` library. ([\matrix-org#6880](matrix-org#6880)) Synapse 1.10.0rc2 (2020-02-06) ============================== Bugfixes -------- - Fix an issue with cross-signing where device signatures were not sent to remote servers. ([\matrix-org#6844](matrix-org#6844)) - Fix to the unknown remote device detection which was introduced in 1.10.rc1. ([\matrix-org#6848](matrix-org#6848)) Internal Changes ---------------- - Detect unexpected sender keys on remote encrypted events and resync device lists. ([\matrix-org#6850](matrix-org#6850)) Synapse 1.10.0rc1 (2020-01-31) ============================== Features -------- - Add experimental support for updated authorization rules for aliases events, from [MSC2260](matrix-org/matrix-spec-proposals#2260). ([\matrix-org#6787](matrix-org#6787), [\matrix-org#6790](matrix-org#6790), [\matrix-org#6794](matrix-org#6794)) Bugfixes -------- - Warn if postgres database has a non-C locale, as that can cause issues when upgrading locales (e.g. due to upgrading OS). ([\matrix-org#6734](matrix-org#6734)) - Minor fixes to `PUT /_synapse/admin/v2/users` admin api. ([\matrix-org#6761](matrix-org#6761)) - Validate `client_secret` parameter using the regex provided by the Client-Server API, temporarily allowing `:` characters for older clients. The `:` character will be removed in a future release. ([\matrix-org#6767](matrix-org#6767)) - Fix persisting redaction events that have been redacted (or otherwise don't have a redacts key). ([\matrix-org#6771](matrix-org#6771)) - Fix outbound federation request metrics. ([\matrix-org#6795](matrix-org#6795)) - Fix bug where querying a remote user's device keys that weren't cached resulted in only returning a single device. ([\matrix-org#6796](matrix-org#6796)) - Fix race in federation sender worker that delayed sending of device updates. ([\matrix-org#6799](matrix-org#6799), [\matrix-org#6800](matrix-org#6800)) - Fix bug where Synapse didn't invalidate cache of remote users' devices when Synapse left a room. ([\matrix-org#6801](matrix-org#6801)) - Fix waking up other workers when remote server is detected to have come back online. ([\matrix-org#6811](matrix-org#6811)) Improved Documentation ---------------------- - Clarify documentation related to `user_dir` and `federation_reader` workers. ([\matrix-org#6775](matrix-org#6775)) Internal Changes ---------------- - Record room versions in the `rooms` table. ([\matrix-org#6729](matrix-org#6729), [\matrix-org#6788](matrix-org#6788), [\matrix-org#6810](matrix-org#6810)) - Propagate cache invalidates from workers to other workers. ([\matrix-org#6748](matrix-org#6748)) - Remove some unnecessary admin handler abstraction methods. ([\matrix-org#6751](matrix-org#6751)) - Add some debugging for media storage providers. ([\matrix-org#6757](matrix-org#6757)) - Detect unknown remote devices and mark cache as stale. ([\matrix-org#6776](matrix-org#6776), [\matrix-org#6819](matrix-org#6819)) - Attempt to resync remote users' devices when detected as stale. ([\matrix-org#6786](matrix-org#6786)) - Delete current state from the database when server leaves a room. ([\matrix-org#6792](matrix-org#6792)) - When a client asks for a remote user's device keys check if the local cache for that user has been marked as potentially stale. ([\matrix-org#6797](matrix-org#6797)) - Add background update to clean out left rooms from current state. ([\matrix-org#6802](matrix-org#6802), [\matrix-org#6816](matrix-org#6816)) - Refactoring work in preparation for changing the event redaction algorithm. ([\matrix-org#6803](matrix-org#6803), [\matrix-org#6805](matrix-org#6805), [\matrix-org#6806](matrix-org#6806), [\matrix-org#6807](matrix-org#6807), [\matrix-org#6820](matrix-org#6820))
Synapse 1.10.0rc5 (2020-02-11) ============================== Bugfixes -------- - Fix the filtering introduced in 1.10.0rc3 to also apply to the state blocks returned by `/sync`. ([\matrix-org#6884](matrix-org#6884))
Synapse 1.10.0rc3 (2020-02-10) ============================== Features -------- - Filter out m.room.aliases from the CS API to mitigate abuse while a better solution is specced. ([\matrix-org#6878](matrix-org#6878)) Internal Changes ---------------- - Fix continuous integration failures with old versions of `pip`, which were introduced by a release of the `zipp` library. ([\matrix-org#6880](matrix-org#6880))
Synapse 1.10.0rc2 (2020-02-06) ============================== Bugfixes -------- - Fix an issue with cross-signing where device signatures were not sent to remote servers. ([\matrix-org#6844](matrix-org#6844)) - Fix to the unknown remote device detection which was introduced in 1.10.rc1. ([\matrix-org#6848](matrix-org#6848)) Internal Changes ---------------- - Detect unexpected sender keys on remote encrypted events and resync device lists. ([\matrix-org#6850](matrix-org#6850))
Synapse 1.10.0rc1 (2020-01-31) ============================== **WARNING**: As of this release Synapse validates `client_secret` parameters in the Client-Server API as per the spec. See [\matrix-org#6766](matrix-org#6766) for details. Features -------- - Add experimental support for updated authorization rules for aliases events, from [MSC2260](matrix-org/matrix-spec-proposals#2260). ([\matrix-org#6787](matrix-org#6787), [\matrix-org#6790](matrix-org#6790), [\matrix-org#6794](matrix-org#6794)) Bugfixes -------- - Warn if postgres database has a non-C locale, as that can cause issues when upgrading locales (e.g. due to upgrading OS). ([\matrix-org#6734](matrix-org#6734)) - Minor fixes to `PUT /_synapse/admin/v2/users` admin api. ([\matrix-org#6761](matrix-org#6761)) - Validate `client_secret` parameter using the regex provided by the Client-Server API, temporarily allowing `:` characters for older clients. The `:` character will be removed in a future release. ([\matrix-org#6767](matrix-org#6767)) - Fix persisting redaction events that have been redacted (or otherwise don't have a redacts key). ([\matrix-org#6771](matrix-org#6771)) - Fix outbound federation request metrics. ([\matrix-org#6795](matrix-org#6795)) - Fix bug where querying a remote user's device keys that weren't cached resulted in only returning a single device. ([\matrix-org#6796](matrix-org#6796)) - Fix race in federation sender worker that delayed sending of device updates. ([\matrix-org#6799](matrix-org#6799), [\matrix-org#6800](matrix-org#6800)) - Fix bug where Synapse didn't invalidate cache of remote users' devices when Synapse left a room. ([\matrix-org#6801](matrix-org#6801)) - Fix waking up other workers when remote server is detected to have come back online. ([\matrix-org#6811](matrix-org#6811)) Improved Documentation ---------------------- - Clarify documentation related to `user_dir` and `federation_reader` workers. ([\matrix-org#6775](matrix-org#6775)) Internal Changes ---------------- - Record room versions in the `rooms` table. ([\matrix-org#6729](matrix-org#6729), [\matrix-org#6788](matrix-org#6788), [\matrix-org#6810](matrix-org#6810)) - Propagate cache invalidates from workers to other workers. ([\matrix-org#6748](matrix-org#6748)) - Remove some unnecessary admin handler abstraction methods. ([\matrix-org#6751](matrix-org#6751)) - Add some debugging for media storage providers. ([\matrix-org#6757](matrix-org#6757)) - Detect unknown remote devices and mark cache as stale. ([\matrix-org#6776](matrix-org#6776), [\matrix-org#6819](matrix-org#6819)) - Attempt to resync remote users' devices when detected as stale. ([\matrix-org#6786](matrix-org#6786)) - Delete current state from the database when server leaves a room. ([\matrix-org#6792](matrix-org#6792)) - When a client asks for a remote user's device keys check if the local cache for that user has been marked as potentially stale. ([\matrix-org#6797](matrix-org#6797)) - Add background update to clean out left rooms from current state. ([\matrix-org#6802](matrix-org#6802), [\matrix-org#6816](matrix-org#6816)) - Refactoring work in preparation for changing the event redaction algorithm. ([\matrix-org#6803](matrix-org#6803), [\matrix-org#6805](matrix-org#6805), [\matrix-org#6806](matrix-org#6806), [\matrix-org#6807](matrix-org#6807), [\matrix-org#6820](matrix-org#6820))
Synapse 1.9.1 (2020-01-28) ========================== Bugfixes -------- - Fix bug where setting `mau_limit_reserved_threepids` config would cause Synapse to refuse to start. ([\matrix-org#6793](matrix-org#6793))
PreviousNext