Merge branch 'release-v1.161' into develop

This commit is contained in:
Eric Eastwood
2026-09-08 22:22:37 -05:00
35 changed files with 63 additions and 33 deletions
+55
View File
@@ -1,3 +1,58 @@
# Synapse 1.161.0rc1 (2026-09-08)
Please check the [relevant section in the upgrade
notes](https://github.com/element-hq/synapse/blob/develop/docs/upgrade.md#upgrading-to-v11610)
as this release deprecates `matrix_rtc.livekit_service_url`.
## Features
- Don't validate signatures with unknown algorithms for master keys, and allow updates to signatures. ([\#19915](https://github.com/element-hq/synapse/issues/19915))
- [MSC4140: Cancellable delayed events](https://github.com/matrix-org/matrix-spec-proposals/pull/4140): Add an endpoint for getting a single delayed event. ([\#19926](https://github.com/element-hq/synapse/issues/19926))
- Add experimental support for letting application services proxy namespaces in the C-S and S-S API as per MSC4512. ([\#19972](https://github.com/element-hq/synapse/issues/19972))
- Add experimental support for sending federation requests from application services as per MSC4512. ([\#19977](https://github.com/element-hq/synapse/issues/19977))
- Add a config option that limits the time period in which local users can redact their own messages. Contributed by @defaultdino. ([\#20138](https://github.com/element-hq/synapse/issues/20138))
## Bugfixes
- Apply the `rc_reports` rate limit to the [room reporting endpoint](https://spec.matrix.org/v1.19/client-server-api/#post_matrixclientv3roomsroomidreport), which the spec declares as rate-limited. ([\#20036](https://github.com/element-hq/synapse/issues/20036))
- Fix `m.call.invite` state events not being given the proper power level on rooms created with the `public_chat` preset. Contributed by @famedly @itsoyou. ([\#20050](https://github.com/element-hq/synapse/issues/20050))
- Return the `M_INVALID_PARAM` error code specified by Matrix v1.13 ([MSC4178](https://github.com/matrix-org/matrix-spec-proposals/pull/4178)) when a malformed email address or country code is submitted to `/account/3pid/{email,msisdn}/requestToken`, and report an unsupported medium ahead of the denied/in-use checks on the msisdn variant. ([\#20101](https://github.com/element-hq/synapse/issues/20101))
- Fix a regression where `client_secret` request parameters were not validated against the character set required by the spec on Pydantic-validated endpoints, regressed in Synapse 1.66.0 (originally fixed for https://github.com/matrix-org/synapse/issues/6766). ([\#20104](https://github.com/element-hq/synapse/issues/20104))
- Do not send a duplicate `m.room.encryption` event on room creation when the client already supplies one in the initial state and `encryption_enabled_by_default_for_room_type` is enabled. Contributed by @FrenchGithubUser @Famedly. ([\#20106](https://github.com/element-hq/synapse/issues/20106))
- Fix a long-standing bug where private read receipts of users outside an application service's namespaces were sent to application services that opted in to receiving ephemeral events ([MSC2409](https://github.com/matrix-org/matrix-spec-proposals/pull/2409)). ([\#20114](https://github.com/element-hq/synapse/issues/20114))
- Fix a bug where the `event_search` background reindex skipped all `m.room.topic` events, making room topics unsearchable after a search index rebuild. ([\#20119](https://github.com/element-hq/synapse/issues/20119))
- Fixed joining rooms with unrecognized restricted join rules being rejected outright instead of returning the proper `M_UNABLE_TO_AUTHORISE_JOIN` error code. Contributed by @tulir @ Beeper. ([\#20132](https://github.com/element-hq/synapse/issues/20132))
- Fix a bug where, until Synapse was restarted, new events in a room would fail to be persisted if the database went down while an event was being persisted in the room. Bug introduced in v1.124.0. ([\#20148](https://github.com/element-hq/synapse/issues/20148))
- Fix the `/profile` endpoint, when querying custom fields, returning a 500 error instead of 404 when the profile does not exist at all. ([\#20149](https://github.com/element-hq/synapse/issues/20149))
- When not using [MSC3866](https://github.com/matrix-org/matrix-spec-proposals/pull/3866), omit the approval flag from the response of `GET /_synapse/admin/v2/users`. ([\#20152](https://github.com/element-hq/synapse/issues/20152))
- Fix `/sync` returning membership events from after the user's leave in `state_after` for left rooms when lazy-loading room members (experimental [MSC4222](https://github.com/matrix-org/matrix-spec-proposals/pull/4222) implementation). ([\#20169](https://github.com/element-hq/synapse/issues/20169))
- Fix a bug where a server admin setting a custom profile field for a user with no profile received a 500 error; this now succeeds for existing (e.g. deactivated) users and returns a 404 error if the user does not exist. ([\#20172](https://github.com/element-hq/synapse/issues/20172))
- Fix `PUT`/`DELETE` on a profile field returning HTTP 400 instead of 403 (with errcode `M_FORBIDDEN`) when profile changes are disabled via `enable_set_displayname` or `enable_set_avatar_url`. ([\#20173](https://github.com/element-hq/synapse/issues/20173))
- Return the stable `M_APPSERVICE_LOGIN_UNSUPPORTED` error code, added in Matrix 1.17, instead of its unstable MSC4190-prefixed identifier. ([\#20180](https://github.com/element-hq/synapse/issues/20180))
- Fix missing validation of `membership` when making `make_*` requests over federation. Contributed by @tulir @ Beeper. ([\#20189](https://github.com/element-hq/synapse/issues/20189))
## Improved Documentation
- Make `federation_domain_whitelist` nullable in config schema. ([\#20140](https://github.com/element-hq/synapse/issues/20140))
## Deprecations and Removals
- Deprecate `livekit_service_url` and add support for specifying the SFU WebSocket URL for configured LiveKit transports. Please check [the relevant section in the upgrade notes](https://github.com/element-hq/synapse/blob/develop/docs/upgrade.md#upgrading-to-v11610). ([\#20146](https://github.com/element-hq/synapse/issues/20146))
- Drop `GET /_matrix/client/unstable/org.matrix.msc2965/auth_issuer` endpoint which never ended up being used. ([\#20163](https://github.com/element-hq/synapse/issues/20163))
- Remove support for the unstable `org.matrix.msc3202.device_id` query parameter for application service device masquerading. ([\#20192](https://github.com/element-hq/synapse/issues/20192))
## Internal Changes
- Add federation client support for experimental [MSC4242](https://github.com/matrix-org/matrix-spec-proposals/pull/4242): State DAGs. ([\#20127](https://github.com/element-hq/synapse/issues/20127))
- Add storage functions for future [MSC4242](https://github.com/matrix-org/matrix-spec-proposals/pull/4242): State DAG work. ([\#19718](https://github.com/element-hq/synapse/issues/19718))
- Put the `redacts` key under `content` when generating [MSC3912](https://github.com/matrix-org/matrix-spec-proposals/pull/3912) (relation based redactions) for room versions greater than 10. Contributed by @famedly. ([\#19782](https://github.com/element-hq/synapse/issues/19782))
- Declare types that already appear in the module API's public signatures (such as `Requester`, `SynapseRequest` and `UserInfo`) in `synapse.module_api.__all__`. ([\#20107](https://github.com/element-hq/synapse/issues/20107))
- Add missing tests for `parse_stripped_state_event`. Contributed by @guillemo12. ([\#20136](https://github.com/element-hq/synapse/issues/20136))
- [MSC4140: Cancellable delayed events](https://github.com/matrix-org/matrix-spec-proposals/pull/4140): Update the error response for requesting to schedule a delayed event with a delay that exceeds the server-enforced maximum delay. ([\#20156](https://github.com/element-hq/synapse/issues/20156))
# Synapse 1.160.0 (2026-09-02)
No significant changes since 1.160.0rc2.
-1
View File
@@ -1 +0,0 @@
Add storage functions for future [MSC4242](https://github.com/matrix-org/matrix-spec-proposals/pull/4242) work.
-1
View File
@@ -1 +0,0 @@
Put the `redacts` key under `content` when generating [MSC3912](https://github.com/matrix-org/matrix-spec-proposals/pull/3912) (relation based redactions) for room versions greater than 10. Contributed by @famedly.
-1
View File
@@ -1 +0,0 @@
Don't validate signatures with unknown algorithms for master keys, and allow updates to signatures.
-1
View File
@@ -1 +0,0 @@
[MSC4140: Cancellable delayed events](https://github.com/matrix-org/matrix-spec-proposals/pull/4140): Add an endpoint for getting a single delayed event.
-1
View File
@@ -1 +0,0 @@
Add experimental support for letting application services proxy namespaces in the C-S and S-S API as per MSC4512.
-1
View File
@@ -1 +0,0 @@
Add experimental support for sending federation requests from app services as per MSC4512.
-1
View File
@@ -1 +0,0 @@
Apply the `rc_reports` rate limit to the [room reporting endpoint](https://spec.matrix.org/v1.19/client-server-api/#post_matrixclientv3roomsroomidreport), which the spec declares as rate-limited.
-1
View File
@@ -1 +0,0 @@
Fix `m.call.invite` state events not being given the proper power level on rooms created with the `public_chat` preset. Contributed by @famedly @itsoyou.
-1
View File
@@ -1 +0,0 @@
Return the `M_INVALID_PARAM` error code specified by Matrix v1.13 ([MSC4178](https://github.com/matrix-org/matrix-spec-proposals/pull/4178)) when a malformed email address or country code is submitted to `/account/3pid/{email,msisdn}/requestToken`, and report an unsupported medium ahead of the denied/in-use checks on the msisdn variant.
-1
View File
@@ -1 +0,0 @@
Fix a regression where `client_secret` request parameters were not validated against the character set required by the spec on Pydantic-validated endpoints, regressed in Synapse 1.66.0 (originally fixed for https://github.com/matrix-org/synapse/issues/6766).
-1
View File
@@ -1 +0,0 @@
Do not send a duplicate `m.room.encryption` event on room creation when the client already supplies one in the initial state and `encryption_enabled_by_default_for_room_type` is enabled. Contributed by @FrenchGithubUser @Famedly.
-1
View File
@@ -1 +0,0 @@
Declare types that already appear in the module API's public signatures (such as `Requester`, `SynapseRequest` and `UserInfo`) in `synapse.module_api.__all__`.
-1
View File
@@ -1 +0,0 @@
Fix a long-standing bug where private read receipts of users outside an application service's namespaces were sent to application services that opted in to receiving ephemeral events ([MSC2409](https://github.com/matrix-org/matrix-spec-proposals/pull/2409)).
-1
View File
@@ -1 +0,0 @@
Fix a bug where the `event_search` background reindex skipped all `m.room.topic` events, making room topics unsearchable after a search index rebuild.
-1
View File
@@ -1 +0,0 @@
Add experimental federation client support for [MSC4242](https://github.com/matrix-org/matrix-spec-proposals/pull/4242): State DAGs.
-1
View File
@@ -1 +0,0 @@
Fixed joining rooms with unrecognized restricted join rules being rejected outright instead of returning the proper `M_UNABLE_TO_AUTHORISE_JOIN` error code. Contributed by @tulir @ Beeper.
-1
View File
@@ -1 +0,0 @@
Add missing tests for parse_stripped_state_event. Contributed by @guillemo12.
-1
View File
@@ -1 +0,0 @@
Add a config option that limits the time period in which local users can redact their own messages. Contributed by @defaultdino.
-1
View File
@@ -1 +0,0 @@
Make `federation_domain_whitelist` nullable in config schema.
-1
View File
@@ -1 +0,0 @@
Deprecate `livekit_service_url` and add support for specifying the SFU WebSocket URL for configured LiveKit transports. Please check [the relevant section in the upgrade notes](https://github.com/element-hq/synapse/blob/develop/docs/upgrade.md#upgrading-to-v11600).
-1
View File
@@ -1 +0,0 @@
Fix a bug where, until Synapse was restarted, new events in a room would fail to be persisted if the database went down while an event was being persisted in the room. Bug introduced in v1.124.0.
-1
View File
@@ -1 +0,0 @@
Fix the `/profile` endpoint, when querying custom fields, returning a 500 error instead of 404 when the profile does not exist at all.
-1
View File
@@ -1 +0,0 @@
When not using MSC3866, omit the approval flag from the response of `GET /_synapse/admin/v2/users`.
-1
View File
@@ -1 +0,0 @@
[MSC4140: Cancellable delayed events](https://github.com/matrix-org/matrix-spec-proposals/pull/4140): Update the error response for requesting to schedule a delayed event with a delay that exceeds the server-enforced maximum delay.
-1
View File
@@ -1 +0,0 @@
Drop `GET /_matrix/client/unstable/org.matrix.msc2965/auth_issuer` endpoint which never ended up being used.
-1
View File
@@ -1 +0,0 @@
Fix `/sync` returning membership events from after the user's leave in `state_after` for left rooms when lazy-loading room members (experimental [MSC4222](https://github.com/matrix-org/matrix-spec-proposals/pull/4222) implementation).
-1
View File
@@ -1 +0,0 @@
Fix a bug where a server admin setting a custom profile field for a user with no profile received a 500 error; this now succeeds for existing (e.g. deactivated) users and returns a 404 error if the user does not exist.
-1
View File
@@ -1 +0,0 @@
Fix `PUT`/`DELETE` on a profile field returning HTTP 400 instead of 403 (with errcode `M_FORBIDDEN`) when profile changes are disabled via `enable_set_displayname` or `enable_set_avatar_url`.
-1
View File
@@ -1 +0,0 @@
Return the stable `M_APPSERVICE_LOGIN_UNSUPPORTED` error code, added in Matrix 1.17, instead of its unstable MSC4190-prefixed identifier.
-1
View File
@@ -1 +0,0 @@
Fix missing validation of `membership` when making `make_*` requests over federation. Contributed by @tulir @ Beeper.
-1
View File
@@ -1 +0,0 @@
Remove support for the unstable `org.matrix.msc3202.device_id` query parameter for application service device masquerading.
+6
View File
@@ -1,3 +1,9 @@
matrix-synapse-py3 (1.161.0~rc1) stable; urgency=medium
* New synapse release 1.161.0rc1.
-- Synapse Packaging team <packages@matrix.org> Tue, 08 Sep 2026 20:34:41 +0000
matrix-synapse-py3 (1.160.0) stable; urgency=medium
* New synapse release 1.160.0.
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "matrix-synapse"
version = "1.160.0"
version = "1.161.0rc1"
description = "Homeserver for the Matrix decentralised comms protocol"
readme = "README.rst"
authors = [
+1 -1
View File
@@ -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.160/synapse-config.schema.json
$id: https://element-hq.github.io/synapse/schema/synapse/v1.161/synapse-config.schema.json
type: object
properties:
modules: