Synapse v1.43.0.rc1 Release Notes

Release Date: 2021-09-14 // over 2 years ago
  • ๐Ÿš€ This release drops support for the deprecated, unstable API for MSC2858, 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.

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ Allow room creators to send historical events specified by MSC2716 in existing room versions. (#10566)
    • โž• Add config option to use non-default manhole password and keys. (#10643)
    • ๐ŸŽ Skip final GC at shutdown to improve restart performance. (#10712)
    • ๐Ÿ‘ Allow configuration of the oEmbed URLs used for URL previews. (#10714, #10759)
    • Prefer room version 9 for restricted rooms per the room version capabilities API. (#10772)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a long-standing bug where room avatars were not included in email notifications. (#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)
    • ๐Ÿ›  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)
    • Fix a bug which prevented calls to /createRoom that included the room_alias_name parameter from being handled by worker processes. (#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)
    • Only return the stripped state events for the m.space.child events in a room for the spaces summary from MSC2946. (#10760)
    • โฌ†๏ธ Properly handle room upgrades of spaces. (#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)

    ๐Ÿ‘Œ Improved Documentation

    • ๐Ÿ“š Minor fix to the media_repository developer documentation. Contributed by @cuttingedge1109. (#10556)
    • ๐Ÿ“š Update the documentation to note that the /spaces and /hierarchy endpoints can be routed to workers. (#10648)
    • ๐Ÿ“š Clarify admin API documentation on undoing room deletions. (#10735)
    • ๐Ÿ“š Split up the modules documentation and add examples for module developers. (#10758)
    • ๐Ÿ“š Correct 2 typographical errors in the Log Contexts documentation. (#10795)
    • ๐Ÿ›  Fix a wording mistake in the sample configuration. Contributed by @bramvdnheuvel:nltrix.net. (#10804)

    ๐Ÿ—„ Deprecations and Removals

    • โœ‚ Remove the unstable MSC2858 API, 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)

    Internal Changes

    • โž• Add OpenTracing logging to help debug stuck messages (as described by issue #9424). (#10704)
    • โž• Add type annotations to the synapse.util package. (#10601)
    • Ensure rooms.creator field is always populated for easy lookup in MSC2716 usage later. (#10697)
    • โž• Add missing type hints to REST servlets. (#10707, #10728, #10736)
    • Do not include rooms with unknown room versions in the spaces summary results. (#10727)
    • โž• Additional error checking for the preset field when creating a room. (#10738)
    • Clean up some of the federation event authentication code for clarity. (#10744, #10745, #10746, #10771, #10773, #10781)
    • โž• Add an index to presence_stream to hopefully speed up startups a little. (#10748)
    • ๐Ÿ”จ Refactor event size checking code to simplify searching the codebase for the origins of certain error strings that are occasionally emitted. (#10750)
    • ๐Ÿšš Move tests relating to rooms having encryption out of the user directory tests. (#10752)
    • ๐Ÿ“š Use attrs internally for the URL preview code & update documentation. (#10753)
    • Minor speed ups when joining large rooms over federation. (#10754, #10755, #10756, #10780, #10784)
    • โž• Add a constant for m.federate. (#10775)
    • โž• Add a script to update the Debian changelog in a Docker container for systems that are not Debian-based. (#10778)
    • ๐Ÿ”„ Change the format of authenticated users in logs when a user is being puppeted by and admin user. (#10779)
    • โœ‚ Remove fixed and flakey tests from the Sytest blacklist. (#10788)
    • ๐Ÿ‘Œ Improve internal details of the user directory code. (#10789)
    • ๐Ÿ‘‰ Use direct references to config flags. (#10798)
    • Ensure the Rust reporter passes type checking with jaeger-client 4.7's type annotations. (#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.