Synapse 1.85.0rc1 (2023-05-30)
Features
- Improve performance of backfill requests by performing backfill of previously failed requests in the background. (#15585)
- Add a new admin API to create a new device for a user. (#15611)
- Add Unix socket support for Redis connections. Contributed by Jason Little. (#15644)
Bugfixes
- Fix a long-standing bug where setting the read marker could fail when using message retention. Contributed by Nick @ Beeper (@Fizzadar). (#15464)
- Fix a long-standing bug where the
url_preview_url_blacklist
configuration setting was not applied to oEmbed or image URLs found while previewing a URL. (#15601) - Fix a long-standing bug where filters with multiple backslashes were rejected. (#15607)
- Fix a bug introduced in Synapse 1.82.0 where the error message displayed when validation of the
app_service_config_files
config option fails would be incorrectly formatted. (#15614) - Fix a long-standing bug where deactivated users were still able to login using the custom
org.matrix.login.jwt
login type (if enabled). (#15624) - Fix a long-standing bug where deactivated users were able to login in uncommon situations. (#15634)
Improved Documentation
- Warn users that at least 3.75GB of space is needed for the nix Synapse development environment. (#15613)
- Remove outdated comment from the generated and sample homeserver log configs. (#15648)
- Improve contributor docs to make it more clear that Rust is a necessary prerequisite. Contributed by @grantm. (#15668)
Deprecations and Removals
- Remove the old version of the R30 (30-day retained users) phone-home metric. (#10428)
Internal Changes
- Create dependabot changelogs at release time. (#15481)
- Add not null constraint to column
full_user_id
of tablesprofiles
anduser_filters
. (#15537) - Allow connecting to HTTP Replication Endpoints by using
worker_name
when constructing the request. (#15578) - Make the
thread_id
column onevent_push_actions
,event_push_actions_staging
, andevent_push_summary
non-null. (#15597) - Run mypy type checking with the minimum supported Python version to catch new usage that isn't backwards-compatible. (#15602)
- Fix subscriptable type usage in Python <3.9. (#15604)
- Update internal terminology. (#15606, #15620)
- Instrument
state
andstate_group
storage-related operations to better picture what's happening when tracing. (#15610, #15647) - Trace how many new events from the backfill response we need to process. (#15633)
- Re-type config paths in
ConfigError
s to beStrSequence
s instead ofIterable[str]
s. (#15615) - Update Mutual Rooms (MSC2666) implementation to match new proposal text. (#15621)
- Remove the unstable identifiers from faster joins (MSC3706). (#15625)
- Fix the olddeps CI. (#15626)
- Remove duplicate timestamp from test logs (
_trial_temp/test.log
). (#15636) - Fix two memory leaks in
trial
test runs. (#15630) - Limit the size of the
HomeServerConfig
cache in trial test runs. (#15646) - Improve type hints. (#15658, #15659)
- Add requesting user id parameter to key claim methods in
TransportLayerClient
. (#15663) - Speed up rebuilding of the user directory for local users. (#15665)
- Implement "option 2" for MSC3820: Room version 11. (#15666, #15678)
Updates to locked dependencies
- Bump furo from 2023.3.27 to 2023.5.20. (#15642)
- Bump log from 0.4.17 to 0.4.18. (#15681)
- Bump prometheus-client from 0.16.0 to 0.17.0. (#15682)
- Bump pydantic from 1.10.7 to 1.10.8. (#15685)
- Bump pygithub from 1.58.1 to 1.58.2. (#15643)
- Bump requests from 2.28.2 to 2.31.0. (#15651)
- Bump sphinx from 6.1.3 to 6.2.1. (#15641)
- Bump types-bleach from 6.0.0.1 to 6.0.0.3. (#15686)
- Bump types-pillow from 9.5.0.2 to 9.5.0.4. (#15640)
- Bump types-pyyaml from 6.0.12.9 to 6.0.12.10. (#15683)
- Bump types-requests from 2.30.0.0 to 2.31.0.0. (#15684)
- Bump types-setuptools from 67.7.0.2 to 67.8.0.0. (#15639)