0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 04:33:47 +01:00

1.26.0rc1

This commit is contained in:
Patrick Cloke 2021-01-20 07:14:25 -05:00
parent fa842a9866
commit 72822e60be
76 changed files with 83 additions and 75 deletions

View file

@ -1,3 +1,85 @@
Synapse 1.26.0rc1 (2021-01-20)
==============================
Features
--------
- Remove a user's avatar URL and display name when deactivated with the Admin API. ([\#8932](https://github.com/matrix-org/synapse/issues/8932))
- Update `/_synapse/admin/v1/users/<user_id>/joined_rooms` to work for both local and remote users. ([\#8948](https://github.com/matrix-org/synapse/issues/8948))
- Implement [MSC2176](https://github.com/matrix-org/matrix-doc/pull/2176) in an experimental room version. ([\#8984](https://github.com/matrix-org/synapse/issues/8984))
- Add support for multiple SSO Identity Providers. ([\#9015](https://github.com/matrix-org/synapse/issues/9015), [\#9017](https://github.com/matrix-org/synapse/issues/9017), [\#9036](https://github.com/matrix-org/synapse/issues/9036), [\#9067](https://github.com/matrix-org/synapse/issues/9067), [\#9081](https://github.com/matrix-org/synapse/issues/9081), [\#9082](https://github.com/matrix-org/synapse/issues/9082), [\#9105](https://github.com/matrix-org/synapse/issues/9105), [\#9107](https://github.com/matrix-org/synapse/issues/9107), [\#9109](https://github.com/matrix-org/synapse/issues/9109), [\#9110](https://github.com/matrix-org/synapse/issues/9110), [\#9127](https://github.com/matrix-org/synapse/issues/9127), [\#9153](https://github.com/matrix-org/synapse/issues/9153))
- Improved performance when calculating ignored users in large rooms. ([\#9024](https://github.com/matrix-org/synapse/issues/9024))
- Add experimental support for handling and persistence of to-device messages to happen on worker processes. ([\#9042](https://github.com/matrix-org/synapse/issues/9042), [\#9043](https://github.com/matrix-org/synapse/issues/9043), [\#9044](https://github.com/matrix-org/synapse/issues/9044), [\#9130](https://github.com/matrix-org/synapse/issues/9130))
- Add experimental support for handling `/keys/claim` and `/room_keys` APIs on worker processes. ([\#9068](https://github.com/matrix-org/synapse/issues/9068))
- Add an admin API for protecting local media from quarantine. ([\#9086](https://github.com/matrix-org/synapse/issues/9086))
- During user-interactive authentication via single-sign-on, give a better error if the user uses the wrong account on the SSO IdP. ([\#9091](https://github.com/matrix-org/synapse/issues/9091))
- Add experimental support for handling `/devices` API on worker processes. ([\#9092](https://github.com/matrix-org/synapse/issues/9092))
- Add experimental support for moving off receipts and account data persistence off master. ([\#9104](https://github.com/matrix-org/synapse/issues/9104), [\#9166](https://github.com/matrix-org/synapse/issues/9166))
Bugfixes
--------
- Fix a longstanding issue where an internal server error would occur when requesting a profile over federation that did not include a display name / avatar URL. ([\#9023](https://github.com/matrix-org/synapse/issues/9023))
- Fix a long-standing bug where some caches could grow larger than configured. ([\#9028](https://github.com/matrix-org/synapse/issues/9028))
- Fix error handling during insertion of client IPs into the database. ([\#9051](https://github.com/matrix-org/synapse/issues/9051))
- Fix bug where we didn't correctly record CPU time spent in 'on_new_event' block. ([\#9053](https://github.com/matrix-org/synapse/issues/9053))
- Fix a minor bug which could cause confusing error messages from invalid configurations. ([\#9054](https://github.com/matrix-org/synapse/issues/9054))
- Fix incorrect exit code when there is an error at startup. ([\#9059](https://github.com/matrix-org/synapse/issues/9059))
- Fix `JSONDecodeError` spamming the logs when sending transactions to remote servers. ([\#9070](https://github.com/matrix-org/synapse/issues/9070))
- Fix "Failed to send request" errors when a client provides an invalid room alias. ([\#9071](https://github.com/matrix-org/synapse/issues/9071))
- Fix "Unhandled error in Deferred: BodyExceededMaxSize" errors when .well-known files that are too large. ([\#9108](https://github.com/matrix-org/synapse/issues/9108))
- Fix bugs in federation catchup logic that caused outbound federation to be delayed for large servers after start up. Introduced in v1.8.0 and v1.21.0. ([\#9114](https://github.com/matrix-org/synapse/issues/9114), [\#9116](https://github.com/matrix-org/synapse/issues/9116))
- Fix corruption of `pushers` data when a postgres bouncer is used. ([\#9117](https://github.com/matrix-org/synapse/issues/9117))
- Fix minor bugs in handling the `clientRedirectUrl` parameter for SSO login. ([\#9128](https://github.com/matrix-org/synapse/issues/9128))
- Fix "UnboundLocalError: local variable 'length' referenced before assignment" errors when the response body exceeds the expected size. This bug was introduced in v1.25.0. ([\#9145](https://github.com/matrix-org/synapse/issues/9145))
- Fix a long-standing bug "ValueError: invalid literal for int() with base 10" when `/publicRooms` is requested with an invalid `server` parameter. ([\#9161](https://github.com/matrix-org/synapse/issues/9161))
Improved Documentation
----------------------
- Add some extra docs for getting Synapse running on macOS. ([\#8997](https://github.com/matrix-org/synapse/issues/8997))
- Corrected a typo in the `systemd-with-workers` documentation. ([\#9035](https://github.com/matrix-org/synapse/issues/9035))
- Corrected a typo in `INSTALL.md`. ([\#9040](https://github.com/matrix-org/synapse/issues/9040))
- Add missing user_mapping_provider configuration to the Keycloak OIDC example. Contributed by @chris-ruecker. ([\#9057](https://github.com/matrix-org/synapse/issues/9057))
- Quote `pip install` packages when extras are used to avoid shells interpreting bracket characters. ([\#9151](https://github.com/matrix-org/synapse/issues/9151))
Deprecations and Removals
-------------------------
- Remove broken and unmaintained `demo/webserver.py` script. ([\#9039](https://github.com/matrix-org/synapse/issues/9039))
Internal Changes
----------------
- Improve efficiency of large state resolutions. ([\#8868](https://github.com/matrix-org/synapse/issues/8868), [\#9029](https://github.com/matrix-org/synapse/issues/9029), [\#9115](https://github.com/matrix-org/synapse/issues/9115), [\#9118](https://github.com/matrix-org/synapse/issues/9118), [\#9124](https://github.com/matrix-org/synapse/issues/9124))
- Various clean-ups to the structured logging and logging context code. ([\#8939](https://github.com/matrix-org/synapse/issues/8939))
- Ensure rejected events get added to some metadata tables. ([\#9016](https://github.com/matrix-org/synapse/issues/9016))
- Ignore date-rotated homeserver logs saved to disk. ([\#9018](https://github.com/matrix-org/synapse/issues/9018))
- Removed an unused column from `access_tokens` table. ([\#9025](https://github.com/matrix-org/synapse/issues/9025))
- Add a `-noextras` factor to `tox.ini`, to support running the tests with no optional dependencies. ([\#9030](https://github.com/matrix-org/synapse/issues/9030))
- Fix running unit tests when optional dependencies are not installed. ([\#9031](https://github.com/matrix-org/synapse/issues/9031))
- Allow bumping schema version when using split out state database. ([\#9033](https://github.com/matrix-org/synapse/issues/9033))
- Configure the linters to run on a consistent set of files. ([\#9038](https://github.com/matrix-org/synapse/issues/9038))
- Various cleanups to device inbox store. ([\#9041](https://github.com/matrix-org/synapse/issues/9041))
- Drop unused database tables. ([\#9055](https://github.com/matrix-org/synapse/issues/9055))
- Remove unused `SynapseService` class. ([\#9058](https://github.com/matrix-org/synapse/issues/9058))
- Removes unnecessary declarations in the tests for the admin API. ([\#9063](https://github.com/matrix-org/synapse/issues/9063))
- Remove `SynapseRequest.get_user_agent`. ([\#9069](https://github.com/matrix-org/synapse/issues/9069))
- Remove redundant `Homeserver.get_ip_from_request` method. ([\#9080](https://github.com/matrix-org/synapse/issues/9080))
- Add type hints to media repository. ([\#9093](https://github.com/matrix-org/synapse/issues/9093))
- Fix the wrong arguments being passed to `BlacklistingAgentWrapper` from `MatrixFederationAgent`. Contributed by Timothy Leung. ([\#9098](https://github.com/matrix-org/synapse/issues/9098))
- Reduce the scope of caught exceptions in `BlacklistingAgentWrapper`. ([\#9106](https://github.com/matrix-org/synapse/issues/9106))
- Improve `UsernamePickerTestCase`. ([\#9112](https://github.com/matrix-org/synapse/issues/9112))
- Remove dependency on `distutils`. ([\#9125](https://github.com/matrix-org/synapse/issues/9125))
- Enforce that replication HTTP clients are called with keyword arguments only. ([\#9144](https://github.com/matrix-org/synapse/issues/9144))
- Fix the Python 3.5 + old dependencies build in CI. ([\#9146](https://github.com/matrix-org/synapse/issues/9146))
- Replace the old `perspectives` option in the Synapse docker config file template with `trusted_key_servers`. ([\#9157](https://github.com/matrix-org/synapse/issues/9157))
Synapse 1.25.0 (2021-01-13)
===========================

View file

@ -1 +0,0 @@
Improve efficiency of large state resolutions.

View file

@ -1 +0,0 @@
Remove a user's avatar URL and display name when deactivated with the Admin API.

View file

@ -1 +0,0 @@
Various clean-ups to the structured logging and logging context code.

View file

@ -1 +0,0 @@
Update `/_synapse/admin/v1/users/<user_id>/joined_rooms` to work for both local and remote users.

View file

@ -1 +0,0 @@
Implement [MSC2176](https://github.com/matrix-org/matrix-doc/pull/2176) in an experimental room version.

View file

@ -1 +0,0 @@
Add some extra docs for getting Synapse running on macOS.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Ensure rejected events get added to some metadata tables.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Ignore date-rotated homeserver logs saved to disk.

View file

@ -1 +0,0 @@
Fix a longstanding issue where an internal server error would occur when requesting a profile over federation that did not include a display name / avatar URL.

View file

@ -1 +0,0 @@
Improved performance when calculating ignored users in large rooms.

View file

@ -1 +0,0 @@
Removed an unused column from `access_tokens` table.

View file

@ -1 +0,0 @@
Fix a long-standing bug where some caches could grow larger than configured.

View file

@ -1 +0,0 @@
Improve efficiency of large state resolutions.

View file

@ -1 +0,0 @@
Add a `-noextras` factor to `tox.ini`, to support running the tests with no optional dependencies.

View file

@ -1 +0,0 @@
Fix running unit tests when optional dependencies are not installed.

View file

@ -1 +0,0 @@
Allow bumping schema version when using split out state database.

View file

@ -1 +0,0 @@
Corrected a typo in the `systemd-with-workers` documentation.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Configure the linters to run on a consistent set of files.

View file

@ -1 +0,0 @@
Remove broken and unmaintained `demo/webserver.py` script.

View file

@ -1 +0,0 @@
Corrected a typo in `INSTALL.md`.

View file

@ -1 +0,0 @@
Various cleanups to device inbox store.

View file

@ -1 +0,0 @@
Add experimental support for handling and persistence of to-device messages to happen on worker processes.

View file

@ -1 +0,0 @@
Add experimental support for handling and persistence of to-device messages to happen on worker processes.

View file

@ -1 +0,0 @@
Add experimental support for handling and persistence of to-device messages to happen on worker processes.

View file

@ -1 +0,0 @@
Fix error handling during insertion of client IPs into the database.

View file

@ -1 +0,0 @@
Fix bug where we didn't correctly record CPU time spent in 'on_new_event' block.

View file

@ -1 +0,0 @@
Fix a minor bug which could cause confusing error messages from invalid configurations.

View file

@ -1 +0,0 @@
Drop unused database tables.

View file

@ -1 +0,0 @@
Add missing user_mapping_provider configuration to the Keycloak OIDC example. Contributed by @chris-ruecker.

View file

@ -1 +0,0 @@
Remove unused `SynapseService` class.

View file

@ -1 +0,0 @@
Fix incorrect exit code when there is an error at startup.

View file

@ -1 +0,0 @@
Removes unnecessary declarations in the tests for the admin API.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Add experimental support for handling `/keys/claim` and `/room_keys` APIs on worker processes.

View file

@ -1 +0,0 @@
Remove `SynapseRequest.get_user_agent`.

View file

@ -1 +0,0 @@
Fix `JSONDecodeError` spamming the logs when sending transactions to remote servers.

View file

@ -1 +0,0 @@
Fix "Failed to send request" errors when a client provides an invalid room alias.

View file

@ -1 +0,0 @@
Remove redundant `Homeserver.get_ip_from_request` method.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Add an admin API for protecting local media from quarantine.

View file

@ -1 +0,0 @@
During user-interactive authentication via single-sign-on, give a better error if the user uses the wrong account on the SSO IdP.

View file

@ -1 +0,0 @@
Add experimental support for handling `/devices` API on worker processes.

View file

@ -1 +0,0 @@
Add type hints to media repository.

View file

@ -1 +0,0 @@
Fix the wrong arguments being passed to `BlacklistingAgentWrapper` from `MatrixFederationAgent`. Contributed by Timothy Leung.

View file

@ -1 +0,0 @@
Add experimental support for moving off receipts and account data persistence off master.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Reduce the scope of caught exceptions in `BlacklistingAgentWrapper`.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Fix "Unhandled error in Deferred: BodyExceededMaxSize" errors when .well-known files that are too large.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Improve `UsernamePickerTestCase`.

View file

@ -1 +0,0 @@
Fix bugs in federation catchup logic that caused outbound federation to be delayed for large servers after start up. Introduced in v1.8.0 and v1.21.0.

View file

@ -1 +0,0 @@
Improve efficiency of large state resolutions.

View file

@ -1 +0,0 @@
Fix bugs in federation catchup logic that caused outbound federation to be delayed for large servers after start up. Introduced in v1.8.0 and v1.21.0.

View file

@ -1 +0,0 @@
Fix corruption of `pushers` data when a postgres bouncer is used.

View file

@ -1 +0,0 @@
Improve efficiency of large state resolutions.

View file

@ -1 +0,0 @@
Improve efficiency of large state resolutions.

View file

@ -1 +0,0 @@
Remove dependency on `distutils`.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Fix minor bugs in handling the `clientRedirectUrl` parameter for SSO login.

View file

@ -1 +0,0 @@
Add experimental support for handling and persistence of to-device messages to happen on worker processes.

View file

@ -1 +0,0 @@
Enforce that replication HTTP clients are called with keyword arguments only.

View file

@ -1 +0,0 @@
Fix "UnboundLocalError: local variable 'length' referenced before assignment" errors when the response body exceeds the expected size. This bug was introduced in v1.25.0.

View file

@ -1 +0,0 @@
Fix the Python 3.5 + old dependencies build in CI.

View file

@ -1 +0,0 @@
Quote `pip install` packages when extras are used to avoid shells interpreting bracket characters.

View file

@ -1 +0,0 @@
Add support for multiple SSO Identity Providers.

View file

@ -1 +0,0 @@
Replace the old `perspectives` option in the Synapse docker config file template with `trusted_key_servers`.

View file

@ -1 +0,0 @@
Fix a long-standing bug "ValueError: invalid literal for int() with base 10" when `/publicRooms` is requested with an invalid `server` parameter.

View file

@ -1 +0,0 @@
Add experimental support for moving off receipts and account data persistence off master.

View file

@ -48,7 +48,7 @@ try:
except ImportError:
pass
__version__ = "1.25.0"
__version__ = "1.26.0rc1"
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
# We import here so that we don't have to install a bunch of deps when