From ce007103030e281098cf4dccffed44581a32bd13 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 18 Apr 2023 09:52:44 +0100 Subject: [PATCH] 1.82.0rc1 --- CHANGES.md | 69 +++++++++++++++++++++++++++++++++++++++ changelog.d/15181.bugfix | 1 - changelog.d/15333.feature | 1 - changelog.d/15372.misc | 1 - changelog.d/15373.misc | 1 - changelog.d/15374.misc | 1 - changelog.d/15375.misc | 1 - changelog.d/15376.misc | 1 - changelog.d/15382.misc | 1 - changelog.d/15393.misc | 1 - changelog.d/15394.misc | 1 - changelog.d/15395.misc | 1 - changelog.d/15404.misc | 1 - changelog.d/15405.removal | 1 - changelog.d/15406.misc | 1 - changelog.d/15409.misc | 1 - changelog.d/15410.bugfix | 1 - changelog.d/15412.misc | 1 - changelog.d/15413.misc | 1 - changelog.d/15414.misc | 1 - changelog.d/15415.misc | 1 - changelog.d/15421.misc | 1 - changelog.d/15423.bugfix | 1 - changelog.d/15425.bugfix | 1 - changelog.d/15427.misc | 1 - changelog.d/15428.bugfix | 1 - changelog.d/15429.misc | 1 - changelog.d/15431.feature | 1 - changelog.d/15432.misc | 1 - changelog.d/15433.misc | 1 - changelog.d/15435.misc | 1 - changelog.d/15436.feature | 1 - changelog.d/15438.misc | 1 - changelog.d/15441.misc | 1 - changelog.d/15442.misc | 1 - changelog.d/15443.misc | 1 - changelog.d/15444.misc | 1 - changelog.d/15445.misc | 1 - changelog.d/15446.misc | 1 - changelog.d/15447.misc | 1 - changelog.d/15448.misc | 1 - changelog.d/15452.doc | 1 - changelog.d/15453.misc | 1 - debian/changelog | 6 ++++ pyproject.toml | 2 +- 45 files changed, 76 insertions(+), 43 deletions(-) delete mode 100644 changelog.d/15181.bugfix delete mode 100644 changelog.d/15333.feature delete mode 100644 changelog.d/15372.misc delete mode 100644 changelog.d/15373.misc delete mode 100644 changelog.d/15374.misc delete mode 100644 changelog.d/15375.misc delete mode 100644 changelog.d/15376.misc delete mode 100644 changelog.d/15382.misc delete mode 100644 changelog.d/15393.misc delete mode 100644 changelog.d/15394.misc delete mode 100644 changelog.d/15395.misc delete mode 100644 changelog.d/15404.misc delete mode 100644 changelog.d/15405.removal delete mode 100644 changelog.d/15406.misc delete mode 100644 changelog.d/15409.misc delete mode 100644 changelog.d/15410.bugfix delete mode 100644 changelog.d/15412.misc delete mode 100644 changelog.d/15413.misc delete mode 100644 changelog.d/15414.misc delete mode 100644 changelog.d/15415.misc delete mode 100644 changelog.d/15421.misc delete mode 100644 changelog.d/15423.bugfix delete mode 100644 changelog.d/15425.bugfix delete mode 100644 changelog.d/15427.misc delete mode 100644 changelog.d/15428.bugfix delete mode 100644 changelog.d/15429.misc delete mode 100644 changelog.d/15431.feature delete mode 100644 changelog.d/15432.misc delete mode 100644 changelog.d/15433.misc delete mode 100644 changelog.d/15435.misc delete mode 100644 changelog.d/15436.feature delete mode 100644 changelog.d/15438.misc delete mode 100644 changelog.d/15441.misc delete mode 100644 changelog.d/15442.misc delete mode 100644 changelog.d/15443.misc delete mode 100644 changelog.d/15444.misc delete mode 100644 changelog.d/15445.misc delete mode 100644 changelog.d/15446.misc delete mode 100644 changelog.d/15447.misc delete mode 100644 changelog.d/15448.misc delete mode 100644 changelog.d/15452.doc delete mode 100644 changelog.d/15453.misc diff --git a/CHANGES.md b/CHANGES.md index 182d7ddd8..a1ff7437c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,72 @@ +Synapse 1.82.0rc1 (2023-04-18) +============================== + +Features +-------- + +- Allow loading the `/directory/room/{roomAlias}` endpoint on workers. ([\#15333](https://github.com/matrix-org/synapse/issues/15333)) +- Add some validation to `instance_map` configuration loading. ([\#15431](https://github.com/matrix-org/synapse/issues/15431)) +- Allow loading the `/capabilities` endpoint on workers. ([\#15436](https://github.com/matrix-org/synapse/issues/15436)) + + +Bugfixes +-------- + +- Delete server-side backup keys when deactivating an account. ([\#15181](https://github.com/matrix-org/synapse/issues/15181)) +- Fix and document untold assumption that `on_logged_out` module hooks will be called before the deletion of pushers. ([\#15410](https://github.com/matrix-org/synapse/issues/15410)) +- Improve robustness when handling a perspective key response by deduplicating received server keys. ([\#15423](https://github.com/matrix-org/synapse/issues/15423)) +- Synapse now correctly fails to start if the config option `app_service_config_files` is not a list. ([\#15425](https://github.com/matrix-org/synapse/issues/15425)) +- Disable loading `RefreshTokenServlet` (`/_matrix/client/(r0|v3|unstable)/refresh`) on workers. ([\#15428](https://github.com/matrix-org/synapse/issues/15428)) + + +Improved Documentation +---------------------- + +- Note that the `delete_stale_devices_after` background job always runs on the main process. ([\#15452](https://github.com/matrix-org/synapse/issues/15452)) + + +Deprecations and Removals +------------------------- + +- Remove the broken, unspecced registration fallback. Note that the *login* fallback is unaffected by this change. ([\#15405](https://github.com/matrix-org/synapse/issues/15405)) + + +Internal Changes +---------------- + +- Bump black from 23.1.0 to 23.3.0. ([\#15372](https://github.com/matrix-org/synapse/issues/15372)) +- Bump pyopenssl from 23.1.0 to 23.1.1. ([\#15373](https://github.com/matrix-org/synapse/issues/15373)) +- Bump types-psycopg2 from 2.9.21.8 to 2.9.21.9. ([\#15374](https://github.com/matrix-org/synapse/issues/15374)) +- Bump types-netaddr from 0.8.0.6 to 0.8.0.7. ([\#15375](https://github.com/matrix-org/synapse/issues/15375)) +- Bump types-opentracing from 2.4.10.3 to 2.4.10.4. ([\#15376](https://github.com/matrix-org/synapse/issues/15376)) +- Bump dawidd6/action-download-artifact from 2.26.0 to 2.26.1. ([\#15404](https://github.com/matrix-org/synapse/issues/15404)) +- Bump parameterized from 0.8.1 to 0.9.0. ([\#15412](https://github.com/matrix-org/synapse/issues/15412)) +- Bump types-pillow from 9.4.0.17 to 9.4.0.19. ([\#15413](https://github.com/matrix-org/synapse/issues/15413)) +- Bump sentry-sdk from 1.17.0 to 1.19.1. ([\#15414](https://github.com/matrix-org/synapse/issues/15414)) +- Bump immutabledict from 2.2.3 to 2.2.4. ([\#15415](https://github.com/matrix-org/synapse/issues/15415)) +- Bump dawidd6/action-download-artifact from 2.26.1 to 2.27.0. ([\#15441](https://github.com/matrix-org/synapse/issues/15441)) +- Bump serde_json from 1.0.95 to 1.0.96. ([\#15442](https://github.com/matrix-org/synapse/issues/15442)) +- Bump serde from 1.0.159 to 1.0.160. ([\#15443](https://github.com/matrix-org/synapse/issues/15443)) +- Bump pillow from 9.4.0 to 9.5.0. ([\#15444](https://github.com/matrix-org/synapse/issues/15444)) +- Bump furo from 2023.3.23 to 2023.3.27. ([\#15445](https://github.com/matrix-org/synapse/issues/15445)) +- Bump types-pyopenssl from 23.1.0.0 to 23.1.0.2. ([\#15446](https://github.com/matrix-org/synapse/issues/15446)) +- Bump mypy from 1.0.0 to 1.0.1. ([\#15447](https://github.com/matrix-org/synapse/issues/15447)) +- Bump psycopg2 from 2.9.5 to 2.9.6. ([\#15448](https://github.com/matrix-org/synapse/issues/15448)) +- Improve DB performance of clearing out old data from `stream_ordering_to_exterm`. ([\#15382](https://github.com/matrix-org/synapse/issues/15382), [\#15429](https://github.com/matrix-org/synapse/issues/15429)) +- Implement [MSC3989](https://github.com/matrix-org/matrix-spec-proposals/pull/3989) redaction algorithm. ([\#15393](https://github.com/matrix-org/synapse/issues/15393)) +- Implement [MSC2175](https://github.com/matrix-org/matrix-doc/pull/2175) to stop adding `creator` to create events. ([\#15394](https://github.com/matrix-org/synapse/issues/15394)) +- Implement [MSC2174](https://github.com/matrix-org/matrix-spec-proposals/pull/2174) to move the `redacts` key to a `content` property. ([\#15395](https://github.com/matrix-org/synapse/issues/15395)) +- Trust dtonlay/rust-toolchain in CI. ([\#15406](https://github.com/matrix-org/synapse/issues/15406)) +- Explicitly install Synapse during typechecking in CI. ([\#15409](https://github.com/matrix-org/synapse/issues/15409)) +- Only load the SSO redirect servlet if SSO is enabled. ([\#15421](https://github.com/matrix-org/synapse/issues/15421)) +- Refactor `SimpleHttpClient` to pull out a base class. ([\#15427](https://github.com/matrix-org/synapse/issues/15427)) +- Improve type hints. ([\#15432](https://github.com/matrix-org/synapse/issues/15432)) +- Convert async to normal tests in `TestSSOHandler`. ([\#15433](https://github.com/matrix-org/synapse/issues/15433)) +- Speed up the user directory background update. ([\#15435](https://github.com/matrix-org/synapse/issues/15435)) +- Disable directory listing for static resources in `/_matrix/static/`. ([\#15438](https://github.com/matrix-org/synapse/issues/15438)) +- Move various module API callback registration methods to a dedicated class. ([\#15453](https://github.com/matrix-org/synapse/issues/15453)) + + Synapse 1.81.0 (2023-04-11) =========================== diff --git a/changelog.d/15181.bugfix b/changelog.d/15181.bugfix deleted file mode 100644 index 191bb6f61..000000000 --- a/changelog.d/15181.bugfix +++ /dev/null @@ -1 +0,0 @@ -Delete server-side backup keys when deactivating an account. \ No newline at end of file diff --git a/changelog.d/15333.feature b/changelog.d/15333.feature deleted file mode 100644 index 35ea89ad8..000000000 --- a/changelog.d/15333.feature +++ /dev/null @@ -1 +0,0 @@ -Allow loading `/directory/room/{roomAlias}` endpoint on workers. \ No newline at end of file diff --git a/changelog.d/15372.misc b/changelog.d/15372.misc deleted file mode 100644 index a191353ff..000000000 --- a/changelog.d/15372.misc +++ /dev/null @@ -1 +0,0 @@ -Bump black from 23.1.0 to 23.3.0. diff --git a/changelog.d/15373.misc b/changelog.d/15373.misc deleted file mode 100644 index e93801b0d..000000000 --- a/changelog.d/15373.misc +++ /dev/null @@ -1 +0,0 @@ -Bump pyopenssl from 23.1.0 to 23.1.1. diff --git a/changelog.d/15374.misc b/changelog.d/15374.misc deleted file mode 100644 index e0c076719..000000000 --- a/changelog.d/15374.misc +++ /dev/null @@ -1 +0,0 @@ -Bump types-psycopg2 from 2.9.21.8 to 2.9.21.9. diff --git a/changelog.d/15375.misc b/changelog.d/15375.misc deleted file mode 100644 index 7ea628047..000000000 --- a/changelog.d/15375.misc +++ /dev/null @@ -1 +0,0 @@ -Bump types-netaddr from 0.8.0.6 to 0.8.0.7. diff --git a/changelog.d/15376.misc b/changelog.d/15376.misc deleted file mode 100644 index 34d24dbf9..000000000 --- a/changelog.d/15376.misc +++ /dev/null @@ -1 +0,0 @@ -Bump types-opentracing from 2.4.10.3 to 2.4.10.4. diff --git a/changelog.d/15382.misc b/changelog.d/15382.misc deleted file mode 100644 index c5b054d19..000000000 --- a/changelog.d/15382.misc +++ /dev/null @@ -1 +0,0 @@ -Improve DB performance of clearing out old data from `stream_ordering_to_exterm`. diff --git a/changelog.d/15393.misc b/changelog.d/15393.misc deleted file mode 100644 index 24483c8d7..000000000 --- a/changelog.d/15393.misc +++ /dev/null @@ -1 +0,0 @@ -Implement [MSC3989](https://github.com/matrix-org/matrix-spec-proposals/pull/3989) redaction algorithm. diff --git a/changelog.d/15394.misc b/changelog.d/15394.misc deleted file mode 100644 index 91e654043..000000000 --- a/changelog.d/15394.misc +++ /dev/null @@ -1 +0,0 @@ -Implement [MSC2175](https://github.com/matrix-org/matrix-doc/pull/2175) to stop adding `creator` to create events. diff --git a/changelog.d/15395.misc b/changelog.d/15395.misc deleted file mode 100644 index ee9384524..000000000 --- a/changelog.d/15395.misc +++ /dev/null @@ -1 +0,0 @@ -Implement [MSC2174](https://github.com/matrix-org/matrix-spec-proposals/pull/2174) to move the `redacts` key to a `content` property. diff --git a/changelog.d/15404.misc b/changelog.d/15404.misc deleted file mode 100644 index c5ad99073..000000000 --- a/changelog.d/15404.misc +++ /dev/null @@ -1 +0,0 @@ -Bump dawidd6/action-download-artifact from 2.26.0 to 2.26.1. diff --git a/changelog.d/15405.removal b/changelog.d/15405.removal deleted file mode 100644 index 833400415..000000000 --- a/changelog.d/15405.removal +++ /dev/null @@ -1 +0,0 @@ -Remove the broken, unspecced registration fallback. Note that the *login* fallback is unaffected by this change. diff --git a/changelog.d/15406.misc b/changelog.d/15406.misc deleted file mode 100644 index d2f9eb0dd..000000000 --- a/changelog.d/15406.misc +++ /dev/null @@ -1 +0,0 @@ -Trust dtonlay/rust-toolchain in CI. diff --git a/changelog.d/15409.misc b/changelog.d/15409.misc deleted file mode 100644 index 007111da3..000000000 --- a/changelog.d/15409.misc +++ /dev/null @@ -1 +0,0 @@ -Explicitly install Synapse during typechecking in CI. diff --git a/changelog.d/15410.bugfix b/changelog.d/15410.bugfix deleted file mode 100644 index eb540e33c..000000000 --- a/changelog.d/15410.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix and document untold assumption that `on_logged_out` module hooks will be called before pushers deletion. diff --git a/changelog.d/15412.misc b/changelog.d/15412.misc deleted file mode 100644 index bdfb84ee9..000000000 --- a/changelog.d/15412.misc +++ /dev/null @@ -1 +0,0 @@ -Bump parameterized from 0.8.1 to 0.9.0. diff --git a/changelog.d/15413.misc b/changelog.d/15413.misc deleted file mode 100644 index 38acc41fe..000000000 --- a/changelog.d/15413.misc +++ /dev/null @@ -1 +0,0 @@ -Bump types-pillow from 9.4.0.17 to 9.4.0.19. diff --git a/changelog.d/15414.misc b/changelog.d/15414.misc deleted file mode 100644 index 3716f40e2..000000000 --- a/changelog.d/15414.misc +++ /dev/null @@ -1 +0,0 @@ -Bump sentry-sdk from 1.17.0 to 1.19.1. diff --git a/changelog.d/15415.misc b/changelog.d/15415.misc deleted file mode 100644 index 47aeee0b2..000000000 --- a/changelog.d/15415.misc +++ /dev/null @@ -1 +0,0 @@ -Bump immutabledict from 2.2.3 to 2.2.4. diff --git a/changelog.d/15421.misc b/changelog.d/15421.misc deleted file mode 100644 index 5deea3ac5..000000000 --- a/changelog.d/15421.misc +++ /dev/null @@ -1 +0,0 @@ -Only load the SSO redirect servlet if SSO is enabled. \ No newline at end of file diff --git a/changelog.d/15423.bugfix b/changelog.d/15423.bugfix deleted file mode 100644 index dfb60ddd2..000000000 --- a/changelog.d/15423.bugfix +++ /dev/null @@ -1 +0,0 @@ -Improve robustness when handling a perspective key response by deduplicating received server keys. \ No newline at end of file diff --git a/changelog.d/15425.bugfix b/changelog.d/15425.bugfix deleted file mode 100644 index fd104a63b..000000000 --- a/changelog.d/15425.bugfix +++ /dev/null @@ -1 +0,0 @@ -Synapse now correctly fails to start if the config option `app_service_config_files` is not a list. \ No newline at end of file diff --git a/changelog.d/15427.misc b/changelog.d/15427.misc deleted file mode 100644 index ef873e3b2..000000000 --- a/changelog.d/15427.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor `SimpleHttpClient` to pull out a base class. diff --git a/changelog.d/15428.bugfix b/changelog.d/15428.bugfix deleted file mode 100644 index 1083f00b8..000000000 --- a/changelog.d/15428.bugfix +++ /dev/null @@ -1 +0,0 @@ -Disable loading `RefreshTokenServlet` (`/_matrix/client/(r0|v3|unstable)/refresh`) on workers. \ No newline at end of file diff --git a/changelog.d/15429.misc b/changelog.d/15429.misc deleted file mode 100644 index c5b054d19..000000000 --- a/changelog.d/15429.misc +++ /dev/null @@ -1 +0,0 @@ -Improve DB performance of clearing out old data from `stream_ordering_to_exterm`. diff --git a/changelog.d/15431.feature b/changelog.d/15431.feature deleted file mode 100644 index 4492406b4..000000000 --- a/changelog.d/15431.feature +++ /dev/null @@ -1 +0,0 @@ -Add some validation to `instance_map` configuration loading. diff --git a/changelog.d/15432.misc b/changelog.d/15432.misc deleted file mode 100644 index 93ceaeafc..000000000 --- a/changelog.d/15432.misc +++ /dev/null @@ -1 +0,0 @@ -Improve type hints. diff --git a/changelog.d/15433.misc b/changelog.d/15433.misc deleted file mode 100644 index f1d83506b..000000000 --- a/changelog.d/15433.misc +++ /dev/null @@ -1 +0,0 @@ -Convert async to normal tests in `TestSSOHandler`. \ No newline at end of file diff --git a/changelog.d/15435.misc b/changelog.d/15435.misc deleted file mode 100644 index e0f591b6d..000000000 --- a/changelog.d/15435.misc +++ /dev/null @@ -1 +0,0 @@ -Speed up the user directory background update. diff --git a/changelog.d/15436.feature b/changelog.d/15436.feature deleted file mode 100644 index d83f8c3e4..000000000 --- a/changelog.d/15436.feature +++ /dev/null @@ -1 +0,0 @@ -Allow loading `/capabilities` endpoint on workers. \ No newline at end of file diff --git a/changelog.d/15438.misc b/changelog.d/15438.misc deleted file mode 100644 index 1edcbac7e..000000000 --- a/changelog.d/15438.misc +++ /dev/null @@ -1 +0,0 @@ -Disable directory listing for static resources in `/_matrix/static/`. \ No newline at end of file diff --git a/changelog.d/15441.misc b/changelog.d/15441.misc deleted file mode 100644 index a46333f3a..000000000 --- a/changelog.d/15441.misc +++ /dev/null @@ -1 +0,0 @@ -Bump dawidd6/action-download-artifact from 2.26.1 to 2.27.0. diff --git a/changelog.d/15442.misc b/changelog.d/15442.misc deleted file mode 100644 index 83fcb12a0..000000000 --- a/changelog.d/15442.misc +++ /dev/null @@ -1 +0,0 @@ -Bump serde_json from 1.0.95 to 1.0.96. diff --git a/changelog.d/15443.misc b/changelog.d/15443.misc deleted file mode 100644 index c32c23aac..000000000 --- a/changelog.d/15443.misc +++ /dev/null @@ -1 +0,0 @@ -Bump serde from 1.0.159 to 1.0.160. diff --git a/changelog.d/15444.misc b/changelog.d/15444.misc deleted file mode 100644 index 32f1a0eba..000000000 --- a/changelog.d/15444.misc +++ /dev/null @@ -1 +0,0 @@ -Bump pillow from 9.4.0 to 9.5.0. diff --git a/changelog.d/15445.misc b/changelog.d/15445.misc deleted file mode 100644 index 2ca214a74..000000000 --- a/changelog.d/15445.misc +++ /dev/null @@ -1 +0,0 @@ -Bump furo from 2023.3.23 to 2023.3.27. diff --git a/changelog.d/15446.misc b/changelog.d/15446.misc deleted file mode 100644 index 0947909e2..000000000 --- a/changelog.d/15446.misc +++ /dev/null @@ -1 +0,0 @@ -Bump types-pyopenssl from 23.1.0.0 to 23.1.0.2. diff --git a/changelog.d/15447.misc b/changelog.d/15447.misc deleted file mode 100644 index 16314e0fd..000000000 --- a/changelog.d/15447.misc +++ /dev/null @@ -1 +0,0 @@ -Bump mypy from 1.0.0 to 1.0.1. diff --git a/changelog.d/15448.misc b/changelog.d/15448.misc deleted file mode 100644 index 8e4e2576e..000000000 --- a/changelog.d/15448.misc +++ /dev/null @@ -1 +0,0 @@ -Bump psycopg2 from 2.9.5 to 2.9.6. diff --git a/changelog.d/15452.doc b/changelog.d/15452.doc deleted file mode 100644 index 330c90b3d..000000000 --- a/changelog.d/15452.doc +++ /dev/null @@ -1 +0,0 @@ -Note that the `delete_stale_devices_after` background job always runs on the main process. \ No newline at end of file diff --git a/changelog.d/15453.misc b/changelog.d/15453.misc deleted file mode 100644 index 9981606c3..000000000 --- a/changelog.d/15453.misc +++ /dev/null @@ -1 +0,0 @@ -Move various module API callback registration methods to a dedicated class. \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 9eee66fda..4e621e3d9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.82.0~rc1) stable; urgency=medium + + * New Synapse release 1.82.0rc1. + + -- Synapse Packaging team Tue, 18 Apr 2023 09:47:30 +0100 + matrix-synapse-py3 (1.81.0) stable; urgency=medium * New Synapse release 1.81.0. diff --git a/pyproject.toml b/pyproject.toml index 3ffd96c50..2998bbe95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,7 +89,7 @@ manifest-path = "rust/Cargo.toml" [tool.poetry] name = "matrix-synapse" -version = "1.81.0" +version = "1.82.0rc1" description = "Homeserver for the Matrix decentralised comms protocol" authors = ["Matrix.org Team and Contributors "] license = "Apache-2.0"