From c3b044b45a81739a5a16f9757360ffbd89fbc84d Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 11 Aug 2026 11:25:53 -0500 Subject: [PATCH 1/4] 1.159.0rc1 --- CHANGES.md | 42 +++++++++++++++++++++++++++++++ changelog.d/19556.feature | 2 -- changelog.d/20017.misc | 1 - changelog.d/20018.doc | 1 - changelog.d/20021.misc | 1 - changelog.d/20023.misc | 1 - changelog.d/20025.bugfix | 1 - changelog.d/20027.misc | 1 - changelog.d/20028.misc | 1 - changelog.d/20039.misc | 1 - changelog.d/20039.removal | 1 - changelog.d/20048.misc | 1 - changelog.d/20066.doc | 1 - changelog.d/20068.misc | 1 - changelog.d/20071.misc | 1 - changelog.d/20075.docker | 1 - changelog.d/20077.misc | 1 - changelog.d/20085.bugfix | 1 - changelog.d/20086.doc | 1 - debian/changelog | 6 +++++ pyproject.toml | 2 +- schema/synapse-config.schema.yaml | 2 +- 22 files changed, 50 insertions(+), 21 deletions(-) delete mode 100644 changelog.d/19556.feature delete mode 100644 changelog.d/20017.misc delete mode 100644 changelog.d/20018.doc delete mode 100644 changelog.d/20021.misc delete mode 100644 changelog.d/20023.misc delete mode 100644 changelog.d/20025.bugfix delete mode 100644 changelog.d/20027.misc delete mode 100644 changelog.d/20028.misc delete mode 100644 changelog.d/20039.misc delete mode 100644 changelog.d/20039.removal delete mode 100644 changelog.d/20048.misc delete mode 100644 changelog.d/20066.doc delete mode 100644 changelog.d/20068.misc delete mode 100644 changelog.d/20071.misc delete mode 100644 changelog.d/20075.docker delete mode 100644 changelog.d/20077.misc delete mode 100644 changelog.d/20085.bugfix delete mode 100644 changelog.d/20086.doc diff --git a/CHANGES.md b/CHANGES.md index bd8b40bab3..7e4a600066 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,45 @@ +# Synapse 1.159.0rc1 (2026-08-11) + +## Features + +- Add optional support for [MSC4429: Profile Updates for Legacy Sync](https://github.com/matrix-org/matrix-spec-proposals/pull/4429). + Currently defaults to not enabled, and is limited to local users only for the sync results. ([\#19556](https://github.com/element-hq/synapse/issues/19556)) + +## Bugfixes + +- Fix thumbnail generation failing for MPO images. Animations that cannot be decoded now fall back to a static thumbnail. ([\#20025](https://github.com/element-hq/synapse/issues/20025)) +- Fix the `quarantined_media` replication stream never being sent when the configured `quarantined_media_changes` stream writer is a worker. Introduced in v1.152.0. ([\#20085](https://github.com/element-hq/synapse/issues/20085)) + +## Updates to the Docker image + +- Run with `PYTHONUNBUFFERED=1` so to ensure can always see log output when things go wrong. ([\#20075](https://github.com/element-hq/synapse/issues/20075)) + +## Improved Documentation + +- Correct the documentation for the `on_media_upload_limit_exceeded` module callback with regards to where it is called from. ([\#20018](https://github.com/element-hq/synapse/issues/20018)) +- Add upgrade notes to point out updated Debian package signing key. ([\#20066](https://github.com/element-hq/synapse/issues/20066)) +- Update stream cheatsheet docs to re-link `synapse/config/workers.py` which has more references. ([\#20086](https://github.com/element-hq/synapse/issues/20086)) + +## Deprecations and Removals + +- Remove package build targets for Ubuntu 25.10 'Questing Quokka' (end-of-life 2026-07-01). ([\#20039](https://github.com/element-hq/synapse/issues/20039)) + +## Internal Changes + +- Fix tests that use `homeserver_to_use=GenericWorkerServer` not being able to be run standalone. ([\#20017](https://github.com/element-hq/synapse/issues/20017)) +- Fix `RemoteJoinHelper` test helper to handle room version "12" rooms. Contributed by @famedly @jason-famedly. ([\#20021](https://github.com/element-hq/synapse/issues/20021)) +- Fix release script announcement to link to correct release branch of changelog. ([\#20023](https://github.com/element-hq/synapse/issues/20023)) +- Dust off `make_full_schema` and add CI using it to show schema diffs. ([\#20027](https://github.com/element-hq/synapse/issues/20027)) +- Remove broken `DROP` statements for SQLite in `make_full_schema` script. ([\#20028](https://github.com/element-hq/synapse/issues/20028)) +- Add package build targets for Ubuntu 26.04 'Resolute Raccoon'. ([\#20039](https://github.com/element-hq/synapse/issues/20039)) +- Document how to capture a JSON snapshot of a Grafana dashboard to aid in debugging. ([\#20048](https://github.com/element-hq/synapse/issues/20048)) +- Routinely purge old cancelled tasks from the database. ([\#20068](https://github.com/element-hq/synapse/issues/20068)) +- Introduce an `RdataSafeValue` type and correct some minor type annotation mistakes. ([\#20071](https://github.com/element-hq/synapse/issues/20071)) +- Set `idle_in_transaction_session_timeout` (default 30 minutes) on new PostgreSQL connections, so that wedged connections don't hold locks or block vacuum indefinitely. ([\#20077](https://github.com/element-hq/synapse/issues/20077)) + + + + # Synapse 1.158.0 (2026-08-04) ## Deprecations and Removals diff --git a/changelog.d/19556.feature b/changelog.d/19556.feature deleted file mode 100644 index bcb6c5c983..0000000000 --- a/changelog.d/19556.feature +++ /dev/null @@ -1,2 +0,0 @@ -Add optional support for [MSC4429: Profile Updates for Legacy Sync](https://github.com/matrix-org/matrix-spec-proposals/pull/4429). -Currently defaults to not enabled, and is limited to local users only for the sync results. \ No newline at end of file diff --git a/changelog.d/20017.misc b/changelog.d/20017.misc deleted file mode 100644 index f65ae91f00..0000000000 --- a/changelog.d/20017.misc +++ /dev/null @@ -1 +0,0 @@ -Fix tests that use `homeserver_to_use=GenericWorkerServer` not being able to be run standalone. diff --git a/changelog.d/20018.doc b/changelog.d/20018.doc deleted file mode 100644 index d644ac6f5e..0000000000 --- a/changelog.d/20018.doc +++ /dev/null @@ -1 +0,0 @@ -Correct the documentation for the `on_media_upload_limit_exceeded` module callback with regards to where it is called from. diff --git a/changelog.d/20021.misc b/changelog.d/20021.misc deleted file mode 100644 index 9291f5eea0..0000000000 --- a/changelog.d/20021.misc +++ /dev/null @@ -1 +0,0 @@ -Fix `RemoteJoinHelper` test helper to handle room version "12" rooms. Contributed by @famedly @jason-famedly. diff --git a/changelog.d/20023.misc b/changelog.d/20023.misc deleted file mode 100644 index 17dd927536..0000000000 --- a/changelog.d/20023.misc +++ /dev/null @@ -1 +0,0 @@ -Fix release script announcement to link to correct release branch of changelog. diff --git a/changelog.d/20025.bugfix b/changelog.d/20025.bugfix deleted file mode 100644 index b5feabd30b..0000000000 --- a/changelog.d/20025.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix thumbnail generation failing for MPO images. Animations that cannot be decoded now fall back to a static thumbnail. diff --git a/changelog.d/20027.misc b/changelog.d/20027.misc deleted file mode 100644 index bdac0dc058..0000000000 --- a/changelog.d/20027.misc +++ /dev/null @@ -1 +0,0 @@ -Dust off `make_full_schema` and add CI using it to show schema diffs. \ No newline at end of file diff --git a/changelog.d/20028.misc b/changelog.d/20028.misc deleted file mode 100644 index ad3738f00e..0000000000 --- a/changelog.d/20028.misc +++ /dev/null @@ -1 +0,0 @@ -Remove broken `DROP` statements for SQLite in `make_full_schema` script. \ No newline at end of file diff --git a/changelog.d/20039.misc b/changelog.d/20039.misc deleted file mode 100644 index d8900d1223..0000000000 --- a/changelog.d/20039.misc +++ /dev/null @@ -1 +0,0 @@ -Add package build targets for Ubuntu 26.04 'Resolute Raccoon'. diff --git a/changelog.d/20039.removal b/changelog.d/20039.removal deleted file mode 100644 index 3a83c77275..0000000000 --- a/changelog.d/20039.removal +++ /dev/null @@ -1 +0,0 @@ -Remove package build targets for Ubuntu 25.10 'Questing Quokka' (end-of-life 2026-07-01). diff --git a/changelog.d/20048.misc b/changelog.d/20048.misc deleted file mode 100644 index 07ee0f045a..0000000000 --- a/changelog.d/20048.misc +++ /dev/null @@ -1 +0,0 @@ -Document how to capture a JSON snapshot of a Grafana dashboard to aid in debugging. diff --git a/changelog.d/20066.doc b/changelog.d/20066.doc deleted file mode 100644 index 0ac03b9fa9..0000000000 --- a/changelog.d/20066.doc +++ /dev/null @@ -1 +0,0 @@ -Add upgrade notes to point out updated Debian package signing key. diff --git a/changelog.d/20068.misc b/changelog.d/20068.misc deleted file mode 100644 index cb2766e80a..0000000000 --- a/changelog.d/20068.misc +++ /dev/null @@ -1 +0,0 @@ -Routinely purge old cancelled tasks from the database. diff --git a/changelog.d/20071.misc b/changelog.d/20071.misc deleted file mode 100644 index 77a8018eb0..0000000000 --- a/changelog.d/20071.misc +++ /dev/null @@ -1 +0,0 @@ -Introduce an `RdataSafeValue` type and correct some minor type annotation mistakes. \ No newline at end of file diff --git a/changelog.d/20075.docker b/changelog.d/20075.docker deleted file mode 100644 index 26c96d47eb..0000000000 --- a/changelog.d/20075.docker +++ /dev/null @@ -1 +0,0 @@ -Run with `PYTHONUNBUFFERED=1` so to ensure can always see log output when things go wrong. diff --git a/changelog.d/20077.misc b/changelog.d/20077.misc deleted file mode 100644 index bddbc19288..0000000000 --- a/changelog.d/20077.misc +++ /dev/null @@ -1 +0,0 @@ -Set `idle_in_transaction_session_timeout` (default 30 minutes) on new PostgreSQL connections, so that wedged connections don't hold locks or block vacuum indefinitely. diff --git a/changelog.d/20085.bugfix b/changelog.d/20085.bugfix deleted file mode 100644 index 8253b20ddb..0000000000 --- a/changelog.d/20085.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix the `quarantined_media` replication stream never being sent when the configured `quarantined_media_changes` stream writer is a worker. Introduced in v1.152.0. diff --git a/changelog.d/20086.doc b/changelog.d/20086.doc deleted file mode 100644 index 4c688250c9..0000000000 --- a/changelog.d/20086.doc +++ /dev/null @@ -1 +0,0 @@ -Update stream cheatsheet docs to re-link `synapse/config/workers.py` which has more references. diff --git a/debian/changelog b/debian/changelog index a92e6d7ce6..53cca6e378 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.159.0~rc1) stable; urgency=medium + + * New synapse release 1.159.0rc1. + + -- Synapse Packaging team Tue, 11 Aug 2026 16:25:42 +0000 + matrix-synapse-py3 (1.158.0) stable; urgency=medium * New synapse release 1.158.0. diff --git a/pyproject.toml b/pyproject.toml index a7f8b124e5..b03bbacd16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "matrix-synapse" -version = "1.158.0" +version = "1.159.0rc1" description = "Homeserver for the Matrix decentralised comms protocol" readme = "README.rst" authors = [ diff --git a/schema/synapse-config.schema.yaml b/schema/synapse-config.schema.yaml index 6e7880a900..2282e31b39 100644 --- a/schema/synapse-config.schema.yaml +++ b/schema/synapse-config.schema.yaml @@ -1,5 +1,5 @@ $schema: https://element-hq.github.io/synapse/latest/schema/v1/meta.schema.json -$id: https://element-hq.github.io/synapse/schema/synapse/v1.158/synapse-config.schema.json +$id: https://element-hq.github.io/synapse/schema/synapse/v1.159/synapse-config.schema.json type: object properties: modules: From 2eeb4a00f72fe0017dfb15aa4fb6a8f5d53a0ebf Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 11 Aug 2026 11:28:45 -0500 Subject: [PATCH 2/4] Fix grammar --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 7e4a600066..a85f6996c2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,7 +12,7 @@ ## Updates to the Docker image -- Run with `PYTHONUNBUFFERED=1` so to ensure can always see log output when things go wrong. ([\#20075](https://github.com/element-hq/synapse/issues/20075)) +- Run with `PYTHONUNBUFFERED=1` to ensure that we can always see log output when things go wrong. ([\#20075](https://github.com/element-hq/synapse/issues/20075)) ## Improved Documentation From 837d502c987511ac213bd4e12948a8ca199e4f2b Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 11 Aug 2026 11:32:20 -0500 Subject: [PATCH 3/4] Call out new Debian package signing key since the old one is expiring More context: https://github.com/element-hq/synapse/issues/20038 --- CHANGES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index a85f6996c2..d8e6a17702 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Synapse 1.159.0rc1 (2026-08-11) +Administrators using the Debian/Ubuntu packages from `packages.matrix.org`, please check +[the relevant section in the upgrade notes](https://github.com/element-hq/synapse/blob/release-v1.159/docs/upgrade.md#upgrading-to-v11590) +as we have recently updated the expiry date on the repository's GPG signing key. The old version of the key will expire on `2027-03-15`. + ## Features - Add optional support for [MSC4429: Profile Updates for Legacy Sync](https://github.com/matrix-org/matrix-spec-proposals/pull/4429). From e08ffd2852ab85668f320d8d978de59004296465 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 11 Aug 2026 11:34:01 -0500 Subject: [PATCH 4/4] Remove already released changes (already in Synapse 1.158.0) --- CHANGES.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d8e6a17702..c1c9c3293d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -24,10 +24,6 @@ as we have recently updated the expiry date on the repository's GPG signing key. - Add upgrade notes to point out updated Debian package signing key. ([\#20066](https://github.com/element-hq/synapse/issues/20066)) - Update stream cheatsheet docs to re-link `synapse/config/workers.py` which has more references. ([\#20086](https://github.com/element-hq/synapse/issues/20086)) -## Deprecations and Removals - -- Remove package build targets for Ubuntu 25.10 'Questing Quokka' (end-of-life 2026-07-01). ([\#20039](https://github.com/element-hq/synapse/issues/20039)) - ## Internal Changes - Fix tests that use `homeserver_to_use=GenericWorkerServer` not being able to be run standalone. ([\#20017](https://github.com/element-hq/synapse/issues/20017)) @@ -35,7 +31,6 @@ as we have recently updated the expiry date on the repository's GPG signing key. - Fix release script announcement to link to correct release branch of changelog. ([\#20023](https://github.com/element-hq/synapse/issues/20023)) - Dust off `make_full_schema` and add CI using it to show schema diffs. ([\#20027](https://github.com/element-hq/synapse/issues/20027)) - Remove broken `DROP` statements for SQLite in `make_full_schema` script. ([\#20028](https://github.com/element-hq/synapse/issues/20028)) -- Add package build targets for Ubuntu 26.04 'Resolute Raccoon'. ([\#20039](https://github.com/element-hq/synapse/issues/20039)) - Document how to capture a JSON snapshot of a Grafana dashboard to aid in debugging. ([\#20048](https://github.com/element-hq/synapse/issues/20048)) - Routinely purge old cancelled tasks from the database. ([\#20068](https://github.com/element-hq/synapse/issues/20068)) - Introduce an `RdataSafeValue` type and correct some minor type annotation mistakes. ([\#20071](https://github.com/element-hq/synapse/issues/20071))