From f5b44d236357f801642d61948e283fb620d46937 Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Fri, 23 Jan 2026 09:37:03 +0000 Subject: [PATCH 1/2] Upgrade Synapse to v1.146.0 --- charts/matrix-stack/source/synapse.yaml.j2 | 2 +- charts/matrix-stack/values.yaml | 2 +- newsfragments/992.changed.md | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 newsfragments/992.changed.md diff --git a/charts/matrix-stack/source/synapse.yaml.j2 b/charts/matrix-stack/source/synapse.yaml.j2 index 99f72022..aa30cc82 100644 --- a/charts/matrix-stack/source/synapse.yaml.j2 +++ b/charts/matrix-stack/source/synapse.yaml.j2 @@ -85,7 +85,7 @@ logging: ## levelOverrides: ## synapse.util.caches.lrucache: WARNING levelOverrides: {} -{{- sub_schema_values.image(registry='oci.element.io', repository='synapse', tag='v1.145.0-ess.1') }} +{{- sub_schema_values.image(registry='oci.element.io', repository='synapse', tag='v1.146.0-ess.1') }} {{- sub_schema_values.extraVolumes("Synapse", with_context=true) }} {{- sub_schema_values.extraVolumeMounts("Synapse", with_context=true) }} {{- sub_schema_values.extraInitContainers("Synapse") }} diff --git a/charts/matrix-stack/values.yaml b/charts/matrix-stack/values.yaml index df86335d..4a54b6b5 100644 --- a/charts/matrix-stack/values.yaml +++ b/charts/matrix-stack/values.yaml @@ -4852,7 +4852,7 @@ synapse: ## The tag of the container image to use. ## One of tag or digest must be provided. - tag: "v1.145.0-ess.1" + tag: "v1.146.0-ess.1" ## Container digest to use. Used to pull the image instead of the image tag if set ## The tag will still be set as the app.kubernetes.io/version label diff --git a/newsfragments/992.changed.md b/newsfragments/992.changed.md new file mode 100644 index 00000000..2e465af2 --- /dev/null +++ b/newsfragments/992.changed.md @@ -0,0 +1,9 @@ +Upgrade Synapse to v1.146.0. + +Highlights: +- Stabilise support for [MSC4312](https://github.com/matrix-org/matrix-spec-proposals/pull/4312)'s `m.oauth` User-Interactive Auth stage for resetting cross-signing identity with the OAuth 2.0 API. +- Fix joining a restricted v12 room locally when no local room creator is present but local users with sufficient power levels are. +- Fixed parallel calls to `/_matrix/media/v1/create` being rate-limited for appservices even if `rate_limited: false` was set in the registration. + +Full Changelogs: +- [v1.146.0](https://github.com/element-hq/synapse/releases/tag/v1.146.0) From 783400c393bff5da3a29cddf02deb697fda2522a Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Fri, 23 Jan 2026 10:34:24 +0000 Subject: [PATCH 2/2] Synapse: fully disable rather than stub out the media storage provider on processes not responsible for media --- .../synapse/synapse-05-process-specific.yaml.tpl | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/charts/matrix-stack/configs/synapse/synapse-05-process-specific.yaml.tpl b/charts/matrix-stack/configs/synapse/synapse-05-process-specific.yaml.tpl index a0034207..739749b1 100644 --- a/charts/matrix-stack/configs/synapse/synapse-05-process-specific.yaml.tpl +++ b/charts/matrix-stack/configs/synapse/synapse-05-process-specific.yaml.tpl @@ -1,6 +1,6 @@ {{- /* Copyright 2025 New Vector Ltd -Copyright 2025 Element Creations Ltd +Copyright 2025-2026 Element Creations Ltd SPDX-License-Identifier: AGPL-3.0-only */ -}} @@ -84,13 +84,6 @@ worker_listeners: {{- if (include "element-io.synapse.process.responsibleForMedia" (dict "root" $root "context" (dict "processType" .processType "enabledWorkerTypes" (keys $enabledWorkers)))) }} enable_media_repo: true {{- else }} -# Stub out the media storage provider for processes not responsible for media -media_storage_providers: -- module: file_system - store_local: false - store_remote: false - store_synchronous: false - config: - directory: "/media/media_store" +enable_local_media_storage: false {{- end }} {{- end }}