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

Changelog History
Page 7

  • v1.39.0.rc3 Changes

    July 28, 2021

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a bug introduced in Synapse 1.38 which caused an exception at startup when SAML authentication was enabled. (#10477)
    • ๐Ÿ›  Fix a long-standing bug where Synapse would not inform clients that a device had exhausted its one-time-key pool, potentially causing problems decrypting events. (#10485)
    • ๐Ÿ›  Fix reporting old R30 stats as R30v2 stats. Introduced in v1.39.0rc1. (#10486)

    Internal Changes

    • ๐Ÿ›  Fix an error which prevented the Github Actions workflow to build the docker images from running. (#10461)
    • ๐Ÿ›  Fix release script to correctly version debian changelog when doing RCs. (#10465)
  • v1.39.0.rc2 Changes

    July 22, 2021

    ๐Ÿš€ This release also includes the changes in v1.38.1.

    Internal Changes

    • ๐Ÿ— Move docker image build to Github Actions. (#10416)

    Synapse 1.38.1 (2021-07-22)

    ๐Ÿ›  Bugfixes

    • Always include device_one_time_keys_count key in /sync response to work around a bug in Element Android that broke encryption for new devices. (#10457)
  • v1.39.0.rc1 Changes

    July 20, 2021

    โฌ†๏ธ The Third-Party Event Rules module interface has been deprecated in favour of the generic module interface introduced in Synapse v1.37.0. Support for the old interface is planned to be removed in September 2021. See the upgrade notes for more information.

    ๐Ÿ”‹ Features

    • โž• Add the ability to override the account validity feature with a module. (#9884)
    • The spaces summary API now returns any joinable rooms, not only rooms which are world-readable. (#10298, #10305)
    • โž• Add a new version of the R30 phone-home metric, which removes a false impression of retention given by the old R30 metric. (#10332, #10427)
    • ๐Ÿ‘ Allow providing credentials to http_proxy. (#10360)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix error while dropping locks on shutdown. Introduced in v1.38.0. (#10433)
    • โž• Add base starting insertion event when no chunk ID is specified in the historical batch send API. (#10250)
    • ๐Ÿ›  Fix historical batch send endpoint (MSC2716) rejecting batches with messages from multiple senders. (#10276)
    • ๐Ÿ›  Fix purging rooms that other homeservers are still sending events for. Contributed by @ilmari. (#10317)
    • ๐Ÿ›  Fix errors during backfill caused by previously purged redaction events. Contributed by Andreas Rammhold (@andir). (#10343)
    • ๐Ÿ›  Fix the user directory becoming broken (and noisy errors being logged) when knocking and room statistics are in use. (#10344)
    • Fix newly added synapse_federation_server_oldest_inbound_pdu_in_staging prometheus metric to measure age rather than timestamp. (#10355)
    • Fix PostgreSQL sometimes using table scans for queries against state_groups_state table, taking a long time and a large amount of IO. (#10359)
    • Fix make_room_admin failing for users that have left a private room. (#10367)
    • ๐Ÿ›  Fix a number of logged errors caused by remote servers being down. (#10400, #10414)
    • Responses from /make_{join,leave,knock} no longer include signatures, which will turn out to be invalid after events are returned to /send_{join,leave,knock}. (#10404)

    ๐Ÿ‘Œ Improved Documentation

    • โšก๏ธ Updated installation dependencies for newer macOS versions and ARM Macs. Contributed by Luke Walsh. (#9971)
    • Simplify structure of room admin API. (#10313)
    • ๐Ÿ“š Refresh the logcontext dev documentation. (#10353), (#10337)
    • โž• Add delegation example for caddy in the reverse proxy documentation. Contributed by @moritzdietz. (#10368)
    • ๐Ÿ›  Fix and clarify some links in docs and contrib. (#10370), (#10322), (#10399)
    • ๐Ÿ—„ Make deprecation notice of the spam checker doc more obvious. (#10395)
    • โž• Add instructions on installing Debian packages for release candidates. (#10396)

    ๐Ÿ—„ Deprecations and Removals

    • Remove functionality associated with the unused room_stats_historical and user_stats_historical tables. Contributed by @xmunoz. (#9721)
    • โฌ†๏ธ The third-party event rules module interface is deprecated in favour of the generic module interface introduced in Synapse v1.37.0. See the upgrade notes for more information. (#10386)

    Internal Changes

    • Convert room_depth.min_depth column to a BIGINT. (#10289)
    • โž• Add tests to characterise the current behaviour of R30 phone-home metrics. (#10315)
    • Rebuild event context and auth when processing specific results from ThirdPartyEventRules modules. (#10316)
    • Minor change to the code that populates user_daily_visits. (#10324)
    • ๐Ÿš€ Re-enable Sytests that were disabled for the 1.37.1 release. (#10345, #10357)
    • โฌ†๏ธ Run pyupgrade on the codebase. (#10347, #10348)
    • Switch application_services_txns.txn_id database column to BIGINT. (#10349)
    • Convert internal type variable syntax to reflect wider ecosystem use. (#10350, #10380, #10381, #10382, #10418)
    • ๐Ÿ”ง Make the Github Actions workflow configuration more efficient. (#10383)
    • Add type hints to get_{domain,localpart}_from_id. (#10385)
    • ๐Ÿš€ When building Debian packages for prerelease versions, set the Section accordingly. (#10391)
    • โž• Add type hints and comments to event auth code. (#10393)
    • โšก๏ธ Stagger sending of presence update to remote servers, reducing CPU spikes caused by starting many connections to remote servers at once. (#10398)
    • Remove unused events_by_room code (tech debt). (#10421)
    • โž• Add a github actions job which records success of other jobs. (#10430)

    Synapse 1.38.0 (2021-07-13)

    ๐Ÿš€ This release includes a database schema update which could result in elevated disk usage. See the upgrade notes for more information.

    No significant changes since 1.38.0rc3.

  • v1.38.0.rc3 Changes

    July 13, 2021

    Internal Changes

    • ๐Ÿ— Build the Debian packages in CI. (#10247, #10379)
  • v1.38.0.rc2 Changes

    July 09, 2021

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix bug where inbound federation in a room could be delayed due to not correctly dropping a lock. Introduced in v1.37.1. (#10336)

    ๐Ÿ‘Œ Improved Documentation

    • ๐Ÿ“š Update links to documentation in the sample config. Contributed by @dklimpel. (#10287)
    • ๐Ÿ›  Fix broken links in [INSTALL.md](INSTALL.md). Contributed by @dklimpel. (#10331)
  • v1.38.0.rc1 Changes

    July 06, 2021

    ๐Ÿ”‹ Features

    • Implement refresh tokens as specified by MSC2918. (#9450)
    • โž• Add support for evicting cache entries based on last access time. (#10205)
    • ๐Ÿ”€ Omit empty fields from the /sync response. Contributed by @deepbluev7. (#10214)
    • ๐Ÿ‘Œ Improve validation on federation send_{join,leave,knock} endpoints. (#10225, #10243)
    • โž• Add SSO external_ids to the Query User Account admin API. (#10261)
    • Mark events received over federation which fail a spam check as "soft-failed". (#10263)
    • โž• Add metrics for new inbound federation staging area. (#10284)
    • โž• Add script to print information about recently registered users. (#10290)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a long-standing bug which meant that invite rejections and knocks were not sent out over federation in a timely manner. (#10223)
    • ๐Ÿ›  Fix a bug introduced in v1.26.0 where only users who have set profile information could be deactivated with erasure enabled. (#10252)
    • ๐Ÿ›  Fix a long-standing bug where Synapse would return errors after 231 events were handled by the server. (#10264, #10267, #10282, #10286, #10291, #10314, #10326)
    • Fix the prometheus synapse_federation_server_pdu_process_time metric. Broke in v1.37.1. (#10279)
    • Ensure that inbound events from federation that were being processed when Synapse was restarted get promptly processed on start up. (#10303)

    ๐Ÿ‘Œ Improved Documentation

    • โฌ†๏ธ Move the upgrade notes to docs/upgrade.md and convert them to markdown. (#10166)
    • ๐Ÿ“š Choose Welcome & Overview as the default page for synapse documentation website. (#10242)
    • Adjust the URL in the README.rst file to point to irc.libera.chat. (#10258)
    • ๐Ÿ›  Fix homeserver config option name in presence router documentation. (#10288)
    • ๐Ÿ›  Fix link pointing at the wrong section in the modules documentation page. (#10302)

    Internal Changes

    • โฌ‡๏ธ Drop Origin and Accept from the value of the Access-Control-Allow-Headers response header. (#10114)
    • โž• Add type hints to the federation servlets. (#10213)
    • ๐Ÿ‘Œ Improve the reliability of auto-joining remote rooms. (#10237)
    • ๐Ÿš€ Update the release script to use the semver terminology and determine the release branch based on the next version. (#10239)
    • ๐Ÿ›  Fix type hints for computing auth events. (#10253)
    • ๐Ÿ‘Œ Improve the performance of the spaces summary endpoint by only recursing into spaces (and not rooms in general). (#10256)
    • ๐Ÿšš Move event authentication methods from Auth to EventAuthHandler. (#10268)
    • โœ… Re-enable a SyTest after it has been fixed. (#10292)

    Synapse 1.37.1 (2021-06-30)

    ๐Ÿš€ This release resolves issues (such as #9490) where one busy room could cause head-of-line blocking, starving Synapse from processing events in other rooms, and causing all federated traffic to fall behind. Synapse 1.37.1 processes inbound federation traffic asynchronously, ensuring that one busy room won't impact others. Please upgrade to Synapse 1.37.1 as soon as possible, in order to increase resilience to other traffic spikes.

    No significant changes since v1.37.1rc1.

  • v1.37.1.rc1 Changes

    June 29, 2021

    ๐Ÿ”‹ Features

    • ๐Ÿ– Handle inbound events from federation asynchronously. (#10269, #10272)

    Synapse 1.37.0 (2021-06-29)

    ๐Ÿš€ This release deprecates the current spam checker interface. See the upgrade notes for more information on how to update to the new generic module interface.

    This release also removes support for fetching and renewing TLS certificates using the ACME v1 protocol, which has been fully decommissioned by Let's Encrypt on June 1st 2021. Admins previously using this feature should use a reverse proxy to handle TLS termination, or use an external ACME client (such as certbot) to retrieve a certificate and key and provide them to Synapse using the tls_certificate_path and tls_private_key_path configuration settings.

  • v1.37.0.rc1 Changes

    June 24, 2021

    ๐Ÿ”‹ Features

    • Implement "room knocking" as per MSC2403. Contributed by @Sorunome and anoa. (#6739, #9359, #10167, #10212, #10227)
    • โž• Add experimental support for backfilling history into rooms (MSC2716). (#9247)
    • ๐Ÿ”Œ Implement a generic interface for third-party plugin modules. (#10062, #10206)
    • Implement config option sso.update_profile_information to sync SSO users' profile information with the identity provider each time they login. Currently only displayname is supported. (#10108)
    • ๐Ÿ”Š Ensure that errors during startup are written to the logs and the console. (#10191)

    ๐Ÿ›  Bugfixes

    • Fix a bug introduced in Synapse v1.25.0 that prevented the ip_range_whitelist configuration option from working for federation and identity servers. Contributed by @mikure. (#10115)
    • โœ‚ Remove a broken import line in Synapse's admin_cmd worker. Broke in Synapse v1.33.0. (#10154)
    • ๐Ÿ›  Fix a bug introduced in Synapse v1.21.0 which could cause /sync to return immediately with an empty response. (#10157, #10158)
    • Fix a minor bug in the response to /_matrix/client/r0/user/{user}/openid/request_token causing expires_in to be a float instead of an integer. Contributed by @lukaslihotzki. (#10175)
    • Always require users to re-authenticate for dangerous operations: deactivating an account, modifying an account password, and adding 3PIDs. (#10184)
    • ๐Ÿ›  Fix a bug introduced in Synpase v1.7.2 where remote server count metrics collection would be incorrectly delayed on startup. Found by @heftig. (#10195)
    • ๐Ÿ›  Fix a bug introduced in Synapse v1.35.1 where an allow key of a m.room.join_rules event could be applied for incorrect room versions and configurations. (#10208)
    • ๐Ÿ›  Fix performance regression in responding to user key requests over federation. Introduced in Synapse v1.34.0rc1. (#10221)

    ๐Ÿ‘Œ Improved Documentation

    • โž• Add a new guide to decoding request logs. (#8436)
    • ๐Ÿ”ง Mention in the sample homeserver config that you may need to configure max upload size in your reverse proxy. Contributed by @aaronraimist. (#10122)
    • ๐Ÿ›  Fix broken links in documentation. (#10180)
    • ๐Ÿ“š Deploy a snapshot of the documentation website upon each new Synapse release. (#10198)

    ๐Ÿ—„ Deprecations and Removals

    • โšก๏ธ The current spam checker interface is deprecated in favour of a new generic modules system. See the upgrade notes for more information on how to update to the new system. (#10062, #10210, #10238)
    • ๐Ÿ›  Stop supporting the unstable spaces prefixes from MSC1772. (#10161)
    • Remove Synapse's support for automatically fetching and renewing certificates using the ACME v1 protocol. This protocol has been fully turned off by Let's Encrypt for existing installations on June 1st 2021. Admins previously using this feature should use a reverse proxy to handle TLS termination, or use an external ACME client (such as certbot) to retrieve a certificate and key and provide them to Synapse using the tls_certificate_path and tls_private_key_path configuration settings. (#10194)

    Internal Changes

    • โšก๏ธ Update the database schema versioning to support gradual migration away from legacy tables. (#9933)
    • โž• Add type hints to the federation servlets. (#10080)
    • ๐Ÿ‘Œ Improve OpenTracing for event persistence. (#10134, #10193)
    • Clean up the interface for injecting OpenTracing over HTTP. (#10143)
    • Limit the number of in-flight /keys/query requests from a single device. (#10144)
    • ๐Ÿ”จ Refactor EventPersistenceQueue. (#10145)
    • โœ… Document SYNAPSE_TEST_LOG_LEVEL to see the logger output when running tests. (#10148)
    • โšก๏ธ Update the Complement build tags in GitHub Actions to test currently experimental features. (#10155)
    • Add a synapse_federation_soft_failed_events_total metric to track how often events are soft failed. (#10156)
    • Fetch the corresponding complement branch when performing CI. (#10160)
    • โž• Add some developer documentation about boolean columns in database schemas. (#10164)
    • โž• Add extra logging fields to better debug where events are being soft failed. (#10168)
    • โž• Add debug logging for when we enter and exit Measure blocks. (#10183)
    • ๐Ÿ‘Œ Improve comments in structured logging code. (#10188)
    • โšก๏ธ Update MSC3083 support with modifications from the MSC. (#10189)
    • โœ‚ Remove redundant DNS lookup limiter. (#10190)
    • โฌ†๏ธ Upgrade black linting tool to 21.6b0. (#10197)
    • ๐Ÿ”ฆ Expose OpenTracing trace id in response headers. (#10199)

    Synapse 1.36.0 (2021-06-15)

    No significant changes.

  • v1.36.0.rc2 Changes

    June 11, 2021

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a bug which caused presence updates to stop working some time after a restart, when using a presence writer worker. Broke in v1.33.0. (#10149)
    • ๐Ÿ›  Fix a bug when using federation sender worker where it would send out more presence updates than necessary, leading to high resource usage. Broke in v1.33.0. (#10163)
    • ๐Ÿ›  Fix a bug where Synapse could send the same presence update to a remote twice. (#10165)
  • v1.36.0.rc1 Changes

    June 08, 2021

    ๐Ÿ”‹ Features

    • โž• Add new endpoint /_matrix/client/r0/rooms/{roomId}/aliases from Client-Server API r0.6.1 (previously MSC2432). (#9224)
    • ๐Ÿ‘Œ Improve performance of incoming federation transactions in large rooms. (#9953, #9973)
    • Rewrite logic around verifying JSON object and fetching server keys to be more performant and use less memory. (#10035)
    • โž• Add new admin APIs for unprotecting local media from quarantine. Contributed by @dklimpel. (#10040)
    • โž• Add new admin APIs to remove media by media ID from quarantine. Contributed by @dklimpel. (#10044)
    • ๐Ÿ‘‰ Make reason and score parameters optional for reporting content. Implements MSC2414. Contributed by Callum Brown. (#10077)
    • โž• Add support for routing more requests to workers. (#10084)
    • Report OpenTracing spans for database activity. (#10113, #10136, #10141)
    • Significantly reduce memory usage of joining large remote rooms. (#10117)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixed a bug causing replication requests to fail when receiving a lot of events via federation. (#10082)
    • Fix a bug in the force_tracing_for_users option introduced in Synapse v1.35 which meant that the OpenTracing spans produced were missing most tags. (#10092)
    • ๐Ÿ›  Fixed a bug that could cause Synapse to stop notifying application services. Contributed by Willem Mulder. (#10107)
    • ๐Ÿ›  Fix bug where the server would attempt to fetch the same history in the room from a remote server multiple times in parallel. (#10116)
    • ๐Ÿ›  Fix a bug introduced in Synapse 1.33.0 which caused replication requests to fail when receiving a lot of very large events via federation. (#10118)
    • ๐Ÿ›  Fix bug when using workers where pagination requests failed if a remote server returned zero events from /backfill. Introduced in 1.35.0. (#10133)

    ๐Ÿ‘Œ Improved Documentation

    • ๐Ÿ”’ Clarify security note regarding hosting Synapse on the same domain as other web applications. (#9221)
    • ๐Ÿ“š Update CAPTCHA documentation to mention turning off the verify origin feature. Contributed by @aaronraimist. (#10046)
    • ๐Ÿ‘‰ Tweak wording of database recommendation in INSTALL.md. Contributed by @aaronraimist. (#10057)
    • โž• Add initial infrastructure for rendering Synapse documentation with mdbook. (#10086)
    • ๐Ÿ“š Convert the remaining Admin API documentation files to markdown. (#10089)
    • ๐Ÿ“„ Make a link in docs use HTTPS. Contributed by @RhnSharma. (#10130)
    • ๐Ÿ›  Fix broken link in Docker docs. (#10132)

    ๐Ÿ—„ Deprecations and Removals

    • โœ‚ Remove the experimental spaces_enabled flag. The spaces features are always available now. (#10063)

    Internal Changes

    • ๐Ÿ— Tell CircleCI to build Docker images from main branch. (#9906)
    • ๐Ÿš€ Simplify naming convention for release branches to only include the major and minor version numbers. (#10013)
    • Add parse_strings_from_args for parsing an array from query parameters. (#10048, #10137)
    • โœ‚ Remove some dead code regarding TLS certificate handling. (#10054)
    • Remove redundant, unmaintained convert_server_keys script. (#10055)
    • ๐Ÿ‘Œ Improve the error message printed by synctl when synapse fails to start. (#10059)
    • ๐Ÿ›  Fix GitHub Actions lint for newsfragments. (#10069)
    • โšก๏ธ Update opentracing to inject the right context into the carrier. (#10074)
    • ๐Ÿ›  Fix up BatchingQueue implementation. (#10078)
    • ๐ŸŒฒ Log method and path when dropping request due to size limit. (#10091)
    • โœ… In Github Actions workflows, summarize the Sytest results in an easy-to-read format. (#10094)
    • ๐Ÿ”€ Make /sync do fewer state resolutions. (#10102)
    • โž• Add missing type hints to the admin API servlets. (#10105)
    • ๐Ÿ‘Œ Improve opentracing annotations for Notifier. (#10111)
    • Enable Prometheus metrics for the jaeger client library. (#10112)
    • ๐Ÿ”€ Work to improve the responsiveness of /sync requests. (#10124)
    • OpenTracing: use a consistent name for background processes. (#10135)

    Synapse 1.35.1 (2021-06-03)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a bug introduced in v1.35.0 where invite-only rooms would be shown to all users in a space, regardless of if the user had access to it. (#10109)

    Synapse 1.35.0 (2021-06-01)

    ๐Ÿš€ Note that the tag and docker images for v1.35.0rc3 were incorrectly built. If you are experiencing issues with either, it is recommended to upgrade to the equivalent tag or docker image for the v1.35.0 release.

    ๐Ÿ—„ Deprecations and Removals

    • โšก๏ธ The core Synapse development team plan to drop support for the unstable API of MSC2858, including the undocumented experimental.msc2858_enabled config option, in August 2021. Client authors should ensure that their clients are updated to use the stable API (which has been supported since Synapse 1.30) well before that time, to give their users time to upgrade. (#10101)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixed a bug causing replication requests to fail when receiving a lot of events via federation. Introduced in v1.33.0. (#10082)
    • ๐Ÿ›  Fix HTTP response size limit to allow joining very large rooms over federation. Introduced in v1.33.0. (#10093)

    Internal Changes

    • ๐ŸŒฒ Log method and path when dropping request due to size limit. (#10091)