All Versions
327
Latest Version
Avg Release Cycle
7 days
Latest Release
872 days ago

Changelog History
Page 6

  • v1.44.0.rc2 Changes

    September 30, 2021

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a bug introduced in v1.44.0rc1 which caused the experimental MSC2716 /batch_send endpoint to return a 500 error. (#10938)
    • ๐Ÿ›  Fix a bug introduced in v1.44.0rc1 which prevented sending presence events to application services. (#10944)

    ๐Ÿ‘Œ Improved Documentation

    • โšก๏ธ Minor updates to the installation instructions. (#10919)
  • v1.44.0.rc1 Changes

    September 29, 2021

    ๐Ÿ”‹ Features

    • Only allow the MSC2716 /batch_send?chunk_id=xxx endpoint to connect to an already existing insertion event. (#10776)
    • ๐Ÿ‘Œ Improve oEmbed URL previews by processing the author name, photo, and video information. (#10814, #10819)
    • Speed up responding with large JSON objects to requests. (#10868, #10905)
    • Add a user_may_create_room_with_invites spam checker callback to allow modules to allow or deny a room creation request based on the invites and/or 3PID invites it includes. (#10898)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a long-standing bug that caused an AssertionError when purging history in certain rooms. Contributed by @Kokokokoka. (#10690)
    • ๐Ÿ›  Fix a long-standing bug which caused deactivated users that were later reactivated to be missing from the user directory. (#10782)
    • ๐Ÿ›  Fix a long-standing bug that caused unbanning a user by sending a membership event to fail. Contributed by @aaronraimist. (#10807)
    • ๐Ÿ›  Fix a long-standing bug where logging contexts would go missing when federation requests time out. (#10810)
    • ๐Ÿ›  Fix a long-standing bug causing an error in the deprecated /initialSync endpoint when using the undocumented from and to parameters. (#10827)
    • Fix a bug causing the remove_stale_pushers background job to repeatedly fail and log errors. This bug affected Synapse servers that had been upgraded from version 1.28 or older and are using SQLite. (#10843)
    • ๐Ÿ›  Fix a long-standing bug in Unicode support of the room search admin API breaking search for rooms with non-ASCII characters. (#10859)
    • ๐Ÿ›  Fix a bug introduced in Synapse 1.37.0 which caused knock membership events which we sent to remote servers to be incorrectly stored in the local database. (#10873)
    • ๐Ÿ›  Fix invalidating one-time key count cache after claiming keys. The bug was introduced in Synapse v1.41.0. Contributed by Tulir at Beeper. (#10875)
    • ๐Ÿ›  Fix a long-standing bug causing application service users to be subject to MAU blocking if the MAU limit had been reached, even if configured not to be blocked. (#10881)
    • ๐Ÿ›  Fix a long-standing bug which could cause events pulled over federation to be incorrectly rejected. (#10907)
    • Fix a long-standing bug causing URL cache files to be stored in storage providers. Server admins may safely delete the url_cache/ and url_cache_thumbnails/ directories from any configured storage providers to reclaim space. (#10911)
    • ๐Ÿ›  Fix a long-standing bug leading to race conditions when creating media store and config directories. (#10913)

    ๐Ÿ‘Œ Improved Documentation

    • ๐Ÿ›  Fix some crashes in the Module API example code, by adding JSON encoding/decoding. (#10845)
    • โž• Add developer documentation about experimental configuration flags. (#10865)
    • ๐Ÿ“š Properly remove deleted files from GitHub pages when generating the documentation. (#10869)

    Internal Changes

    • ๐Ÿ›  Fix GitHub Actions config so we can run sytest on synapse from parallel branches. (#10659)
    • Split out MSC2716 meta events to their own fields in the /batch_send response. (#10777)
    • โž• Add missing type hints to REST servlets. (#10785, #10817)
    • Simplify the internal logic which maintains the user directory database tables. (#10796)
    • ๐Ÿ‘‰ Use direct references to config flags. (#10812, #10885, #10893, #10897)
    • Specify the type of token in generic "Invalid token" error messages. (#10815)
    • ๐Ÿ‘‰ Make StateFilter frozen so it is hashable. (#10816)
    • ๐Ÿ›  Fix a long-standing bug where an m.room.message event containing a null byte would cause an internal server error. (#10820)
    • โž• Add type hints to the state database. (#10823)
    • ๐Ÿ‘‰ Opt out of cache expiry for get_users_who_share_room_with_user, to hopefully improve /sync performance when you haven't synced recently. (#10826)
    • Track cache eviction rates more finely in Prometheus's monitoring. (#10829)
    • โž• Add missing type hints to synapse.handlers. (#10831, #10856)
    • Extend the Module API to let plug-ins check whether an ID is local and to access IP + User Agent data. (#10833)
    • โœ… Factor out PNG image data to a constant to be used in several tests. (#10834)
    • โž• Add a test to ensure state events sent by modules get persisted correctly. (#10835)
    • ๐Ÿ“‡ Rename MSC2716 fields and event types from chunk to batch to match the /batch_send endpoint. (#10838)
    • Rename MSC2716 /batch_send query parameter from ?prev_event to more obvious usage with ?prev_event_id. (#10839)
    • โž• Add type hints to synapse.http.site. (#10867)
    • ๐ŸŒฒ Include outlier status when we log V2 or V3 events. (#10879)
    • Break down Grafana's cache expiry time series based on reason for eviction, c.f. #10829. (#10880)
    • Clean up some of the federation event authentication code for clarity. (#10883, #10884, #10896, #10901)
    • ๐Ÿ‘ Allow the . and ~ characters when creating registration tokens as per the change to MSC3231. (#10887)
    • Clean up some unnecessary parentheses in places around the codebase. (#10889)
    • ๐Ÿ‘Œ Improve type hinting in the user directory code. (#10891)
    • โšก๏ธ Update development testing script test_postgresql.sh to use a supported Python version and make re-runs quicker. (#10906)
    • Document and summarize changes in schema version 61 โ€“ 64. (#10917)
    • ๐Ÿš€ Update release script to sign the newly created git tags. (#10925)
    • ๐Ÿ›  Fix Debian builds due to dh-virtualenv no longer being able to build their docs. (#10931)

    Synapse 1.43.0 (2021-09-21)

    ๐Ÿš€ This release drops support for the deprecated, unstable API for MSC2858 (Multiple SSO Identity Providers), 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 for more details.

    No significant changes since 1.43.0rc2.

  • v1.43.0.rc2 Changes

    September 17, 2021

    ๐Ÿ›  Bugfixes

    • โž• Added opentracing logging to help debug #9424. (#10828)
  • v1.43.0.rc1 Changes

    September 14, 2021

    ๐Ÿš€ 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.

  • v1.42.0.rc2 Changes

    September 06, 2021

    ๐Ÿ”‹ Features

    Internal Changes

    • ๐Ÿ—„ Print a warning when using one of the deprecated template_dir settings. (#10768)
  • v1.42.0.rc1 Changes

    September 01, 2021

    ๐Ÿ”‹ Features

    • โž• Add support for MSC3231: Token authenticated registration. Users can be required to submit a token during registration to authenticate themselves. Contributed by Callum Brown. (#10142)
    • Add support for MSC3283: Expose enable_set_displayname in capabilities. (#10452)
    • Port the PresenceRouter module interface to the new generic interface. (#10524)
    • โž• Add pagination to the spaces summary based on updates to MSC2946. (#10613, #10725)

    ๐Ÿ›  Bugfixes

    • Validate new m.room.power_levels events. Contributed by @aaronraimist. (#10232)
    • Display an error on User-Interactive Authentication fallback pages when authentication fails. Contributed by Callum Brown. (#10561)
    • โœ‚ Remove pushers when deleting an e-mail address from an account. Pushers for old unlinked emails will also be deleted. (#10581, #10734)
    • Reject Client-Server /keys/query requests which provide device_ids incorrectly. (#10593)
    • ๐Ÿ”€ Rooms with unsupported room versions are no longer returned via /sync. (#10644)
    • Enforce the maximum length for per-room display names and avatar URLs. (#10654)
    • ๐Ÿ‘‰ Fix a bug which caused the synapse_user_logins_total Prometheus metric not to be correctly initialised on restart. (#10677)
    • ๐Ÿ‘Œ Improve ServerNoticeServlet to avoid duplicate requests and add unit tests. (#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)
    • ๐Ÿ›  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)
    • ๐Ÿ›  Fix a regression introduced in Synapse 1.41 which broke email transmission on Systems using older versions of the Twisted library. (#10713)

    ๐Ÿ‘Œ Improved Documentation

    • โž• Add documentation on how to connect Django with Synapse using OpenID Connect and django-oauth-toolkit. Contributed by @HugoDelval. (#10192)
    • ๐Ÿ“š Advertise https://matrix-org.github.io/synapse documentation in the README and CONTRIBUTING files. (#10595)
    • ๐Ÿ›  Fix some of the titles not rendering in the OpenID Connect documentation. (#10639)
    • ๐Ÿ“š Minor clarifications to the documentation for reverse proxies. (#10708)
    • โœ‚ Remove table of contents from the top of installation and contributing documentation pages. (#10711)

    ๐Ÿ—„ Deprecations and Removals

    • โœ‚ Remove deprecated Shutdown Room and Purge Room Admin API. (#8830)

    Internal Changes

    • ๐Ÿ‘Œ Improve type hints for the proxy agent and SRV resolver modules. Contributed by @dklimpel. (#10608)
    • Clean up some of the federation event authentication code for clarity. (#10614, #10615, #10624, #10640)
    • โž• Add a comment asking developers to leave a reason when bumping the database schema version. (#10621)
    • โœ‚ Remove not needed database updates in modify user admin API. (#10627)
    • Convert room member storage tuples to attrs classes. (#10629, #10642)
    • ๐Ÿ”€ Use auto-attribs for the attrs classes used in sync. (#10630)
    • Make backfill and get_missing_events use the same codepath. (#10645)
    • ๐Ÿ‘Œ Improve the performance of the /hierarchy API (from MSC2946) by caching responses received over federation. (#10647)
    • ๐Ÿ— Run a nightly CI build against Twisted trunk. (#10651, #10672)
    • ๐Ÿ–จ Do not print out stack traces for network errors when fetching data over federation. (#10662)
    • โœ… Simplify tests for device admin rest API. (#10664)
    • โž• Add missing type hints to REST servlets. (#10665, #10666, #10674)
    • ๐Ÿ“ฆ Flatten the tests.synapse.rests package by moving the contents of v1 and v2_alpha into the parent. (#10667)
    • โšก๏ธ Update complement.sh to rebuild the base Docker image when run with workers. (#10686)
    • Split the event-processing methods in FederationHandler into a separate FederationEventHandler. (#10692)
    • โœ‚ Remove unused compare_digest function. (#10706)

    Synapse 1.41.1 (2021-08-31)

    โšก๏ธ Due to the two security issues highlighted below, server administrators are encouraged to update Synapse. We are not aware of these vulnerabilities being exploited in the wild.

    ๐Ÿ”’ Security advisory

    ๐Ÿ›  The following issues are fixed in v1.41.1.

    If an unauthorized user both knows the Room ID of a private room and that room's history visibility is set to shared, then they may be able to enumerate the room's members, including their display names.

    The unauthorized user must be on the same homeserver as a user who is a member of the target room.

    Fixed by 52c7a51cf.

    If an unauthorized user knows the Room ID of a private room, then its name, avatar, topic, and number of members may be disclosed through Group / Community features.

    The unauthorized user must be on the same homeserver as a user who is a member of the target room, and their homeserver must allow non-administrators to create groups (enable_group_creation in the Synapse configuration; off by default).

    Fixed by cb35df940a, #10723.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a regression introduced in Synapse 1.41 which broke email transmission on systems using older versions of the Twisted library. (#10713)

    Synapse 1.41.0 (2021-08-24)

    โœ‚ This release adds support for Debian 12 (Bookworm), but removes support for Ubuntu 20.10 (Groovy Gorilla), which reached End of Life last month.

    โฌ†๏ธ Note that when using workers the /_synapse/admin/v1/users/{userId}/media must now be handled by media workers. See the upgrade notes for more information.

    ๐Ÿ”‹ Features

    • 0๏ธโƒฃ Enable room capabilities (MSC3244) by default and set room version 8 as the preferred room version when creating restricted rooms. (#10571)
  • v1.41.0.rc1 Changes

    August 18, 2021

    ๐Ÿ”‹ Features

    • ๐Ÿ‘‰ Add get_userinfo_by_id method to ModuleApi. (#9581)
    • ๐ŸŽ‰ Initial local support for MSC3266, Room Summary over the unstable /rooms/{roomIdOrAlias}/summary API. (#10394)
    • ๐Ÿ‘ Experimental support for MSC3288, sending room_type to the identity server for 3pid invites over the /store-invite API. (#10435)
    • โž• Add support for sending federation requests through a proxy. Contributed by @Bubu and @dklimpel. See the upgrade notes for more information. (#10596). (#10475)
    • โž• Add support for "marker" events which makes historical events discoverable for servers that already have all of the scrollback history (part of MSC2716). (#10498)
    • โž• Add a configuration setting for the time a /sync response is cached for. (#10513)
    • 0๏ธโƒฃ The default logging handler for new installations is now PeriodicallyFlushingMemoryHandler, a buffered logging handler which periodically flushes itself. (#10518)
    • โž• Add support for new redaction rules for historical events specified in MSC2716. (#10538)
    • โž• Add a setting to disable TLS when sending email. (#10546)
    • โž• Add pagination to the spaces summary based on updates to MSC2946. (#10549, #10560, #10569, #10574, #10575, #10579, #10583)
    • Admin API to delete several media for a specific user. Contributed by @dklimpel. (#10558, #10628)
    • โž• Add support for routing /createRoom to workers. (#10564)
    • โšก๏ธ Update the Synapse Grafana dashboard. (#10570)
    • Add an admin API (GET /_synapse/admin/username_available) to check if a username is available (regardless of registration settings). (#10578)
    • ๐Ÿ‘ Allow editing a user's external_ids via the "Edit User" admin API. Contributed by @dklimpel. (#10598)
    • The Synapse manhole no longer needs coroutines to be wrapped in defer.ensureDeferred. (#10602)
    • โž• Add option to allow modules to run periodic tasks on all instances, rather than just the one configured to run background tasks. (#10638)

    ๐Ÿ›  Bugfixes

    • โž• Add some clarification to the sample config file. Contributed by @Kentokamoto. (#10129)
    • ๐Ÿ›  Fix a long-standing bug where protocols which are not implemented by any appservices were incorrectly returned via GET /_matrix/client/r0/thirdparty/protocols. (#10532)
    • ๐Ÿ›  Fix exceptions in logs when failing to get remote room list. (#10541)
    • ๐Ÿ›  Fix longstanding bug which caused the user's presence "status message" to be reset when the user went offline. Contributed by @dklimpel. (#10550)
    • ๐Ÿ‘ Allow public rooms to be previewed in the spaces summary APIs from MSC2946. (#10580)
    • ๐Ÿ›  Fix a bug introduced in v1.37.1 where an error could occur in the asynchronous processing of PDUs when the queue was empty. (#10592)
    • ๐Ÿ›  Fix errors on /sync when read receipt data is a string. Only affects homeservers with the experimental flag for MSC2285 enabled. Contributed by @SimonBrandner. (#10606)
    • โž• Additional validation for the spaces summary API to avoid errors like ValueError: Stop argument for islice() must be None or an integer. The missing validation has existed since v1.31.0. (#10611)
    • Revert behaviour introduced in v1.38.0 that strips org.matrix.msc2732.device_unused_fallback_key_types from /sync when its value is empty. This field should instead always be present according to MSC2732. (#10623)

    ๐Ÿ‘Œ Improved Documentation

    • โž• Add documentation for configuring a forward proxy. (#10443)
    • ๐Ÿ“š Updated the reverse proxy documentation to highlight the homserver configuration that is needed to make Synapse aware that is is intentionally reverse proxied. (#10551)
    • โšก๏ธ Update CONTRIBUTING.md to fix index links and the instructions for SyTest in docker. (#10599)

    ๐Ÿ—„ Deprecations and Removals

    • ๐Ÿ— No longer build .deb packages for Ubuntu 20.10 Groovy Gorilla, which has now EOLed. (#10588)
    • ๐Ÿ”ง The template_dir configuration settings in the sso, account_validity and email sections of the configuration file are now deprecated in favour of the global templates.custom_template_directory setting. See the upgrade notes for more information. (#10596)

    Internal Changes

    • ๐Ÿ‘Œ Improve event caching mechanism to avoid having multiple copies of an event in memory at a time. (#10119)
    • โฌ‡๏ธ Reduce errors in PostgreSQL logs due to concurrent serialization errors. (#10504)
    • ๐ŸŒฒ Include room ID in ignored EDU log messages. Contributed by @ilmari. (#10507)
    • โž• Add pagination to the spaces summary based on updates to MSC2946. (#10527, #10530)
    • ๐Ÿ›  Fix CI to not break when run against branches rather than pull requests. (#10529)
    • Mark all events stemming from the MSC2716 /batch_send endpoint as historical. (#10537)
    • Clean up some of the federation event authentication code for clarity. (#10539, #10591)
    • Convert Transaction and Edu objects to attrs. (#10542)
    • Update /batch_send endpoint to only return state_events created by the state_events_from_before passed in. (#10552)
    • โšก๏ธ Update contributing.md to warn against rebasing an open PR. (#10563)
    • โœ‚ Remove the unused public rooms replication stream. (#10565)
    • Clarify error message when failing to join a restricted room. (#10572)
    • โœ‚ Remove references to BuildKite in favour of GitHub Actions. (#10573)
    • Move /batch_send endpoint defined by MSC2716 to the /v2_alpha directory. (#10576)
    • ๐Ÿ‘ Allow multiple custom directories in read_templates. (#10587)
    • Re-organize the synapse.federation.transport.server module to create smaller files. (#10590)
    • ๐Ÿ“ฆ Flatten the synapse.rest.client package by moving the contents of v1 and v2_alpha into the parent. (#10600)
    • ๐Ÿ— Build Debian packages for Debian 12 (Bookworm). (#10612)
    • ๐Ÿ›  Fix up a couple of links to the database schema documentation. (#10620)
    • ๐Ÿ›  Fix a broken link to the upgrade notes. (#10631)

    Synapse 1.40.0 (2021-08-10)

    No significant changes.

  • v1.40.0.rc3 Changes

    August 09, 2021

    ๐Ÿ”‹ Features

    ๐Ÿ›  Bugfixes

    • Mark the experimental room version from MSC2716 as unstable. (#10449)

    ๐Ÿ‘Œ Improved Documentation

    • ๐Ÿ›  Fix broken links in upgrade.md. Contributed by @dklimpel. (#10543)
  • v1.40.0.rc2 Changes

    August 04, 2021

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix the PeriodicallyFlushingMemoryHandler inhibiting application shutdown because of its background thread. (#10517)
    • ๐Ÿ›  Fix a bug introduced in Synapse v1.40.0rc1 that could cause Synapse to respond with an error when clients would update read receipts. (#10531)

    Internal Changes

    • ๐Ÿ›  Fix release script to open the correct URL for the release. (#10516)
  • v1.40.0.rc1 Changes

    August 03, 2021

    ๐Ÿ”‹ Features

    ๐Ÿ›  Bugfixes

    • ๐Ÿ‘Œ Improve character set detection in URL previews by supporting underscores (in addition to hyphens). Contributed by @srividyut. (#10410)
    • ๐Ÿ›  Fix events being incorrectly rejected over federation if they reference auth events that the server needed to fetch. (#10439)
    • Fix synapse_federation_server_oldest_inbound_pdu_in_staging Prometheus metric to not report a max age of 51 years when the queue is empty. (#10455)
    • ๐Ÿ›  Fix a bug which caused an explicit assignment of power-level 0 to a user to be misinterpreted in rare circumstances. (#10499)

    ๐Ÿ‘Œ Improved Documentation

    • ๐Ÿ›  Fix hierarchy of providers on the OpenID page. (#10445)
    • ๐Ÿ“š Consolidate development documentation to docs/development/. (#10453)
    • โž• Add some developer docs to explain room DAG concepts like outliers, state_groups, depth, etc. (#10464)
    • Document how to use Complement while developing a new Synapse feature. (#10483)

    Internal Changes

    • Prune inbound federation queues for a room if they get too large. (#10390)
    • โž• Add type hints to synapse.federation.transport.client module. (#10408)
    • โœ‚ Remove shebang line from module files. (#10415)
    • โฌ‡๏ธ Drop backwards-compatibility code that was required to support Ubuntu Xenial. (#10429)
    • ๐Ÿ— Use a docker image cache for the prerequisites for the debian package build. (#10431)
    • ๐Ÿ‘Œ Improve servlet type hints. (#10437, #10438)
    • Replace usage of or_ignore in simple_insert with simple_upsert usage, to stop spamming postgres logs with spurious ERROR messages. (#10442)
    • โšก๏ธ Update the tests-done Github Actions status. (#10444, #10512)
    • ๐Ÿš€ Update type annotations to work with forthcoming Twisted 21.7.0 release. (#10446, #10450)
    • Cancel redundant GHA workflows when a new commit is pushed. (#10451)
    • ๐Ÿ”’ Mitigate media repo XSS attacks on IE11 via the non-standard X-Content-Security-Policy header. (#10468)
    • โž• Additional type hints in the state handler. (#10482)
    • โšก๏ธ Update syntax used to run complement tests. (#10488)
    • ๐Ÿ›  Fix up type annotations to work with Twisted 21.7. (#10490)
    • ๐Ÿ‘Œ Improve type annotations for ObservableDeferred. (#10491)
    • ๐Ÿš€ Extend release script to also tag and create GitHub releases. (#10496)
    • ๐Ÿ›  Fix a bug which caused production debian packages to be incorrectly marked as 'prerelease'. (#10500)

    Synapse 1.39.0 (2021-07-29)

    No significant changes.