Releases: element-hq/synapse
v1.127.0rc1
Synapse 1.127.0rc1 (2025-03-18)
Features
- Update MSC4140 implementation to no longer cancel a user's own delayed state events with an event type & state key that match a more recent state event sent by that user. (#17810)
Improved Documentation
Internal Changes
- Remove undocumented
SYNAPSE_USE_FROZEN_DICTS
environment variable. (#18123) - Fix detection of workflow failures in the release script. (#18211)
- Add caching support to media endpoints. (#18235)
Updates to locked dependencies
- Bump anyhow from 1.0.96 to 1.0.97. (#18201)
- Bump bcrypt from 4.2.1 to 4.3.0. (#18207)
- Bump bytes from 1.10.0 to 1.10.1. (#18227)
- Bump http from 1.2.0 to 1.3.1. (#18245)
- Bump sentry-sdk from 2.19.2 to 2.22.0. (#18205)
- Bump serde from 1.0.218 to 1.0.219. (#18228)
- Bump serde_json from 1.0.139 to 1.0.140. (#18202)
- Bump ulid from 1.2.0 to 1.2.1. (#18246)
v1.126.0
Synapse 1.126.0 (2025-03-11)
No significant changes since 1.126.0rc3.
Synapse 1.126.0rc3 (2025-03-07)
Bugfixes
- Revert the background job to clear unreferenced state groups (that was introduced in v1.126.0rc1), due to a suspected issue that causes increased disk usage. (#18222)
Synapse 1.126.0rc2 (2025-03-05)
Administrators using the Debian/Ubuntu packages from packages.matrix.org
, please check the relevant section in the upgrade notes as we have recently updated the expiry date on the repository's GPG signing key. The old version of the key will expire on 2025-03-15
.
Internal Changes
Synapse 1.126.0rc1 (2025-03-04)
Synapse 1.126.0rc1 was not fully released due to an error in CI.
Features
- Define ratelimit configuration for delayed event management. (#18019)
- Add
form_secret_path
config option. (#18090) - Add the
--no-secrets-in-config
command line option. (#18092) - Add background job to clear unreferenced state groups. (#18154)
- Add support for specifying/overriding
id_token_signing_alg_values_supported
for an OpenID identity provider. (#18177) - Add
worker_replication_secret_path
config option. (#18191) - Add support for specifying/overriding
redirect_uri
in the authorization and token requests against an OpenID identity provider. (#18197)
Bugfixes
- Make sure we advertise registration as disabled when MSC3861 is enabled. (#17661)
- Prevent suspended users from sending encrypted messages. (#18157)
- Cleanup deleted state group references. (#18165)
- Fix MSC4108 QR-code login not working with some reverse-proxy setups. (#18178)
- Support device IDs that can't be represented in a scope when delegating auth to Matrix Authentication Service 0.15.0+. (#18174)
Updates to the Docker image
- Speed up the building of the Docker image. (#18038)
Improved Documentation
- Move incorrectly placed version indicator in User Event Redaction Admin API docs. (#18152)
- Document suspension Admin API. (#18162)
Deprecations and Removals
- Disable room list publication by default. (#18175)
Updates to locked dependencies
- Bump anyhow from 1.0.95 to 1.0.96. (#18187)
- Bump authlib from 1.4.0 to 1.4.1. (#18190)
- Bump click from 8.1.7 to 8.1.8. (#18189)
- Bump log from 0.4.25 to 0.4.26. (#18184)
- Bump pyo3-log from 0.12.0 to 0.12.1. (#18046)
- Bump serde from 1.0.217 to 1.0.218. (#18183)
- Bump serde_json from 1.0.138 to 1.0.139. (#18186)
- Bump sigstore/cosign-installer from 3.8.0 to 3.8.1. (#18185)
- Bump types-psycopg2 from 2.9.21.20241019 to 2.9.21.20250121. (#18188)
v1.126.0rc3
Synapse 1.126.0rc3 (2025-03-07)
Bugfixes
- Revert the background job to clear unreferenced state groups (that was introduced in v1.126.0rc1), due to a suspected issue that causes increased disk usage. (#18222)
v1.126.0rc2
Synapse 1.126.0rc2 (2025-03-05)
Administrators using the Debian/Ubuntu packages from packages.matrix.org
, please check
the relevant section in the upgrade notes
as we have recently updated the expiry date on the repository's GPG signing key. The old version of the key will expire on 2025-03-15
.
Internal Changes
v1.126.0rc1
Synapse 1.126.0rc1 (2025-03-04)
Administrators using the Debian/Ubuntu packages from packages.matrix.org
, please check
the relevant section in the upgrade notes
as we have recently updated the expiry date on the repository's GPG signing key. The old version of the key will expire on 2025-03-15
.
Features
- Define ratelimit configuration for delayed event management. (#18019)
- Add
form_secret_path
config option. (#18090) - Add the
--no-secrets-in-config
command line option. (#18092) - Add background job to clear unreferenced state groups. (#18154)
- Add support for specifying/overriding
id_token_signing_alg_values_supported
for an OpenID identity provider. (#18177) - Add
worker_replication_secret_path
config option. (#18191) - Add support for specifying/overriding
redirect_uri
in the authorization and token requests against an OpenID identity provider. (#18197)
Bugfixes
- Make sure we advertise registration as disabled when MSC3861 is enabled. (#17661)
- Prevent suspended users from sending encrypted messages. (#18157)
- Cleanup deleted state group references. (#18165)
- Fix MSC4108 QR-code login not working with some reverse-proxy setups. (#18178)
- Support device IDs that can't be represented in a scope when delegating auth to Matrix Authentication Service 0.15.0+. (#18174)
Updates to the Docker image
- Speed up the building of the Docker image. (#18038)
Improved Documentation
- Move incorrectly placed version indicator in User Event Redaction Admin API docs. (#18152)
- Document suspension Admin API. (#18162)
Deprecations and Removals
- Disable room list publication by default. (#18175)
Updates to locked dependencies
- Bump anyhow from 1.0.95 to 1.0.96. (#18187)
- Bump authlib from 1.4.0 to 1.4.1. (#18190)
- Bump click from 8.1.7 to 8.1.8. (#18189)
- Bump log from 0.4.25 to 0.4.26. (#18184)
- Bump pyo3-log from 0.12.0 to 0.12.1. (#18046)
- Bump serde from 1.0.217 to 1.0.218. (#18183)
- Bump serde_json from 1.0.138 to 1.0.139. (#18186)
- Bump sigstore/cosign-installer from 3.8.0 to 3.8.1. (#18185)
- Bump types-psycopg2 from 2.9.21.20241019 to 2.9.21.20250121. (#18188)
v1.125.0
Synapse 1.125.0 (2025-02-25)
No significant changes since 1.125.0rc1.
Synapse 1.125.0rc1 (2025-02-18)
Features
- Add functionality to be able to use multiple values in SSO feature
attribute_requirements
. (#17949) - Add experimental config options
admin_token_path
andclient_secret_path
for MSC3861. (#18004) - Add
get_current_time_msec()
method to the module API for sound time comparisons with Synapse. (#18144)
Bugfixes
- Update the response when a client attempts to add an invalid email address to the user's account from a 500, to a 400 with error text. (#18125)
- Fix user directory search when using a legacy module with a
check_username_for_spam
callback. Broke in v1.122.0. (#18135)
Updates to the Docker image
- Add
SYNAPSE_HTTP_PROXY
/SYNAPSE_HTTPS_PROXY
/SYNAPSE_NO_PROXY
environment variables to pass through specifically to the Synapse process (instead of needing to applyhttp_proxy
/https_proxy
/no_proxy
globally). (#18158)
Improved Documentation
- Add Oracle Linux 8 and 9 installation instructions. (#17436)
- Document missing server config options (
daemonize
,print_pidfile
,user_agent_suffix
,use_frozen_dicts
,manhole
). (#18122) - Document consequences of replacing secrets. (#18138)
- Make
burst_count
field an integer inrc_presence
config documentation example. (#18159)
Internal Changes
- Overload
DatabasePool.simple_select_one_txn
to return non-None
when theallow_none
parameter isFalse
. (#17616) - Python 3.8 EOL: compile native extensions with the 3.9 ABI and use typing hints from the standard library. (#17967)
- Add log message when worker lock timeouts get large. (#18124)
- Make it explicit that you can buy an AGPL-alternative commercial license from Element. (#18134)
- Fix the 'Fix linting' GitHub Actions workflow. (#18136)
- Do not log at the exception-level when clients provide empty
since
token to/sync
API. (#18139) - Reduce database load of user search when using large search terms. (#18172)
Updates to locked dependencies
- Bump bcrypt from 4.2.0 to 4.2.1. (#18127)
- Bump bytes from 1.9.0 to 1.10.0. (#18149)
- Bump gitpython from 3.1.43 to 3.1.44. (#18128)
- Bump hiredis from 3.0.0 to 3.1.0. (#18169)
- Bump serde_json from 1.0.137 to 1.0.138. (#18129)
- Bump service-identity from 24.1.0 to 24.2.0. (#18171)
- Bump sigstore/cosign-installer from 3.7.0 to 3.8.0. (#18147)
- Bump twine from 6.0.1 to 6.1.0. (#18170)
- Bump types-pyyaml from 6.0.12.20240917 to 6.0.12.20241230. (#18097)
- Bump ulid from 1.1.4 to 1.2.0. (#18148)
v1.125.0rc1
Synapse 1.125.0rc1 (2025-02-18)
Features
- Add functionality to be able to use multiple values in SSO feature
attribute_requirements
. (#17949) - Add experimental config options
admin_token_path
andclient_secret_path
for MSC3861. (#18004) - Add
get_current_time_msec()
method to the module API for sound time comparisons with Synapse. (#18144)
Bugfixes
- Update the response when a client attempts to add an invalid email address to the user's account from a 500, to a 400 with error text. (#18125)
- Fix user directory search when using a legacy module with a
check_username_for_spam
callback. Broke in v1.122.0. (#18135)
Updates to the Docker image
- Add
SYNAPSE_HTTP_PROXY
/SYNAPSE_HTTPS_PROXY
/SYNAPSE_NO_PROXY
environment variables to pass through specifically to the Synapse process (instead of needing to applyhttp_proxy
/https_proxy
/no_proxy
globally). (#18158)
Improved Documentation
- Add Oracle Linux 8 and 9 installation instructions. (#17436)
- Document missing server config options (
daemonize
,print_pidfile
,user_agent_suffix
,use_frozen_dicts
,manhole
). (#18122) - Document consequences of replacing secrets. (#18138)
- Make
burst_count
field an integer inrc_presence
config documentation example. (#18159)
Internal Changes
- Overload
DatabasePool.simple_select_one_txn
to return non-None
when theallow_none
parameter isFalse
. (#17616) - Python 3.8 EOL: compile native extensions with the 3.9 ABI and use typing hints from the standard library. (#17967)
- Add log message when worker lock timeouts get large. (#18124)
- Make it explicit that you can buy an AGPL-alternative commercial license from Element. (#18134)
- Fix the 'Fix linting' GitHub Actions workflow. (#18136)
- Do not log at the exception-level when clients provide empty
since
token to/sync
API. (#18139) - Reduce database load of user search when using large search terms. (#18172)
Updates to locked dependencies
- Bump bcrypt from 4.2.0 to 4.2.1. (#18127)
- Bump bytes from 1.9.0 to 1.10.0. (#18149)
- Bump gitpython from 3.1.43 to 3.1.44. (#18128)
- Bump hiredis from 3.0.0 to 3.1.0. (#18169)
- Bump serde_json from 1.0.137 to 1.0.138. (#18129)
- Bump service-identity from 24.1.0 to 24.2.0. (#18171)
- Bump sigstore/cosign-installer from 3.7.0 to 3.8.0. (#18147)
- Bump twine from 6.0.1 to 6.1.0. (#18170)
- Bump types-pyyaml from 6.0.12.20240917 to 6.0.12.20241230. (#18097)
- Bump ulid from 1.1.4 to 1.2.0. (#18148)
v1.124.0
Synapse 1.124.0 (2025-02-11)
No significant changes since 1.124.0rc3.
Synapse 1.124.0rc3 (2025-02-07)
Bugfixes
- Fix regression in performance of sending events due to superfluous reads and locks. Introduced in v1.124.0rc1. (#18141)
Synapse 1.124.0rc2 (2025-02-05)
Bugfixes
- Fix regression where persisting events in some rooms could fail after a previous unclean shutdown. Introduced in v1.124.0rc1. (#18137)
Synapse 1.124.0rc1 (2025-02-04)
Bugfixes
- Add rate limit
rc_presence.per_user
. This prevents load from excessive presence updates sent by clients via sync api. Also rate limit/_matrix/client/v3/presence
as per the spec. Contributed by @rda0. (#18000) - Deactivated users will no longer automatically accept an invite when
auto_accept_invites
is enabled. (#18073) - Fix join being denied after being invited over federation. Also fixes other out-of-band membership transitions. (#18075)
- Updates contributed
docker-compose.yml
file to PostgreSQL v15, as v12 is no longer supported by Synapse.
Contributed by @maxkratz. (#18089) - Fix rare edge case where state groups could be deleted while we are persisting new events that reference them. (#18107, #18130, #18131)
- Raise an error if someone is using an incorrect suffix in a config duration string. (#18112)
- Fix a bug where the Delete Room Admin API would fail if the
block
parameter was set totrue
and a worker other than the main process was configured to handle background tasks. (#18119)
Internal Changes
- Increase the length of the generated
nonce
parameter when perfoming OIDC logins to comply with the TI-Messenger spec. (#18109)
Updates to locked dependencies
v1.124.0rc3
Synapse 1.124.0rc3 (2025-02-07)
Bugfixes
- Fix regression in performance of sending events due to superfluous reads and locks. Introduced in v1.124.0rc1. (#18141)
v1.124.0rc2
Synapse 1.124.0rc2 (2025-02-05)
Bugfixes
- Fix regression where persisting events in some rooms could fail after a previous unclean shutdown. Introduced in v1.124.0rc1. (#18137)