From 641412decde53bad393d478858355ae1db5306cf Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 26 Jul 2022 12:12:22 +0100 Subject: [PATCH 1/4] 1.64.0rc1 --- CHANGES.md | 90 ++++++++++++++++++++++++++++++++++++++- changelog.d/12942.misc | 1 - changelog.d/12943.misc | 1 - changelog.d/12967.removal | 1 - changelog.d/13038.feature | 1 - changelog.d/13094.misc | 1 - changelog.d/13172.misc | 1 - changelog.d/13175.misc | 1 - changelog.d/13192.removal | 1 - changelog.d/13198.misc | 1 - changelog.d/13205.feature | 1 - changelog.d/13208.feature | 1 - changelog.d/13215.misc | 1 - changelog.d/13218.misc | 1 - changelog.d/13220.feature | 1 - changelog.d/13224.misc | 1 - changelog.d/13231.doc | 1 - changelog.d/13233.doc | 1 - changelog.d/13239.removal | 1 - changelog.d/13240.misc | 1 - changelog.d/13242.misc | 1 - changelog.d/13251.misc | 1 - changelog.d/13253.misc | 1 - changelog.d/13254.misc | 1 - changelog.d/13255.misc | 1 - changelog.d/13257.misc | 1 - changelog.d/13258.misc | 1 - changelog.d/13260.misc | 1 - changelog.d/13261.doc | 1 - changelog.d/13263.bugfix | 1 - changelog.d/13266.misc | 1 - changelog.d/13267.misc | 1 - changelog.d/13270.bugfix | 1 - changelog.d/13271.doc | 1 - changelog.d/13274.misc | 1 - changelog.d/13276.feature | 1 - changelog.d/13278.bugfix | 1 - changelog.d/13279.misc | 1 - changelog.d/13281.misc | 1 - changelog.d/13284.misc | 1 - changelog.d/13285.misc | 1 - changelog.d/13292.misc | 1 - changelog.d/13296.bugfix | 1 - changelog.d/13297.misc | 1 - changelog.d/13299.misc | 1 - changelog.d/13300.misc | 1 - changelog.d/13303.misc | 1 - changelog.d/13307.misc | 1 - changelog.d/13308.misc | 1 - changelog.d/13310.misc | 1 - changelog.d/13311.misc | 1 - changelog.d/13313.misc | 1 - changelog.d/13314.doc | 1 - changelog.d/13317.feature | 1 - changelog.d/13318.misc | 1 - changelog.d/13320.misc | 1 - changelog.d/13323.misc | 1 - changelog.d/13324.misc | 1 - changelog.d/13326.removal | 1 - changelog.d/13328.misc | 1 - changelog.d/13329.misc | 1 - changelog.d/13333.doc | 1 - changelog.d/13338.doc | 1 - changelog.d/13342.misc | 1 - changelog.d/13344.doc | 1 - changelog.d/13345.misc | 1 - changelog.d/13349.misc | 1 - changelog.d/13350.bugfix | 1 - changelog.d/13352.bugfix | 1 - changelog.d/13354.misc | 1 - changelog.d/13362.misc | 1 - debian/changelog | 6 +++ pyproject.toml | 2 +- 73 files changed, 95 insertions(+), 73 deletions(-) delete mode 100644 changelog.d/12942.misc delete mode 100644 changelog.d/12943.misc delete mode 100644 changelog.d/12967.removal delete mode 100644 changelog.d/13038.feature delete mode 100644 changelog.d/13094.misc delete mode 100644 changelog.d/13172.misc delete mode 100644 changelog.d/13175.misc delete mode 100644 changelog.d/13192.removal delete mode 100644 changelog.d/13198.misc delete mode 100644 changelog.d/13205.feature delete mode 100644 changelog.d/13208.feature delete mode 100644 changelog.d/13215.misc delete mode 100644 changelog.d/13218.misc delete mode 100644 changelog.d/13220.feature delete mode 100644 changelog.d/13224.misc delete mode 100644 changelog.d/13231.doc delete mode 100644 changelog.d/13233.doc delete mode 100644 changelog.d/13239.removal delete mode 100644 changelog.d/13240.misc delete mode 100644 changelog.d/13242.misc delete mode 100644 changelog.d/13251.misc delete mode 100644 changelog.d/13253.misc delete mode 100644 changelog.d/13254.misc delete mode 100644 changelog.d/13255.misc delete mode 100644 changelog.d/13257.misc delete mode 100644 changelog.d/13258.misc delete mode 100644 changelog.d/13260.misc delete mode 100644 changelog.d/13261.doc delete mode 100644 changelog.d/13263.bugfix delete mode 100644 changelog.d/13266.misc delete mode 100644 changelog.d/13267.misc delete mode 100644 changelog.d/13270.bugfix delete mode 100644 changelog.d/13271.doc delete mode 100644 changelog.d/13274.misc delete mode 100644 changelog.d/13276.feature delete mode 100644 changelog.d/13278.bugfix delete mode 100644 changelog.d/13279.misc delete mode 100644 changelog.d/13281.misc delete mode 100644 changelog.d/13284.misc delete mode 100644 changelog.d/13285.misc delete mode 100644 changelog.d/13292.misc delete mode 100644 changelog.d/13296.bugfix delete mode 100644 changelog.d/13297.misc delete mode 100644 changelog.d/13299.misc delete mode 100644 changelog.d/13300.misc delete mode 100644 changelog.d/13303.misc delete mode 100644 changelog.d/13307.misc delete mode 100644 changelog.d/13308.misc delete mode 100644 changelog.d/13310.misc delete mode 100644 changelog.d/13311.misc delete mode 100644 changelog.d/13313.misc delete mode 100644 changelog.d/13314.doc delete mode 100644 changelog.d/13317.feature delete mode 100644 changelog.d/13318.misc delete mode 100644 changelog.d/13320.misc delete mode 100644 changelog.d/13323.misc delete mode 100644 changelog.d/13324.misc delete mode 100644 changelog.d/13326.removal delete mode 100644 changelog.d/13328.misc delete mode 100644 changelog.d/13329.misc delete mode 100644 changelog.d/13333.doc delete mode 100644 changelog.d/13338.doc delete mode 100644 changelog.d/13342.misc delete mode 100644 changelog.d/13344.doc delete mode 100644 changelog.d/13345.misc delete mode 100644 changelog.d/13349.misc delete mode 100644 changelog.d/13350.bugfix delete mode 100644 changelog.d/13352.bugfix delete mode 100644 changelog.d/13354.misc delete mode 100644 changelog.d/13362.misc diff --git a/CHANGES.md b/CHANGES.md index 1d123abc1..979e35370 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,95 @@ -Synapse vNext -============= +Synapse 1.64.0rc1 (2022-07-26) +============================== As of this release, Synapse no longer allows the tasks of verifying email address ownership, and password reset confirmation, to be delegated to an identity server. For more information, see the [upgrade notes](https://matrix-org.github.io/synapse/v1.64/upgrade.html#upgrading-to-v1640). +Features +-------- + +- Provide more info why we don't have any thumbnails to serve. ([\#13038](https://github.com/matrix-org/synapse/issues/13038)) +- Allow pagination from remote event after discovering it from MSC3030 `/timestamp_to_event`. ([\#13205](https://github.com/matrix-org/synapse/issues/13205)) +- Add a `room_type` field in the responses for the list room and room details admin API. Contributed by @andrewdoh. ([\#13208](https://github.com/matrix-org/synapse/issues/13208)) +- Add support for room version 10. ([\#13220](https://github.com/matrix-org/synapse/issues/13220)) +- Add per-room rate limiting for room joins. For each room, Synapse now monitors the rate of join events in that room, and throttle additional joins if that rate grows too large. ([\#13276](https://github.com/matrix-org/synapse/issues/13276)) +- Support Implicit TLS for sending emails, enabled by the new option `force_tls`. Contributed by Jan Schär. ([\#13317](https://github.com/matrix-org/synapse/issues/13317)) + + +Bugfixes +-------- + +- Fix a bug introduced in Synapse 1.15.0 where adding a user through the Synapse Admin API with a phone number would fail if the "enable_email_notifs" and "email_notifs_for_new_users" options were enabled. Contributed by @thomasweston12. ([\#13263](https://github.com/matrix-org/synapse/issues/13263)) +- Fix a bug introduced in Synapse 1.40 where a user invited to a restricted room would be briefly unable to join. ([\#13270](https://github.com/matrix-org/synapse/issues/13270)) +- Fix long-standing bug where in rare instances Synapse could store the incorrect state for a room after a state resolution. ([\#13278](https://github.com/matrix-org/synapse/issues/13278)) +- Fix a bug introduced in v1.18.0 where the `synapse_pushers` metric would overcount pushers when they are replaced. ([\#13296](https://github.com/matrix-org/synapse/issues/13296)) +- Disable autocorrection and autocapitalisation on the username text field shown during registration when using SSO. ([\#13350](https://github.com/matrix-org/synapse/issues/13350)) +- Update locked version of `frozendict` to 2.3.3, which has fixes for memory leaks affecting `/sync`. ([\#13352](https://github.com/matrix-org/synapse/issues/13352)) + + +Improved Documentation +---------------------- + +- Provide an example of using the Admin API. Contributed by @jejo86. ([\#13231](https://github.com/matrix-org/synapse/issues/13231)) +- Move the documentation for how URL previews work to the URL preview module. ([\#13233](https://github.com/matrix-org/synapse/issues/13233), [\#13261](https://github.com/matrix-org/synapse/issues/13261)) +- Add another `contrib` script to help set up worker processes. Contributed by @villepeh. ([\#13271](https://github.com/matrix-org/synapse/issues/13271)) +- Add notes when config options where changed. Contributed by @behrmann. ([\#13314](https://github.com/matrix-org/synapse/issues/13314)) +- Document the new `rc_invites.per_issuer` throttling option added in Synapse 1.63. ([\#13333](https://github.com/matrix-org/synapse/issues/13333)) +- Mention that BuildKit is needed when building Docker images for tests. ([\#13338](https://github.com/matrix-org/synapse/issues/13338)) +- Improve Caddy reverse proxy documentation. ([\#13344](https://github.com/matrix-org/synapse/issues/13344)) + + +Deprecations and Removals +------------------------- + +- Drop tables used for groups/communities. ([\#12967](https://github.com/matrix-org/synapse/issues/12967)) +- Drop support for delegating email verification to an external server. ([\#13192](https://github.com/matrix-org/synapse/issues/13192)) +- Drop support for calling `/_matrix/client/v3/account/3pid/bind` without an `id_access_token`, which was not permitted by the spec. Contributed by @Vetchu. ([\#13239](https://github.com/matrix-org/synapse/issues/13239)) +- Stop builindg `.deb` packages for Ubuntu 21.10 (Impish Indri), which has reached end of life. ([\#13326](https://github.com/matrix-org/synapse/issues/13326)) + + +Internal Changes +---------------- + +- Use lower isolation level when purging rooms to avoid serialization errors. Contributed by Nick @ Beeper. ([\#12942](https://github.com/matrix-org/synapse/issues/12942)) +- Remove code which incorrectly attempted to reconcile state with remote servers when processing incoming events. ([\#12943](https://github.com/matrix-org/synapse/issues/12943)) +- Make the AS login method call `Auth.get_user_by_req` for checking the AS token. ([\#13094](https://github.com/matrix-org/synapse/issues/13094)) +- Always use a version of canonicaljson that supports the C implementation of frozendict. ([\#13172](https://github.com/matrix-org/synapse/issues/13172)) +- Add prometheus counters for ephemeral events and to device messages pushed to app services. Contributed by Brad @ Beeper. ([\#13175](https://github.com/matrix-org/synapse/issues/13175)) +- Refactor receipts servlet logic to avoid duplicated code. ([\#13198](https://github.com/matrix-org/synapse/issues/13198)) +- Preparation for database schema simplifications: populate `state_key` and `rejection_reason` for existing rows in the `events` table. ([\#13215](https://github.com/matrix-org/synapse/issues/13215)) +- Remove unused database table `event_reference_hashes`. ([\#13218](https://github.com/matrix-org/synapse/issues/13218)) +- Further reduce queries used sending events when creating new rooms. Contributed by Nick @ Beeper (@fizzadar). ([\#13224](https://github.com/matrix-org/synapse/issues/13224)) +- Call the v2 identity service `/3pid/unbind` endpoint, rather than v1. ([\#13240](https://github.com/matrix-org/synapse/issues/13240)) +- Use an asynchronous cache wrapper for the get event cache. Contributed by Nick @ Beeper (@fizzadar). ([\#13242](https://github.com/matrix-org/synapse/issues/13242), [\#13308](https://github.com/matrix-org/synapse/issues/13308)) +- Optimise federation sender and appservice pusher event stream processing queries. Contributed by Nick @ Beeper (@fizzadar). ([\#13251](https://github.com/matrix-org/synapse/issues/13251)) +- Preparatory work for a per-room rate limiter on joins. ([\#13253](https://github.com/matrix-org/synapse/issues/13253), [\#13254](https://github.com/matrix-org/synapse/issues/13254), [\#13255](https://github.com/matrix-org/synapse/issues/13255)) +- Log the stack when waiting for an entire room to be un-partial stated. ([\#13257](https://github.com/matrix-org/synapse/issues/13257)) +- Fix spurious warning when fetching state after a missing prev event. ([\#13258](https://github.com/matrix-org/synapse/issues/13258)) +- Clean-up tests for notifications. ([\#13260](https://github.com/matrix-org/synapse/issues/13260)) +- Do not fail build if complement with workers fails. ([\#13266](https://github.com/matrix-org/synapse/issues/13266)) +- Don't pull out state in `compute_event_context` for unconflicted state. ([\#13267](https://github.com/matrix-org/synapse/issues/13267), [\#13274](https://github.com/matrix-org/synapse/issues/13274)) +- Reduce the rebuild time for the complement-synapse docker image. ([\#13279](https://github.com/matrix-org/synapse/issues/13279)) +- Don't pull out the full state when creating an event. ([\#13281](https://github.com/matrix-org/synapse/issues/13281), [\#13307](https://github.com/matrix-org/synapse/issues/13307)) +- Update locked version of `frozendict` to 2.3.2, which has a fix for a memory leak. ([\#13284](https://github.com/matrix-org/synapse/issues/13284)) +- Upgrade from Poetry 1.1.14 to 1.1.12, to fix bugs when locking packages. ([\#13285](https://github.com/matrix-org/synapse/issues/13285)) +- Make `DictionaryCache` expire full entries if they haven't been queried in a while, even if specific keys have been queried recently. ([\#13292](https://github.com/matrix-org/synapse/issues/13292)) +- Use `HTTPStatus` constants in place of literals in tests. ([\#13297](https://github.com/matrix-org/synapse/issues/13297)) +- Improve performance of query `_get_subset_users_in_room_with_profiles`. ([\#13299](https://github.com/matrix-org/synapse/issues/13299)) +- Up batch size of `bulk_get_push_rules` and `_get_joined_profiles_from_event_ids`. ([\#13300](https://github.com/matrix-org/synapse/issues/13300)) +- Remove unnecessary `json.dumps` from tests. ([\#13303](https://github.com/matrix-org/synapse/issues/13303)) +- Reduce memory usage of sending dummy events. ([\#13310](https://github.com/matrix-org/synapse/issues/13310)) +- Prevent formatting changes of [#3679](https://github.com/matrix-org/synapse/pull/3679) from appearing in `git blame`. ([\#13311](https://github.com/matrix-org/synapse/issues/13311)) +- Change `get_users_in_room` and `get_rooms_for_user` caches to enable pruning of old entries. ([\#13313](https://github.com/matrix-org/synapse/issues/13313)) +- Validate federation destinations and log an error if a destination is invalid. ([\#13318](https://github.com/matrix-org/synapse/issues/13318)) +- Fix `FederationClient.get_pdu()` returning events from the cache as `outliers` instead of original events we saw over federation. ([\#13320](https://github.com/matrix-org/synapse/issues/13320)) +- Reduce memory usage of state caches. ([\#13323](https://github.com/matrix-org/synapse/issues/13323)) +- Reduce the amount of state we store in the `state_cache`. ([\#13324](https://github.com/matrix-org/synapse/issues/13324)) +- Add missing type hints to open tracing module. ([\#13328](https://github.com/matrix-org/synapse/issues/13328), [\#13345](https://github.com/matrix-org/synapse/issues/13345), [\#13362](https://github.com/matrix-org/synapse/issues/13362)) +- Remove old base slaved store and de-duplicate cache ID generators. Contributed by Nick @ Beeper (@fizzadar). ([\#13329](https://github.com/matrix-org/synapse/issues/13329), [\#13349](https://github.com/matrix-org/synapse/issues/13349)) +- When reporting metrics is enabled, use ~8x less data to describe DB transaction metrics. ([\#13342](https://github.com/matrix-org/synapse/issues/13342)) +- Faster room joins: skip soft fail checks while Synapse only has partial room state, since the current membership of event senders may not be accurately known. ([\#13354](https://github.com/matrix-org/synapse/issues/13354)) + + Synapse 1.63.1 (2022-07-20) =========================== diff --git a/changelog.d/12942.misc b/changelog.d/12942.misc deleted file mode 100644 index acb2558d5..000000000 --- a/changelog.d/12942.misc +++ /dev/null @@ -1 +0,0 @@ -Use lower isolation level when purging rooms to avoid serialization errors. Contributed by Nick @ Beeper. diff --git a/changelog.d/12943.misc b/changelog.d/12943.misc deleted file mode 100644 index f66bb3ec3..000000000 --- a/changelog.d/12943.misc +++ /dev/null @@ -1 +0,0 @@ -Remove code which incorrectly attempted to reconcile state with remote servers when processing incoming events. diff --git a/changelog.d/12967.removal b/changelog.d/12967.removal deleted file mode 100644 index 0aafd6a4d..000000000 --- a/changelog.d/12967.removal +++ /dev/null @@ -1 +0,0 @@ -Drop tables used for groups/communities. diff --git a/changelog.d/13038.feature b/changelog.d/13038.feature deleted file mode 100644 index 1278f1b4e..000000000 --- a/changelog.d/13038.feature +++ /dev/null @@ -1 +0,0 @@ -Provide more info why we don't have any thumbnails to serve. diff --git a/changelog.d/13094.misc b/changelog.d/13094.misc deleted file mode 100644 index f1e55ae47..000000000 --- a/changelog.d/13094.misc +++ /dev/null @@ -1 +0,0 @@ -Make the AS login method call `Auth.get_user_by_req` for checking the AS token. diff --git a/changelog.d/13172.misc b/changelog.d/13172.misc deleted file mode 100644 index 124a1b366..000000000 --- a/changelog.d/13172.misc +++ /dev/null @@ -1 +0,0 @@ -Always use a version of canonicaljson that supports the C implementation of frozendict. diff --git a/changelog.d/13175.misc b/changelog.d/13175.misc deleted file mode 100644 index f273b3d6c..000000000 --- a/changelog.d/13175.misc +++ /dev/null @@ -1 +0,0 @@ -Add prometheus counters for ephemeral events and to device messages pushed to app services. Contributed by Brad @ Beeper. diff --git a/changelog.d/13192.removal b/changelog.d/13192.removal deleted file mode 100644 index a7dffd1c4..000000000 --- a/changelog.d/13192.removal +++ /dev/null @@ -1 +0,0 @@ -Drop support for delegating email verification to an external server. diff --git a/changelog.d/13198.misc b/changelog.d/13198.misc deleted file mode 100644 index 5aef2432d..000000000 --- a/changelog.d/13198.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor receipts servlet logic to avoid duplicated code. diff --git a/changelog.d/13205.feature b/changelog.d/13205.feature deleted file mode 100644 index d89aa9aa7..000000000 --- a/changelog.d/13205.feature +++ /dev/null @@ -1 +0,0 @@ -Allow pagination from remote event after discovering it from MSC3030 `/timestamp_to_event`. diff --git a/changelog.d/13208.feature b/changelog.d/13208.feature deleted file mode 100644 index b0c5f090e..000000000 --- a/changelog.d/13208.feature +++ /dev/null @@ -1 +0,0 @@ -Add a `room_type` field in the responses for the list room and room details admin API. Contributed by @andrewdoh. \ No newline at end of file diff --git a/changelog.d/13215.misc b/changelog.d/13215.misc deleted file mode 100644 index 3da35addb..000000000 --- a/changelog.d/13215.misc +++ /dev/null @@ -1 +0,0 @@ -Preparation for database schema simplifications: populate `state_key` and `rejection_reason` for existing rows in the `events` table. diff --git a/changelog.d/13218.misc b/changelog.d/13218.misc deleted file mode 100644 index b1c8e5c74..000000000 --- a/changelog.d/13218.misc +++ /dev/null @@ -1 +0,0 @@ -Remove unused database table `event_reference_hashes`. diff --git a/changelog.d/13220.feature b/changelog.d/13220.feature deleted file mode 100644 index 9b0240fdc..000000000 --- a/changelog.d/13220.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for room version 10. diff --git a/changelog.d/13224.misc b/changelog.d/13224.misc deleted file mode 100644 index 41f8693b7..000000000 --- a/changelog.d/13224.misc +++ /dev/null @@ -1 +0,0 @@ -Further reduce queries used sending events when creating new rooms. Contributed by Nick @ Beeper (@fizzadar). diff --git a/changelog.d/13231.doc b/changelog.d/13231.doc deleted file mode 100644 index e750f9da4..000000000 --- a/changelog.d/13231.doc +++ /dev/null @@ -1 +0,0 @@ -Provide an example of using the Admin API. Contributed by @jejo86. diff --git a/changelog.d/13233.doc b/changelog.d/13233.doc deleted file mode 100644 index 3eaea7c5e..000000000 --- a/changelog.d/13233.doc +++ /dev/null @@ -1 +0,0 @@ -Move the documentation for how URL previews work to the URL preview module. diff --git a/changelog.d/13239.removal b/changelog.d/13239.removal deleted file mode 100644 index 8f6045176..000000000 --- a/changelog.d/13239.removal +++ /dev/null @@ -1 +0,0 @@ -Drop support for calling `/_matrix/client/v3/account/3pid/bind` without an `id_access_token`, which was not permitted by the spec. Contributed by @Vetchu. \ No newline at end of file diff --git a/changelog.d/13240.misc b/changelog.d/13240.misc deleted file mode 100644 index 0567e47d6..000000000 --- a/changelog.d/13240.misc +++ /dev/null @@ -1 +0,0 @@ -Call the v2 identity service `/3pid/unbind` endpoint, rather than v1. \ No newline at end of file diff --git a/changelog.d/13242.misc b/changelog.d/13242.misc deleted file mode 100644 index 7f8ec0815..000000000 --- a/changelog.d/13242.misc +++ /dev/null @@ -1 +0,0 @@ -Use an asynchronous cache wrapper for the get event cache. Contributed by Nick @ Beeper (@fizzadar). diff --git a/changelog.d/13251.misc b/changelog.d/13251.misc deleted file mode 100644 index 526369e40..000000000 --- a/changelog.d/13251.misc +++ /dev/null @@ -1 +0,0 @@ -Optimise federation sender and appservice pusher event stream processing queries. Contributed by Nick @ Beeper (@fizzadar). diff --git a/changelog.d/13253.misc b/changelog.d/13253.misc deleted file mode 100644 index cba6b9ee0..000000000 --- a/changelog.d/13253.misc +++ /dev/null @@ -1 +0,0 @@ -Preparatory work for a per-room rate limiter on joins. diff --git a/changelog.d/13254.misc b/changelog.d/13254.misc deleted file mode 100644 index cba6b9ee0..000000000 --- a/changelog.d/13254.misc +++ /dev/null @@ -1 +0,0 @@ -Preparatory work for a per-room rate limiter on joins. diff --git a/changelog.d/13255.misc b/changelog.d/13255.misc deleted file mode 100644 index cba6b9ee0..000000000 --- a/changelog.d/13255.misc +++ /dev/null @@ -1 +0,0 @@ -Preparatory work for a per-room rate limiter on joins. diff --git a/changelog.d/13257.misc b/changelog.d/13257.misc deleted file mode 100644 index 5fc138852..000000000 --- a/changelog.d/13257.misc +++ /dev/null @@ -1 +0,0 @@ -Log the stack when waiting for an entire room to be un-partial stated. diff --git a/changelog.d/13258.misc b/changelog.d/13258.misc deleted file mode 100644 index a187c46aa..000000000 --- a/changelog.d/13258.misc +++ /dev/null @@ -1 +0,0 @@ -Fix spurious warning when fetching state after a missing prev event. diff --git a/changelog.d/13260.misc b/changelog.d/13260.misc deleted file mode 100644 index b55ff32c7..000000000 --- a/changelog.d/13260.misc +++ /dev/null @@ -1 +0,0 @@ -Clean-up tests for notifications. diff --git a/changelog.d/13261.doc b/changelog.d/13261.doc deleted file mode 100644 index 3eaea7c5e..000000000 --- a/changelog.d/13261.doc +++ /dev/null @@ -1 +0,0 @@ -Move the documentation for how URL previews work to the URL preview module. diff --git a/changelog.d/13263.bugfix b/changelog.d/13263.bugfix deleted file mode 100644 index 91e1d1e7e..000000000 --- a/changelog.d/13263.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse 1.15.0 where adding a user through the Synapse Admin API with a phone number would fail if the "enable_email_notifs" and "email_notifs_for_new_users" options were enabled. Contributed by @thomasweston12. diff --git a/changelog.d/13266.misc b/changelog.d/13266.misc deleted file mode 100644 index d583acb81..000000000 --- a/changelog.d/13266.misc +++ /dev/null @@ -1 +0,0 @@ -Do not fail build if complement with workers fails. diff --git a/changelog.d/13267.misc b/changelog.d/13267.misc deleted file mode 100644 index a33441432..000000000 --- a/changelog.d/13267.misc +++ /dev/null @@ -1 +0,0 @@ -Don't pull out state in `compute_event_context` for unconflicted state. diff --git a/changelog.d/13270.bugfix b/changelog.d/13270.bugfix deleted file mode 100644 index d023b25ee..000000000 --- a/changelog.d/13270.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse 1.40 where a user invited to a restricted room would be briefly unable to join. diff --git a/changelog.d/13271.doc b/changelog.d/13271.doc deleted file mode 100644 index b50e60d02..000000000 --- a/changelog.d/13271.doc +++ /dev/null @@ -1 +0,0 @@ -Add another `contrib` script to help set up worker processes. Contributed by @villepeh. diff --git a/changelog.d/13274.misc b/changelog.d/13274.misc deleted file mode 100644 index a33441432..000000000 --- a/changelog.d/13274.misc +++ /dev/null @@ -1 +0,0 @@ -Don't pull out state in `compute_event_context` for unconflicted state. diff --git a/changelog.d/13276.feature b/changelog.d/13276.feature deleted file mode 100644 index 068d158ed..000000000 --- a/changelog.d/13276.feature +++ /dev/null @@ -1 +0,0 @@ -Add per-room rate limiting for room joins. For each room, Synapse now monitors the rate of join events in that room, and throttle additional joins if that rate grows too large. diff --git a/changelog.d/13278.bugfix b/changelog.d/13278.bugfix deleted file mode 100644 index 49e9377c7..000000000 --- a/changelog.d/13278.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix long-standing bug where in rare instances Synapse could store the incorrect state for a room after a state resolution. diff --git a/changelog.d/13279.misc b/changelog.d/13279.misc deleted file mode 100644 index a083d2af2..000000000 --- a/changelog.d/13279.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce the rebuild time for the complement-synapse docker image. diff --git a/changelog.d/13281.misc b/changelog.d/13281.misc deleted file mode 100644 index dea51d136..000000000 --- a/changelog.d/13281.misc +++ /dev/null @@ -1 +0,0 @@ -Don't pull out the full state when creating an event. diff --git a/changelog.d/13284.misc b/changelog.d/13284.misc deleted file mode 100644 index fa9743a10..000000000 --- a/changelog.d/13284.misc +++ /dev/null @@ -1 +0,0 @@ -Update locked version of `frozendict` to 2.3.2, which has a fix for a memory leak. diff --git a/changelog.d/13285.misc b/changelog.d/13285.misc deleted file mode 100644 index b7bcbadb5..000000000 --- a/changelog.d/13285.misc +++ /dev/null @@ -1 +0,0 @@ -Upgrade from Poetry 1.1.14 to 1.1.12, to fix bugs when locking packages. diff --git a/changelog.d/13292.misc b/changelog.d/13292.misc deleted file mode 100644 index 67fec5533..000000000 --- a/changelog.d/13292.misc +++ /dev/null @@ -1 +0,0 @@ -Make `DictionaryCache` expire full entries if they haven't been queried in a while, even if specific keys have been queried recently. diff --git a/changelog.d/13296.bugfix b/changelog.d/13296.bugfix deleted file mode 100644 index ff0eb2b4a..000000000 --- a/changelog.d/13296.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.18.0 where the `synapse_pushers` metric would overcount pushers when they are replaced. diff --git a/changelog.d/13297.misc b/changelog.d/13297.misc deleted file mode 100644 index 545a62369..000000000 --- a/changelog.d/13297.misc +++ /dev/null @@ -1 +0,0 @@ -Use `HTTPStatus` constants in place of literals in tests. \ No newline at end of file diff --git a/changelog.d/13299.misc b/changelog.d/13299.misc deleted file mode 100644 index a9d556687..000000000 --- a/changelog.d/13299.misc +++ /dev/null @@ -1 +0,0 @@ -Improve performance of query `_get_subset_users_in_room_with_profiles`. diff --git a/changelog.d/13300.misc b/changelog.d/13300.misc deleted file mode 100644 index ee58add3c..000000000 --- a/changelog.d/13300.misc +++ /dev/null @@ -1 +0,0 @@ -Up batch size of `bulk_get_push_rules` and `_get_joined_profiles_from_event_ids`. diff --git a/changelog.d/13303.misc b/changelog.d/13303.misc deleted file mode 100644 index 03f64ab17..000000000 --- a/changelog.d/13303.misc +++ /dev/null @@ -1 +0,0 @@ -Remove unnecessary `json.dumps` from tests. \ No newline at end of file diff --git a/changelog.d/13307.misc b/changelog.d/13307.misc deleted file mode 100644 index 45b628ce1..000000000 --- a/changelog.d/13307.misc +++ /dev/null @@ -1 +0,0 @@ -Don't pull out the full state when creating an event. \ No newline at end of file diff --git a/changelog.d/13308.misc b/changelog.d/13308.misc deleted file mode 100644 index 7f8ec0815..000000000 --- a/changelog.d/13308.misc +++ /dev/null @@ -1 +0,0 @@ -Use an asynchronous cache wrapper for the get event cache. Contributed by Nick @ Beeper (@fizzadar). diff --git a/changelog.d/13310.misc b/changelog.d/13310.misc deleted file mode 100644 index eaf570e05..000000000 --- a/changelog.d/13310.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce memory usage of sending dummy events. diff --git a/changelog.d/13311.misc b/changelog.d/13311.misc deleted file mode 100644 index 4be81c675..000000000 --- a/changelog.d/13311.misc +++ /dev/null @@ -1 +0,0 @@ -Prevent formatting changes of [#3679](https://github.com/matrix-org/synapse/pull/3679) from appearing in `git blame`. \ No newline at end of file diff --git a/changelog.d/13313.misc b/changelog.d/13313.misc deleted file mode 100644 index 0f3c1f0af..000000000 --- a/changelog.d/13313.misc +++ /dev/null @@ -1 +0,0 @@ -Change `get_users_in_room` and `get_rooms_for_user` caches to enable pruning of old entries. diff --git a/changelog.d/13314.doc b/changelog.d/13314.doc deleted file mode 100644 index 75c71ef27..000000000 --- a/changelog.d/13314.doc +++ /dev/null @@ -1 +0,0 @@ -Add notes when config options where changed. Contributed by @behrmann. diff --git a/changelog.d/13317.feature b/changelog.d/13317.feature deleted file mode 100644 index e0ebd2b51..000000000 --- a/changelog.d/13317.feature +++ /dev/null @@ -1 +0,0 @@ -Support Implicit TLS for sending emails, enabled by the new option `force_tls`. Contributed by Jan Schär. diff --git a/changelog.d/13318.misc b/changelog.d/13318.misc deleted file mode 100644 index f5cd26b86..000000000 --- a/changelog.d/13318.misc +++ /dev/null @@ -1 +0,0 @@ -Validate federation destinations and log an error if a destination is invalid. diff --git a/changelog.d/13320.misc b/changelog.d/13320.misc deleted file mode 100644 index d33cf3a25..000000000 --- a/changelog.d/13320.misc +++ /dev/null @@ -1 +0,0 @@ -Fix `FederationClient.get_pdu()` returning events from the cache as `outliers` instead of original events we saw over federation. diff --git a/changelog.d/13323.misc b/changelog.d/13323.misc deleted file mode 100644 index 3caa94a2f..000000000 --- a/changelog.d/13323.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce memory usage of state caches. diff --git a/changelog.d/13324.misc b/changelog.d/13324.misc deleted file mode 100644 index 30670cf56..000000000 --- a/changelog.d/13324.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce the amount of state we store in the `state_cache`. diff --git a/changelog.d/13326.removal b/changelog.d/13326.removal deleted file mode 100644 index 811228667..000000000 --- a/changelog.d/13326.removal +++ /dev/null @@ -1 +0,0 @@ -Stop builindg `.deb` packages for Ubuntu 21.10 (Impish Indri), which has reached end of life. diff --git a/changelog.d/13328.misc b/changelog.d/13328.misc deleted file mode 100644 index c80578ce9..000000000 --- a/changelog.d/13328.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to open tracing module. diff --git a/changelog.d/13329.misc b/changelog.d/13329.misc deleted file mode 100644 index 4df9a9f6d..000000000 --- a/changelog.d/13329.misc +++ /dev/null @@ -1 +0,0 @@ -Remove old base slaved store and de-duplicate cache ID generators. Contributed by Nick @ Beeper (@fizzadar). diff --git a/changelog.d/13333.doc b/changelog.d/13333.doc deleted file mode 100644 index 57cbdf05c..000000000 --- a/changelog.d/13333.doc +++ /dev/null @@ -1 +0,0 @@ -Document the new `rc_invites.per_issuer` throttling option added in Synapse 1.63. \ No newline at end of file diff --git a/changelog.d/13338.doc b/changelog.d/13338.doc deleted file mode 100644 index 7acf6d3f3..000000000 --- a/changelog.d/13338.doc +++ /dev/null @@ -1 +0,0 @@ -Mention that BuildKit is needed when building Docker images for tests. diff --git a/changelog.d/13342.misc b/changelog.d/13342.misc deleted file mode 100644 index ce9c816b9..000000000 --- a/changelog.d/13342.misc +++ /dev/null @@ -1 +0,0 @@ -When reporting metrics is enabled, use ~8x less data to describe DB transaction metrics. diff --git a/changelog.d/13344.doc b/changelog.d/13344.doc deleted file mode 100644 index fca187df9..000000000 --- a/changelog.d/13344.doc +++ /dev/null @@ -1 +0,0 @@ -Improve Caddy reverse proxy documentation. diff --git a/changelog.d/13345.misc b/changelog.d/13345.misc deleted file mode 100644 index c80578ce9..000000000 --- a/changelog.d/13345.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to open tracing module. diff --git a/changelog.d/13349.misc b/changelog.d/13349.misc deleted file mode 100644 index 4df9a9f6d..000000000 --- a/changelog.d/13349.misc +++ /dev/null @@ -1 +0,0 @@ -Remove old base slaved store and de-duplicate cache ID generators. Contributed by Nick @ Beeper (@fizzadar). diff --git a/changelog.d/13350.bugfix b/changelog.d/13350.bugfix deleted file mode 100644 index 46c496a6a..000000000 --- a/changelog.d/13350.bugfix +++ /dev/null @@ -1 +0,0 @@ -Disable autocorrection and autocapitalisation on the username text field shown during registration when using SSO. diff --git a/changelog.d/13352.bugfix b/changelog.d/13352.bugfix deleted file mode 100644 index 812871429..000000000 --- a/changelog.d/13352.bugfix +++ /dev/null @@ -1 +0,0 @@ -Update locked version of `frozendict` to 2.3.3, which has fixes for memory leaks affecting `/sync`. diff --git a/changelog.d/13354.misc b/changelog.d/13354.misc deleted file mode 100644 index e08ee7866..000000000 --- a/changelog.d/13354.misc +++ /dev/null @@ -1 +0,0 @@ -Faster room joins: skip soft fail checks while Synapse only has partial room state, since the current membership of event senders may not be accurately known. diff --git a/changelog.d/13362.misc b/changelog.d/13362.misc deleted file mode 100644 index c80578ce9..000000000 --- a/changelog.d/13362.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to open tracing module. diff --git a/debian/changelog b/debian/changelog index 9417f8714..38030a5e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.64.0~rc1) stable; urgency=medium + + * New Synapse release 1.64.0rc1. + + -- Synapse Packaging team Tue, 26 Jul 2022 12:11:49 +0100 + matrix-synapse-py3 (1.63.1) stable; urgency=medium * New Synapse release 1.63.1. diff --git a/pyproject.toml b/pyproject.toml index 4da1331c9..c70773759 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ skip_gitignore = true [tool.poetry] name = "matrix-synapse" -version = "1.63.1" +version = "1.64.0rc1" description = "Homeserver for the Matrix decentralised comms protocol" authors = ["Matrix.org Team and Contributors "] license = "Apache-2.0" From f765a40f693bf492af3beb3d7945452142fa46a0 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 26 Jul 2022 12:26:36 +0100 Subject: [PATCH 2/4] Tweak changelog --- CHANGES.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 979e35370..5623665cb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,24 +3,26 @@ Synapse 1.64.0rc1 (2022-07-26) As of this release, Synapse no longer allows the tasks of verifying email address ownership, and password reset confirmation, to be delegated to an identity server. For more information, see the [upgrade notes](https://matrix-org.github.io/synapse/v1.64/upgrade.html#upgrading-to-v1640). +We have also stopped building `.deb` packages for Ubuntu 21.10 as it is no longer an active version of Ubuntu. + Features -------- - Provide more info why we don't have any thumbnails to serve. ([\#13038](https://github.com/matrix-org/synapse/issues/13038)) - Allow pagination from remote event after discovering it from MSC3030 `/timestamp_to_event`. ([\#13205](https://github.com/matrix-org/synapse/issues/13205)) -- Add a `room_type` field in the responses for the list room and room details admin API. Contributed by @andrewdoh. ([\#13208](https://github.com/matrix-org/synapse/issues/13208)) +- Add a `room_type` field in the responses for the list room and room details admin APIs. Contributed by @andrewdoh. ([\#13208](https://github.com/matrix-org/synapse/issues/13208)) - Add support for room version 10. ([\#13220](https://github.com/matrix-org/synapse/issues/13220)) -- Add per-room rate limiting for room joins. For each room, Synapse now monitors the rate of join events in that room, and throttle additional joins if that rate grows too large. ([\#13276](https://github.com/matrix-org/synapse/issues/13276)) +- Add per-room rate limiting for room joins. For each room, Synapse now monitors the rate of join events in that room, and throttles additional joins if that rate grows too large. ([\#13276](https://github.com/matrix-org/synapse/issues/13276)) - Support Implicit TLS for sending emails, enabled by the new option `force_tls`. Contributed by Jan Schär. ([\#13317](https://github.com/matrix-org/synapse/issues/13317)) Bugfixes -------- -- Fix a bug introduced in Synapse 1.15.0 where adding a user through the Synapse Admin API with a phone number would fail if the "enable_email_notifs" and "email_notifs_for_new_users" options were enabled. Contributed by @thomasweston12. ([\#13263](https://github.com/matrix-org/synapse/issues/13263)) -- Fix a bug introduced in Synapse 1.40 where a user invited to a restricted room would be briefly unable to join. ([\#13270](https://github.com/matrix-org/synapse/issues/13270)) -- Fix long-standing bug where in rare instances Synapse could store the incorrect state for a room after a state resolution. ([\#13278](https://github.com/matrix-org/synapse/issues/13278)) +- Fix a bug introduced in Synapse 1.15.0 where adding a user through the Synapse Admin API with a phone number would fail if the `enable_email_notifs` and `email_notifs_for_new_users` options were enabled. Contributed by @thomasweston12. ([\#13263](https://github.com/matrix-org/synapse/issues/13263)) +- Fix a bug introduced in Synapse 1.40.0 where a user invited to a restricted room would be briefly unable to join. ([\#13270](https://github.com/matrix-org/synapse/issues/13270)) +- Fix a long-standing bug where, in rare instances, Synapse could store the incorrect state for a room after a state resolution. ([\#13278](https://github.com/matrix-org/synapse/issues/13278)) - Fix a bug introduced in v1.18.0 where the `synapse_pushers` metric would overcount pushers when they are replaced. ([\#13296](https://github.com/matrix-org/synapse/issues/13296)) - Disable autocorrection and autocapitalisation on the username text field shown during registration when using SSO. ([\#13350](https://github.com/matrix-org/synapse/issues/13350)) - Update locked version of `frozendict` to 2.3.3, which has fixes for memory leaks affecting `/sync`. ([\#13352](https://github.com/matrix-org/synapse/issues/13352)) @@ -32,7 +34,7 @@ Improved Documentation - Provide an example of using the Admin API. Contributed by @jejo86. ([\#13231](https://github.com/matrix-org/synapse/issues/13231)) - Move the documentation for how URL previews work to the URL preview module. ([\#13233](https://github.com/matrix-org/synapse/issues/13233), [\#13261](https://github.com/matrix-org/synapse/issues/13261)) - Add another `contrib` script to help set up worker processes. Contributed by @villepeh. ([\#13271](https://github.com/matrix-org/synapse/issues/13271)) -- Add notes when config options where changed. Contributed by @behrmann. ([\#13314](https://github.com/matrix-org/synapse/issues/13314)) +- Add notes when config options were changed. Contributed by @behrmann. ([\#13314](https://github.com/matrix-org/synapse/issues/13314)) - Document the new `rc_invites.per_issuer` throttling option added in Synapse 1.63. ([\#13333](https://github.com/matrix-org/synapse/issues/13333)) - Mention that BuildKit is needed when building Docker images for tests. ([\#13338](https://github.com/matrix-org/synapse/issues/13338)) - Improve Caddy reverse proxy documentation. ([\#13344](https://github.com/matrix-org/synapse/issues/13344)) @@ -41,16 +43,16 @@ Improved Documentation Deprecations and Removals ------------------------- -- Drop tables used for groups/communities. ([\#12967](https://github.com/matrix-org/synapse/issues/12967)) +- Drop tables that were formerly used for groups/communities. ([\#12967](https://github.com/matrix-org/synapse/issues/12967)) - Drop support for delegating email verification to an external server. ([\#13192](https://github.com/matrix-org/synapse/issues/13192)) - Drop support for calling `/_matrix/client/v3/account/3pid/bind` without an `id_access_token`, which was not permitted by the spec. Contributed by @Vetchu. ([\#13239](https://github.com/matrix-org/synapse/issues/13239)) -- Stop builindg `.deb` packages for Ubuntu 21.10 (Impish Indri), which has reached end of life. ([\#13326](https://github.com/matrix-org/synapse/issues/13326)) +- Stop building `.deb` packages for Ubuntu 21.10 (Impish Indri), which has reached end of life. ([\#13326](https://github.com/matrix-org/synapse/issues/13326)) Internal Changes ---------------- -- Use lower isolation level when purging rooms to avoid serialization errors. Contributed by Nick @ Beeper. ([\#12942](https://github.com/matrix-org/synapse/issues/12942)) +- Use lower transaction isolation level when purging rooms to avoid serialization errors. Contributed by Nick @ Beeper. ([\#12942](https://github.com/matrix-org/synapse/issues/12942)) - Remove code which incorrectly attempted to reconcile state with remote servers when processing incoming events. ([\#12943](https://github.com/matrix-org/synapse/issues/12943)) - Make the AS login method call `Auth.get_user_by_req` for checking the AS token. ([\#13094](https://github.com/matrix-org/synapse/issues/13094)) - Always use a version of canonicaljson that supports the C implementation of frozendict. ([\#13172](https://github.com/matrix-org/synapse/issues/13172)) From 5d7e2b01957e9fc73722b388d4a0253ba54fb9ec Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 26 Jul 2022 12:45:19 +0100 Subject: [PATCH 3/4] Tweak changelog in response to review --- CHANGES.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 5623665cb..3462ff552 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,11 +9,11 @@ We have also stopped building `.deb` packages for Ubuntu 21.10 as it is no longe Features -------- -- Provide more info why we don't have any thumbnails to serve. ([\#13038](https://github.com/matrix-org/synapse/issues/13038)) -- Allow pagination from remote event after discovering it from MSC3030 `/timestamp_to_event`. ([\#13205](https://github.com/matrix-org/synapse/issues/13205)) +- Improve error messages when media thumbnails cannot be served. ([\#13038](https://github.com/matrix-org/synapse/issues/13038)) +- Allow pagination from remote event after discovering it from [MSC3030](https://github.com/matrix-org/matrix-spec-proposals/pull/3030) `/timestamp_to_event`. ([\#13205](https://github.com/matrix-org/synapse/issues/13205)) - Add a `room_type` field in the responses for the list room and room details admin APIs. Contributed by @andrewdoh. ([\#13208](https://github.com/matrix-org/synapse/issues/13208)) - Add support for room version 10. ([\#13220](https://github.com/matrix-org/synapse/issues/13220)) -- Add per-room rate limiting for room joins. For each room, Synapse now monitors the rate of join events in that room, and throttles additional joins if that rate grows too large. ([\#13276](https://github.com/matrix-org/synapse/issues/13276)) +- Add per-room rate limiting for room joins. For each room, Synapse now monitors the rate of join events in that room, and throttles additional joins if that rate grows too large. ([\#13253](https://github.com/matrix-org/synapse/issues/13253), [\#13254](https://github.com/matrix-org/synapse/issues/13254), [\#13255](https://github.com/matrix-org/synapse/issues/13255), [\#13276](https://github.com/matrix-org/synapse/issues/13276)) - Support Implicit TLS for sending emails, enabled by the new option `force_tls`. Contributed by Jan Schär. ([\#13317](https://github.com/matrix-org/synapse/issues/13317)) @@ -25,7 +25,7 @@ Bugfixes - Fix a long-standing bug where, in rare instances, Synapse could store the incorrect state for a room after a state resolution. ([\#13278](https://github.com/matrix-org/synapse/issues/13278)) - Fix a bug introduced in v1.18.0 where the `synapse_pushers` metric would overcount pushers when they are replaced. ([\#13296](https://github.com/matrix-org/synapse/issues/13296)) - Disable autocorrection and autocapitalisation on the username text field shown during registration when using SSO. ([\#13350](https://github.com/matrix-org/synapse/issues/13350)) -- Update locked version of `frozendict` to 2.3.3, which has fixes for memory leaks affecting `/sync`. ([\#13352](https://github.com/matrix-org/synapse/issues/13352)) +- Update locked version of `frozendict` to 2.3.3, which has fixes for memory leaks affecting `/sync`. ([\#13284](https://github.com/matrix-org/synapse/issues/13284), [\#13352](https://github.com/matrix-org/synapse/issues/13352)) Improved Documentation @@ -34,7 +34,7 @@ Improved Documentation - Provide an example of using the Admin API. Contributed by @jejo86. ([\#13231](https://github.com/matrix-org/synapse/issues/13231)) - Move the documentation for how URL previews work to the URL preview module. ([\#13233](https://github.com/matrix-org/synapse/issues/13233), [\#13261](https://github.com/matrix-org/synapse/issues/13261)) - Add another `contrib` script to help set up worker processes. Contributed by @villepeh. ([\#13271](https://github.com/matrix-org/synapse/issues/13271)) -- Add notes when config options were changed. Contributed by @behrmann. ([\#13314](https://github.com/matrix-org/synapse/issues/13314)) +- Document that certain config options were added or changed in Synapse 1.62. Contributed by @behrmann. ([\#13314](https://github.com/matrix-org/synapse/issues/13314)) - Document the new `rc_invites.per_issuer` throttling option added in Synapse 1.63. ([\#13333](https://github.com/matrix-org/synapse/issues/13333)) - Mention that BuildKit is needed when building Docker images for tests. ([\#13338](https://github.com/matrix-org/synapse/issues/13338)) - Improve Caddy reverse proxy documentation. ([\#13344](https://github.com/matrix-org/synapse/issues/13344)) @@ -61,10 +61,9 @@ Internal Changes - Preparation for database schema simplifications: populate `state_key` and `rejection_reason` for existing rows in the `events` table. ([\#13215](https://github.com/matrix-org/synapse/issues/13215)) - Remove unused database table `event_reference_hashes`. ([\#13218](https://github.com/matrix-org/synapse/issues/13218)) - Further reduce queries used sending events when creating new rooms. Contributed by Nick @ Beeper (@fizzadar). ([\#13224](https://github.com/matrix-org/synapse/issues/13224)) -- Call the v2 identity service `/3pid/unbind` endpoint, rather than v1. ([\#13240](https://github.com/matrix-org/synapse/issues/13240)) +- Call the v2 identity service `/3pid/unbind` endpoint, rather than v1. Contributed by @Vetchu. ([\#13240](https://github.com/matrix-org/synapse/issues/13240)) - Use an asynchronous cache wrapper for the get event cache. Contributed by Nick @ Beeper (@fizzadar). ([\#13242](https://github.com/matrix-org/synapse/issues/13242), [\#13308](https://github.com/matrix-org/synapse/issues/13308)) - Optimise federation sender and appservice pusher event stream processing queries. Contributed by Nick @ Beeper (@fizzadar). ([\#13251](https://github.com/matrix-org/synapse/issues/13251)) -- Preparatory work for a per-room rate limiter on joins. ([\#13253](https://github.com/matrix-org/synapse/issues/13253), [\#13254](https://github.com/matrix-org/synapse/issues/13254), [\#13255](https://github.com/matrix-org/synapse/issues/13255)) - Log the stack when waiting for an entire room to be un-partial stated. ([\#13257](https://github.com/matrix-org/synapse/issues/13257)) - Fix spurious warning when fetching state after a missing prev event. ([\#13258](https://github.com/matrix-org/synapse/issues/13258)) - Clean-up tests for notifications. ([\#13260](https://github.com/matrix-org/synapse/issues/13260)) @@ -72,8 +71,7 @@ Internal Changes - Don't pull out state in `compute_event_context` for unconflicted state. ([\#13267](https://github.com/matrix-org/synapse/issues/13267), [\#13274](https://github.com/matrix-org/synapse/issues/13274)) - Reduce the rebuild time for the complement-synapse docker image. ([\#13279](https://github.com/matrix-org/synapse/issues/13279)) - Don't pull out the full state when creating an event. ([\#13281](https://github.com/matrix-org/synapse/issues/13281), [\#13307](https://github.com/matrix-org/synapse/issues/13307)) -- Update locked version of `frozendict` to 2.3.2, which has a fix for a memory leak. ([\#13284](https://github.com/matrix-org/synapse/issues/13284)) -- Upgrade from Poetry 1.1.14 to 1.1.12, to fix bugs when locking packages. ([\#13285](https://github.com/matrix-org/synapse/issues/13285)) +- Upgrade from Poetry 1.1.12 to 1.1.14, to fix bugs when locking packages. ([\#13285](https://github.com/matrix-org/synapse/issues/13285)) - Make `DictionaryCache` expire full entries if they haven't been queried in a while, even if specific keys have been queried recently. ([\#13292](https://github.com/matrix-org/synapse/issues/13292)) - Use `HTTPStatus` constants in place of literals in tests. ([\#13297](https://github.com/matrix-org/synapse/issues/13297)) - Improve performance of query `_get_subset_users_in_room_with_profiles`. ([\#13299](https://github.com/matrix-org/synapse/issues/13299)) From 33788a07ee23dbc4355fc1e5ec43a572342a5d24 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 26 Jul 2022 12:56:24 +0100 Subject: [PATCH 4/4] Explain less-known term 'Implicit TLS' --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 3462ff552..da588454c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,7 +14,7 @@ Features - Add a `room_type` field in the responses for the list room and room details admin APIs. Contributed by @andrewdoh. ([\#13208](https://github.com/matrix-org/synapse/issues/13208)) - Add support for room version 10. ([\#13220](https://github.com/matrix-org/synapse/issues/13220)) - Add per-room rate limiting for room joins. For each room, Synapse now monitors the rate of join events in that room, and throttles additional joins if that rate grows too large. ([\#13253](https://github.com/matrix-org/synapse/issues/13253), [\#13254](https://github.com/matrix-org/synapse/issues/13254), [\#13255](https://github.com/matrix-org/synapse/issues/13255), [\#13276](https://github.com/matrix-org/synapse/issues/13276)) -- Support Implicit TLS for sending emails, enabled by the new option `force_tls`. Contributed by Jan Schär. ([\#13317](https://github.com/matrix-org/synapse/issues/13317)) +- Support Implicit TLS (TLS without using a STARTTLS upgrade, typically on port 465) for sending emails, enabled by the new option `force_tls`. Contributed by Jan Schär. ([\#13317](https://github.com/matrix-org/synapse/issues/13317)) Bugfixes