Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update chat/matrix-synapse to 1.43.0
Synapse 1.43.0 (2021-09-21) =========================== This release drops support for the deprecated, unstable API for [MSC2858 (Multiple SSO Identity Providers)](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), as well as the undocumented `experimental.msc2858_enabled` config option. Client authors should update their clients to use the stable API, available since Synapse 1.30. The documentation has been updated with configuration for routing `/spaces`, `/hierarchy` and `/summary` to workers. See [the upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.43/docs/upgrade.md#upgrading-to-v1430) for more details. No significant changes since 1.43.0rc2. Synapse 1.43.0rc2 (2021-09-17) ============================== Bugfixes -------- - Added opentracing logging to help debug [\#9424](matrix-org/synapse#9424). ([\#10828](matrix-org/synapse#10828)) Synapse 1.43.0rc1 (2021-09-14) ============================== Features -------- - Allow room creators to send historical events specified by [MSC2716](matrix-org/matrix-spec-proposals#2716) in existing room versions. ([\#10566](matrix-org/synapse#10566)) - Add config option to use non-default manhole password and keys. ([\#10643](matrix-org/synapse#10643)) - Skip final GC at shutdown to improve restart performance. ([\#10712](matrix-org/synapse#10712)) - Allow configuration of the oEmbed URLs used for URL previews. ([\#10714](matrix-org/synapse#10714), [\#10759](matrix-org/synapse#10759)) - Prefer [room version 9](matrix-org/matrix-spec-proposals#3375) for restricted rooms per the [room version capabilities](matrix-org/matrix-spec-proposals#3244) API. ([\#10772](matrix-org/synapse#10772)) Bugfixes -------- - Fix a long-standing bug where room avatars were not included in email notifications. ([\#10658](matrix-org/synapse#10658)) - Fix a bug where the ordering algorithm was skipping the `origin_server_ts` step in the spaces summary resulting in unstable room orderings. ([\#10730](matrix-org/synapse#10730)) - Fix edge case when persisting events into a room where there are multiple events we previously hadn't calculated auth chains for (and hadn't marked as needing to be calculated). ([\#10743](matrix-org/synapse#10743)) - Fix a bug which prevented calls to `/createRoom` that included the `room_alias_name` parameter from being handled by worker processes. ([\#10757](matrix-org/synapse#10757)) - Fix a bug which prevented user registration via SSO to require consent tracking for SSO mapping providers that don't prompt for Matrix ID selection. Contributed by @AndrewFerr. ([\#10733](matrix-org/synapse#10733)) - Only return the stripped state events for the `m.space.child` events in a room for the spaces summary from [MSC2946](matrix-org/matrix-spec-proposals#2946). ([\#10760](matrix-org/synapse#10760)) - Properly handle room upgrades of spaces. ([\#10774](matrix-org/synapse#10774)) - Fix a bug which generated invalid homeserver config when the `frontend_proxy` worker type was passed to the Synapse Worker-based Complement image. ([\#10783](matrix-org/synapse#10783)) Improved Documentation ---------------------- - Minor fix to the `media_repository` developer documentation. Contributed by @cuttingedge1109. ([\#10556](matrix-org/synapse#10556)) - Update the documentation to note that the `/spaces` and `/hierarchy` endpoints can be routed to workers. ([\#10648](matrix-org/synapse#10648)) - Clarify admin API documentation on undoing room deletions. ([\#10735](matrix-org/synapse#10735)) - Split up the modules documentation and add examples for module developers. ([\#10758](matrix-org/synapse#10758)) - Correct 2 typographical errors in the [Log Contexts documentation](https://matrix-org.github.io/synapse/latest/log_contexts.html). ([\#10795](matrix-org/synapse#10795)) - Fix a wording mistake in the sample configuration. Contributed by @BramvdnHeuvel:nltrix.net. ([\#10804](matrix-org/synapse#10804)) Deprecations and Removals ------------------------- - Remove the [unstable MSC2858 API](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), including the undocumented `experimental.msc2858_enabled` config option. The unstable API has been deprecated since Synapse 1.35. Client authors should update their clients to use the stable API introduced in Synapse 1.30 if they have not already done so. ([\#10693](matrix-org/synapse#10693)) Internal Changes ---------------- - Add OpenTracing logging to help debug stuck messages (as described by issue [#9424](matrix-org/synapse#9424)). ([\#10704](matrix-org/synapse#10704)) - Add type annotations to the `synapse.util` package. ([\#10601](matrix-org/synapse#10601)) - Ensure `rooms.creator` field is always populated for easy lookup in [MSC2716](matrix-org/matrix-spec-proposals#2716) usage later. ([\#10697](matrix-org/synapse#10697)) - Add missing type hints to REST servlets. ([\#10707](matrix-org/synapse#10707), [\#10728](matrix-org/synapse#10728), [\#10736](matrix-org/synapse#10736)) - Do not include rooms with unknown room versions in the spaces summary results. ([\#10727](matrix-org/synapse#10727)) - Additional error checking for the `preset` field when creating a room. ([\#10738](matrix-org/synapse#10738)) - Clean up some of the federation event authentication code for clarity. ([\#10744](matrix-org/synapse#10744), [\#10745](matrix-org/synapse#10745), [\#10746](matrix-org/synapse#10746), [\#10771](matrix-org/synapse#10771), [\#10773](matrix-org/synapse#10773), [\#10781](matrix-org/synapse#10781)) - Add an index to `presence_stream` to hopefully speed up startups a little. ([\#10748](matrix-org/synapse#10748)) - Refactor event size checking code to simplify searching the codebase for the origins of certain error strings that are occasionally emitted. ([\#10750](matrix-org/synapse#10750)) - Move tests relating to rooms having encryption out of the user directory tests. ([\#10752](matrix-org/synapse#10752)) - Use `attrs` internally for the URL preview code & update documentation. ([\#10753](matrix-org/synapse#10753)) - Minor speed ups when joining large rooms over federation. ([\#10754](matrix-org/synapse#10754), [\#10755](matrix-org/synapse#10755), [\#10756](matrix-org/synapse#10756), [\#10780](matrix-org/synapse#10780), [\#10784](matrix-org/synapse#10784)) - Add a constant for `m.federate`. ([\#10775](matrix-org/synapse#10775)) - Add a script to update the Debian changelog in a Docker container for systems that are not Debian-based. ([\#10778](matrix-org/synapse#10778)) - Change the format of authenticated users in logs when a user is being puppeted by and admin user. ([\#10779](matrix-org/synapse#10779)) - Remove fixed and flakey tests from the Sytest blacklist. ([\#10788](matrix-org/synapse#10788)) - Improve internal details of the user directory code. ([\#10789](matrix-org/synapse#10789)) - Use direct references to config flags. ([\#10798](matrix-org/synapse#10798)) - Ensure the Rust reporter passes type checking with jaeger-client 4.7's type annotations. ([\#10799](matrix-org/synapse#10799)) Synapse 1.42.0 (2021-09-07) =========================== This version of Synapse removes deprecated room-management admin APIs, removes out-of-date email pushers, and improves error handling for fallback templates for user-interactive authentication. For more information on these points, server administrators are encouraged to read [the upgrade notes](docs/upgrade.md#upgrading-to-v1420). No significant changes since 1.42.0rc2. Synapse 1.42.0rc2 (2021-09-06) ============================== Features -------- - Support room version 9 from [MSC3375](matrix-org/matrix-spec-proposals#3375). ([\#10747](matrix-org/synapse#10747)) Internal Changes ---------------- - Print a warning when using one of the deprecated `template_dir` settings. ([\#10768](matrix-org/synapse#10768)) Synapse 1.42.0rc1 (2021-09-01) ============================== Features -------- - Add support for [MSC3231](matrix-org/matrix-spec-proposals#3231): Token authenticated registration. Users can be required to submit a token during registration to authenticate themselves. Contributed by Callum Brown. ([\#10142](matrix-org/synapse#10142)) - Add support for [MSC3283](matrix-org/matrix-spec-proposals#3283): Expose `enable_set_displayname` in capabilities. ([\#10452](matrix-org/synapse#10452)) - Port the `PresenceRouter` module interface to the new generic interface. ([\#10524](matrix-org/synapse#10524)) - Add pagination to the spaces summary based on updates to [MSC2946](matrix-org/matrix-spec-proposals#2946). ([\#10613](matrix-org/synapse#10613), [\#10725](matrix-org/synapse#10725)) Bugfixes -------- - Validate new `m.room.power_levels` events. Contributed by @aaronraimist. ([\#10232](matrix-org/synapse#10232)) - Display an error on User-Interactive Authentication fallback pages when authentication fails. Contributed by Callum Brown. ([\#10561](matrix-org/synapse#10561)) - Remove pushers when deleting an e-mail address from an account. Pushers for old unlinked emails will also be deleted. ([\#10581](matrix-org/synapse#10581), [\#10734](matrix-org/synapse#10734)) - Reject Client-Server `/keys/query` requests which provide `device_ids` incorrectly. ([\#10593](matrix-org/synapse#10593)) - Rooms with unsupported room versions are no longer returned via `/sync`. ([\#10644](matrix-org/synapse#10644)) - Enforce the maximum length for per-room display names and avatar URLs. ([\#10654](matrix-org/synapse#10654)) - Fix a bug which caused the `synapse_user_logins_total` Prometheus metric not to be correctly initialised on restart. ([\#10677](matrix-org/synapse#10677)) - Improve `ServerNoticeServlet` to avoid duplicate requests and add unit tests. ([\#10679](matrix-org/synapse#10679)) - Fix long-standing issue which caused an error when a thumbnail is requested and there are multiple thumbnails with the same quality rating. ([\#10684](matrix-org/synapse#10684)) - Fix a regression introduced in v1.41.0 which affected the performance of concurrent fetches of large sets of events, in extreme cases causing the process to hang. ([\#10703](matrix-org/synapse#10703)) - Fix a regression introduced in Synapse 1.41 which broke email transmission on Systems using older versions of the Twisted library. ([\#10713](matrix-org/synapse#10713)) Improved Documentation ---------------------- - Add documentation on how to connect Django with Synapse using OpenID Connect and django-oauth-toolkit. Contributed by @HugoDelval. ([\#10192](matrix-org/synapse#10192)) - Advertise https://matrix-org.github.io/synapse documentation in the `README` and `CONTRIBUTING` files. ([\#10595](matrix-org/synapse#10595)) - Fix some of the titles not rendering in the OpenID Connect documentation. ([\#10639](matrix-org/synapse#10639)) - Minor clarifications to the documentation for reverse proxies. ([\#10708](matrix-org/synapse#10708)) - Remove table of contents from the top of installation and contributing documentation pages. ([\#10711](matrix-org/synapse#10711)) Deprecations and Removals ------------------------- - Remove deprecated Shutdown Room and Purge Room Admin API. ([\#8830](matrix-org/synapse#8830)) Internal Changes ---------------- - Improve type hints for the proxy agent and SRV resolver modules. Contributed by @dklimpel. ([\#10608](matrix-org/synapse#10608)) - Clean up some of the federation event authentication code for clarity. ([\#10614](matrix-org/synapse#10614), [\#10615](matrix-org/synapse#10615), [\#10624](matrix-org/synapse#10624), [\#10640](matrix-org/synapse#10640)) - Add a comment asking developers to leave a reason when bumping the database schema version. ([\#10621](matrix-org/synapse#10621)) - Remove not needed database updates in modify user admin API. ([\#10627](matrix-org/synapse#10627)) - Convert room member storage tuples to `attrs` classes. ([\#10629](matrix-org/synapse#10629), [\#10642](matrix-org/synapse#10642)) - Use auto-attribs for the attrs classes used in sync. ([\#10630](matrix-org/synapse#10630)) - Make `backfill` and `get_missing_events` use the same codepath. ([\#10645](matrix-org/synapse#10645)) - Improve the performance of the `/hierarchy` API (from [MSC2946](matrix-org/matrix-spec-proposals#2946)) by caching responses received over federation. ([\#10647](matrix-org/synapse#10647)) - Run a nightly CI build against Twisted trunk. ([\#10651](matrix-org/synapse#10651), [\#10672](matrix-org/synapse#10672)) - Do not print out stack traces for network errors when fetching data over federation. ([\#10662](matrix-org/synapse#10662)) - Simplify tests for device admin rest API. ([\#10664](matrix-org/synapse#10664)) - Add missing type hints to REST servlets. ([\#10665](matrix-org/synapse#10665), [\#10666](matrix-org/synapse#10666), [\#10674](matrix-org/synapse#10674)) - Flatten the `tests.synapse.rests` package by moving the contents of `v1` and `v2_alpha` into the parent. ([\#10667](matrix-org/synapse#10667)) - Update `complement.sh` to rebuild the base Docker image when run with workers. ([\#10686](matrix-org/synapse#10686)) - Split the event-processing methods in `FederationHandler` into a separate `FederationEventHandler`. ([\#10692](matrix-org/synapse#10692)) - Remove unused `compare_digest` function. ([\#10706](matrix-org/synapse#10706))
- Loading branch information