This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
v1.16.0rc1
Pre-release
Pre-release
·
6360 commits
to develop
since this release
Synapse 1.16.0rc1 (2020-07-01)
Note that this release deprecates the m.login.jwt
login method, renaming it to org.matrix.login.jwt
, as m.login.jwt
is not part of the Matrix spec. Otherwise the behaviour is identical. Synapse will accept both names for now, but this may change in a future release.
Features
- Add an option to enable encryption by default for new rooms. (#7639)
- Add support for running multiple media repository workers. See docs/workers.md for instructions. (#7706)
- Media can now be marked as safe from quarantined. (#7718)
- Expand the configuration options for auto-join rooms. (#7763)
Bugfixes
- Remove
user_id
from the response toGET /_matrix/client/r0/presence/{userId}/status
to match the specification. (#7606) - In worker mode, ensure that replicated data has not already been received. (#7648)
- Fix intermittent exception during startup, introduced in Synapse 1.14.0. (#7663)
- Include a user-agent for federation and well-known requests. (#7677)
- Accept the proper field (
phone
) for them.id.phone
identifier type. The legacy field ofnumber
is still accepted as a fallback. Bug introduced in v0.20.0. (#7687) - Fix "Starting db txn 'get_completed_ui_auth_stages' from sentinel context" warning. The bug was introduced in 1.13.0. (#7688)
- Compare the URI and method during user interactive authentication (instead of the URI twice). Bug introduced in 1.13.0. (#7689)
- Fix a long standing bug where the response to the
GET room_keys/version
endpoint had the incorrect type for theetag
field. (#7691) - Fix logged error during device resync in opentracing. Broke in v1.14.0. (#7698)
- Do not break push rule evaluation when receiving an event with a non-string body. This is a long-standing bug. (#7701)
- Fixs a long standing bug which resulted in an exception: "TypeError: argument of type 'ObservableDeferred' is not iterable". (#7708)
- The
synapse_port_db
script no longer fails when theui_auth_sessions
table is non-empty. This bug has existed since v1.13.0. (#7711) - Synapse will now fetch media from the proper specified URL (using the r0 prefix instead of the unspecified v1). (#7714)
- Fix the tables ignored by
synapse_port_db
to be in sync the current database schema. (#7717) - Fix missing
Content-Length
on HTTP responses from the metrics handler. (#7730) - Fix large state resolutions from stalling Synapse for seconds at a time. (#7735, #7746)
Improved Documentation
- Spelling correction in sample_config.yaml. (#7652)
- Added instructions for how to use Keycloak via OpenID Connect to authenticate with Synapse. (#7659)
- Corrected misspelling of PostgreSQL. (#7724)
Deprecations and Removals
- Deprecate
m.login.jwt
login method in favour oforg.matrix.login.jwt
, asm.login.jwt
is not part of the Matrix spec. (#7675)
Internal Changes
- Refactor getting replication updates from database. (#7636)
- Clean-up the login fallback code. (#7657)
- Increase the default SAML session expiry time to 15 minutes. (#7664)
- Convert the device message and pagination handlers to async/await. (#7678)
- Convert typing handler to async/await. (#7679)
- Require
parameterized
package version to be at least 0.7.0. (#7680) - Refactor handling of
listeners
configuration settings. (#7681) - Replace uses of
six.iterkeys
/iteritems
/itervalues
withkeys()
/items()
/values()
. (#7692) - Add support for using
rust-python-jaeger-reporter
library to reduce jaeger tracing overhead. (#7697) - Make Tox actions work on Debian 10. (#7703)
- Replace all remaining uses of
six
with native Python 3 equivalents. Contributed by @ilmari. (#7704) - Fix broken link in sample config. (#7712)
- Speed up state res v2 across large state differences. (#7725)
- Convert directory handler to async/await. (#7727)
- Move
flake8
to the end ofscripts-dev/lint.sh
as it takes the longest and could cause the script to exit early. (#7738) - Explain the "test" conditional requirement for dependencies is not all of the modules necessary to run the unit tests. (#7751)
- Add some metrics for inbound and outbound federation latencies:
synapse_federation_server_pdu_process_time
andsynapse_event_processing_lag_by_event
. (#7755)