Synapse v1.71.0.rc1 Release Notes

Release Date: 2022-11-01 // over 1 year ago
  • ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support back-channel logouts from OpenID Connect providers. (#11414)
    • ๐Ÿ‘ Allow use of Postgres and SQLlite full-text search operators in search queries. (#11635, #14310, #14311)
    • Implement MSC3664, Pushrules for relations. Contributed by Nico. (#11804)
    • ๐Ÿ‘Œ Improve aesthetics of HTML templates. Note that these changes do not retroactively apply to templates which have been customised by server admins. (#13652)
    • ๐ŸŒฒ Enable write-ahead logging for SQLite installations. Contributed by @asymmetric. (#13897)
    • Show erasure status when listing users in the Admin API. (#14205)
    • ๐Ÿ”€ Provide a specific error code when a /sync request provides a filter which doesn't represent a JSON object. (#14262)

    ๐Ÿ›  Bugfixes

    • Fix a long-standing bug where the update_synapse_database script could not be run with multiple databases. Contributed by @thefinn93 @ Beeper. (#13422)
    • Fix a bug which prevented setting an avatar on homeservers which have an explicit port in their server_name and have max_avatar_size and/or allowed_avatar_mimetypes configuration. Contributed by @ashfame. (#13927)
    • Check appservice user interest against the local users instead of all users in the room to align with MSC3905. (#13958)
    • Fix a long-standing bug where Synapse would accidentally include extra information in the response to PUT /_matrix/federation/v2/invite/{roomId}/{eventId}. (#14064)
    • ๐Ÿ›  Fix a bug introduced in Synapse 1.64.0 where presence updates could be missing from /sync responses. (#14243)
    • ๐Ÿ›  Fix a bug introduced in Synapse 1.60.0 which caused an error to be logged when Synapse received a SIGHUP signal if debug logging was enabled. (#14258)
    • Prevent history insertion (MSC2716) during an partial join (MSC3706). (#14291)
    • Fix a bug introduced in Synapse 1.34.0 where device names would be returned via a federation user key query request when allow_device_name_lookup_over_federation was set to false. (#14304)
    • ๐Ÿ›  Fix a bug introduced in Synapse 0.34.0 where logs could include error spam when background processes are measured as taking a negative amount of time. (#14323)
    • ๐Ÿ›  Fix a bug introduced in Synapse 1.70.0 where clients were unable to PUT new dehydrated devices. (#14336)

    ๐Ÿ‘Œ Improved Documentation

    Internal Changes

    • โœ‚ Remove unused @lru_cache decorator. (#13595)
    • ๐Ÿ’พ Save login tokens in database and prevent login token reuse. (#13844)
    • ๐Ÿ”จ Refactor OIDC tests to better mimic an actual OIDC provider. (#13910)
    • ๐Ÿ›  Fix type annotation causing import time error in the Complement forking launcher. (#14084)
    • Refactor MSC3030 /timestamp_to_event endpoint to loop over federation destinations with standard pattern and error handling. (#14096)
    • โž• Add initial power level event to batch of bulk persisted events when creating a new room. (#14228)
    • ๐Ÿ”จ Refactor /key/ endpoints to use RestServlet classes. (#14229)
    • Switch to using the matrix-org/backend-meta version of triage-incoming for new issues in CI. (#14230)
    • ๐ŸŽ Build wheels on macos 11, not 10.15. (#14249)
    • โž• Add debugging to help diagnose lost device list updates. (#14268)
    • โž• Add Rust cache to CI for trial runs. (#14287)
    • ๐Ÿ‘Œ Improve type hinting of RawHeaders. (#14303)
    • ๐Ÿ‘ท Use Poetry 1.2.0 in the Twisted Trunk CI job. (#14305)

    โšก๏ธ Dependency updates

    โš™ Runtime:

    • โฌ†๏ธ Bump anyhow from 1.0.65 to 1.0.66. (#14278)
    • โฌ†๏ธ Bump jinja2 from 3.0.3 to 3.1.2. (#14271)
    • โฌ†๏ธ Bump prometheus-client from 0.14.0 to 0.15.0. (#14274)
    • โฌ†๏ธ Bump psycopg2 from 2.9.4 to 2.9.5. (#14331)
    • โฌ†๏ธ Bump pysaml2 from 7.1.2 to 7.2.1. (#14270)
    • โฌ†๏ธ Bump sentry-sdk from 1.5.11 to 1.10.1. (#14330)
    • โฌ†๏ธ Bump serde from 1.0.145 to 1.0.147. (#14277)
    • โฌ†๏ธ Bump serde_json from 1.0.86 to 1.0.87. (#14279)

    Tooling and CI:

    • โฌ†๏ธ Bump black from 22.3.0 to 22.10.0. (#14328)
    • โฌ†๏ธ Bump flake8-bugbear from 21.3.2 to 22.9.23. (#14042)
    • โฌ†๏ธ Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0. (#14276)
    • โฌ†๏ธ Bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0. (#14275)
    • โฌ†๏ธ Bump setuptools-rust from 1.5.1 to 1.5.2. (#14273)
    • โฌ†๏ธ Bump twine from 3.8.0 to 4.0.1. (#14332)
    • โฌ†๏ธ Bump types-opentracing from 2.4.7 to 2.4.10. (#14133)
    • โฌ†๏ธ Bump types-requests from 2.28.11 to 2.28.11.2. (#14272)

    Synapse 1.70.1 (2022-10-28)

    ๐Ÿš€ This release fixes some regressions that were discovered in 1.70.0.

    #14300 was previously reported to be a regression in 1.70.0 as well. However, we have since concluded that it was limited to the reporter and thus have not needed to include any fix for it in 1.70.1.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a bug introduced in Synapse 1.70.0rc1 where the access tokens sent to application services as headers were malformed. Application services which were obtaining access tokens from query parameters were not affected. (#14301)
    • ๐Ÿ›  Fix room creation being rate limited too aggressively since Synapse v1.69.0. (#14314)

    Synapse 1.70.0 (2022-10-26)

    No significant changes since 1.70.0rc2.