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)