0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 22:53:46 +01:00
This commit is contained in:
Brendan Abolivier 2020-05-26 16:45:37 +02:00
parent edd9a7214c
commit 3b19c17247
78 changed files with 106 additions and 76 deletions

View file

@ -1,3 +1,102 @@
Synapse 1.14.0 (2020-05-26)
===========================
Features
--------
- Synapse's cache factor can now be configured in `homeserver.yaml` by the `caches.global_factor` setting. Additionally, `caches.per_cache_factors` controls the cache factors for individual caches. ([\#6391](https://github.com/matrix-org/synapse/issues/6391))
- Add OpenID Connect login/registration support. Contributed by Quentin Gliech, on behalf of [les Connecteurs](https://connecteu.rs). ([\#7256](https://github.com/matrix-org/synapse/issues/7256), [\#7457](https://github.com/matrix-org/synapse/issues/7457))
- Add room details admin endpoint. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7317](https://github.com/matrix-org/synapse/issues/7317))
- Allow for using more than one spam checker module at once. ([\#7435](https://github.com/matrix-org/synapse/issues/7435))
- Add `instance_map` config and route replication calls. ([\#7495](https://github.com/matrix-org/synapse/issues/7495))
- Add additional authentication checks for m.room.power_levels event per [MSC2209](https://github.com/matrix-org/matrix-doc/pull/2209). ([\#7502](https://github.com/matrix-org/synapse/issues/7502))
- Implement room version 6 per [MSC2240](https://github.com/matrix-org/matrix-doc/pull/2240). ([\#7506](https://github.com/matrix-org/synapse/issues/7506))
- Add option to move event persistence off master. ([\#7517](https://github.com/matrix-org/synapse/issues/7517))
Bugfixes
--------
- Add an experimental room version which strictly adheres to the canonical JSON specification. ([\#7381](https://github.com/matrix-org/synapse/issues/7381))
- Fix a bug where event updates might not be sent over replication to worker processes after the stream falls behind. ([\#7384](https://github.com/matrix-org/synapse/issues/7384))
- Allow expired user accounts to log out their device sessions. ([\#7443](https://github.com/matrix-org/synapse/issues/7443))
- Fix a bug that would cause Synapse not to resync out-of-sync device lists. ([\#7453](https://github.com/matrix-org/synapse/issues/7453))
- Prevent rooms with 0 members or with invalid version strings from breaking group queries. ([\#7465](https://github.com/matrix-org/synapse/issues/7465))
- Workaround for an upstream Twisted bug that caused Synapse to become unresponsive after startup. ([\#7473](https://github.com/matrix-org/synapse/issues/7473))
- Fix Redis reconnection logic that can result in missed updates over replication if master reconnects to Redis without restarting. ([\#7482](https://github.com/matrix-org/synapse/issues/7482))
- When sending `m.room.member` events, omit `displayname` and `avatar_url` if they aren't set instead of setting them to `null`. Contributed by Aaron Raimist. ([\#7497](https://github.com/matrix-org/synapse/issues/7497))
- Fix incorrect `method` label on `synapse_http_matrixfederationclient_{requests,responses}` prometheus metrics. ([\#7503](https://github.com/matrix-org/synapse/issues/7503))
- Ignore incoming presence events from other homeservers if presence is disabled locally. ([\#7508](https://github.com/matrix-org/synapse/issues/7508))
- Fix a long-standing bug that broke the update remote profile background process. ([\#7511](https://github.com/matrix-org/synapse/issues/7511))
- Hash passwords as early as possible during password reset. ([\#7538](https://github.com/matrix-org/synapse/issues/7538))
- Fix bug where a local user leaving a room could fail under rare circumstances. ([\#7548](https://github.com/matrix-org/synapse/issues/7548))
- Fix "Missing RelayState parameter" error when using user interactive authentication with SAML for some SAML providers. ([\#7552](https://github.com/matrix-org/synapse/issues/7552))
- Fix exception `'GenericWorkerReplicationHandler' object has no attribute 'send_federation_ack'`, introduced in v1.13.0. ([\#7565](https://github.com/matrix-org/synapse/issues/7565))
Updates to the Docker image
---------------------------
- Update docker runtime image to Alpine v3.11. Contributed by @Starbix. ([\#7398](https://github.com/matrix-org/synapse/issues/7398))
Improved Documentation
----------------------
- Update information about mapping providers for SAML and OpenID. ([\#7458](https://github.com/matrix-org/synapse/issues/7458))
- Add additional reverse proxy example for Caddy v2. Contributed by Jeff Peeler. ([\#7463](https://github.com/matrix-org/synapse/issues/7463))
- Fix copy-paste error in `ServerNoticesConfig` docstring. Contributed by @ptman. ([\#7477](https://github.com/matrix-org/synapse/issues/7477))
- Improve the formatting of `reverse_proxy.md`. ([\#7514](https://github.com/matrix-org/synapse/issues/7514))
- Change the systemd worker service to check that the worker config file exists instead of silently failing. Contributed by David Vo. ([\#7528](https://github.com/matrix-org/synapse/issues/7528))
- Minor clarifications to the TURN docs. ([\#7533](https://github.com/matrix-org/synapse/issues/7533))
Internal Changes
----------------
- `synctl` now warns if it was unable to stop Synapse and will not attempt to start Synapse if nothing was stopped. Contributed by Romain Bouyé. ([\#6590](https://github.com/matrix-org/synapse/issues/6590))
- Add MultiWriterIdGenerator to support multiple concurrent writers of streams. ([\#7281](https://github.com/matrix-org/synapse/issues/7281))
- Move catchup of replication streams logic to worker. ([\#7374](https://github.com/matrix-org/synapse/issues/7374))
- Add typing annotations in `synapse.federation`. ([\#7382](https://github.com/matrix-org/synapse/issues/7382))
- Convert the room handler to async/await. ([\#7396](https://github.com/matrix-org/synapse/issues/7396))
- Improve performance of `get_e2e_cross_signing_key`. ([\#7428](https://github.com/matrix-org/synapse/issues/7428))
- Improve performance of `mark_as_sent_devices_by_remote`. ([\#7429](https://github.com/matrix-org/synapse/issues/7429), [\#7562](https://github.com/matrix-org/synapse/issues/7562))
- Support any process writing to cache invalidation stream. ([\#7436](https://github.com/matrix-org/synapse/issues/7436))
- Refactor event persistence database functions in preparation for allowing them to be run on non-master processes. ([\#7440](https://github.com/matrix-org/synapse/issues/7440))
- Add type hints to the SAML handler. ([\#7445](https://github.com/matrix-org/synapse/issues/7445))
- Remove storage method `get_hosts_in_room` that is no longer called anywhere. ([\#7448](https://github.com/matrix-org/synapse/issues/7448))
- Fix some typos in the notice_expiry templates. ([\#7449](https://github.com/matrix-org/synapse/issues/7449))
- Convert the federation handler to async/await. ([\#7459](https://github.com/matrix-org/synapse/issues/7459))
- Convert the search handler to async/await. ([\#7460](https://github.com/matrix-org/synapse/issues/7460))
- Fix linting errors in new version of Flake8. ([\#7470](https://github.com/matrix-org/synapse/issues/7470))
- Have all instance correctly respond to REPLICATE command. ([\#7475](https://github.com/matrix-org/synapse/issues/7475))
- Clean up replication unit tests. ([\#7490](https://github.com/matrix-org/synapse/issues/7490))
- Move event stream handling out of slave store. ([\#7491](https://github.com/matrix-org/synapse/issues/7491))
- Allow censoring of events to happen on workers. ([\#7492](https://github.com/matrix-org/synapse/issues/7492))
- Move EventStream handling into default ReplicationDataHandler. ([\#7493](https://github.com/matrix-org/synapse/issues/7493))
- Add type hints to `synapse.event_auth`. ([\#7505](https://github.com/matrix-org/synapse/issues/7505))
- Convert the room member handler to async/await. ([\#7507](https://github.com/matrix-org/synapse/issues/7507))
- Add type hints to room member handler. ([\#7513](https://github.com/matrix-org/synapse/issues/7513))
- Allow `ReplicationRestResource` to be added to workers. ([\#7515](https://github.com/matrix-org/synapse/issues/7515))
- Add a worker store for search insertion, required for moving event persistence off master. ([\#7516](https://github.com/matrix-org/synapse/issues/7516))
- Fix typing annotations in `tests.replication`. ([\#7518](https://github.com/matrix-org/synapse/issues/7518))
- Remove some redundant Python 2 support code. ([\#7519](https://github.com/matrix-org/synapse/issues/7519))
- All endpoints now respond with a 200 OK for `OPTIONS` requests. ([\#7534](https://github.com/matrix-org/synapse/issues/7534), [\#7560](https://github.com/matrix-org/synapse/issues/7560))
- Synapse now exports [detailed allocator statistics](https://doc.pypy.org/en/latest/gc_info.html#gc-get-stats) and basic GC timings as Prometheus metrics (`pypy_gc_time_seconds_total` and `pypy_memory_bytes`) when run under PyPy. Contributed by Ivan Shapovalov. ([\#7536](https://github.com/matrix-org/synapse/issues/7536))
- Remove Ubuntu Cosmic and Disco from the list of distributions which we provide `.deb`s for, due to end-of-life. ([\#7539](https://github.com/matrix-org/synapse/issues/7539))
- Add ability to wait for replication streams. ([\#7542](https://github.com/matrix-org/synapse/issues/7542))
- Make worker processes return a stubbed-out response to `GET /presence` requests. ([\#7545](https://github.com/matrix-org/synapse/issues/7545))
- Optimise some references to `hs.config`. ([\#7546](https://github.com/matrix-org/synapse/issues/7546))
- On upgrade room only send canonical alias once. ([\#7547](https://github.com/matrix-org/synapse/issues/7547))
- Fix some indentation inconsistencies in the sample config. ([\#7550](https://github.com/matrix-org/synapse/issues/7550))
- Include `synapse.http.site` in type checking. ([\#7553](https://github.com/matrix-org/synapse/issues/7553))
- Fix some test code to not mangle stacktraces, to make it easier to debug errors. ([\#7554](https://github.com/matrix-org/synapse/issues/7554))
- Refresh apt cache when building dh_virtualenv docker image. ([\#7555](https://github.com/matrix-org/synapse/issues/7555))
- Stop logging some expected HTTP request errors as exceptions. ([\#7556](https://github.com/matrix-org/synapse/issues/7556), [\#7563](https://github.com/matrix-org/synapse/issues/7563))
- Convert sending mail to async/await. ([\#7557](https://github.com/matrix-org/synapse/issues/7557))
- Simplify `reap_monthly_active_users`. ([\#7558](https://github.com/matrix-org/synapse/issues/7558))
Synapse 1.13.0 (2020-05-19) Synapse 1.13.0 (2020-05-19)
=========================== ===========================

View file

@ -1 +0,0 @@
Synapse's cache factor can now be configured in `homeserver.yaml` by the `caches.global_factor` setting. Additionally, `caches.per_cache_factors` controls the cache factors for individual caches.

View file

@ -1 +0,0 @@
`synctl` now warns if it was unable to stop Synapse and will not attempt to start Synapse if nothing was stopped. Contributed by Romain Bouyé.

View file

@ -1 +0,0 @@
Add OpenID Connect login/registration support. Contributed by Quentin Gliech, on behalf of [les Connecteurs](https://connecteu.rs).

View file

@ -1 +0,0 @@
Add MultiWriterIdGenerator to support multiple concurrent writers of streams.

View file

@ -1 +0,0 @@
Add room details admin endpoint. Contributed by Awesome Technologies Innovationslabor GmbH.

View file

@ -1 +0,0 @@
Move catchup of replication streams logic to worker.

View file

@ -1 +0,0 @@
Add an experimental room version which strictly adheres to the canonical JSON specification.

View file

@ -1 +0,0 @@
Add typing annotations in `synapse.federation`.

View file

@ -1 +0,0 @@
Fix a bug where event updates might not be sent over replication to worker processes after the stream falls behind.

View file

@ -1 +0,0 @@
Convert the room handler to async/await.

View file

@ -1 +0,0 @@
Update docker runtime image to Alpine v3.11. Contributed by @Starbix.

View file

@ -1 +0,0 @@
Improve performance of `get_e2e_cross_signing_key`.

View file

@ -1 +0,0 @@
Improve performance of `mark_as_sent_devices_by_remote`.

View file

@ -1 +0,0 @@
Allow for using more than one spam checker module at once.

View file

@ -1 +0,0 @@
Support any process writing to cache invalidation stream.

View file

@ -1 +0,0 @@
Refactor event persistence database functions in preparation for allowing them to be run on non-master processes.

View file

@ -1 +0,0 @@
Allow expired user accounts to log out their device sessions.

View file

@ -1 +0,0 @@
Add type hints to the SAML handler.

View file

@ -1 +0,0 @@
Remove storage method `get_hosts_in_room` that is no longer called anywhere.

View file

@ -1 +0,0 @@
Fix some typos in the notice_expiry templates.

View file

@ -1 +0,0 @@
Fix a bug that would cause Synapse not to resync out-of-sync device lists.

View file

@ -1 +0,0 @@
Add OpenID Connect login/registration support. Contributed by Quentin Gliech, on behalf of [les Connecteurs](https://connecteu.rs).

View file

@ -1 +0,0 @@
Update information about mapping providers for SAML and OpenID.

View file

@ -1 +0,0 @@
Convert the federation handler to async/await.

View file

@ -1 +0,0 @@
Convert the search handler to async/await.

View file

@ -1 +0,0 @@
Add additional reverse proxy example for Caddy v2. Contributed by Jeff Peeler.

View file

@ -1 +0,0 @@
Prevent rooms with 0 members or with invalid version strings from breaking group queries.

View file

@ -1 +0,0 @@
Fix linting errors in new version of Flake8.

View file

@ -1 +0,0 @@
Workaround for an upstream Twisted bug that caused Synapse to become unresponsive after startup.

View file

@ -1 +0,0 @@
Have all instance correctly respond to REPLICATE command.

View file

@ -1 +0,0 @@
Fix copy-paste error in `ServerNoticesConfig` docstring. Contributed by @ptman.

View file

@ -1 +0,0 @@
Fix Redis reconnection logic that can result in missed updates over replication if master reconnects to Redis without restarting.

View file

@ -1 +0,0 @@
Clean up replication unit tests.

View file

@ -1 +0,0 @@
Move event stream handling out of slave store.

View file

@ -1 +0,0 @@
Allow censoring of events to happen on workers.

View file

@ -1 +0,0 @@
Move EventStream handling into default ReplicationDataHandler.

View file

@ -1 +0,0 @@
Add `instance_map` config and route replication calls.

View file

@ -1 +0,0 @@
When sending `m.room.member` events, omit `displayname` and `avatar_url` if they aren't set instead of setting them to `null`. Contributed by Aaron Raimist.

View file

@ -1 +0,0 @@
Add additional authentication checks for m.room.power_levels event per [MSC2209](https://github.com/matrix-org/matrix-doc/pull/2209).

View file

@ -1 +0,0 @@
Fix incorrect `method` label on `synapse_http_matrixfederationclient_{requests,responses}` prometheus metrics.

View file

@ -1 +0,0 @@
Add type hints to `synapse.event_auth`.

View file

@ -1 +0,0 @@
Implement room version 6 per [MSC2240](https://github.com/matrix-org/matrix-doc/pull/2240).

View file

@ -1 +0,0 @@
Convert the room member handler to async/await.

View file

@ -1 +0,0 @@
Ignore incoming presence events from other homeservers if presence is disabled locally.

View file

@ -1 +0,0 @@
Fix a long-standing bug that broke the update remote profile background process.

View file

@ -1 +0,0 @@
Add type hints to room member handler.

View file

@ -1 +0,0 @@
Improve the formatting of `reverse_proxy.md`.

View file

@ -1 +0,0 @@
Allow `ReplicationRestResource` to be added to workers.

View file

@ -1 +0,0 @@
Add a worker store for search insertion, required for moving event persistence off master.

View file

@ -1 +0,0 @@
Add option to move event persistence off master.

View file

@ -1 +0,0 @@
Fix typing annotations in `tests.replication`.

View file

@ -1 +0,0 @@
Remove some redundant Python 2 support code.

View file

@ -1 +0,0 @@
Change the systemd worker service to check that the worker config file exists instead of silently failing. Contributed by David Vo.

View file

@ -1 +0,0 @@
Minor clarifications to the TURN docs.

View file

@ -1 +0,0 @@
All endpoints now respond with a 200 OK for `OPTIONS` requests.

View file

@ -1 +0,0 @@
Synapse now exports [detailed allocator statistics](https://doc.pypy.org/en/latest/gc_info.html#gc-get-stats) and basic GC timings as Prometheus metrics (`pypy_gc_time_seconds_total` and `pypy_memory_bytes`) when run under PyPy. Contributed by Ivan Shapovalov.

View file

@ -1 +0,0 @@
Hash passwords as early as possible during password reset.

View file

@ -1 +0,0 @@
Remove Ubuntu Cosmic and Disco from the list of distributions which we provide `.deb`s for, due to end-of-life.

View file

@ -1 +0,0 @@
Add ability to wait for replication streams.

View file

@ -1 +0,0 @@
Make worker processes return a stubbed-out response to `GET /presence` requests.

View file

@ -1 +0,0 @@
Optimise some references to `hs.config`.

View file

@ -1 +0,0 @@
On upgrade room only send canonical alias once.

View file

@ -1 +0,0 @@
Fix bug where a local user leaving a room could fail under rare circumstances.

View file

@ -1 +0,0 @@
Fix some indentation inconsistencies in the sample config.

View file

@ -1 +0,0 @@
Fix "Missing RelayState parameter" error when using user interactive authentication with SAML for some SAML providers.

View file

@ -1 +0,0 @@
Include `synapse.http.site` in type checking.

View file

@ -1 +0,0 @@
Fix some test code to not mangle stacktraces, to make it easier to debug errors.

View file

@ -1 +0,0 @@
Refresh apt cache when building dh_virtualenv docker image.

View file

@ -1 +0,0 @@
Stop logging some expected HTTP request errors as exceptions.

View file

@ -1 +0,0 @@
Convert sending mail to async/await.

View file

@ -1 +0,0 @@
Simplify `reap_monthly_active_users`.

View file

@ -1 +0,0 @@
All endpoints now respond with a 200 OK for `OPTIONS` requests.

View file

@ -1 +0,0 @@
Improve performance of `mark_as_sent_devices_by_remote`.

View file

@ -1 +0,0 @@
Stop logging some expected HTTP request errors as exceptions.

View file

@ -1 +0,0 @@
Fix exception `'GenericWorkerReplicationHandler' object has no attribute 'send_federation_ack'`, introduced in v1.13.0.

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
matrix-synapse-py3 (1.13.0) stable; urgency=medium
* New synapse release 1.13.0.
-- Synapse Packaging team <packages@matrix.org> Tue, 26 May 2020 14:44:07 +0000
matrix-synapse-py3 (1.13.0) stable; urgency=medium matrix-synapse-py3 (1.13.0) stable; urgency=medium
[ Patrick Cloke ] [ Patrick Cloke ]

View file

@ -36,7 +36,7 @@ try:
except ImportError: except ImportError:
pass pass
__version__ = "1.13.0" __version__ = "1.14.0"
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): 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 # We import here so that we don't have to install a bunch of deps when