From eb90c5eb0cdc5e8a125dee8fb047c913fa2b0d72 Mon Sep 17 00:00:00 2001 From: Sami Olmari Date: Fri, 10 Jun 2022 18:38:21 +0300 Subject: [PATCH 1/4] Mention removed community/group worker endpoints in upgrade.md Signed-off-by: Sami Olmari --- docs/upgrade.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/upgrade.md b/docs/upgrade.md index e3c64da17fd8..16ab746a4f7d 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -89,6 +89,25 @@ process, for example: dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb ``` +# Upgrading to v1.61.0 + +## Removal of depracated community/groups + +This release of Synapse will remove deprecated community/groups from codebase. + +### Worker endpoints + +For those who have deployed workers, following worker endpoints will no longer be existing +and they are expected to be removed from reverse proxy config: + +`^/_matrix/federation/v1/get_groups_publicised$` +`^/_matrix/client/(r0|v3|unstable)/joined_groups$` +`^/_matrix/client/(r0|v3|unstable)/publicised_groups$` +`^/_matrix/client/(r0|v3|unstable)/publicised_groups/` +`^/_matrix/federation/v1/groups/` +`^/_matrix/client/(r0|v3|unstable)/groups/` + + # Upgrading to v1.60.0 ## Adding a new unique index to `state_group_edges` could fail if your database is corrupted From 0d8c3f1be1319569d414da0c338c8d430adce47f Mon Sep 17 00:00:00 2001 From: Sami Olmari Date: Fri, 10 Jun 2022 18:46:18 +0300 Subject: [PATCH 2/4] Add changelog.d file Signed-off-by: Sami Olmari --- changelog.d/13023.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/13023.doc diff --git a/changelog.d/13023.doc b/changelog.d/13023.doc new file mode 100644 index 000000000000..5589c7492c03 --- /dev/null +++ b/changelog.d/13023.doc @@ -0,0 +1 @@ +Mention removed community/group worker endpoints in upgrade.md. Contributed by @olmari. \ No newline at end of file From 0f2438c0d14d6acbca868d65bddd8753aa32b3f6 Mon Sep 17 00:00:00 2001 From: Sami Olmari Date: Sat, 11 Jun 2022 00:39:37 +0300 Subject: [PATCH 3/4] Format endpoint list better Signed-off-by: Sami Olmari --- docs/upgrade.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/upgrade.md b/docs/upgrade.md index 16ab746a4f7d..ef85e01aec99 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -100,12 +100,12 @@ This release of Synapse will remove deprecated community/groups from codebase. For those who have deployed workers, following worker endpoints will no longer be existing and they are expected to be removed from reverse proxy config: -`^/_matrix/federation/v1/get_groups_publicised$` -`^/_matrix/client/(r0|v3|unstable)/joined_groups$` -`^/_matrix/client/(r0|v3|unstable)/publicised_groups$` -`^/_matrix/client/(r0|v3|unstable)/publicised_groups/` -`^/_matrix/federation/v1/groups/` -`^/_matrix/client/(r0|v3|unstable)/groups/` +- `^/_matrix/federation/v1/get_groups_publicised$` +- `^/_matrix/client/(r0|v3|unstable)/joined_groups$` +- `^/_matrix/client/(r0|v3|unstable)/publicised_groups$` +- `^/_matrix/client/(r0|v3|unstable)/publicised_groups/` +- `^/_matrix/federation/v1/groups/` +- `^/_matrix/client/(r0|v3|unstable)/groups/` # Upgrading to v1.60.0 From 01314ad2980a6920b5f1f2a20792811068746382 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 14 Jun 2022 10:22:36 +0100 Subject: [PATCH 4/4] Update docs/upgrade.md --- docs/upgrade.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/upgrade.md b/docs/upgrade.md index 93fe56175f8a..2803de8b8b21 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -146,7 +146,6 @@ async def user_may_join_room(self, user_id: str, room_id: str, is_invited: bool) return synapse.module_api.NOT_SPAM ``` - # Upgrading to v1.60.0 ## Adding a new unique index to `state_group_edges` could fail if your database is corrupted