Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit ca3d19b

Browse files
author
David Robertson
committed
Merge tag 'v1.66.0rc1' into develop
Synapse 1.66.0rc1 (2022-08-23) ============================== This release removes the ability for homeservers to delegate email ownership verification and password reset confirmation to identity servers. This removal was originally planned for Synapse 1.64, but was later deferred until now. See the [upgrade notes](https://matrix-org.github.io/synapse/v1.66/upgrade.html#upgrading-to-v1660) for more details. Features -------- - Improve validation of request bodies for the following client-server API endpoints: [`/account/password`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3accountpassword), [`/account/password/email/requestToken`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3accountpasswordemailrequesttoken), [`/account/deactivate`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3accountdeactivate) and [`/account/3pid/email/requestToken`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3account3pidemailrequesttoken). ([\#13188](#13188), [\#13563](#13563)) - Add forgotten status to [Room Details Admin API](https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#room-details-api). ([\#13503](#13503)) - Add an experimental implementation for [MSC3852 (Expose user agents on `Device`)](matrix-org/matrix-spec-proposals#3852). ([\#13549](#13549)) - Add `org.matrix.msc2716v4` experimental room version with updated content fields. Part of [MSC2716 (Importing history)](matrix-org/matrix-spec-proposals#2716). ([\#13551](#13551)) - Add support for compression to federation responses. ([\#13537](#13537)) - Improve performance of sending messages in rooms with thousands of local users. ([\#13522](#13522), [\#13547](#13547)) Bugfixes -------- - Faster room joins: make `/joined_members` block whilst the room is partial stated. ([\#13514](#13514)) - Fix a bug introduced in Synapse 1.21.0 where the [`/event_reports` Admin API](https://matrix-org.github.io/synapse/develop/admin_api/event_reports.html) could return a total count which was larger than the number of results you can actually query for. ([\#13525](#13525)) - Fix a bug introduced in Synapse 1.52.0 where sending server notices fails if `max_avatar_size` or `allowed_avatar_mimetypes` is set and not `system_mxid_avatar_url`. ([\#13566](#13566)) - Fix a bug where the `opentracing.force_tracing_for_users` config option would not apply to [`/sendToDevice`](https://spec.matrix.org/v1.3/client-server-api/#put_matrixclientv3sendtodeviceeventtypetxnid) and [`/keys/upload`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3keysupload) requests. ([\#13574](#13574)) Improved Documentation ---------------------- - Add `openssl` example for generating registration HMAC digest. ([\#13472](#13472)) - Tidy up Synapse's README. ([\#13491](#13491)) - Document that event purging related to the `redaction_retention_period` config option is executed only every 5 minutes. ([\#13492](#13492)) - Add a warning to retention documentation regarding the possibility of database corruption. ([\#13497](#13497)) - Document that the `DOCKER_BUILDKIT=1` flag is needed to build the docker image. ([\#13515](#13515)) - Add missing links in `user_consent` section of configuration manual. ([\#13536](#13536)) - Fix the doc and some warnings that were referring to the nonexistent `custom_templates_directory` setting (instead of `custom_template_directory`). ([\#13538](#13538)) Deprecations and Removals ------------------------- - Remove the ability for homeservers to delegate email ownership verification and password reset confirmation to identity servers. See [upgrade notes](https://matrix-org.github.io/synapse/v1.66/upgrade.html#upgrading-to-v1660) for more details. Internal Changes ---------------- - Update the rejected state of events during de-partial-stating. ([\#13459](#13459)) - Avoid blocking lazy-loading `/sync`s during partial joins due to remote memberships. Pull remote memberships from auth events instead of the room state. ([\#13477](#13477)) - Refuse to start when faster joins is enabled on a deployment with workers, since worker configurations are not currently supported. ([\#13531](#13531)) - Allow use of both `@trace` and `@tag_args` stacked on the same function. ([\#13453](#13453)) - Instrument the federation/backfill part of `/messages` for understandable traces in Jaeger. ([\#13489](#13489)) - Instrument `FederationStateIdsServlet` (`/state_ids`) for understandable traces in Jaeger. ([\#13499](#13499), [\#13554](#13554)) - Track HTTP response times over 10 seconds from `/messages` (`synapse_room_message_list_rest_servlet_response_time_seconds`). ([\#13533](#13533)) - Add metrics to track how the rate limiter is affecting requests (sleep/reject). ([\#13534](#13534), [\#13541](#13541)) - Add metrics to time how long it takes us to do backfill processing (`synapse_federation_backfill_processing_before_time_seconds`, `synapse_federation_backfill_processing_after_time_seconds`). ([\#13535](#13535), [\#13584](#13584)) - Add metrics to track rate limiter queue timing (`synapse_rate_limit_queue_wait_time_seconds`). ([\#13544](#13544)) - Update metrics to track `/messages` response time by room size. ([\#13545](#13545)) - Refactor methods in `synapse.api.auth.Auth` to use `Requester` objects everywhere instead of user IDs. ([\#13024](#13024)) - Clean-up tests for notifications. ([\#13471](#13471)) - Add some miscellaneous comments to document sync, especially around `compute_state_delta`. ([\#13474](#13474)) - Use literals in place of `HTTPStatus` constants in tests. ([\#13479](#13479), [\#13488](#13488)) - Add comments about how event push actions are rotated. ([\#13485](#13485)) - Modify HTML template content to better support mobile devices' screen sizes. ([\#13493](#13493)) - Add a linter script which will reject non-strict types in Pydantic models. ([\#13502](#13502)) - Reduce the number of tests using legacy TCP replication. ([\#13543](#13543)) - Allow specifying additional request fields when using the `HomeServerTestCase.login` helper method. ([\#13549](#13549)) - Make `HomeServerTestCase` load any configured homeserver modules automatically. ([\#13558](#13558))
2 parents aec87a0 + ea85a2b commit ca3d19b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+185
-291
lines changed

CHANGES.md

Lines changed: 81 additions & 0 deletions

changelog.d/13024.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13188.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13453.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13459.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13471.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13472.doc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13474.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13477.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13479.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13485.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13488.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13489.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13491.doc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13492.doc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13493.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13497.doc

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog.d/13499.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13502.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13503.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13514.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13515.doc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13522.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13525.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13531.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13533.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13534.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13535.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13536.doc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13537.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13538.doc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13541.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13543.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13544.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13545.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13547.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13549.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13549.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13551.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13554.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13558.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13563.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13566.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13574.bugfix

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/13584.misc

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
matrix-synapse-py3 (1.66.0~rc1) stable; urgency=medium
2+
3+
* New Synapse release 1.66.0rc1.
4+
5+
-- Synapse Packaging team <[email protected]> Tue, 23 Aug 2022 09:48:55 +0100
6+
17
matrix-synapse-py3 (1.65.0) stable; urgency=medium
28

39
* New Synapse release 1.65.0.

docs/admin_api/rooms.md

Lines changed: 2 additions & 0 deletions

docs/upgrade.md

Lines changed: 19 additions & 0 deletions

docs/usage/configuration/config_documentation.md

Lines changed: 4 additions & 1 deletion

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ skip_gitignore = true
5454

5555
[tool.poetry]
5656
name = "matrix-synapse"
57-
version = "1.65.0"
57+
version = "1.66.0rc1"
5858
description = "Homeserver for the Matrix decentralised comms protocol"
5959
authors = ["Matrix.org Team and Contributors <[email protected]>"]
6060
license = "Apache-2.0"

synapse/app/homeserver.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
register_start,
4545
)
4646
from synapse.config._base import ConfigError, format_config_error
47-
from synapse.config.emailconfig import ThreepidBehaviour
4847
from synapse.config.homeserver import HomeServerConfig
4948
from synapse.config.server import ListenerConfig
5049
from synapse.federation.transport.server import TransportLayerServer
@@ -202,7 +201,7 @@ def _configure_named_resource(
202201
}
203202
)
204203

205-
if self.config.email.threepid_behaviour_email == ThreepidBehaviour.LOCAL:
204+
if self.config.email.can_verify_email:
206205
from synapse.rest.synapse.client.password_reset import (
207206
PasswordResetSubmitTokenResource,
208207
)

0 commit comments

Comments
 (0)