From 3b19c172471aba5e7c2ac62931a36401d2059400 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Tue, 26 May 2020 16:45:37 +0200 Subject: [PATCH] 1.14.0 --- CHANGES.md | 99 ++++++++++++++++++++++++++++++++++++++++ changelog.d/6391.feature | 1 - changelog.d/6590.misc | 1 - changelog.d/7256.feature | 1 - changelog.d/7281.misc | 1 - changelog.d/7317.feature | 1 - changelog.d/7374.misc | 1 - changelog.d/7381.bugfix | 1 - changelog.d/7382.misc | 1 - changelog.d/7384.bugfix | 1 - changelog.d/7396.misc | 1 - changelog.d/7398.docker | 1 - changelog.d/7428.misc | 1 - changelog.d/7429.misc | 1 - changelog.d/7435.feature | 1 - changelog.d/7436.misc | 1 - changelog.d/7440.misc | 1 - changelog.d/7443.bugfix | 1 - changelog.d/7445.misc | 1 - changelog.d/7448.misc | 1 - changelog.d/7449.misc | 1 - changelog.d/7453.bugfix | 1 - changelog.d/7457.feature | 1 - changelog.d/7458.doc | 1 - changelog.d/7459.misc | 1 - changelog.d/7460.misc | 1 - changelog.d/7463.doc | 1 - changelog.d/7465.bugfix | 1 - changelog.d/7470.misc | 1 - changelog.d/7473.bugfix | 1 - changelog.d/7475.misc | 1 - changelog.d/7477.doc | 1 - changelog.d/7482.bugfix | 1 - changelog.d/7490.misc | 1 - changelog.d/7491.misc | 1 - changelog.d/7492.misc | 1 - changelog.d/7493.misc | 1 - changelog.d/7495.feature | 1 - changelog.d/7497.bugfix | 1 - changelog.d/7502.feature | 1 - changelog.d/7503.bugfix | 1 - changelog.d/7505.misc | 1 - changelog.d/7506.feature | 1 - changelog.d/7507.misc | 1 - changelog.d/7508.bugfix | 1 - changelog.d/7511.bugfix | 1 - changelog.d/7513.misc | 1 - changelog.d/7514.doc | 1 - changelog.d/7515.misc | 1 - changelog.d/7516.misc | 1 - changelog.d/7517.feature | 1 - changelog.d/7518.misc | 1 - changelog.d/7519.misc | 1 - changelog.d/7528.doc | 1 - changelog.d/7533.doc | 1 - changelog.d/7534.misc | 1 - changelog.d/7536.misc | 1 - changelog.d/7538.bugfix | 1 - changelog.d/7539.misc | 1 - changelog.d/7542.misc | 1 - changelog.d/7545.misc | 1 - changelog.d/7546.misc | 1 - changelog.d/7547.misc | 1 - changelog.d/7548.bugfix | 1 - changelog.d/7550.misc | 1 - changelog.d/7552.bugfix | 1 - changelog.d/7553.misc | 1 - changelog.d/7554.misc | 1 - changelog.d/7555.misc | 1 - changelog.d/7556.misc | 1 - changelog.d/7557.misc | 1 - changelog.d/7558.misc | 1 - changelog.d/7560.misc | 1 - changelog.d/7562.misc | 1 - changelog.d/7563.misc | 1 - changelog.d/7565.bugfix | 1 - debian/changelog | 6 +++ synapse/__init__.py | 2 +- 78 files changed, 106 insertions(+), 76 deletions(-) delete mode 100644 changelog.d/6391.feature delete mode 100644 changelog.d/6590.misc delete mode 100644 changelog.d/7256.feature delete mode 100644 changelog.d/7281.misc delete mode 100644 changelog.d/7317.feature delete mode 100644 changelog.d/7374.misc delete mode 100644 changelog.d/7381.bugfix delete mode 100644 changelog.d/7382.misc delete mode 100644 changelog.d/7384.bugfix delete mode 100644 changelog.d/7396.misc delete mode 100644 changelog.d/7398.docker delete mode 100644 changelog.d/7428.misc delete mode 100644 changelog.d/7429.misc delete mode 100644 changelog.d/7435.feature delete mode 100644 changelog.d/7436.misc delete mode 100644 changelog.d/7440.misc delete mode 100644 changelog.d/7443.bugfix delete mode 100644 changelog.d/7445.misc delete mode 100644 changelog.d/7448.misc delete mode 100644 changelog.d/7449.misc delete mode 100644 changelog.d/7453.bugfix delete mode 100644 changelog.d/7457.feature delete mode 100644 changelog.d/7458.doc delete mode 100644 changelog.d/7459.misc delete mode 100644 changelog.d/7460.misc delete mode 100644 changelog.d/7463.doc delete mode 100644 changelog.d/7465.bugfix delete mode 100644 changelog.d/7470.misc delete mode 100644 changelog.d/7473.bugfix delete mode 100644 changelog.d/7475.misc delete mode 100644 changelog.d/7477.doc delete mode 100644 changelog.d/7482.bugfix delete mode 100644 changelog.d/7490.misc delete mode 100644 changelog.d/7491.misc delete mode 100644 changelog.d/7492.misc delete mode 100644 changelog.d/7493.misc delete mode 100644 changelog.d/7495.feature delete mode 100644 changelog.d/7497.bugfix delete mode 100644 changelog.d/7502.feature delete mode 100644 changelog.d/7503.bugfix delete mode 100644 changelog.d/7505.misc delete mode 100644 changelog.d/7506.feature delete mode 100644 changelog.d/7507.misc delete mode 100644 changelog.d/7508.bugfix delete mode 100644 changelog.d/7511.bugfix delete mode 100644 changelog.d/7513.misc delete mode 100644 changelog.d/7514.doc delete mode 100644 changelog.d/7515.misc delete mode 100644 changelog.d/7516.misc delete mode 100644 changelog.d/7517.feature delete mode 100644 changelog.d/7518.misc delete mode 100644 changelog.d/7519.misc delete mode 100644 changelog.d/7528.doc delete mode 100644 changelog.d/7533.doc delete mode 100644 changelog.d/7534.misc delete mode 100644 changelog.d/7536.misc delete mode 100644 changelog.d/7538.bugfix delete mode 100644 changelog.d/7539.misc delete mode 100644 changelog.d/7542.misc delete mode 100644 changelog.d/7545.misc delete mode 100644 changelog.d/7546.misc delete mode 100644 changelog.d/7547.misc delete mode 100644 changelog.d/7548.bugfix delete mode 100644 changelog.d/7550.misc delete mode 100644 changelog.d/7552.bugfix delete mode 100644 changelog.d/7553.misc delete mode 100644 changelog.d/7554.misc delete mode 100644 changelog.d/7555.misc delete mode 100644 changelog.d/7556.misc delete mode 100644 changelog.d/7557.misc delete mode 100644 changelog.d/7558.misc delete mode 100644 changelog.d/7560.misc delete mode 100644 changelog.d/7562.misc delete mode 100644 changelog.d/7563.misc delete mode 100644 changelog.d/7565.bugfix diff --git a/CHANGES.md b/CHANGES.md index 225fced28..25b4b9aec 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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) =========================== diff --git a/changelog.d/6391.feature b/changelog.d/6391.feature deleted file mode 100644 index f123426e2..000000000 --- a/changelog.d/6391.feature +++ /dev/null @@ -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. diff --git a/changelog.d/6590.misc b/changelog.d/6590.misc deleted file mode 100644 index 05a015621..000000000 --- a/changelog.d/6590.misc +++ /dev/null @@ -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é. diff --git a/changelog.d/7256.feature b/changelog.d/7256.feature deleted file mode 100644 index 7ad767bf7..000000000 --- a/changelog.d/7256.feature +++ /dev/null @@ -1 +0,0 @@ -Add OpenID Connect login/registration support. Contributed by Quentin Gliech, on behalf of [les Connecteurs](https://connecteu.rs). diff --git a/changelog.d/7281.misc b/changelog.d/7281.misc deleted file mode 100644 index 86ad511e1..000000000 --- a/changelog.d/7281.misc +++ /dev/null @@ -1 +0,0 @@ -Add MultiWriterIdGenerator to support multiple concurrent writers of streams. diff --git a/changelog.d/7317.feature b/changelog.d/7317.feature deleted file mode 100644 index 23c063f28..000000000 --- a/changelog.d/7317.feature +++ /dev/null @@ -1 +0,0 @@ -Add room details admin endpoint. Contributed by Awesome Technologies Innovationslabor GmbH. diff --git a/changelog.d/7374.misc b/changelog.d/7374.misc deleted file mode 100644 index 676f28537..000000000 --- a/changelog.d/7374.misc +++ /dev/null @@ -1 +0,0 @@ -Move catchup of replication streams logic to worker. diff --git a/changelog.d/7381.bugfix b/changelog.d/7381.bugfix deleted file mode 100644 index e5f93571d..000000000 --- a/changelog.d/7381.bugfix +++ /dev/null @@ -1 +0,0 @@ -Add an experimental room version which strictly adheres to the canonical JSON specification. diff --git a/changelog.d/7382.misc b/changelog.d/7382.misc deleted file mode 100644 index dbf7a530b..000000000 --- a/changelog.d/7382.misc +++ /dev/null @@ -1 +0,0 @@ -Add typing annotations in `synapse.federation`. diff --git a/changelog.d/7384.bugfix b/changelog.d/7384.bugfix deleted file mode 100644 index f49c60017..000000000 --- a/changelog.d/7384.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug where event updates might not be sent over replication to worker processes after the stream falls behind. diff --git a/changelog.d/7396.misc b/changelog.d/7396.misc deleted file mode 100644 index 290d2befc..000000000 --- a/changelog.d/7396.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the room handler to async/await. diff --git a/changelog.d/7398.docker b/changelog.d/7398.docker deleted file mode 100644 index dd2c6821c..000000000 --- a/changelog.d/7398.docker +++ /dev/null @@ -1 +0,0 @@ -Update docker runtime image to Alpine v3.11. Contributed by @Starbix. diff --git a/changelog.d/7428.misc b/changelog.d/7428.misc deleted file mode 100644 index db5ff76de..000000000 --- a/changelog.d/7428.misc +++ /dev/null @@ -1 +0,0 @@ -Improve performance of `get_e2e_cross_signing_key`. diff --git a/changelog.d/7429.misc b/changelog.d/7429.misc deleted file mode 100644 index 3c25cd991..000000000 --- a/changelog.d/7429.misc +++ /dev/null @@ -1 +0,0 @@ -Improve performance of `mark_as_sent_devices_by_remote`. diff --git a/changelog.d/7435.feature b/changelog.d/7435.feature deleted file mode 100644 index 399291b13..000000000 --- a/changelog.d/7435.feature +++ /dev/null @@ -1 +0,0 @@ -Allow for using more than one spam checker module at once. \ No newline at end of file diff --git a/changelog.d/7436.misc b/changelog.d/7436.misc deleted file mode 100644 index f7c451495..000000000 --- a/changelog.d/7436.misc +++ /dev/null @@ -1 +0,0 @@ -Support any process writing to cache invalidation stream. diff --git a/changelog.d/7440.misc b/changelog.d/7440.misc deleted file mode 100644 index 2505cdc66..000000000 --- a/changelog.d/7440.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor event persistence database functions in preparation for allowing them to be run on non-master processes. diff --git a/changelog.d/7443.bugfix b/changelog.d/7443.bugfix deleted file mode 100644 index 1dddec59e..000000000 --- a/changelog.d/7443.bugfix +++ /dev/null @@ -1 +0,0 @@ -Allow expired user accounts to log out their device sessions. \ No newline at end of file diff --git a/changelog.d/7445.misc b/changelog.d/7445.misc deleted file mode 100644 index 801a6ca28..000000000 --- a/changelog.d/7445.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to the SAML handler. diff --git a/changelog.d/7448.misc b/changelog.d/7448.misc deleted file mode 100644 index 2163cc9b9..000000000 --- a/changelog.d/7448.misc +++ /dev/null @@ -1 +0,0 @@ -Remove storage method `get_hosts_in_room` that is no longer called anywhere. \ No newline at end of file diff --git a/changelog.d/7449.misc b/changelog.d/7449.misc deleted file mode 100644 index e6ba94ada..000000000 --- a/changelog.d/7449.misc +++ /dev/null @@ -1 +0,0 @@ -Fix some typos in the notice_expiry templates. diff --git a/changelog.d/7453.bugfix b/changelog.d/7453.bugfix deleted file mode 100644 index 629a3d61e..000000000 --- a/changelog.d/7453.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug that would cause Synapse not to resync out-of-sync device lists. diff --git a/changelog.d/7457.feature b/changelog.d/7457.feature deleted file mode 100644 index 7ad767bf7..000000000 --- a/changelog.d/7457.feature +++ /dev/null @@ -1 +0,0 @@ -Add OpenID Connect login/registration support. Contributed by Quentin Gliech, on behalf of [les Connecteurs](https://connecteu.rs). diff --git a/changelog.d/7458.doc b/changelog.d/7458.doc deleted file mode 100644 index 6fc2a2431..000000000 --- a/changelog.d/7458.doc +++ /dev/null @@ -1 +0,0 @@ -Update information about mapping providers for SAML and OpenID. diff --git a/changelog.d/7459.misc b/changelog.d/7459.misc deleted file mode 100644 index 7655f3412..000000000 --- a/changelog.d/7459.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the federation handler to async/await. diff --git a/changelog.d/7460.misc b/changelog.d/7460.misc deleted file mode 100644 index f71533fe1..000000000 --- a/changelog.d/7460.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the search handler to async/await. diff --git a/changelog.d/7463.doc b/changelog.d/7463.doc deleted file mode 100644 index 85e635430..000000000 --- a/changelog.d/7463.doc +++ /dev/null @@ -1 +0,0 @@ -Add additional reverse proxy example for Caddy v2. Contributed by Jeff Peeler. diff --git a/changelog.d/7465.bugfix b/changelog.d/7465.bugfix deleted file mode 100644 index 1cbe50caa..000000000 --- a/changelog.d/7465.bugfix +++ /dev/null @@ -1 +0,0 @@ -Prevent rooms with 0 members or with invalid version strings from breaking group queries. \ No newline at end of file diff --git a/changelog.d/7470.misc b/changelog.d/7470.misc deleted file mode 100644 index 45e66ecf4..000000000 --- a/changelog.d/7470.misc +++ /dev/null @@ -1 +0,0 @@ -Fix linting errors in new version of Flake8. diff --git a/changelog.d/7473.bugfix b/changelog.d/7473.bugfix deleted file mode 100644 index 8c9510f5e..000000000 --- a/changelog.d/7473.bugfix +++ /dev/null @@ -1 +0,0 @@ -Workaround for an upstream Twisted bug that caused Synapse to become unresponsive after startup. \ No newline at end of file diff --git a/changelog.d/7475.misc b/changelog.d/7475.misc deleted file mode 100644 index 77759c3bd..000000000 --- a/changelog.d/7475.misc +++ /dev/null @@ -1 +0,0 @@ -Have all instance correctly respond to REPLICATE command. diff --git a/changelog.d/7477.doc b/changelog.d/7477.doc deleted file mode 100644 index 9a2d26111..000000000 --- a/changelog.d/7477.doc +++ /dev/null @@ -1 +0,0 @@ -Fix copy-paste error in `ServerNoticesConfig` docstring. Contributed by @ptman. \ No newline at end of file diff --git a/changelog.d/7482.bugfix b/changelog.d/7482.bugfix deleted file mode 100644 index 018bf5cc8..000000000 --- a/changelog.d/7482.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix Redis reconnection logic that can result in missed updates over replication if master reconnects to Redis without restarting. diff --git a/changelog.d/7490.misc b/changelog.d/7490.misc deleted file mode 100644 index 7debf7871..000000000 --- a/changelog.d/7490.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up replication unit tests. diff --git a/changelog.d/7491.misc b/changelog.d/7491.misc deleted file mode 100644 index 50eb226db..000000000 --- a/changelog.d/7491.misc +++ /dev/null @@ -1 +0,0 @@ -Move event stream handling out of slave store. diff --git a/changelog.d/7492.misc b/changelog.d/7492.misc deleted file mode 100644 index 5ad31819d..000000000 --- a/changelog.d/7492.misc +++ /dev/null @@ -1 +0,0 @@ -Allow censoring of events to happen on workers. diff --git a/changelog.d/7493.misc b/changelog.d/7493.misc deleted file mode 100644 index 575c55a99..000000000 --- a/changelog.d/7493.misc +++ /dev/null @@ -1 +0,0 @@ -Move EventStream handling into default ReplicationDataHandler. diff --git a/changelog.d/7495.feature b/changelog.d/7495.feature deleted file mode 100644 index 1150e714b..000000000 --- a/changelog.d/7495.feature +++ /dev/null @@ -1 +0,0 @@ -Add `instance_map` config and route replication calls. diff --git a/changelog.d/7497.bugfix b/changelog.d/7497.bugfix deleted file mode 100644 index 3c7920cb1..000000000 --- a/changelog.d/7497.bugfix +++ /dev/null @@ -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. diff --git a/changelog.d/7502.feature b/changelog.d/7502.feature deleted file mode 100644 index 059a05bfc..000000000 --- a/changelog.d/7502.feature +++ /dev/null @@ -1 +0,0 @@ -Add additional authentication checks for m.room.power_levels event per [MSC2209](https://github.com/matrix-org/matrix-doc/pull/2209). diff --git a/changelog.d/7503.bugfix b/changelog.d/7503.bugfix deleted file mode 100644 index d33d26dcb..000000000 --- a/changelog.d/7503.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix incorrect `method` label on `synapse_http_matrixfederationclient_{requests,responses}` prometheus metrics. diff --git a/changelog.d/7505.misc b/changelog.d/7505.misc deleted file mode 100644 index 26114a374..000000000 --- a/changelog.d/7505.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.event_auth`. diff --git a/changelog.d/7506.feature b/changelog.d/7506.feature deleted file mode 100644 index 1407c9168..000000000 --- a/changelog.d/7506.feature +++ /dev/null @@ -1 +0,0 @@ -Implement room version 6 per [MSC2240](https://github.com/matrix-org/matrix-doc/pull/2240). diff --git a/changelog.d/7507.misc b/changelog.d/7507.misc deleted file mode 100644 index afc7a730b..000000000 --- a/changelog.d/7507.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the room member handler to async/await. diff --git a/changelog.d/7508.bugfix b/changelog.d/7508.bugfix deleted file mode 100644 index c78e77c63..000000000 --- a/changelog.d/7508.bugfix +++ /dev/null @@ -1 +0,0 @@ -Ignore incoming presence events from other homeservers if presence is disabled locally. \ No newline at end of file diff --git a/changelog.d/7511.bugfix b/changelog.d/7511.bugfix deleted file mode 100644 index cf8bc69c6..000000000 --- a/changelog.d/7511.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug that broke the update remote profile background process. diff --git a/changelog.d/7513.misc b/changelog.d/7513.misc deleted file mode 100644 index 2ea7373e2..000000000 --- a/changelog.d/7513.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to room member handler. diff --git a/changelog.d/7514.doc b/changelog.d/7514.doc deleted file mode 100644 index 981168c7e..000000000 --- a/changelog.d/7514.doc +++ /dev/null @@ -1 +0,0 @@ -Improve the formatting of `reverse_proxy.md`. diff --git a/changelog.d/7515.misc b/changelog.d/7515.misc deleted file mode 100644 index 48f3044f9..000000000 --- a/changelog.d/7515.misc +++ /dev/null @@ -1 +0,0 @@ -Allow `ReplicationRestResource` to be added to workers. diff --git a/changelog.d/7516.misc b/changelog.d/7516.misc deleted file mode 100644 index 94b0fd49b..000000000 --- a/changelog.d/7516.misc +++ /dev/null @@ -1 +0,0 @@ -Add a worker store for search insertion, required for moving event persistence off master. diff --git a/changelog.d/7517.feature b/changelog.d/7517.feature deleted file mode 100644 index 6062f0061..000000000 --- a/changelog.d/7517.feature +++ /dev/null @@ -1 +0,0 @@ -Add option to move event persistence off master. diff --git a/changelog.d/7518.misc b/changelog.d/7518.misc deleted file mode 100644 index f6e143fe1..000000000 --- a/changelog.d/7518.misc +++ /dev/null @@ -1 +0,0 @@ -Fix typing annotations in `tests.replication`. diff --git a/changelog.d/7519.misc b/changelog.d/7519.misc deleted file mode 100644 index c730b5e50..000000000 --- a/changelog.d/7519.misc +++ /dev/null @@ -1 +0,0 @@ -Remove some redundant Python 2 support code. diff --git a/changelog.d/7528.doc b/changelog.d/7528.doc deleted file mode 100644 index 6f2a783b5..000000000 --- a/changelog.d/7528.doc +++ /dev/null @@ -1 +0,0 @@ -Change the systemd worker service to check that the worker config file exists instead of silently failing. Contributed by David Vo. diff --git a/changelog.d/7533.doc b/changelog.d/7533.doc deleted file mode 100644 index e3c1df99f..000000000 --- a/changelog.d/7533.doc +++ /dev/null @@ -1 +0,0 @@ -Minor clarifications to the TURN docs. diff --git a/changelog.d/7534.misc b/changelog.d/7534.misc deleted file mode 100644 index 9088fb65b..000000000 --- a/changelog.d/7534.misc +++ /dev/null @@ -1 +0,0 @@ -All endpoints now respond with a 200 OK for `OPTIONS` requests. \ No newline at end of file diff --git a/changelog.d/7536.misc b/changelog.d/7536.misc deleted file mode 100644 index c1211167f..000000000 --- a/changelog.d/7536.misc +++ /dev/null @@ -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. diff --git a/changelog.d/7538.bugfix b/changelog.d/7538.bugfix deleted file mode 100644 index 4a614a9e6..000000000 --- a/changelog.d/7538.bugfix +++ /dev/null @@ -1 +0,0 @@ - Hash passwords as early as possible during password reset. diff --git a/changelog.d/7539.misc b/changelog.d/7539.misc deleted file mode 100644 index 93c030875..000000000 --- a/changelog.d/7539.misc +++ /dev/null @@ -1 +0,0 @@ -Remove Ubuntu Cosmic and Disco from the list of distributions which we provide `.deb`s for, due to end-of-life. diff --git a/changelog.d/7542.misc b/changelog.d/7542.misc deleted file mode 100644 index 7dd9b4823..000000000 --- a/changelog.d/7542.misc +++ /dev/null @@ -1 +0,0 @@ -Add ability to wait for replication streams. diff --git a/changelog.d/7545.misc b/changelog.d/7545.misc deleted file mode 100644 index 177ec883e..000000000 --- a/changelog.d/7545.misc +++ /dev/null @@ -1 +0,0 @@ -Make worker processes return a stubbed-out response to `GET /presence` requests. diff --git a/changelog.d/7546.misc b/changelog.d/7546.misc deleted file mode 100644 index 0a9704789..000000000 --- a/changelog.d/7546.misc +++ /dev/null @@ -1 +0,0 @@ -Optimise some references to `hs.config`. diff --git a/changelog.d/7547.misc b/changelog.d/7547.misc deleted file mode 100644 index 2cb8f9bd5..000000000 --- a/changelog.d/7547.misc +++ /dev/null @@ -1 +0,0 @@ -On upgrade room only send canonical alias once. diff --git a/changelog.d/7548.bugfix b/changelog.d/7548.bugfix deleted file mode 100644 index 1233b3b31..000000000 --- a/changelog.d/7548.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug where a local user leaving a room could fail under rare circumstances. diff --git a/changelog.d/7550.misc b/changelog.d/7550.misc deleted file mode 100644 index 79e119e97..000000000 --- a/changelog.d/7550.misc +++ /dev/null @@ -1 +0,0 @@ -Fix some indentation inconsistencies in the sample config. diff --git a/changelog.d/7552.bugfix b/changelog.d/7552.bugfix deleted file mode 100644 index 60b31d6d3..000000000 --- a/changelog.d/7552.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix "Missing RelayState parameter" error when using user interactive authentication with SAML for some SAML providers. diff --git a/changelog.d/7553.misc b/changelog.d/7553.misc deleted file mode 100644 index 90b9e8693..000000000 --- a/changelog.d/7553.misc +++ /dev/null @@ -1 +0,0 @@ -Include `synapse.http.site` in type checking. diff --git a/changelog.d/7554.misc b/changelog.d/7554.misc deleted file mode 100644 index 7c35c46aa..000000000 --- a/changelog.d/7554.misc +++ /dev/null @@ -1 +0,0 @@ -Fix some test code to not mangle stacktraces, to make it easier to debug errors. diff --git a/changelog.d/7555.misc b/changelog.d/7555.misc deleted file mode 100644 index 75a317613..000000000 --- a/changelog.d/7555.misc +++ /dev/null @@ -1 +0,0 @@ -Refresh apt cache when building dh_virtualenv docker image. diff --git a/changelog.d/7556.misc b/changelog.d/7556.misc deleted file mode 100644 index ed271f9de..000000000 --- a/changelog.d/7556.misc +++ /dev/null @@ -1 +0,0 @@ -Stop logging some expected HTTP request errors as exceptions. diff --git a/changelog.d/7557.misc b/changelog.d/7557.misc deleted file mode 100644 index c850a2bc0..000000000 --- a/changelog.d/7557.misc +++ /dev/null @@ -1 +0,0 @@ -Convert sending mail to async/await. diff --git a/changelog.d/7558.misc b/changelog.d/7558.misc deleted file mode 100644 index f8f411113..000000000 --- a/changelog.d/7558.misc +++ /dev/null @@ -1 +0,0 @@ -Simplify `reap_monthly_active_users`. diff --git a/changelog.d/7560.misc b/changelog.d/7560.misc deleted file mode 100644 index 9088fb65b..000000000 --- a/changelog.d/7560.misc +++ /dev/null @@ -1 +0,0 @@ -All endpoints now respond with a 200 OK for `OPTIONS` requests. \ No newline at end of file diff --git a/changelog.d/7562.misc b/changelog.d/7562.misc deleted file mode 100644 index 3c25cd991..000000000 --- a/changelog.d/7562.misc +++ /dev/null @@ -1 +0,0 @@ -Improve performance of `mark_as_sent_devices_by_remote`. diff --git a/changelog.d/7563.misc b/changelog.d/7563.misc deleted file mode 100644 index ed271f9de..000000000 --- a/changelog.d/7563.misc +++ /dev/null @@ -1 +0,0 @@ -Stop logging some expected HTTP request errors as exceptions. diff --git a/changelog.d/7565.bugfix b/changelog.d/7565.bugfix deleted file mode 100644 index 35fabb9a0..000000000 --- a/changelog.d/7565.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix exception `'GenericWorkerReplicationHandler' object has no attribute 'send_federation_ack'`, introduced in v1.13.0. diff --git a/debian/changelog b/debian/changelog index e7842d417..f200938a5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.13.0) stable; urgency=medium + + * New synapse release 1.13.0. + + -- Synapse Packaging team Tue, 26 May 2020 14:44:07 +0000 + matrix-synapse-py3 (1.13.0) stable; urgency=medium [ Patrick Cloke ] diff --git a/synapse/__init__.py b/synapse/__init__.py index 0abf49117..f0105d3e2 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.13.0" +__version__ = "1.14.0" 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