automation: Update docker-matrix_synapse Docker tag to v1.121.1
This MR contains the following updates:
Package | Update | Change |
---|---|---|
docker-matrix_synapse (source) | minor |
v1.118.0 -> v1.121.1
|
Release Notes
element-hq/synapse (docker-matrix_synapse)
v1.121.1
Synapse 1.121.1 (2024-12-11)
This release contains a fix for our docker build CI. It is functionally identical to 1.121.0, whose changelog is below.
Internal Changes
- Downgrade the Ubuntu GHA runner when building docker images. (#18026)
Synapse 1.121.0 (2024-12-11)
Internal Changes
- Fix release process to not create duplicate releases. (#18025)
Synapse 1.121.0rc1 (2024-12-04)
Features
- Support for MSC4190: device management for Application Services. (#17705)
- Update MSC4186 Sliding Sync to include invite, ban, kick, targets when
$LAZY
-loading room members. (#17947) - Use stable
M_USER_LOCKED
error code for locked accounts, as per Matrix 1.12. (#17965) -
MSC4076: Add
disable_badge_count
to pusher configuration. (#17975)
Bugfixes
- Fix long-standing bug where read receipts could get overly delayed being sent over federation. (#17933)
Improved Documentation
- Add OIDC example configuration for Forgejo (fork of Gitea). (#17872)
- Link to element-docker-demo from contrib/docker*. (#17953)
Internal Changes
-
MSC4108: Add a
Content-Type
header on thePUT
response to work around a faulty behavior in some caching reverse proxies. (#17253) - Fix incorrect comment in new schema delta. (#17936)
- Raise setuptools_rust version cap to 1.10.2. (#17944)
- Enable encrypted appservice related experimental features in the complement docker image. (#17945)
- Return whether the user is suspended when querying the user account in the Admin API. (#17952)
- Fix new scheduled tasks jumping the queue. (#17962)
- Bump pyo3 and dependencies to v0.23.2. (#17966)
- Update setuptools-rust and fix building abi3 wheels in latest version. (#17969)
- Consolidate SSO redirects through
/_matrix/client/v3/login/sso/redirect(/{idpId})
. (#17972) - Fix Docker and Complement config to be able to use
public_baseurl
. (#17986) - Fix building wheels for MacOS which was temporarily disabled in Synapse 1.120.2. (#17993)
- Fix release process to not create duplicate releases. (#17970, #17995)
Updates to locked dependencies
- Bump bytes from 1.8.0 to 1.9.0. (#17982)
- Bump pysaml2 from 7.3.1 to 7.5.0. (#17978)
- Bump serde_json from 1.0.132 to 1.0.133. (#17939)
- Bump tomli from 2.0.2 to 2.1.0. (#17959)
- Bump tomli from 2.1.0 to 2.2.1. (#17979)
- Bump tornado from 6.4.1 to 6.4.2. (#17955)
v1.120.2
Synapse 1.120.2 (2024-12-03)
This version has building of wheels for macOS disabled. It is functionally identical to 1.120.1, which contains multiple security fixes. If you are already using 1.120.1, there is no need to upgrade to this version.
Synapse 1.120.1 (2024-12-03)
This patch release fixes multiple security vulnerabilities, some affecting all prior versions of Synapse. Server administrators are encouraged to update Synapse as soon as possible. We are not aware of these vulnerabilities being exploited in the wild.
Administrators who are unable to update Synapse may use the workarounds described in the linked GitHub Security Advisory below.
Security advisory
The following issues are fixed in 1.120.1.
-
GHSA-rfq8-j7rh-8hf2 / CVE-2024-52805 (high): Unsupported content types can lead to memory exhaustion
Synapse instances which have a high
max_upload_size
and which don't have a reverse proxy in front of them that would otherwise limit upload size are affected.Fixed by 4b7154c58501b4bf5e1c2d6c11ebef96529f2fdf.
-
GHSA-f3r3-h2mq-hx2h / CVE-2024-52815 (high): Malicious invites via federation can break a user's sync
Fixed by d82e1ed357b7ee21dff83d06cba7a67840cfd464.
-
GHSA-vp6v-whfm-rv3g / CVE-2024-53863 (high): Synapse can be forced to thumbnail unexpected file formats, invoking potentially untrustworthy decoders
Synapse instances can disable dynamic thumbnailing by setting
dynamic_thumbnails
tofalse
in the configuration file.Fixed by b64a4e5fbbbf119b6c65aedf0d999b4237d55503.
-
GHSA-56w4-5538-8v8h / CVE-2024-53867 (moderate): The Sliding Sync feature on Synapse versions between 1.113.0rc1 and 1.120.0 can leak partial room state changes to users no longer in a room
Non-state events, like messages, are unaffected.
Synapse instances can disable the Sliding Sync feature by setting
experimental_features.msc3575_enabled
tofalse
in the configuration file.Fixed by 4daa533e82f345ce87b9495d31781af570ba3ead.
Additionally, we disclose the following vulnerabilities, both have been fixed in Synapse 1.106.0:
-
GHSA-4mhg-xv73-xq2x / CVE-2024-37302 (high): Denial of service through media disk space consumption
-
GHSA-gjgr-7834-rhxr / CVE-2024-37303 (moderate): Unauthenticated writes to the media repository allow planting of problematic content
See the advisories for more details. If you have any questions, email security at element.io.
Bug fixes
- Fix release process to not create duplicate releases. (#17970)
v1.120.1
v1.120.0
Synapse 1.120.0 (2024-11-26)
This release enables the enforcement of authenticated media by default, with exemptions for media that is already present in the homeserver's media store.
Most homeservers operating in the public federation will not be impacted by this change, given that
the large homeserver matrix.org
enabled this in September 2024 and therefore most clients and servers
will already have updated as a result.
Some server administrators may still wish to disable this enforcement for the time being, in the interest of compatibility with older clients and older federated homeservers. See the upgrade notes for more information.
Bugfixes
- Fix a bug introduced in Synapse v1.120rc1 which would cause the newly-introduced
delete_old_otks
job to fail in worker-mode deployments. (#17960)
Synapse 1.120.0rc1 (2024-11-20)
Features
- Enforce authenticated media by default. Administrators can revert this by configuring
enable_authenticated_media
tofalse
. In a future release of Synapse, this option will be removed and become always-on. (#17889) - Add a one-off task to delete old One-Time Keys, to guard against us having old OTKs in the database that the client has long forgotten about. (#17934)
Improved Documentation
- Clarify the semantics of the
enable_authenticated_media
configuration option. (#17913) - Add documentation about backing up Synapse. (#17931)
Deprecations and Removals
- Remove support for MSC3886: Simple client rendezvous capability, which has been superseded by MSC4108 and therefore closed. (#17638)
Internal Changes
- Addressed some typos in docs and returned error message for unknown MXC ID. (#17865)
- Unpin the upload release GHA action. (#17923)
- Bump macOS version used to build wheels during release, as current version used is end-of-life. (#17924)
- Move server event filtering logic to Rust. (#17928)
- Support new package name of PyPI package
python-multipart
0.0.13 so that distro packagers do not need to work around name conflict with PyPI packagemultipart
. (#17932) - Speed up slow initial sliding syncs on large servers. (#17946)
Updates to locked dependencies
- Bump anyhow from 1.0.92 to 1.0.93. (#17920)
- Bump bleach from 6.1.0 to 6.2.0. (#17918)
- Bump immutabledict from 4.2.0 to 4.2.1. (#17941)
- Bump packaging from 24.1 to 24.2. (#17940)
- Bump phonenumbers from 8.13.49 to 8.13.50. (#17942)
- Bump pygithub from 2.4.0 to 2.5.0. (#17917)
- Bump ruff from 0.7.2 to 0.7.3. (#17919)
- Bump serde from 1.0.214 to 1.0.215. (#17938)
v1.119.0
Synapse 1.119.0 (2024-11-13)
No significant changes since 1.119.0rc2.
Python 3.8 support dropped
Python 3.8 is end-of-life and is no longer supported by Synapse. The minimum supported Python version is now 3.9.
If you are running Synapse with Python 3.8, please upgrade to Python 3.9 (or greater) before upgrading Synapse.
Synapse 1.119.0rc2 (2024-11-11)
Note that due to packaging issues there was no v1.119.0rc1.
Features
- Support MSC4151's stable report room API. (#17374)
- Add experimental support for MSC4222 (Adding
state_after
to sync v2). (#17888)
Bugfixes
- Fix bug with sliding sync where
$LAZY
-loading room members would not returnrequired_state
membership in incremental syncs. (#17809) - Check if user has membership in a room before tagging it. Contributed by Lama Alosaimi. (#17839)
- Fix a bug in the admin redact endpoint where the background task would not run if a worker was specified in
the config option
run_background_tasks_on
. (#17847) - Fix bug where some presence and typing timeouts can expire early. (#17850)
- Fix detection when the built Rust library was outdated when using source installations. (#17861)
- Fix a long-standing bug in Synapse which could cause one-time keys to be issued in the incorrect order, causing message decryption failures. (#17903)
- Fix experimental support for MSC4222 (Adding
state_after
to sync v2) where we would return the full state on incremental syncs when using lazy loaded members and there were no new events in the timeline. (#17915)
Internal Changes
- Remove support for python 3.8. (#17908)
- Add a test for downloading and thumbnailing a CMYK JPEG. (#17786)
- Refactor database calls to remove
Generator
usage. (#17813, #17814, #17815, #17816, #17817, #17818, #17890) - Include the destination in the error of 'Destination mismatch' on federation requests. (#17830)
- The nix flake inside the repository no longer tracks nixpkgs/master to not catch the latest bugs from a MR merged 5 minutes ago. (#17852)
- Minor speed-up of sliding sync by computing extensions results in parallel. (#17884)
- Bump the default Python version in the Synapse Dockerfile from 3.11 -> 3.12. (#17887)
- Remove usage of internal header encoding API. (#17894)
- Use unique name for each os.arch variant when uploading Wheel artifacts. (#17905)
- Fix tests to run with latest Twisted. (#17906, #17907, #17911)
- Update version constraint to allow the latest poetry-core 1.9.1. (#17902)
- Update the portdb CI to use Python 3.13 and Postgres 17 as latest dependencies. (#17909)
- Add an index to
current_state_delta_stream
table. (#17912) - Fix building and attaching release artifacts during the release process. (#17921)
Updates to locked dependencies
- Bump actions/download-artifact & actions/upload-artifact from 3 to 4 in /.github/workflows. (#17657)
- Bump anyhow from 1.0.89 to 1.0.92. (#17858, #17876, #17901)
- Bump bytes from 1.7.2 to 1.8.0. (#17877)
- Bump cryptography from 43.0.1 to 43.0.3. (#17853)
- Bump mypy-zope from 1.0.7 to 1.0.8. (#17898)
- Bump phonenumbers from 8.13.47 to 8.13.49. (#17880, #17899)
- Bump python-multipart from 0.0.12 to 0.0.16. (#17879)
- Bump regex from 1.11.0 to 1.11.1. (#17874)
- Bump ruff from 0.6.9 to 0.7.2. (#17868, #17897)
- Bump serde from 1.0.210 to 1.0.214. (#17875, #17900)
- Bump serde_json from 1.0.128 to 1.0.132. (#17857)
- Bump types-psycopg2 from 2.9.21.20240819 to 2.9.21.20241019. (#17855)
- Bump types-setuptools from 75.1.0.20241014 to 75.2.0.20241019. (#17856)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.