From 7bc877e076af32bc8ce84fcdcfb148c69d79ac66 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 9 Jul 2024 15:34:08 +0100 Subject: [PATCH 1/3] Note the new federated media worker endpoints in upgrade notes Media workers can handle the new auth'd media federation endpoints as well. --- docs/upgrade.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/upgrade.md b/docs/upgrade.md index cf53f56b06e..52b1adbe904 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -119,13 +119,14 @@ stacking them up. You can monitor the currently running background updates with # Upgrading to v1.111.0 -## New worker endpoints for authenticated client media +## New worker endpoints for authenticated client and federation media [Media repository workers](./workers.md#synapseappmedia_repository) handling -Media APIs can now handle the following endpoint pattern: +Media APIs can now handle the following endpoint patterns: ``` ^/_matrix/client/v1/media/.*$ +^/_matrix/federation/v1/media/.*$ ``` Please update your reverse proxy configuration. From 92ce7c95bb21999397fe14653c3368e3fc5c9ee3 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 9 Jul 2024 15:42:27 +0100 Subject: [PATCH 2/3] Add federation endpoint prefix to media worker docs --- docs/workers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/workers.md b/docs/workers.md index 22fde488a95..fbf539fa7e8 100644 --- a/docs/workers.md +++ b/docs/workers.md @@ -740,6 +740,7 @@ Handles the media repository. It can handle all endpoints starting with: /_matrix/media/ /_matrix/client/v1/media/ + /_matrix/federation/v1/media/ ... and the following regular expressions matching media-specific administration APIs: From 8dfb685bce1acd1a1418341438e3707ba79b7ca6 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 9 Jul 2024 15:37:04 +0100 Subject: [PATCH 3/3] newsfile --- changelog.d/17421.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/17421.doc diff --git a/changelog.d/17421.doc b/changelog.d/17421.doc new file mode 100644 index 00000000000..e6a495e5d67 --- /dev/null +++ b/changelog.d/17421.doc @@ -0,0 +1 @@ +Document the new federation media worker endpoints in the [upgrade notes](https://element-hq.github.io/synapse/v1.111/upgrade.html) and [worker docs](https://element-hq.github.io/synapse/v1.111/workers.html). \ No newline at end of file