From cedb8cd045a447635a797d75d87947c69742b151 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Tue, 22 Jul 2025 12:10:57 +0100 Subject: [PATCH] 1.135.0rc1 --- CHANGES.md | 64 +++++++++++++++++++++++++++++++ changelog.d/17984.feature | 1 - changelog.d/18195.feature | 1 - changelog.d/18238.feature | 1 - changelog.d/18263.feature | 1 - changelog.d/18499.bugfix | 1 - changelog.d/18520.misc | 1 - changelog.d/18527.feature | 1 - changelog.d/18548.doc | 1 - changelog.d/18552.misc | 1 - changelog.d/18564.misc | 1 - changelog.d/18581.feature | 1 - changelog.d/18601.misc | 1 - changelog.d/18604.misc | 1 - changelog.d/18617.misc | 1 - changelog.d/18622.misc | 1 - changelog.d/18635.feature | 1 - changelog.d/18637.misc | 1 - changelog.d/18647.feature | 1 - changelog.d/18653.misc | 1 - changelog.d/18660.bugfix | 1 - changelog.d/18664.misc | 1 - changelog.d/18671.feature | 1 - changelog.d/18672.misc | 1 - changelog.d/18674.feature | 1 - changelog.d/18675.feature | 1 - changelog.d/18676.misc | 1 - changelog.d/18677.bugfix | 1 - changelog.d/18684.feature | 1 - changelog.d/18687.misc | 1 - changelog.d/18689.misc | 1 - changelog.d/18691.bugfix | 1 - changelog.d/18692.doc | 1 - changelog.d/18693.misc | 1 - changelog.d/18697.misc | 1 - changelog.d/18699.misc | 1 - debian/changelog | 6 +++ pyproject.toml | 2 +- schema/synapse-config.schema.yaml | 2 +- 39 files changed, 72 insertions(+), 37 deletions(-) delete mode 100644 changelog.d/17984.feature delete mode 100644 changelog.d/18195.feature delete mode 100644 changelog.d/18238.feature delete mode 100644 changelog.d/18263.feature delete mode 100644 changelog.d/18499.bugfix delete mode 100644 changelog.d/18520.misc delete mode 100644 changelog.d/18527.feature delete mode 100644 changelog.d/18548.doc delete mode 100644 changelog.d/18552.misc delete mode 100644 changelog.d/18564.misc delete mode 100644 changelog.d/18581.feature delete mode 100644 changelog.d/18601.misc delete mode 100644 changelog.d/18604.misc delete mode 100644 changelog.d/18617.misc delete mode 100644 changelog.d/18622.misc delete mode 100644 changelog.d/18635.feature delete mode 100644 changelog.d/18637.misc delete mode 100644 changelog.d/18647.feature delete mode 100644 changelog.d/18653.misc delete mode 100644 changelog.d/18660.bugfix delete mode 100644 changelog.d/18664.misc delete mode 100644 changelog.d/18671.feature delete mode 100644 changelog.d/18672.misc delete mode 100644 changelog.d/18674.feature delete mode 100644 changelog.d/18675.feature delete mode 100644 changelog.d/18676.misc delete mode 100644 changelog.d/18677.bugfix delete mode 100644 changelog.d/18684.feature delete mode 100644 changelog.d/18687.misc delete mode 100644 changelog.d/18689.misc delete mode 100644 changelog.d/18691.bugfix delete mode 100644 changelog.d/18692.doc delete mode 100644 changelog.d/18693.misc delete mode 100644 changelog.d/18697.misc delete mode 100644 changelog.d/18699.misc diff --git a/CHANGES.md b/CHANGES.md index 220e7b5613..08f39c4602 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,67 @@ +# Synapse 1.135.0rc1 (2025-07-22) + +### Features + +- Add `recaptcha_private_key_path` and `recaptcha_public_key_path` config option. ([\#17984](https://github.com/element-hq/synapse/issues/17984), [\#18684](https://github.com/element-hq/synapse/issues/18684)) +- Add plain-text handling for rich-text topics as per [MSC3765](https://github.com/matrix-org/matrix-spec-proposals/pull/3765). ([\#18195](https://github.com/element-hq/synapse/issues/18195)) +- If enabled by the user, server admins will see [soft failed](https://spec.matrix.org/v1.13/server-server-api/#soft-failure) events over the Client-Server API. ([\#18238](https://github.com/element-hq/synapse/issues/18238)) +- Add experimental support for [MSC4277: Harmonizing the reporting endpoints](https://github.com/matrix-org/matrix-spec-proposals/pull/4277). ([\#18263](https://github.com/element-hq/synapse/issues/18263)) +- Add ability to limit amount of media uploaded by a user in a given time period. ([\#18527](https://github.com/element-hq/synapse/issues/18527)) +- Enable workers to write directly to the device lists stream and handle device list updates, reducing load on the main process. ([\#18581](https://github.com/element-hq/synapse/issues/18581)) +- Support arbitrary profile fields. ([\#18635](https://github.com/element-hq/synapse/issues/18635)) +- Advertise support for Matrix v1.12. ([\#18647](https://github.com/element-hq/synapse/issues/18647)) +- Add an option to issue redactions as an admin user via the [admin redaction endpoint](https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#redact-all-the-events-of-a-user). ([\#18671](https://github.com/element-hq/synapse/issues/18671)) +- Add experimental and incomplete support for [MSC4306: Thread Subscriptions](https://github.com/matrix-org/matrix-spec-proposals/blob/rei/msc_thread_subscriptions/proposals/4306-thread-subscriptions.md). ([\#18674](https://github.com/element-hq/synapse/issues/18674)) +- Include `event_id` when getting state with `?format=event`. Contributed by @tulir @ Beeper. ([\#18675](https://github.com/element-hq/synapse/issues/18675)) + +### Bugfixes + +- Fix CPU and database spinning when retrying sending events to servers whilst at the same time purging those events. ([\#18499](https://github.com/element-hq/synapse/issues/18499)) +- Don't allow creation of tags with names longer than 255 bytes, as per the spec. ([\#18660](https://github.com/element-hq/synapse/issues/18660)) +- Fix sliding_sync_connections related errors when porting from SQLite to Postgres. ([\#18677](https://github.com/element-hq/synapse/issues/18677)) +- Fix the MAS integration not working when Synapse is started with `--daemonize` or using `synctl`. ([\#18691](https://github.com/element-hq/synapse/issues/18691)) + +### Improved Documentation + +- Document that some config options for the user directory are in violation of the Matrix spec. ([\#18548](https://github.com/element-hq/synapse/issues/18548)) +- Update `rc_delayed_event_mgmt` docs to the actual nesting level. Contributed by @HarHarLinks. ([\#18692](https://github.com/element-hq/synapse/issues/18692)) + +### Internal Changes + +- Dedicated internal API for Matrix Authentication Service to Synapse communication. ([\#18520](https://github.com/element-hq/synapse/issues/18520)) +- Allow user registrations to be done on workers. ([\#18552](https://github.com/element-hq/synapse/issues/18552)) +- Remove unnecessary HTTP replication calls. ([\#18564](https://github.com/element-hq/synapse/issues/18564)) +- Refactor `Measure` block metrics to be homeserver-scoped. ([\#18601](https://github.com/element-hq/synapse/issues/18601)) +- Refactor cache metrics to be homeserver-scoped. ([\#18604](https://github.com/element-hq/synapse/issues/18604)) +- Unbreak "Latest dependencies" workflow by using the `--without dev` poetry option instead of removed `--no-dev`. ([\#18617](https://github.com/element-hq/synapse/issues/18617)) +- Update URL Preview code to work with `lxml` 6.0.0+. ([\#18622](https://github.com/element-hq/synapse/issues/18622)) +- Use `markdown-it-py` instead of `commonmark` in the release script. ([\#18637](https://github.com/element-hq/synapse/issues/18637)) +- Fix typing errors with upgraded mypy version. ([\#18653](https://github.com/element-hq/synapse/issues/18653)) +- Add doc comment explaining that config files are shallowly merged. ([\#18664](https://github.com/element-hq/synapse/issues/18664)) +- Minor speed up of insertion into `stream_positions` table. ([\#18672](https://github.com/element-hq/synapse/issues/18672)) +- Remove unused `allow_no_prev_events` option when creating an event. ([\#18676](https://github.com/element-hq/synapse/issues/18676)) +- Clean up `MetricsResource` and Prometheus hacks. ([\#18687](https://github.com/element-hq/synapse/issues/18687)) +- Fix dirty `Cargo.lock` changes appearing after install (`base64`). ([\#18689](https://github.com/element-hq/synapse/issues/18689)) +- Prevent dirty `Cargo.lock` changes from install. ([\#18693](https://github.com/element-hq/synapse/issues/18693)) +- Correct spelling of 'Admin token used' log line. ([\#18697](https://github.com/element-hq/synapse/issues/18697)) +- Reduce log spam when client stops downloading media while it is being streamed to them. ([\#18699](https://github.com/element-hq/synapse/issues/18699)) + + + +### Updates to locked dependencies + +* Bump authlib from 1.6.0 to 1.6.1. ([\#18704](https://github.com/element-hq/synapse/issues/18704)) +* Bump base64 from 0.21.7 to 0.22.1. ([\#18666](https://github.com/element-hq/synapse/issues/18666)) +* Bump jsonschema from 4.24.0 to 4.25.0. ([\#18707](https://github.com/element-hq/synapse/issues/18707)) +* Bump lxml from 5.4.0 to 6.0.0. ([\#18631](https://github.com/element-hq/synapse/issues/18631)) +* Bump mypy from 1.13.0 to 1.16.1. ([\#18653](https://github.com/element-hq/synapse/issues/18653)) +* Bump once_cell from 1.19.0 to 1.21.3. ([\#18710](https://github.com/element-hq/synapse/issues/18710)) +* Bump phonenumbers from 9.0.8 to 9.0.9. ([\#18681](https://github.com/element-hq/synapse/issues/18681)) +* Bump ruff from 0.12.2 to 0.12.5. ([\#18683](https://github.com/element-hq/synapse/issues/18683), [\#18705](https://github.com/element-hq/synapse/issues/18705)) +* Bump serde_json from 1.0.140 to 1.0.141. ([\#18709](https://github.com/element-hq/synapse/issues/18709)) +* Bump sigstore/cosign-installer from 3.9.1 to 3.9.2. ([\#18708](https://github.com/element-hq/synapse/issues/18708)) +* Bump types-jsonschema from 4.24.0.20250528 to 4.24.0.20250708. ([\#18682](https://github.com/element-hq/synapse/issues/18682)) + # Synapse 1.134.0 (2025-07-15) No significant changes since 1.134.0rc1. diff --git a/changelog.d/17984.feature b/changelog.d/17984.feature deleted file mode 100644 index 609f3a7cd8..0000000000 --- a/changelog.d/17984.feature +++ /dev/null @@ -1 +0,0 @@ -Add `recaptcha_private_key_path` and `recaptcha_public_key_path` config option. \ No newline at end of file diff --git a/changelog.d/18195.feature b/changelog.d/18195.feature deleted file mode 100644 index 7f7903bd71..0000000000 --- a/changelog.d/18195.feature +++ /dev/null @@ -1 +0,0 @@ -Add plain-text handling for rich-text topics as per [MSC3765](https://github.com/matrix-org/matrix-spec-proposals/pull/3765). diff --git a/changelog.d/18238.feature b/changelog.d/18238.feature deleted file mode 100644 index 01935a1286..0000000000 --- a/changelog.d/18238.feature +++ /dev/null @@ -1 +0,0 @@ -If enabled by the user, server admins will see [soft failed](https://spec.matrix.org/v1.13/server-server-api/#soft-failure) events over the Client-Server API. \ No newline at end of file diff --git a/changelog.d/18263.feature b/changelog.d/18263.feature deleted file mode 100644 index da5830b654..0000000000 --- a/changelog.d/18263.feature +++ /dev/null @@ -1 +0,0 @@ -Add experimental support for [MSC4277](https://github.com/matrix-org/matrix-spec-proposals/pull/4277). diff --git a/changelog.d/18499.bugfix b/changelog.d/18499.bugfix deleted file mode 100644 index b07601a35d..0000000000 --- a/changelog.d/18499.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix CPU and database spinning when retrying sending events to servers whilst at the same time purging those events. \ No newline at end of file diff --git a/changelog.d/18520.misc b/changelog.d/18520.misc deleted file mode 100644 index d005d3b7f7..0000000000 --- a/changelog.d/18520.misc +++ /dev/null @@ -1 +0,0 @@ -Dedicated internal API for Matrix Authentication Service to Synapse communication. diff --git a/changelog.d/18527.feature b/changelog.d/18527.feature deleted file mode 100644 index 3394f6786f..0000000000 --- a/changelog.d/18527.feature +++ /dev/null @@ -1 +0,0 @@ -Add ability to limit amount uploaded by a user in a given time period. diff --git a/changelog.d/18548.doc b/changelog.d/18548.doc deleted file mode 100644 index 69b073221b..0000000000 --- a/changelog.d/18548.doc +++ /dev/null @@ -1 +0,0 @@ -Document that some config options for the user directory are in violation of the Matrix spec. diff --git a/changelog.d/18552.misc b/changelog.d/18552.misc deleted file mode 100644 index 3882c8fed2..0000000000 --- a/changelog.d/18552.misc +++ /dev/null @@ -1 +0,0 @@ -Allow user registrations to be done on workers. diff --git a/changelog.d/18564.misc b/changelog.d/18564.misc deleted file mode 100644 index a31c98370f..0000000000 --- a/changelog.d/18564.misc +++ /dev/null @@ -1 +0,0 @@ -Remove unnecessary HTTP replication calls. diff --git a/changelog.d/18581.feature b/changelog.d/18581.feature deleted file mode 100644 index c7b7017b0c..0000000000 --- a/changelog.d/18581.feature +++ /dev/null @@ -1 +0,0 @@ -Enable workers to write directly to the device lists stream and handle device list updates, reducing load on the main process. diff --git a/changelog.d/18601.misc b/changelog.d/18601.misc deleted file mode 100644 index c8893c2806..0000000000 --- a/changelog.d/18601.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor `Measure` block metrics to be homeserver-scoped. diff --git a/changelog.d/18604.misc b/changelog.d/18604.misc deleted file mode 100644 index c06fb23af5..0000000000 --- a/changelog.d/18604.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor cache metrics to be homeserver-scoped. diff --git a/changelog.d/18617.misc b/changelog.d/18617.misc deleted file mode 100644 index 549ffb2cca..0000000000 --- a/changelog.d/18617.misc +++ /dev/null @@ -1 +0,0 @@ -Unbreak "Latest dependencies" workflow by using the `--without dev` poetry option instead of removed `--no-dev`. \ No newline at end of file diff --git a/changelog.d/18622.misc b/changelog.d/18622.misc deleted file mode 100644 index 9a8f36ae2c..0000000000 --- a/changelog.d/18622.misc +++ /dev/null @@ -1 +0,0 @@ -Update URL Preview code to work with `lxml` 6.0.0+. \ No newline at end of file diff --git a/changelog.d/18635.feature b/changelog.d/18635.feature deleted file mode 100644 index af536f64d3..0000000000 --- a/changelog.d/18635.feature +++ /dev/null @@ -1 +0,0 @@ -Support arbitrary profile fields. diff --git a/changelog.d/18637.misc b/changelog.d/18637.misc deleted file mode 100644 index ba4029cfdf..0000000000 --- a/changelog.d/18637.misc +++ /dev/null @@ -1 +0,0 @@ -Use `markdown-it-py` instead of `commonmark` in the release script. diff --git a/changelog.d/18647.feature b/changelog.d/18647.feature deleted file mode 100644 index a9c273bd29..0000000000 --- a/changelog.d/18647.feature +++ /dev/null @@ -1 +0,0 @@ -Advertise support for Matrix v1.12. \ No newline at end of file diff --git a/changelog.d/18653.misc b/changelog.d/18653.misc deleted file mode 100644 index d3a4e7c438..0000000000 --- a/changelog.d/18653.misc +++ /dev/null @@ -1 +0,0 @@ -Fix typing errors with upgraded mypy version. diff --git a/changelog.d/18660.bugfix b/changelog.d/18660.bugfix deleted file mode 100644 index fd65b43a1b..0000000000 --- a/changelog.d/18660.bugfix +++ /dev/null @@ -1 +0,0 @@ -Don't allow creation of tags with names longer than 255 bytes, as per the spec. \ No newline at end of file diff --git a/changelog.d/18664.misc b/changelog.d/18664.misc deleted file mode 100644 index eed76c95bf..0000000000 --- a/changelog.d/18664.misc +++ /dev/null @@ -1 +0,0 @@ -Add doc comment explaining that config files are shallowly merged. \ No newline at end of file diff --git a/changelog.d/18671.feature b/changelog.d/18671.feature deleted file mode 100644 index faa238ff26..0000000000 --- a/changelog.d/18671.feature +++ /dev/null @@ -1 +0,0 @@ -Add an option to issue redactions as admin user on via the [admin redaction endpoint](https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#redact-all-the-events-of-a-user). \ No newline at end of file diff --git a/changelog.d/18672.misc b/changelog.d/18672.misc deleted file mode 100644 index 8d7be17fbc..0000000000 --- a/changelog.d/18672.misc +++ /dev/null @@ -1 +0,0 @@ -Minor speed up of insertion into `stream_positions` table. diff --git a/changelog.d/18674.feature b/changelog.d/18674.feature deleted file mode 100644 index b1a1aa11f1..0000000000 --- a/changelog.d/18674.feature +++ /dev/null @@ -1 +0,0 @@ -Add experimental and incomplete support for [MSC4306: Thread Subscriptions](https://github.com/matrix-org/matrix-spec-proposals/blob/rei/msc_thread_subscriptions/proposals/4306-thread-subscriptions.md). \ No newline at end of file diff --git a/changelog.d/18675.feature b/changelog.d/18675.feature deleted file mode 100644 index 7ff2445807..0000000000 --- a/changelog.d/18675.feature +++ /dev/null @@ -1 +0,0 @@ -Include `event_id` when getting state with `?format=event`. Contributed by @tulir @ Beeper. diff --git a/changelog.d/18676.misc b/changelog.d/18676.misc deleted file mode 100644 index 81306954b6..0000000000 --- a/changelog.d/18676.misc +++ /dev/null @@ -1 +0,0 @@ -Remove unused `allow_no_prev_events` option when creating an event. diff --git a/changelog.d/18677.bugfix b/changelog.d/18677.bugfix deleted file mode 100644 index 3b443d2055..0000000000 --- a/changelog.d/18677.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix sliding_sync_connections related errors when porting from SQLite to Postgres. diff --git a/changelog.d/18684.feature b/changelog.d/18684.feature deleted file mode 100644 index 5099881d3a..0000000000 --- a/changelog.d/18684.feature +++ /dev/null @@ -1 +0,0 @@ -Add `recaptcha_private_key_path` and `recaptcha_public_key_path` config option. diff --git a/changelog.d/18687.misc b/changelog.d/18687.misc deleted file mode 100644 index 2d1ba2c790..0000000000 --- a/changelog.d/18687.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up `MetricsResource` and Prometheus hacks. diff --git a/changelog.d/18689.misc b/changelog.d/18689.misc deleted file mode 100644 index 51f0586e19..0000000000 --- a/changelog.d/18689.misc +++ /dev/null @@ -1 +0,0 @@ -Fix dirty `Cargo.lock` changes appearing after install (`base64`). diff --git a/changelog.d/18691.bugfix b/changelog.d/18691.bugfix deleted file mode 100644 index 27bc09e4fd..0000000000 --- a/changelog.d/18691.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix the MAS integration not working when Synapse is started with `--daemonize` or using `synctl`. diff --git a/changelog.d/18692.doc b/changelog.d/18692.doc deleted file mode 100644 index 1514ef6fb8..0000000000 --- a/changelog.d/18692.doc +++ /dev/null @@ -1 +0,0 @@ -Update `rc_delayed_event_mgmt` docs to the actual nesting level. Contributed by @HarHarLinks. diff --git a/changelog.d/18693.misc b/changelog.d/18693.misc deleted file mode 100644 index e2fdaed6b2..0000000000 --- a/changelog.d/18693.misc +++ /dev/null @@ -1 +0,0 @@ -Prevent dirty `Cargo.lock` changes from install. diff --git a/changelog.d/18697.misc b/changelog.d/18697.misc deleted file mode 100644 index 1289e56fd5..0000000000 --- a/changelog.d/18697.misc +++ /dev/null @@ -1 +0,0 @@ -Correct spelling of 'Admin token used' log line. diff --git a/changelog.d/18699.misc b/changelog.d/18699.misc deleted file mode 100644 index 52498192ca..0000000000 --- a/changelog.d/18699.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce log spam when client stops downloading media while it is being streamed to them. diff --git a/debian/changelog b/debian/changelog index 49e27aed01..221f10ae3b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.135.0~rc1) stable; urgency=medium + + * New Synapse release 1.135.0rc1. + + -- Synapse Packaging team Tue, 22 Jul 2025 12:08:37 +0100 + matrix-synapse-py3 (1.134.0) stable; urgency=medium * New Synapse release 1.134.0. diff --git a/pyproject.toml b/pyproject.toml index 2440f0d626..11bc7277fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,7 @@ module-name = "synapse.synapse_rust" [tool.poetry] name = "matrix-synapse" -version = "1.134.0" +version = "1.135.0rc1" description = "Homeserver for the Matrix decentralised comms protocol" authors = ["Matrix.org Team and Contributors "] license = "AGPL-3.0-or-later" diff --git a/schema/synapse-config.schema.yaml b/schema/synapse-config.schema.yaml index 72b80253f8..65cc12d17c 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.134/synapse-config.schema.json +$id: https://element-hq.github.io/synapse/schema/synapse/v1.135/synapse-config.schema.json type: object properties: modules: