From dc80a0762d70650663f0fb023216b9d8f46718e4 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 1 Jul 2020 11:26:58 +0100 Subject: 1.16.0rc1 --- synapse/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/__init__.py') diff --git a/synapse/__init__.py b/synapse/__init__.py index 4d39996a2e..f5cd8271a6 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.15.1" +__version__ = "1.16.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 -- cgit 1.5.1 From 1319e532518ce39ab012c3e411ad3cdf8424cda6 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 2 Jul 2020 11:06:35 -0400 Subject: 1.16.0rc2 --- CHANGES.md | 18 ++++++++++++++++++ changelog.d/7696.doc | 1 - changelog.d/7771.misc | 1 - synapse/__init__.py | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) delete mode 100644 changelog.d/7696.doc delete mode 100644 changelog.d/7771.misc (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 2c21169bca..d63fb25cb3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,21 @@ +Synapse 1.16.0rc2 (2020-07-02) +============================== + +Synapse 1.16.0rc2 includes the security fixes releases with Synapse 1.15.2. +Please see [below](#synapse-1152-2020-07-02) for more details. + +Improved Documentation +---------------------- + +- Update postgres image in example `docker-compose.yaml` to tag `12-alpine`. ([\#7696](https://github.com/matrix-org/synapse/issues/7696)) + + +Internal Changes +---------------- + +- Add some metrics for inbound and outbound federation latencies: `synapse_federation_server_pdu_process_time` and `synapse_event_processing_lag_by_event`. ([\#7771](https://github.com/matrix-org/synapse/issues/7771)) + + Synapse 1.16.0rc1 (2020-07-01) ============================== diff --git a/changelog.d/7696.doc b/changelog.d/7696.doc deleted file mode 100644 index d448bedc0b..0000000000 --- a/changelog.d/7696.doc +++ /dev/null @@ -1 +0,0 @@ -Update postgres image in example `docker-compose.yaml` to tag `12-alpine`. diff --git a/changelog.d/7771.misc b/changelog.d/7771.misc deleted file mode 100644 index 1fc29206ac..0000000000 --- a/changelog.d/7771.misc +++ /dev/null @@ -1 +0,0 @@ -Add some metrics for inbound and outbound federation latencies: `synapse_federation_server_pdu_process_time` and `synapse_event_processing_lag_by_event`. diff --git a/synapse/__init__.py b/synapse/__init__.py index f5cd8271a6..0ffbcae502 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.16.0rc1" +__version__ = "1.16.0rc2" 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 -- cgit 1.5.1 From 98894341e7f241dbca9a3218aca3aa4d252d7098 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 8 Jul 2020 11:03:55 +0100 Subject: 1.16.0 --- CHANGES.md | 6 ++++++ debian/changelog | 6 ++++++ synapse/__init__.py | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index ff924604cb..1cdb0e3afc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +Synapse 1.16.0 (2020-07-08) +=========================== + +No significant changes. + + Synapse 1.16.0rc2 (2020-07-02) ============================== diff --git a/debian/changelog b/debian/changelog index c068510b93..1e7d7191ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.16.0) stable; urgency=medium + + * New synapse release 1.16.0. + + -- Synapse Packaging team Wed, 08 Jul 2020 11:03:48 +0100 + matrix-synapse-py3 (1.15.2) stable; urgency=medium * New synapse release 1.15.2. diff --git a/synapse/__init__.py b/synapse/__init__.py index 0ffbcae502..de65ce6db8 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.16.0rc2" +__version__ = "1.16.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 -- cgit 1.5.1 From 43726783e40603c4604d4bc656c25c7cf85863e4 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 9 Jul 2020 16:53:19 +0100 Subject: 1.17.0rc1 --- CHANGES.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ changelog.d/7021.bugfix | 1 - changelog.d/7732.bugfix | 1 - changelog.d/7740.misc | 1 - changelog.d/7760.bugfix | 1 - changelog.d/7765.misc | 1 - changelog.d/7766.bugfix | 1 - changelog.d/7768.misc | 1 - changelog.d/7769.misc | 1 - changelog.d/7770.misc | 1 - changelog.d/7775.misc | 1 - changelog.d/7776.doc | 1 - changelog.d/7779.bugfix | 1 - changelog.d/7780.misc | 1 - changelog.d/7786.misc | 1 - changelog.d/7789.doc | 1 - changelog.d/7791.docker | 1 - changelog.d/7793.misc | 1 - changelog.d/7797.bugfix | 1 - changelog.d/7799.misc | 1 - changelog.d/7800.misc | 1 - changelog.d/7804.bugfix | 1 - changelog.d/7805.misc | 1 - changelog.d/7808.misc | 1 - changelog.d/7809.bugfix | 1 - changelog.d/7810.bugfix | 1 - changelog.d/7811.misc | 1 - debian/changelog | 6 ++++++ synapse/__init__.py | 2 +- 29 files changed, 54 insertions(+), 27 deletions(-) delete mode 100644 changelog.d/7021.bugfix delete mode 100644 changelog.d/7732.bugfix delete mode 100644 changelog.d/7740.misc delete mode 100644 changelog.d/7760.bugfix delete mode 100644 changelog.d/7765.misc delete mode 100644 changelog.d/7766.bugfix delete mode 100644 changelog.d/7768.misc delete mode 100644 changelog.d/7769.misc delete mode 100644 changelog.d/7770.misc delete mode 100644 changelog.d/7775.misc delete mode 100644 changelog.d/7776.doc delete mode 100644 changelog.d/7779.bugfix delete mode 100644 changelog.d/7780.misc delete mode 100644 changelog.d/7786.misc delete mode 100644 changelog.d/7789.doc delete mode 100644 changelog.d/7791.docker delete mode 100644 changelog.d/7793.misc delete mode 100644 changelog.d/7797.bugfix delete mode 100644 changelog.d/7799.misc delete mode 100644 changelog.d/7800.misc delete mode 100644 changelog.d/7804.bugfix delete mode 100644 changelog.d/7805.misc delete mode 100644 changelog.d/7808.misc delete mode 100644 changelog.d/7809.bugfix delete mode 100644 changelog.d/7810.bugfix delete mode 100644 changelog.d/7811.misc (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 3a0fe606f8..bd8cf1a11f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,50 @@ +Synapse 1.17.0rc1 (2020-07-09) +============================== + +Bugfixes +-------- + +- Fix inconsistent handling of upper and lower case in email addresses when used as identifiers for login, etc. Contributed by @dklimpel. ([\#7021](https://github.com/matrix-org/synapse/issues/7021)) +- Fix "Tried to close a non-active scope!" error messages when opentracing is enabled. ([\#7732](https://github.com/matrix-org/synapse/issues/7732)) +- Fix incorrect error message when database CTYPE was set incorrectly. ([\#7760](https://github.com/matrix-org/synapse/issues/7760)) +- Fix to not ignore `set_tweak` actions in Push Rules that have no `value`, as permitted by the specification. ([\#7766](https://github.com/matrix-org/synapse/issues/7766)) +- Fix synctl to handle empty config files correctly. Contributed by @kotovalexarian. ([\#7779](https://github.com/matrix-org/synapse/issues/7779)) +- Fixes a long standing bug in worker mode where worker information was saved in the devices table instead of the original IP address and user agent. ([\#7797](https://github.com/matrix-org/synapse/issues/7797)) +- Fix 'stuck invites' which happen when we are unable to reject a room invite received over federation. ([\#7804](https://github.com/matrix-org/synapse/issues/7804), [\#7809](https://github.com/matrix-org/synapse/issues/7809), [\#7810](https://github.com/matrix-org/synapse/issues/7810)) + + +Updates to the Docker image +--------------------------- + +- Include libwebp in the Docker file to properly handle webp image uploads. ([\#7791](https://github.com/matrix-org/synapse/issues/7791)) + + +Improved Documentation +---------------------- + +- Improve the documentation of the non-standard JSON web token login type. ([\#7776](https://github.com/matrix-org/synapse/issues/7776)) +- Update doc links for caddy. Contributed by Nicolai Søborg. ([\#7789](https://github.com/matrix-org/synapse/issues/7789)) + + +Internal Changes +---------------- + +- Refactor getting replication updates from database. ([\#7740](https://github.com/matrix-org/synapse/issues/7740)) +- Send push notifications with a high or low priority depending upon whether they may generate user-observable effects. ([\#7765](https://github.com/matrix-org/synapse/issues/7765)) +- Use symbolic names for replication stream names. ([\#7768](https://github.com/matrix-org/synapse/issues/7768)) +- Add early returns to `_check_for_soft_fail`. ([\#7769](https://github.com/matrix-org/synapse/issues/7769)) +- Fix up `synapse.handlers.federation` to pass mypy. ([\#7770](https://github.com/matrix-org/synapse/issues/7770)) +- Convert the appserver handler to async/await. ([\#7775](https://github.com/matrix-org/synapse/issues/7775)) +- Allow to use higher versions of prometheus_client <0.9.0 which are expected to introduce no breaking changes. Contributed by Oliver Kurz. ([\#7780](https://github.com/matrix-org/synapse/issues/7780)) +- Update linting scripts and codebase to be compatible with `isort` v5. ([\#7786](https://github.com/matrix-org/synapse/issues/7786)) +- Stop populating unused table `local_invites`. ([\#7793](https://github.com/matrix-org/synapse/issues/7793)) +- Ensure that strings (not bytes) are passed into JSON serialization. ([\#7799](https://github.com/matrix-org/synapse/issues/7799)) +- Switch from simplejson to the standard library json. ([\#7800](https://github.com/matrix-org/synapse/issues/7800)) +- Add `signing_key` property to `HomeServer` to save code duplication. ([\#7805](https://github.com/matrix-org/synapse/issues/7805)) +- Improve stacktraces from exceptions in background processes. ([\#7808](https://github.com/matrix-org/synapse/issues/7808)) +- Fix various spelling errors in comments and log lines. ([\#7811](https://github.com/matrix-org/synapse/issues/7811)) + + Synapse 1.16.0 (2020-07-08) =========================== diff --git a/changelog.d/7021.bugfix b/changelog.d/7021.bugfix deleted file mode 100644 index 140fe37b2d..0000000000 --- a/changelog.d/7021.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix inconsistent handling of upper and lower case in email addresses when used as identifiers for login, etc. Contributed by @dklimpel. diff --git a/changelog.d/7732.bugfix b/changelog.d/7732.bugfix deleted file mode 100644 index d5e352e141..0000000000 --- a/changelog.d/7732.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix "Tried to close a non-active scope!" error messages when opentracing is enabled. diff --git a/changelog.d/7740.misc b/changelog.d/7740.misc deleted file mode 100644 index f93149502e..0000000000 --- a/changelog.d/7740.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor getting replication updates from database. diff --git a/changelog.d/7760.bugfix b/changelog.d/7760.bugfix deleted file mode 100644 index f6081f3d30..0000000000 --- a/changelog.d/7760.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix incorrect error message when database CTYPE was set incorrectly. diff --git a/changelog.d/7765.misc b/changelog.d/7765.misc deleted file mode 100644 index fa9cfd24cb..0000000000 --- a/changelog.d/7765.misc +++ /dev/null @@ -1 +0,0 @@ -Send push notifications with a high or low priority depending upon whether they may generate user-observable effects. diff --git a/changelog.d/7766.bugfix b/changelog.d/7766.bugfix deleted file mode 100644 index ec5ecd8055..0000000000 --- a/changelog.d/7766.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix to not ignore `set_tweak` actions in Push Rules that have no `value`, as permitted by the specification. diff --git a/changelog.d/7768.misc b/changelog.d/7768.misc deleted file mode 100644 index dfb3d24c7d..0000000000 --- a/changelog.d/7768.misc +++ /dev/null @@ -1 +0,0 @@ -Use symbolic names for replication stream names. diff --git a/changelog.d/7769.misc b/changelog.d/7769.misc deleted file mode 100644 index 2e200286ce..0000000000 --- a/changelog.d/7769.misc +++ /dev/null @@ -1 +0,0 @@ -Add early returns to `_check_for_soft_fail`. diff --git a/changelog.d/7770.misc b/changelog.d/7770.misc deleted file mode 100644 index 5b864084be..0000000000 --- a/changelog.d/7770.misc +++ /dev/null @@ -1 +0,0 @@ -Fix up `synapse.handlers.federation` to pass mypy. diff --git a/changelog.d/7775.misc b/changelog.d/7775.misc deleted file mode 100644 index af6fdb782f..0000000000 --- a/changelog.d/7775.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the appserver handler to async/await. diff --git a/changelog.d/7776.doc b/changelog.d/7776.doc deleted file mode 100644 index e686215688..0000000000 --- a/changelog.d/7776.doc +++ /dev/null @@ -1 +0,0 @@ -Improve the documentation of the non-standard JSON web token login type. diff --git a/changelog.d/7779.bugfix b/changelog.d/7779.bugfix deleted file mode 100644 index 61de45d570..0000000000 --- a/changelog.d/7779.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix synctl to handle empty config files correctly. Contributed by @kotovalexarian. diff --git a/changelog.d/7780.misc b/changelog.d/7780.misc deleted file mode 100644 index a627bea458..0000000000 --- a/changelog.d/7780.misc +++ /dev/null @@ -1 +0,0 @@ -Allow to use higher versions of prometheus_client <0.9.0 which are expected to introduce no breaking changes. Contributed by Oliver Kurz. diff --git a/changelog.d/7786.misc b/changelog.d/7786.misc deleted file mode 100644 index 27af2681dc..0000000000 --- a/changelog.d/7786.misc +++ /dev/null @@ -1 +0,0 @@ -Update linting scripts and codebase to be compatible with `isort` v5. diff --git a/changelog.d/7789.doc b/changelog.d/7789.doc deleted file mode 100644 index 254411c769..0000000000 --- a/changelog.d/7789.doc +++ /dev/null @@ -1 +0,0 @@ -Update doc links for caddy. Contributed by Nicolai Søborg. diff --git a/changelog.d/7791.docker b/changelog.d/7791.docker deleted file mode 100644 index a114159d4e..0000000000 --- a/changelog.d/7791.docker +++ /dev/null @@ -1 +0,0 @@ -Include libwebp in the Docker file to properly handle webp image uploads. diff --git a/changelog.d/7793.misc b/changelog.d/7793.misc deleted file mode 100644 index 2b6cfbe274..0000000000 --- a/changelog.d/7793.misc +++ /dev/null @@ -1 +0,0 @@ -Stop populating unused table `local_invites`. diff --git a/changelog.d/7797.bugfix b/changelog.d/7797.bugfix deleted file mode 100644 index c1259871da..0000000000 --- a/changelog.d/7797.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixes a long standing bug in worker mode where worker information was saved in the devices table instead of the original IP address and user agent. diff --git a/changelog.d/7799.misc b/changelog.d/7799.misc deleted file mode 100644 index 448b286df4..0000000000 --- a/changelog.d/7799.misc +++ /dev/null @@ -1 +0,0 @@ -Ensure that strings (not bytes) are passed into JSON serialization. diff --git a/changelog.d/7800.misc b/changelog.d/7800.misc deleted file mode 100644 index ce2346b3d4..0000000000 --- a/changelog.d/7800.misc +++ /dev/null @@ -1 +0,0 @@ -Switch from simplejson to the standard library json. diff --git a/changelog.d/7804.bugfix b/changelog.d/7804.bugfix deleted file mode 100644 index 2772eeb0db..0000000000 --- a/changelog.d/7804.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix 'stuck invites' which happen when we are unable to reject a room invite received over federation. diff --git a/changelog.d/7805.misc b/changelog.d/7805.misc deleted file mode 100644 index cbae08774a..0000000000 --- a/changelog.d/7805.misc +++ /dev/null @@ -1 +0,0 @@ -Add `signing_key` property to `HomeServer` to save code duplication. diff --git a/changelog.d/7808.misc b/changelog.d/7808.misc deleted file mode 100644 index c2acca56ec..0000000000 --- a/changelog.d/7808.misc +++ /dev/null @@ -1 +0,0 @@ -Improve stacktraces from exceptions in background processes. diff --git a/changelog.d/7809.bugfix b/changelog.d/7809.bugfix deleted file mode 100644 index 2772eeb0db..0000000000 --- a/changelog.d/7809.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix 'stuck invites' which happen when we are unable to reject a room invite received over federation. diff --git a/changelog.d/7810.bugfix b/changelog.d/7810.bugfix deleted file mode 100644 index 2772eeb0db..0000000000 --- a/changelog.d/7810.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix 'stuck invites' which happen when we are unable to reject a room invite received over federation. diff --git a/changelog.d/7811.misc b/changelog.d/7811.misc deleted file mode 100644 index d907bba4df..0000000000 --- a/changelog.d/7811.misc +++ /dev/null @@ -1 +0,0 @@ -Fix various spelling errors in comments and log lines. diff --git a/debian/changelog b/debian/changelog index 1e7d7191ad..f7c146d777 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.17.0rc1) stable; urgency=medium + + * New synapse release 1.17.0rc1. + + -- Synapse Packaging team Thu, 09 Jul 2020 16:53:12 +0100 + matrix-synapse-py3 (1.16.0) stable; urgency=medium * New synapse release 1.16.0. diff --git a/synapse/__init__.py b/synapse/__init__.py index de65ce6db8..5bb09a37d7 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.16.0" +__version__ = "1.17.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 -- cgit 1.5.1 From 29df3d0e9f455c780d8489cc9bc293cb6fa6bc1e Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 13 Jul 2020 10:20:36 +0100 Subject: 1.17.0 --- CHANGES.md | 10 +++++++--- debian/changelog | 6 ++++++ synapse/__init__.py | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index e6e575e5e4..6d4bd23e4e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,13 @@ +Synapse 1.17.0 (2020-07-13) +=========================== + +Synapse 1.17.0 is identical to 1.17.0rc1, with the addition of the fix that was included in 1.16.1. + + Synapse 1.16.1 (2020-07-10) =========================== -In some distributions of Synapse 1.16.0, we incorrectly included a database -migration which added a new, unused table. This release removes the redundant -table. +In some distributions of Synapse 1.16.0, we incorrectly included a database migration which added a new, unused table. This release removes the redundant table. Bugfixes -------- diff --git a/debian/changelog b/debian/changelog index 5ce77ce3b4..3825603ae4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.17.0) stable; urgency=medium + + * New synapse release 1.17.0. + + -- Synapse Packaging team Mon, 13 Jul 2020 10:20:31 +0100 + matrix-synapse-py3 (1.16.1) stable; urgency=medium * New synapse release 1.16.1. diff --git a/synapse/__init__.py b/synapse/__init__.py index 5bb09a37d7..8592dee179 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.17.0rc1" +__version__ = "1.17.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 -- cgit 1.5.1 From f88c48f3b88dc4817bb4072d67152182f72158ce Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 27 Jul 2020 16:57:40 +0100 Subject: 1.18.0rc1 --- CHANGES.md | 105 +++++++++++++++++++++++++++++++++++++++++++++++ changelog.d/6455.feature | 1 - changelog.d/7613.feature | 1 - changelog.d/7798.feature | 1 - changelog.d/7802.misc | 1 - changelog.d/7813.misc | 1 - changelog.d/7815.bugfix | 1 - changelog.d/7817.bugfix | 1 - changelog.d/7820.misc | 1 - changelog.d/7822.bugfix | 1 - changelog.d/7827.feature | 1 - changelog.d/7829.bugfix | 1 - changelog.d/7830.feature | 1 - changelog.d/7836.misc | 1 - changelog.d/7839.docker | 1 - changelog.d/7842.feature | 1 - changelog.d/7844.bugfix | 1 - changelog.d/7846.feature | 1 - changelog.d/7847.feature | 1 - changelog.d/7848.misc | 1 - changelog.d/7849.misc | 1 - changelog.d/7850.bugfix | 1 - changelog.d/7851.misc | 1 - changelog.d/7853.misc | 1 - changelog.d/7854.bugfix | 1 - changelog.d/7855.feature | 1 - changelog.d/7856.misc | 1 - changelog.d/7858.misc | 1 - changelog.d/7859.bugfix | 1 - changelog.d/7860.misc | 1 - changelog.d/7861.misc | 1 - changelog.d/7866.bugfix | 1 - changelog.d/7868.misc | 1 - changelog.d/7869.feature | 1 - changelog.d/7870.misc | 1 - changelog.d/7871.misc | 1 - changelog.d/7872.bugfix | 1 - changelog.d/7873.misc | 1 - changelog.d/7874.misc | 1 - changelog.d/7877.misc | 1 - changelog.d/7878.removal | 1 - changelog.d/7879.feature | 1 - changelog.d/7880.bugfix | 1 - changelog.d/7881.misc | 1 - changelog.d/7882.misc | 1 - changelog.d/7884.misc | 1 - changelog.d/7885.doc | 1 - changelog.d/7886.misc | 1 - changelog.d/7888.misc | 1 - changelog.d/7889.doc | 1 - changelog.d/7890.misc | 1 - changelog.d/7892.misc | 1 - changelog.d/7895.bugfix | 1 - changelog.d/7897.misc | 2 - changelog.d/7908.feature | 1 - changelog.d/7912.misc | 1 - changelog.d/7914.misc | 1 - changelog.d/7919.misc | 1 - changelog.d/7920.feature | 1 - changelog.d/7927.misc | 1 - changelog.d/7928.misc | 1 - changelog.d/7929.misc | 1 - changelog.d/7930.feature | 1 - changelog.d/7931.feature | 1 - changelog.d/7933.doc | 1 - changelog.d/7934.doc | 1 - changelog.d/7935.misc | 1 - changelog.d/7939.misc | 1 - changelog.d/7942.misc | 1 - changelog.d/7944.misc | 1 - changelog.d/7945.misc | 1 - changelog.d/7950.misc | 1 - changelog.d/7953.feature | 1 - changelog.d/7959.bugfix | 1 - changelog.d/7961.bugfix | 1 - synapse/__init__.py | 2 +- 76 files changed, 106 insertions(+), 76 deletions(-) delete mode 100644 changelog.d/6455.feature delete mode 100644 changelog.d/7613.feature delete mode 100644 changelog.d/7798.feature delete mode 100644 changelog.d/7802.misc delete mode 100644 changelog.d/7813.misc delete mode 100644 changelog.d/7815.bugfix delete mode 100644 changelog.d/7817.bugfix delete mode 100644 changelog.d/7820.misc delete mode 100644 changelog.d/7822.bugfix delete mode 100644 changelog.d/7827.feature delete mode 100644 changelog.d/7829.bugfix delete mode 100644 changelog.d/7830.feature delete mode 100644 changelog.d/7836.misc delete mode 100644 changelog.d/7839.docker delete mode 100644 changelog.d/7842.feature delete mode 100644 changelog.d/7844.bugfix delete mode 100644 changelog.d/7846.feature delete mode 100644 changelog.d/7847.feature delete mode 100644 changelog.d/7848.misc delete mode 100644 changelog.d/7849.misc delete mode 100644 changelog.d/7850.bugfix delete mode 100644 changelog.d/7851.misc delete mode 100644 changelog.d/7853.misc delete mode 100644 changelog.d/7854.bugfix delete mode 100644 changelog.d/7855.feature delete mode 100644 changelog.d/7856.misc delete mode 100644 changelog.d/7858.misc delete mode 100644 changelog.d/7859.bugfix delete mode 100644 changelog.d/7860.misc delete mode 100644 changelog.d/7861.misc delete mode 100644 changelog.d/7866.bugfix delete mode 100644 changelog.d/7868.misc delete mode 100644 changelog.d/7869.feature delete mode 100644 changelog.d/7870.misc delete mode 100644 changelog.d/7871.misc delete mode 100644 changelog.d/7872.bugfix delete mode 100644 changelog.d/7873.misc delete mode 100644 changelog.d/7874.misc delete mode 100644 changelog.d/7877.misc delete mode 100644 changelog.d/7878.removal delete mode 100644 changelog.d/7879.feature delete mode 100644 changelog.d/7880.bugfix delete mode 100644 changelog.d/7881.misc delete mode 100644 changelog.d/7882.misc delete mode 100644 changelog.d/7884.misc delete mode 100644 changelog.d/7885.doc delete mode 100644 changelog.d/7886.misc delete mode 100644 changelog.d/7888.misc delete mode 100644 changelog.d/7889.doc delete mode 100644 changelog.d/7890.misc delete mode 100644 changelog.d/7892.misc delete mode 100644 changelog.d/7895.bugfix delete mode 100644 changelog.d/7897.misc delete mode 100644 changelog.d/7908.feature delete mode 100644 changelog.d/7912.misc delete mode 100644 changelog.d/7914.misc delete mode 100644 changelog.d/7919.misc delete mode 100644 changelog.d/7920.feature delete mode 100644 changelog.d/7927.misc delete mode 100644 changelog.d/7928.misc delete mode 100644 changelog.d/7929.misc delete mode 100644 changelog.d/7930.feature delete mode 100644 changelog.d/7931.feature delete mode 100644 changelog.d/7933.doc delete mode 100644 changelog.d/7934.doc delete mode 100644 changelog.d/7935.misc delete mode 100644 changelog.d/7939.misc delete mode 100644 changelog.d/7942.misc delete mode 100644 changelog.d/7944.misc delete mode 100644 changelog.d/7945.misc delete mode 100644 changelog.d/7950.misc delete mode 100644 changelog.d/7953.feature delete mode 100644 changelog.d/7959.bugfix delete mode 100644 changelog.d/7961.bugfix (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 6d4bd23e4e..cdfa8c7975 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,108 @@ +Synapse 1.18.0rc1 (2020-07-27) +============================== + +Features +-------- + +- Include room states on invite events that are sent to application services. Contributed by @Sorunome. ([\#6455](https://github.com/matrix-org/synapse/issues/6455)) +- Add delete room admin endpoint (`POST /_synapse/admin/v1/rooms//delete`). Contributed by @dklimpel. ([\#7613](https://github.com/matrix-org/synapse/issues/7613), [\#7953](https://github.com/matrix-org/synapse/issues/7953)) +- Add experimental support for running multiple federation sender processes. ([\#7798](https://github.com/matrix-org/synapse/issues/7798)) +- Add the option to validate the `iss` and `aud` claims for JWT logins. ([\#7827](https://github.com/matrix-org/synapse/issues/7827)) +- Add support for handling registration requests across multiple client reader workers. ([\#7830](https://github.com/matrix-org/synapse/issues/7830)) +- Add an admin API to list the users in a room. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7842](https://github.com/matrix-org/synapse/issues/7842)) +- Allow email subjects to be customised through Synapse's configuration. ([\#7846](https://github.com/matrix-org/synapse/issues/7846)) +- Add the ability to re-activate an account from the admin API. ([\#7847](https://github.com/matrix-org/synapse/issues/7847), [\#7908](https://github.com/matrix-org/synapse/issues/7908)) +- Add experimental support for running multiple pusher workers. ([\#7855](https://github.com/matrix-org/synapse/issues/7855)) +- Add experimental support for moving typing off master. ([\#7869](https://github.com/matrix-org/synapse/issues/7869)) +- Report CPU metrics to prometheus for time spent processing replication commands. ([\#7879](https://github.com/matrix-org/synapse/issues/7879)) +- Support oEmbed for media previews. ([\#7920](https://github.com/matrix-org/synapse/issues/7920)) +- Abort federation requests where the client disconnects before the ratelimiter expires. ([\#7930](https://github.com/matrix-org/synapse/issues/7930)) +- Cache responses to `/_matrix/federation/v1/state_ids` to reduce duplicated work. ([\#7931](https://github.com/matrix-org/synapse/issues/7931)) + + +Bugfixes +-------- + +- Fix detection of out of sync remote device lists when receiving events from remote users. ([\#7815](https://github.com/matrix-org/synapse/issues/7815)) +- Fix bug where Synapse fails to process an incoming event over federation if the server is missing too much of the event's auth chain. ([\#7817](https://github.com/matrix-org/synapse/issues/7817)) +- Fix a bug causing Synapse to misinterpret the value `off` for `encryption_enabled_by_default_for_room_type` in its configuration file(s) if that value isn't surrounded by quotes. This bug was introduced in v1.16.0. ([\#7822](https://github.com/matrix-org/synapse/issues/7822)) +- Fix bug where we did not always pass in `app_name` or `server_name` to email templates, including e.g. for registration emails. ([\#7829](https://github.com/matrix-org/synapse/issues/7829)) +- Errors which occur while using the non-standard JWT login now return the proper error: `403 Forbidden` with an error code of `M_FORBIDDEN`. ([\#7844](https://github.com/matrix-org/synapse/issues/7844)) +- Fix "AttributeError: 'str' object has no attribute 'get'" error message when applying per-room message retention policies. The bug was introduced in Synapse 1.7.0. ([\#7850](https://github.com/matrix-org/synapse/issues/7850)) +- Fix a bug introduced in Synapse 1.10.0 which could cause a "no create event in auth events" error during room creation. ([\#7854](https://github.com/matrix-org/synapse/issues/7854)) +- Fix a bug which allowed empty rooms to be rejoined over federation. ([\#7859](https://github.com/matrix-org/synapse/issues/7859)) +- Fix 'Unable to find a suitable guest user ID' error when using multiple client_reader workers. ([\#7866](https://github.com/matrix-org/synapse/issues/7866)) +- Fix a long standing bug where the tracing of async functions with opentracing was broken. ([\#7872](https://github.com/matrix-org/synapse/issues/7872), [\#7961](https://github.com/matrix-org/synapse/issues/7961)) +- Fix "TypeError in `synapse.notifier`" exceptions. ([\#7880](https://github.com/matrix-org/synapse/issues/7880)) +- Fix deprecation warning due to invalid escape sequences. ([\#7895](https://github.com/matrix-org/synapse/issues/7895)) +- Add experimental support for moving typing off master. ([\#7959](https://github.com/matrix-org/synapse/issues/7959)) + + +Updates to the Docker image +--------------------------- + +- Base docker image on Debian Buster rather than Alpine Linux. Contributed by @maquis196. ([\#7839](https://github.com/matrix-org/synapse/issues/7839)) + + +Improved Documentation +---------------------- + +- Provide instructions on using `register_new_matrix_user` via docker. ([\#7885](https://github.com/matrix-org/synapse/issues/7885)) +- Change the sample config postgres user section to use `synapse_user` instead of `synapse` to align with the documentation. ([\#7889](https://github.com/matrix-org/synapse/issues/7889)) +- Reorder database paragraphs to promote postgres over sqlite. ([\#7933](https://github.com/matrix-org/synapse/issues/7933)) +- Update the dates of ACME v1's end of life in [`ACME.md`](https://github.com/matrix-org/synapse/blob/master/docs/ACME.md). ([\#7934](https://github.com/matrix-org/synapse/issues/7934)) + + +Deprecations and Removals +------------------------- + +- Remove unused `synapse_replication_tcp_resource_invalidate_cache` prometheus metric. ([\#7878](https://github.com/matrix-org/synapse/issues/7878)) + + +Internal Changes +---------------- + +- Switch from simplejson to the standard library json. ([\#7802](https://github.com/matrix-org/synapse/issues/7802)) +- Add type hints to the http server code and remove an unused parameter. ([\#7813](https://github.com/matrix-org/synapse/issues/7813)) +- Add type hints to synapse.api.errors module. ([\#7820](https://github.com/matrix-org/synapse/issues/7820)) +- Ensure that calls to `json.dumps` are compatible with the standard library json. ([\#7836](https://github.com/matrix-org/synapse/issues/7836)) +- Remove redundant `retry_on_integrity_error` wrapper for event persistence code. ([\#7848](https://github.com/matrix-org/synapse/issues/7848)) +- Consistently use `db_to_json` to convert from database values to JSON objects. ([\#7849](https://github.com/matrix-org/synapse/issues/7849)) +- Convert E2E keys and room keys handlers to async/await. ([\#7851](https://github.com/matrix-org/synapse/issues/7851)) +- Add support for handling registration requests across multiple client reader workers. ([\#7853](https://github.com/matrix-org/synapse/issues/7853)) +- Small performance improvement in typing processing. ([\#7856](https://github.com/matrix-org/synapse/issues/7856)) +- The default value of `filter_timeline_limit` was changed from -1 (no limit) to 100. ([\#7858](https://github.com/matrix-org/synapse/issues/7858)) +- Convert _base, profile, and _receipts handlers to async/await. ([\#7860](https://github.com/matrix-org/synapse/issues/7860)) +- Optimise queueing of inbound replication commands. ([\#7861](https://github.com/matrix-org/synapse/issues/7861)) +- Convert synapse.app and federation client to async/await. ([\#7868](https://github.com/matrix-org/synapse/issues/7868)) +- Add some type annotations to `HomeServer` and `BaseHandler`. ([\#7870](https://github.com/matrix-org/synapse/issues/7870)) +- Convert device handler to async/await. ([\#7871](https://github.com/matrix-org/synapse/issues/7871)) +- Convert more media code to async/await. ([\#7873](https://github.com/matrix-org/synapse/issues/7873)) +- Convert the federation agent and related code to async/await. ([\#7874](https://github.com/matrix-org/synapse/issues/7874)) +- Clean up `PreserveLoggingContext`. ([\#7877](https://github.com/matrix-org/synapse/issues/7877)) +- Change "unknown room version" logging from 'error' to 'warning'. ([\#7881](https://github.com/matrix-org/synapse/issues/7881)) +- Stop using `device_max_stream_id` table and just use `device_inbox.stream_id`. ([\#7882](https://github.com/matrix-org/synapse/issues/7882)) +- Convert the message handler to async/await. ([\#7884](https://github.com/matrix-org/synapse/issues/7884)) +- Return an empty body for OPTIONS requests. ([\#7886](https://github.com/matrix-org/synapse/issues/7886)) +- Remove Ubuntu Eoan from the list of `.deb` packages that we build as it is now end-of-life. Contributed by @gary-kim. ([\#7888](https://github.com/matrix-org/synapse/issues/7888)) +- Fix typo in generated config file. Contributed by @ThiefMaster. ([\#7890](https://github.com/matrix-org/synapse/issues/7890)) +- Import ABC from `collections.abc` for Python 3.10 compatibility. ([\#7892](https://github.com/matrix-org/synapse/issues/7892)) +- Remove unused functions `time_function`, `trace_function`, `get_previous_frames` + and `get_previous_frame` from `synapse.logging.utils` module. ([\#7897](https://github.com/matrix-org/synapse/issues/7897)) +- Convert `RoomListHandler` to async/await. ([\#7912](https://github.com/matrix-org/synapse/issues/7912)) +- Lint the `contrib/` directory in CI and linting scripts, add `synctl` to the linting script for consistency with CI. ([\#7914](https://github.com/matrix-org/synapse/issues/7914)) +- Use Element CSS and logo in notification emails when app name is Element. ([\#7919](https://github.com/matrix-org/synapse/issues/7919)) +- Optimisation to /sync handling: skip serializing the response if the client has already disconnected. ([\#7927](https://github.com/matrix-org/synapse/issues/7927)) +- When a client disconnects, don't log it as 'Error processing request'. ([\#7928](https://github.com/matrix-org/synapse/issues/7928)) +- Add debugging to `/sync` response generation (disabled by default). ([\#7929](https://github.com/matrix-org/synapse/issues/7929)) +- Convert the auth providers to be async/await. ([\#7935](https://github.com/matrix-org/synapse/issues/7935)) +- Convert presence handler helpers to async/await. ([\#7939](https://github.com/matrix-org/synapse/issues/7939)) +- Convert state resolution to async/await. ([\#7942](https://github.com/matrix-org/synapse/issues/7942)) +- Convert the interactive_auth_handler wrapper to async/await. ([\#7944](https://github.com/matrix-org/synapse/issues/7944)) +- Update comments that refer to Deferreds for async functions. ([\#7945](https://github.com/matrix-org/synapse/issues/7945)) +- Simplify error handling in federation handler. ([\#7950](https://github.com/matrix-org/synapse/issues/7950)) + + Synapse 1.17.0 (2020-07-13) =========================== diff --git a/changelog.d/6455.feature b/changelog.d/6455.feature deleted file mode 100644 index eb286cb70f..0000000000 --- a/changelog.d/6455.feature +++ /dev/null @@ -1 +0,0 @@ -Include room states on invite events that are sent to application services. Contributed by @Sorunome. diff --git a/changelog.d/7613.feature b/changelog.d/7613.feature deleted file mode 100644 index b671dc2fcc..0000000000 --- a/changelog.d/7613.feature +++ /dev/null @@ -1 +0,0 @@ -Add delete room admin endpoint (`POST /_synapse/admin/v1/rooms//delete`). Contributed by @dklimpel. diff --git a/changelog.d/7798.feature b/changelog.d/7798.feature deleted file mode 100644 index 56ffaf0d4a..0000000000 --- a/changelog.d/7798.feature +++ /dev/null @@ -1 +0,0 @@ -Add experimental support for running multiple federation sender processes. diff --git a/changelog.d/7802.misc b/changelog.d/7802.misc deleted file mode 100644 index d81f8875c5..0000000000 --- a/changelog.d/7802.misc +++ /dev/null @@ -1 +0,0 @@ - Switch from simplejson to the standard library json. diff --git a/changelog.d/7813.misc b/changelog.d/7813.misc deleted file mode 100644 index f3005cfd27..0000000000 --- a/changelog.d/7813.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to the http server code and remove an unused parameter. diff --git a/changelog.d/7815.bugfix b/changelog.d/7815.bugfix deleted file mode 100644 index 3e7c7d412e..0000000000 --- a/changelog.d/7815.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix detection of out of sync remote device lists when receiving events from remote users. diff --git a/changelog.d/7817.bugfix b/changelog.d/7817.bugfix deleted file mode 100644 index 1c001070d5..0000000000 --- a/changelog.d/7817.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug where Synapse fails to process an incoming event over federation if the server is missing too much of the event's auth chain. diff --git a/changelog.d/7820.misc b/changelog.d/7820.misc deleted file mode 100644 index b77b5672e3..0000000000 --- a/changelog.d/7820.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to synapse.api.errors module. diff --git a/changelog.d/7822.bugfix b/changelog.d/7822.bugfix deleted file mode 100644 index faf249a678..0000000000 --- a/changelog.d/7822.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug causing Synapse to misinterpret the value `off` for `encryption_enabled_by_default_for_room_type` in its configuration file(s) if that value isn't surrounded by quotes. This bug was introduced in v1.16.0. diff --git a/changelog.d/7827.feature b/changelog.d/7827.feature deleted file mode 100644 index 0fd116e198..0000000000 --- a/changelog.d/7827.feature +++ /dev/null @@ -1 +0,0 @@ -Add the option to validate the `iss` and `aud` claims for JWT logins. diff --git a/changelog.d/7829.bugfix b/changelog.d/7829.bugfix deleted file mode 100644 index dcbf385de6..0000000000 --- a/changelog.d/7829.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug where we did not always pass in `app_name` or `server_name` to email templates, including e.g. for registration emails. diff --git a/changelog.d/7830.feature b/changelog.d/7830.feature deleted file mode 100644 index b4f614084d..0000000000 --- a/changelog.d/7830.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for handling registration requests across multiple client reader workers. diff --git a/changelog.d/7836.misc b/changelog.d/7836.misc deleted file mode 100644 index a3a97c7590..0000000000 --- a/changelog.d/7836.misc +++ /dev/null @@ -1 +0,0 @@ -Ensure that calls to `json.dumps` are compatible with the standard library json. diff --git a/changelog.d/7839.docker b/changelog.d/7839.docker deleted file mode 100644 index cdf3c9631c..0000000000 --- a/changelog.d/7839.docker +++ /dev/null @@ -1 +0,0 @@ -Base docker image on Debian Buster rather than Alpine Linux. Contributed by @maquis196. diff --git a/changelog.d/7842.feature b/changelog.d/7842.feature deleted file mode 100644 index 727deb01c9..0000000000 --- a/changelog.d/7842.feature +++ /dev/null @@ -1 +0,0 @@ -Add an admin API to list the users in a room. Contributed by Awesome Technologies Innovationslabor GmbH. diff --git a/changelog.d/7844.bugfix b/changelog.d/7844.bugfix deleted file mode 100644 index ad296f1b3c..0000000000 --- a/changelog.d/7844.bugfix +++ /dev/null @@ -1 +0,0 @@ -Errors which occur while using the non-standard JWT login now return the proper error: `403 Forbidden` with an error code of `M_FORBIDDEN`. diff --git a/changelog.d/7846.feature b/changelog.d/7846.feature deleted file mode 100644 index 997376fe42..0000000000 --- a/changelog.d/7846.feature +++ /dev/null @@ -1 +0,0 @@ -Allow email subjects to be customised through Synapse's configuration. diff --git a/changelog.d/7847.feature b/changelog.d/7847.feature deleted file mode 100644 index 4b9a8d8569..0000000000 --- a/changelog.d/7847.feature +++ /dev/null @@ -1 +0,0 @@ -Add the ability to re-activate an account from the admin API. diff --git a/changelog.d/7848.misc b/changelog.d/7848.misc deleted file mode 100644 index d9db1d8357..0000000000 --- a/changelog.d/7848.misc +++ /dev/null @@ -1 +0,0 @@ -Remove redundant `retry_on_integrity_error` wrapper for event persistence code. diff --git a/changelog.d/7849.misc b/changelog.d/7849.misc deleted file mode 100644 index e3296418c1..0000000000 --- a/changelog.d/7849.misc +++ /dev/null @@ -1 +0,0 @@ -Consistently use `db_to_json` to convert from database values to JSON objects. diff --git a/changelog.d/7850.bugfix b/changelog.d/7850.bugfix deleted file mode 100644 index 5f19a89043..0000000000 --- a/changelog.d/7850.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix "AttributeError: 'str' object has no attribute 'get'" error message when applying per-room message retention policies. The bug was introduced in Synapse 1.7.0. diff --git a/changelog.d/7851.misc b/changelog.d/7851.misc deleted file mode 100644 index e5cf540edf..0000000000 --- a/changelog.d/7851.misc +++ /dev/null @@ -1 +0,0 @@ -Convert E2E keys and room keys handlers to async/await. diff --git a/changelog.d/7853.misc b/changelog.d/7853.misc deleted file mode 100644 index b4f614084d..0000000000 --- a/changelog.d/7853.misc +++ /dev/null @@ -1 +0,0 @@ -Add support for handling registration requests across multiple client reader workers. diff --git a/changelog.d/7854.bugfix b/changelog.d/7854.bugfix deleted file mode 100644 index b11f9dedfe..0000000000 --- a/changelog.d/7854.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse 1.10.0 which could cause a "no create event in auth events" error during room creation. diff --git a/changelog.d/7855.feature b/changelog.d/7855.feature deleted file mode 100644 index 2b6a9f0e71..0000000000 --- a/changelog.d/7855.feature +++ /dev/null @@ -1 +0,0 @@ -Add experimental support for running multiple pusher workers. diff --git a/changelog.d/7856.misc b/changelog.d/7856.misc deleted file mode 100644 index 7d99fb67be..0000000000 --- a/changelog.d/7856.misc +++ /dev/null @@ -1 +0,0 @@ -Small performance improvement in typing processing. diff --git a/changelog.d/7858.misc b/changelog.d/7858.misc deleted file mode 100644 index 8f0fc2de74..0000000000 --- a/changelog.d/7858.misc +++ /dev/null @@ -1 +0,0 @@ -The default value of `filter_timeline_limit` was changed from -1 (no limit) to 100. diff --git a/changelog.d/7859.bugfix b/changelog.d/7859.bugfix deleted file mode 100644 index 19cff4b061..0000000000 --- a/changelog.d/7859.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug which allowed empty rooms to be rejoined over federation. diff --git a/changelog.d/7860.misc b/changelog.d/7860.misc deleted file mode 100644 index fdd48b955c..0000000000 --- a/changelog.d/7860.misc +++ /dev/null @@ -1 +0,0 @@ -Convert _base, profile, and _receipts handlers to async/await. diff --git a/changelog.d/7861.misc b/changelog.d/7861.misc deleted file mode 100644 index ada616c62f..0000000000 --- a/changelog.d/7861.misc +++ /dev/null @@ -1 +0,0 @@ -Optimise queueing of inbound replication commands. diff --git a/changelog.d/7866.bugfix b/changelog.d/7866.bugfix deleted file mode 100644 index 6b5c3c4eca..0000000000 --- a/changelog.d/7866.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix 'Unable to find a suitable guest user ID' error when using multiple client_reader workers. diff --git a/changelog.d/7868.misc b/changelog.d/7868.misc deleted file mode 100644 index eadef5e4c2..0000000000 --- a/changelog.d/7868.misc +++ /dev/null @@ -1 +0,0 @@ -Convert synapse.app and federation client to async/await. diff --git a/changelog.d/7869.feature b/changelog.d/7869.feature deleted file mode 100644 index 1982049a52..0000000000 --- a/changelog.d/7869.feature +++ /dev/null @@ -1 +0,0 @@ -Add experimental support for moving typing off master. diff --git a/changelog.d/7870.misc b/changelog.d/7870.misc deleted file mode 100644 index 27cce2f2f9..0000000000 --- a/changelog.d/7870.misc +++ /dev/null @@ -1 +0,0 @@ -Add some type annotations to `HomeServer` and `BaseHandler`. diff --git a/changelog.d/7871.misc b/changelog.d/7871.misc deleted file mode 100644 index 4d398a9f3a..0000000000 --- a/changelog.d/7871.misc +++ /dev/null @@ -1 +0,0 @@ -Convert device handler to async/await. diff --git a/changelog.d/7872.bugfix b/changelog.d/7872.bugfix deleted file mode 100644 index b21f8e1f14..0000000000 --- a/changelog.d/7872.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long standing bug where the tracing of async functions with opentracing was broken. diff --git a/changelog.d/7873.misc b/changelog.d/7873.misc deleted file mode 100644 index 58260764e7..0000000000 --- a/changelog.d/7873.misc +++ /dev/null @@ -1 +0,0 @@ -Convert more media code to async/await. diff --git a/changelog.d/7874.misc b/changelog.d/7874.misc deleted file mode 100644 index f75c8d1843..0000000000 --- a/changelog.d/7874.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the federation agent and related code to async/await. diff --git a/changelog.d/7877.misc b/changelog.d/7877.misc deleted file mode 100644 index a62aa0329c..0000000000 --- a/changelog.d/7877.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up `PreserveLoggingContext`. diff --git a/changelog.d/7878.removal b/changelog.d/7878.removal deleted file mode 100644 index d5a4066624..0000000000 --- a/changelog.d/7878.removal +++ /dev/null @@ -1 +0,0 @@ -Remove unused `synapse_replication_tcp_resource_invalidate_cache` prometheus metric. diff --git a/changelog.d/7879.feature b/changelog.d/7879.feature deleted file mode 100644 index c89655f000..0000000000 --- a/changelog.d/7879.feature +++ /dev/null @@ -1 +0,0 @@ -Report CPU metrics to prometheus for time spent processing replication commands. diff --git a/changelog.d/7880.bugfix b/changelog.d/7880.bugfix deleted file mode 100644 index 356add0996..0000000000 --- a/changelog.d/7880.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix "TypeError in `synapse.notifier`" exceptions. diff --git a/changelog.d/7881.misc b/changelog.d/7881.misc deleted file mode 100644 index 6799117099..0000000000 --- a/changelog.d/7881.misc +++ /dev/null @@ -1 +0,0 @@ -Change "unknown room version" logging from 'error' to 'warning'. diff --git a/changelog.d/7882.misc b/changelog.d/7882.misc deleted file mode 100644 index 9002749335..0000000000 --- a/changelog.d/7882.misc +++ /dev/null @@ -1 +0,0 @@ -Stop using `device_max_stream_id` table and just use `device_inbox.stream_id`. diff --git a/changelog.d/7884.misc b/changelog.d/7884.misc deleted file mode 100644 index 36c7d4de67..0000000000 --- a/changelog.d/7884.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the message handler to async/await. diff --git a/changelog.d/7885.doc b/changelog.d/7885.doc deleted file mode 100644 index cbe9de4082..0000000000 --- a/changelog.d/7885.doc +++ /dev/null @@ -1 +0,0 @@ -Provide instructions on using `register_new_matrix_user` via docker. diff --git a/changelog.d/7886.misc b/changelog.d/7886.misc deleted file mode 100644 index e729ab2451..0000000000 --- a/changelog.d/7886.misc +++ /dev/null @@ -1 +0,0 @@ -Return an empty body for OPTIONS requests. diff --git a/changelog.d/7888.misc b/changelog.d/7888.misc deleted file mode 100644 index 5328d2dcca..0000000000 --- a/changelog.d/7888.misc +++ /dev/null @@ -1 +0,0 @@ -Remove Ubuntu Eoan from the list of `.deb` packages that we build as it is now end-of-life. Contributed by @gary-kim. diff --git a/changelog.d/7889.doc b/changelog.d/7889.doc deleted file mode 100644 index d91f62fd39..0000000000 --- a/changelog.d/7889.doc +++ /dev/null @@ -1 +0,0 @@ -Change the sample config postgres user section to use `synapse_user` instead of `synapse` to align with the documentation. \ No newline at end of file diff --git a/changelog.d/7890.misc b/changelog.d/7890.misc deleted file mode 100644 index 8c127084bc..0000000000 --- a/changelog.d/7890.misc +++ /dev/null @@ -1 +0,0 @@ -Fix typo in generated config file. Contributed by @ThiefMaster. diff --git a/changelog.d/7892.misc b/changelog.d/7892.misc deleted file mode 100644 index ef4cfa04fd..0000000000 --- a/changelog.d/7892.misc +++ /dev/null @@ -1 +0,0 @@ -Import ABC from `collections.abc` for Python 3.10 compatibility. diff --git a/changelog.d/7895.bugfix b/changelog.d/7895.bugfix deleted file mode 100644 index 1ae7f8ca7c..0000000000 --- a/changelog.d/7895.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix deprecation warning due to invalid escape sequences. \ No newline at end of file diff --git a/changelog.d/7897.misc b/changelog.d/7897.misc deleted file mode 100644 index 77772533fd..0000000000 --- a/changelog.d/7897.misc +++ /dev/null @@ -1,2 +0,0 @@ -Remove unused functions `time_function`, `trace_function`, `get_previous_frames` -and `get_previous_frame` from `synapse.logging.utils` module. \ No newline at end of file diff --git a/changelog.d/7908.feature b/changelog.d/7908.feature deleted file mode 100644 index 4b9a8d8569..0000000000 --- a/changelog.d/7908.feature +++ /dev/null @@ -1 +0,0 @@ -Add the ability to re-activate an account from the admin API. diff --git a/changelog.d/7912.misc b/changelog.d/7912.misc deleted file mode 100644 index d619590070..0000000000 --- a/changelog.d/7912.misc +++ /dev/null @@ -1 +0,0 @@ -Convert `RoomListHandler` to async/await. diff --git a/changelog.d/7914.misc b/changelog.d/7914.misc deleted file mode 100644 index 710553249c..0000000000 --- a/changelog.d/7914.misc +++ /dev/null @@ -1 +0,0 @@ -Lint the `contrib/` directory in CI and linting scripts, add `synctl` to the linting script for consistency with CI. diff --git a/changelog.d/7919.misc b/changelog.d/7919.misc deleted file mode 100644 index addaa35183..0000000000 --- a/changelog.d/7919.misc +++ /dev/null @@ -1 +0,0 @@ -Use Element CSS and logo in notification emails when app name is Element. diff --git a/changelog.d/7920.feature b/changelog.d/7920.feature deleted file mode 100644 index 4093f5d329..0000000000 --- a/changelog.d/7920.feature +++ /dev/null @@ -1 +0,0 @@ -Support oEmbed for media previews. diff --git a/changelog.d/7927.misc b/changelog.d/7927.misc deleted file mode 100644 index 3b864da03d..0000000000 --- a/changelog.d/7927.misc +++ /dev/null @@ -1 +0,0 @@ -Optimisation to /sync handling: skip serializing the response if the client has already disconnected. diff --git a/changelog.d/7928.misc b/changelog.d/7928.misc deleted file mode 100644 index 5f3aa5de0a..0000000000 --- a/changelog.d/7928.misc +++ /dev/null @@ -1 +0,0 @@ -When a client disconnects, don't log it as 'Error processing request'. diff --git a/changelog.d/7929.misc b/changelog.d/7929.misc deleted file mode 100644 index d72856fe03..0000000000 --- a/changelog.d/7929.misc +++ /dev/null @@ -1 +0,0 @@ -Add debugging to `/sync` response generation (disabled by default). diff --git a/changelog.d/7930.feature b/changelog.d/7930.feature deleted file mode 100644 index a27e4812da..0000000000 --- a/changelog.d/7930.feature +++ /dev/null @@ -1 +0,0 @@ -Abort federation requests where the client disconnects before the ratelimiter expires. diff --git a/changelog.d/7931.feature b/changelog.d/7931.feature deleted file mode 100644 index 30eb33048b..0000000000 --- a/changelog.d/7931.feature +++ /dev/null @@ -1 +0,0 @@ -Cache responses to `/_matrix/federation/v1/state_ids` to reduce duplicated work. diff --git a/changelog.d/7933.doc b/changelog.d/7933.doc deleted file mode 100644 index 7022fd578b..0000000000 --- a/changelog.d/7933.doc +++ /dev/null @@ -1 +0,0 @@ -Reorder database paragraphs to promote postgres over sqlite. diff --git a/changelog.d/7934.doc b/changelog.d/7934.doc deleted file mode 100644 index 992d5358a7..0000000000 --- a/changelog.d/7934.doc +++ /dev/null @@ -1 +0,0 @@ -Update the dates of ACME v1's end of life in [`ACME.md`](https://github.com/matrix-org/synapse/blob/master/docs/ACME.md). diff --git a/changelog.d/7935.misc b/changelog.d/7935.misc deleted file mode 100644 index 3771f99bf2..0000000000 --- a/changelog.d/7935.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the auth providers to be async/await. diff --git a/changelog.d/7939.misc b/changelog.d/7939.misc deleted file mode 100644 index 798833b3af..0000000000 --- a/changelog.d/7939.misc +++ /dev/null @@ -1 +0,0 @@ -Convert presence handler helpers to async/await. diff --git a/changelog.d/7942.misc b/changelog.d/7942.misc deleted file mode 100644 index b504cf4e6f..0000000000 --- a/changelog.d/7942.misc +++ /dev/null @@ -1 +0,0 @@ -Convert state resolution to async/await. diff --git a/changelog.d/7944.misc b/changelog.d/7944.misc deleted file mode 100644 index afbc91a494..0000000000 --- a/changelog.d/7944.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the interactive_auth_handler wrapper to async/await. diff --git a/changelog.d/7945.misc b/changelog.d/7945.misc deleted file mode 100644 index da612fd576..0000000000 --- a/changelog.d/7945.misc +++ /dev/null @@ -1 +0,0 @@ -Update comments that refer to Deferreds for async functions. diff --git a/changelog.d/7950.misc b/changelog.d/7950.misc deleted file mode 100644 index f6bfa2f1f0..0000000000 --- a/changelog.d/7950.misc +++ /dev/null @@ -1 +0,0 @@ -Simplify error handling in federation handler. diff --git a/changelog.d/7953.feature b/changelog.d/7953.feature deleted file mode 100644 index 945b5c743c..0000000000 --- a/changelog.d/7953.feature +++ /dev/null @@ -1 +0,0 @@ -Add delete room admin endpoint (`POST /_synapse/admin/v1/rooms//delete`). Contributed by @dklimpel. \ No newline at end of file diff --git a/changelog.d/7959.bugfix b/changelog.d/7959.bugfix deleted file mode 100644 index 1982049a52..0000000000 --- a/changelog.d/7959.bugfix +++ /dev/null @@ -1 +0,0 @@ -Add experimental support for moving typing off master. diff --git a/changelog.d/7961.bugfix b/changelog.d/7961.bugfix deleted file mode 100644 index b21f8e1f14..0000000000 --- a/changelog.d/7961.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long standing bug where the tracing of async functions with opentracing was broken. diff --git a/synapse/__init__.py b/synapse/__init__.py index 8592dee179..900513499d 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.17.0" +__version__ = "1.18.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 -- cgit 1.5.1 From 7000a215e6387f54ce2f0aa3e324cb3ad021d69f Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 28 Jul 2020 11:22:32 +0100 Subject: 1.18.0rc2 --- CHANGES.md | 16 ++++++++++++++++ changelog.d/7876.bugfix | 1 - changelog.d/7876.misc | 1 - changelog.d/7967.bugfix | 1 - synapse/__init__.py | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 changelog.d/7876.bugfix delete mode 100644 changelog.d/7876.misc delete mode 100644 changelog.d/7967.bugfix (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 74b8e1df87..2ecbd3fd00 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,19 @@ +Synapse 1.18.0rc2 (2020-07-28) +============================== + +Bugfixes +-------- + +- Fix an `AssertionError` exception introduced in v1.18.0rc1. ([\#7876](https://github.com/matrix-org/synapse/issues/7876)) +- Fix experimental support for moving typing off master when worker is restarted, which is broken in v1.18.0rc1. ([\#7967](https://github.com/matrix-org/synapse/issues/7967)) + + +Internal Changes +---------------- + +- Further optimise queueing of inbound replication commands. ([\#7876](https://github.com/matrix-org/synapse/issues/7876)) + + Synapse 1.18.0rc1 (2020-07-27) ============================== diff --git a/changelog.d/7876.bugfix b/changelog.d/7876.bugfix deleted file mode 100644 index 4ba2fadd58..0000000000 --- a/changelog.d/7876.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix an `AssertionError` exception introduced in v1.18.0rc1. diff --git a/changelog.d/7876.misc b/changelog.d/7876.misc deleted file mode 100644 index 5c78a158cd..0000000000 --- a/changelog.d/7876.misc +++ /dev/null @@ -1 +0,0 @@ -Further optimise queueing of inbound replication commands. diff --git a/changelog.d/7967.bugfix b/changelog.d/7967.bugfix deleted file mode 100644 index 105ea1c7e0..0000000000 --- a/changelog.d/7967.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix experimental support for moving typing off master when worker is restarted, which is broken in v1.18.0-rc1. diff --git a/synapse/__init__.py b/synapse/__init__.py index 900513499d..83ce2ae6f4 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.18.0rc1" +__version__ = "1.18.0rc2" 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 -- cgit 1.5.1 From 2c1e1b153d7ca429b84c2cd0a2d657a066de8bc7 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Tue, 28 Jul 2020 10:28:59 -0400 Subject: Use the JSON module from the std library instead of simplejson. (#7936) --- changelog.d/7936.misc | 1 + synapse/__init__.py | 12 ++++++++++++ synapse/python_dependencies.py | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 changelog.d/7936.misc (limited to 'synapse/__init__.py') diff --git a/changelog.d/7936.misc b/changelog.d/7936.misc new file mode 100644 index 0000000000..4304bbdd25 --- /dev/null +++ b/changelog.d/7936.misc @@ -0,0 +1 @@ +Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. diff --git a/synapse/__init__.py b/synapse/__init__.py index 83ce2ae6f4..72c93f6c48 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -17,6 +17,7 @@ """ This is a reference implementation of a Matrix homeserver. """ +import json import os import sys @@ -25,6 +26,9 @@ if sys.version_info < (3, 5): print("Synapse requires Python 3.5 or above.") sys.exit(1) +# Twisted and canonicaljson will fail to import when this file is executed to +# get the __version__ during a fresh install. That's OK and subsequent calls to +# actually start Synapse will import these libraries fine. try: from twisted.internet import protocol from twisted.internet.protocol import Factory @@ -36,6 +40,14 @@ try: except ImportError: pass +# Use the standard library json implementation instead of simplejson. +try: + from canonicaljson import set_json_library + + set_json_library(json) +except ImportError: + pass + __version__ = "1.18.0rc2" if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index 8cfcdb0573..abea2be4ef 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -43,7 +43,7 @@ REQUIREMENTS = [ "jsonschema>=2.5.1", "frozendict>=1", "unpaddedbase64>=1.1.0", - "canonicaljson>=1.1.3", + "canonicaljson>=1.2.0", # we use the type definitions added in signedjson 1.1. "signedjson>=1.1.0", "pynacl>=1.2.1", -- cgit 1.5.1 From a9631b7b4bc84dd1285472add70555b8b03992b2 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 30 Jul 2020 10:56:54 +0100 Subject: 1.18.0 --- CHANGES.md | 9 +++++++++ changelog.d/7969.doc | 1 - debian/changelog | 6 ++++++ synapse/__init__.py | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) delete mode 100644 changelog.d/7969.doc (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 2ecbd3fd00..b8c636ebe0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,12 @@ +Synapse 1.18.0 (2020-07-30) +=========================== + +Improved Documentation +---------------------- + +- Update worker docs with latest enhancements. ([\#7969](https://github.com/matrix-org/synapse/issues/7969)) + + Synapse 1.18.0rc2 (2020-07-28) ============================== diff --git a/changelog.d/7969.doc b/changelog.d/7969.doc deleted file mode 100644 index 68d2ed5fad..0000000000 --- a/changelog.d/7969.doc +++ /dev/null @@ -1 +0,0 @@ -Update worker docs with latest enhancements. diff --git a/debian/changelog b/debian/changelog index 3825603ae4..a6d88906ac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.18.0) stable; urgency=medium + + * New synapse release 1.18.0. + + -- Synapse Packaging team Thu, 30 Jul 2020 10:55:53 +0100 + matrix-synapse-py3 (1.17.0) stable; urgency=medium * New synapse release 1.17.0. diff --git a/synapse/__init__.py b/synapse/__init__.py index 83ce2ae6f4..5155e719a1 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.18.0rc2" +__version__ = "1.18.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 -- cgit 1.5.1 From 091ca3910d7c376d3e40cbb06ee553a85983ae04 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 13 Aug 2020 17:12:21 +0100 Subject: 1.19.0rc1 --- CHANGES.md | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ changelog.d/7314.misc | 1 - changelog.d/7372.misc | 1 - changelog.d/7899.doc | 1 - changelog.d/7902.feature | 1 - changelog.d/7936.misc | 1 - changelog.d/7947.misc | 1 - changelog.d/7948.misc | 1 - changelog.d/7949.misc | 1 - changelog.d/7951.misc | 1 - changelog.d/7952.misc | 1 - changelog.d/7963.misc | 1 - changelog.d/7964.feature | 1 - changelog.d/7965.misc | 1 - changelog.d/7970.misc | 1 - changelog.d/7971.misc | 1 - changelog.d/7973.misc | 1 - changelog.d/7975.misc | 1 - changelog.d/7976.misc | 1 - changelog.d/7977.bugfix | 1 - changelog.d/7978.bugfix | 1 - changelog.d/7979.misc | 1 - changelog.d/7980.bugfix | 1 - changelog.d/7981.misc | 1 - changelog.d/7987.misc | 1 - changelog.d/7989.misc | 1 - changelog.d/7990.doc | 1 - changelog.d/7992.doc | 1 - changelog.d/7996.bugfix | 1 - changelog.d/7997.misc | 1 - changelog.d/7998.doc | 1 - changelog.d/7999.bugfix | 1 - changelog.d/8000.doc | 1 - changelog.d/8001.misc | 1 - changelog.d/8003.misc | 1 - changelog.d/8008.feature | 1 - changelog.d/8009.misc | 1 - changelog.d/8010.doc | 1 - changelog.d/8011.bugfix | 1 - changelog.d/8012.bugfix | 1 - changelog.d/8014.misc | 1 - changelog.d/8016.misc | 1 - changelog.d/8024.misc | 1 - changelog.d/8027.misc | 1 - changelog.d/8031.misc | 1 - changelog.d/8032.misc | 1 - changelog.d/8033.misc | 1 - changelog.d/8035.misc | 1 - changelog.d/8039.misc | 1 - changelog.d/8040.misc | 1 - changelog.d/8041.misc | 1 - changelog.d/8042.misc | 1 - changelog.d/8043.misc | 1 - changelog.d/8044.misc | 1 - changelog.d/8045.misc | 1 - changelog.d/8048.feature | 1 - changelog.d/8049.misc | 1 - changelog.d/8050.misc | 1 - changelog.d/8051.misc | 1 - changelog.d/8052.feature | 1 - changelog.d/8056.docker | 1 - changelog.d/8058.misc | 1 - changelog.d/8060.misc | 1 - changelog.d/8061.misc | 1 - changelog.d/8062.misc | 1 - changelog.d/8063.misc | 1 - changelog.d/8064.misc | 1 - changelog.d/8066.misc | 1 - changelog.d/8067.misc | 1 - changelog.d/8069.misc | 1 - changelog.d/8070.misc | 1 - synapse/__init__.py | 2 +- 72 files changed, 67 insertions(+), 71 deletions(-) delete mode 100644 changelog.d/7314.misc delete mode 100644 changelog.d/7372.misc delete mode 100644 changelog.d/7899.doc delete mode 100644 changelog.d/7902.feature delete mode 100644 changelog.d/7936.misc delete mode 100644 changelog.d/7947.misc delete mode 100644 changelog.d/7948.misc delete mode 100644 changelog.d/7949.misc delete mode 100644 changelog.d/7951.misc delete mode 100644 changelog.d/7952.misc delete mode 100644 changelog.d/7963.misc delete mode 100644 changelog.d/7964.feature delete mode 100644 changelog.d/7965.misc delete mode 100644 changelog.d/7970.misc delete mode 100644 changelog.d/7971.misc delete mode 100644 changelog.d/7973.misc delete mode 100644 changelog.d/7975.misc delete mode 100644 changelog.d/7976.misc delete mode 100644 changelog.d/7977.bugfix delete mode 100644 changelog.d/7978.bugfix delete mode 100644 changelog.d/7979.misc delete mode 100644 changelog.d/7980.bugfix delete mode 100644 changelog.d/7981.misc delete mode 100644 changelog.d/7987.misc delete mode 100644 changelog.d/7989.misc delete mode 100644 changelog.d/7990.doc delete mode 100644 changelog.d/7992.doc delete mode 100644 changelog.d/7996.bugfix delete mode 100644 changelog.d/7997.misc delete mode 100644 changelog.d/7998.doc delete mode 100644 changelog.d/7999.bugfix delete mode 100644 changelog.d/8000.doc delete mode 100644 changelog.d/8001.misc delete mode 100644 changelog.d/8003.misc delete mode 100644 changelog.d/8008.feature delete mode 100644 changelog.d/8009.misc delete mode 100644 changelog.d/8010.doc delete mode 100644 changelog.d/8011.bugfix delete mode 100644 changelog.d/8012.bugfix delete mode 100644 changelog.d/8014.misc delete mode 100644 changelog.d/8016.misc delete mode 100644 changelog.d/8024.misc delete mode 100644 changelog.d/8027.misc delete mode 100644 changelog.d/8031.misc delete mode 100644 changelog.d/8032.misc delete mode 100644 changelog.d/8033.misc delete mode 100644 changelog.d/8035.misc delete mode 100644 changelog.d/8039.misc delete mode 100644 changelog.d/8040.misc delete mode 100644 changelog.d/8041.misc delete mode 100644 changelog.d/8042.misc delete mode 100644 changelog.d/8043.misc delete mode 100644 changelog.d/8044.misc delete mode 100644 changelog.d/8045.misc delete mode 100644 changelog.d/8048.feature delete mode 100644 changelog.d/8049.misc delete mode 100644 changelog.d/8050.misc delete mode 100644 changelog.d/8051.misc delete mode 100644 changelog.d/8052.feature delete mode 100644 changelog.d/8056.docker delete mode 100644 changelog.d/8058.misc delete mode 100644 changelog.d/8060.misc delete mode 100644 changelog.d/8061.misc delete mode 100644 changelog.d/8062.misc delete mode 100644 changelog.d/8063.misc delete mode 100644 changelog.d/8064.misc delete mode 100644 changelog.d/8066.misc delete mode 100644 changelog.d/8067.misc delete mode 100644 changelog.d/8069.misc delete mode 100644 changelog.d/8070.misc (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 6c986808eb..9f8ccb8363 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,69 @@ +Synapse 1.19.0rc1 (2020-08-13) +============================== + +Features +-------- + +- Add option to allow server admins to join rooms which fail complexity checks. Contributed by @lugino-emeritus. ([\#7902](https://github.com/matrix-org/synapse/issues/7902)) +- Add an option to purge room or not with delete room admin endpoint (`POST /_synapse/admin/v1/rooms//delete`). Contributed by @dklimpel. ([\#7964](https://github.com/matrix-org/synapse/issues/7964)) +- Add rate limiting to users joining rooms. ([\#8008](https://github.com/matrix-org/synapse/issues/8008)) +- Add a `/health` endpoint to every configured HTTP listener that can be used as a health check endpoint by load balancers. ([\#8048](https://github.com/matrix-org/synapse/issues/8048)) +- Allow login to be blocked based on the values of SAML attributes. ([\#8052](https://github.com/matrix-org/synapse/issues/8052)) + + +Bugfixes +-------- + +- Fix a bug introduced in Synapse v1.7.2 which caused inaccurate membership counts in the room directory. ([\#7977](https://github.com/matrix-org/synapse/issues/7977)) +- Fix a long standing bug: 'Duplicate key value violates unique constraint "event_relations_id"' when message retention is configured. ([\#7978](https://github.com/matrix-org/synapse/issues/7978)) +- Fix "no create event in auth events" when trying to reject invitation after inviter leaves. Bug introduced in Synapse v1.10.0. ([\#7980](https://github.com/matrix-org/synapse/issues/7980)) +- Fix various comments and minor discrepencies in server notices code. ([\#7996](https://github.com/matrix-org/synapse/issues/7996)) +- Fix a long standing bug where HTTP HEAD requests resulted in a 400 error. ([\#7999](https://github.com/matrix-org/synapse/issues/7999)) +- Fix a long-standing bug which caused two copies of some log lines to be written when synctl was used along with a MemoryHandler logger. ([\#8011](https://github.com/matrix-org/synapse/issues/8011), [\#8012](https://github.com/matrix-org/synapse/issues/8012)) + + +Updates to the Docker image +--------------------------- + +- We no longer publish Docker images with the `-py3` tag suffix, as announced at https://github.com/matrix-org/synapse/blob/develop/UPGRADE.rst#upgrading-to-v1180. ([\#8056](https://github.com/matrix-org/synapse/issues/8056)) + + +Improved Documentation +---------------------- + +- Document how to set up a Client Well-Known file and fix several pieces of outdated documentation. ([\#7899](https://github.com/matrix-org/synapse/issues/7899)) +- Improve workers docs. ([\#7990](https://github.com/matrix-org/synapse/issues/7990), [\#8000](https://github.com/matrix-org/synapse/issues/8000)) +- Fix typo in `docs/workers.md`. ([\#7992](https://github.com/matrix-org/synapse/issues/7992)) +- Add documentation for how to undo a room shutdown. ([\#7998](https://github.com/matrix-org/synapse/issues/7998), [\#8010](https://github.com/matrix-org/synapse/issues/8010)) + + +Internal Changes +---------------- + +- Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7314](https://github.com/matrix-org/synapse/issues/7314)) +- Reduce the amount of whitespace in JSON stored and sent in responses. Contributed by David Vo. ([\#7372](https://github.com/matrix-org/synapse/issues/7372)) +- Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. ([\#7936](https://github.com/matrix-org/synapse/issues/7936), [\#7979](https://github.com/matrix-org/synapse/issues/7979)) +- Convert various parts of the codebase to async/await. ([\#7947](https://github.com/matrix-org/synapse/issues/7947), [\#7948](https://github.com/matrix-org/synapse/issues/7948), [\#7949](https://github.com/matrix-org/synapse/issues/7949), [\#7951](https://github.com/matrix-org/synapse/issues/7951), [\#7963](https://github.com/matrix-org/synapse/issues/7963), [\#7973](https://github.com/matrix-org/synapse/issues/7973), [\#7975](https://github.com/matrix-org/synapse/issues/7975), [\#7976](https://github.com/matrix-org/synapse/issues/7976), [\#7981](https://github.com/matrix-org/synapse/issues/7981), [\#7987](https://github.com/matrix-org/synapse/issues/7987), [\#7989](https://github.com/matrix-org/synapse/issues/7989), [\#8003](https://github.com/matrix-org/synapse/issues/8003), [\#8014](https://github.com/matrix-org/synapse/issues/8014), [\#8016](https://github.com/matrix-org/synapse/issues/8016), [\#8027](https://github.com/matrix-org/synapse/issues/8027), [\#8031](https://github.com/matrix-org/synapse/issues/8031), [\#8032](https://github.com/matrix-org/synapse/issues/8032), [\#8035](https://github.com/matrix-org/synapse/issues/8035), [\#8042](https://github.com/matrix-org/synapse/issues/8042), [\#8044](https://github.com/matrix-org/synapse/issues/8044), [\#8045](https://github.com/matrix-org/synapse/issues/8045), [\#8061](https://github.com/matrix-org/synapse/issues/8061), [\#8062](https://github.com/matrix-org/synapse/issues/8062), [\#8063](https://github.com/matrix-org/synapse/issues/8063), [\#8066](https://github.com/matrix-org/synapse/issues/8066), [\#8069](https://github.com/matrix-org/synapse/issues/8069), [\#8070](https://github.com/matrix-org/synapse/issues/8070)) +- Move some database-related log lines from the default logger to the database/transaction loggers. ([\#7952](https://github.com/matrix-org/synapse/issues/7952)) +- Add a script to detect source code files using non-unix line terminators. ([\#7965](https://github.com/matrix-org/synapse/issues/7965), [\#7970](https://github.com/matrix-org/synapse/issues/7970)) +- Log the SAML session ID during creation. ([\#7971](https://github.com/matrix-org/synapse/issues/7971)) +- Implement new experimental push rules for some users. ([\#7997](https://github.com/matrix-org/synapse/issues/7997)) +- Remove redundant and unreliable signature check for v1 Identity Service lookup responses. ([\#8001](https://github.com/matrix-org/synapse/issues/8001)) +- Improve the performance of the register endpoint. ([\#8009](https://github.com/matrix-org/synapse/issues/8009)) +- Reduce less useful output in the newsfragment CI step. Add a link to the changelog section of the contributing guide on error. ([\#8024](https://github.com/matrix-org/synapse/issues/8024)) +- Rename storage layer objects to be more sensible. ([\#8033](https://github.com/matrix-org/synapse/issues/8033)) +- Revert MSC2654 implementation because of perf issues. Please delete this line when processing the 1.19 changelog. ([\#8039](https://github.com/matrix-org/synapse/issues/8039)) +- Change the default log config to reduce disk I/O and storage for new servers. ([\#8040](https://github.com/matrix-org/synapse/issues/8040)) +- Add an assertion on prev_events in create_new_client_event. ([\#8041](https://github.com/matrix-org/synapse/issues/8041)) +- Add a comment to `ServerContextFactory` about the use of `SSLv23_METHOD`. ([\#8043](https://github.com/matrix-org/synapse/issues/8043)) +- Log `OPTIONS` requests at `DEBUG` rather than `INFO` level to reduce amount logged at `INFO`. ([\#8049](https://github.com/matrix-org/synapse/issues/8049)) +- Reduce amount of outbound request logging at INFO level. ([\#8050](https://github.com/matrix-org/synapse/issues/8050)) +- It is no longer necessary to explicitly define `filters` in the logging configuration. (Continuing to do so is redundant but harmless.) ([\#8051](https://github.com/matrix-org/synapse/issues/8051)) +- Add type hints to `Notifier`. ([\#8058](https://github.com/matrix-org/synapse/issues/8058), [\#8064](https://github.com/matrix-org/synapse/issues/8064)) +- Improve typing information on `HomeServer` object. ([\#8060](https://github.com/matrix-org/synapse/issues/8060)) +- Add type hints to `synapse.handlers.message` and `synapse.events.builder`. ([\#8067](https://github.com/matrix-org/synapse/issues/8067)) + + Synapse 1.18.0 (2020-07-30) =========================== diff --git a/changelog.d/7314.misc b/changelog.d/7314.misc deleted file mode 100644 index 30720100c2..0000000000 --- a/changelog.d/7314.misc +++ /dev/null @@ -1 +0,0 @@ -Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH. diff --git a/changelog.d/7372.misc b/changelog.d/7372.misc deleted file mode 100644 index 67a39f0471..0000000000 --- a/changelog.d/7372.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce the amount of whitespace in JSON stored and sent in responses. Contributed by David Vo. diff --git a/changelog.d/7899.doc b/changelog.d/7899.doc deleted file mode 100644 index 847c2cb62c..0000000000 --- a/changelog.d/7899.doc +++ /dev/null @@ -1 +0,0 @@ -Document how to set up a Client Well-Known file and fix several pieces of outdated documentation. diff --git a/changelog.d/7902.feature b/changelog.d/7902.feature deleted file mode 100644 index 4feae8cc29..0000000000 --- a/changelog.d/7902.feature +++ /dev/null @@ -1 +0,0 @@ -Add option to allow server admins to join rooms which fail complexity checks. Contributed by @lugino-emeritus. diff --git a/changelog.d/7936.misc b/changelog.d/7936.misc deleted file mode 100644 index 4304bbdd25..0000000000 --- a/changelog.d/7936.misc +++ /dev/null @@ -1 +0,0 @@ -Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. diff --git a/changelog.d/7947.misc b/changelog.d/7947.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7947.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7948.misc b/changelog.d/7948.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7948.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7949.misc b/changelog.d/7949.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7949.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7951.misc b/changelog.d/7951.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7951.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7952.misc b/changelog.d/7952.misc deleted file mode 100644 index 93c25cb386..0000000000 --- a/changelog.d/7952.misc +++ /dev/null @@ -1 +0,0 @@ -Move some database-related log lines from the default logger to the database/transaction loggers. \ No newline at end of file diff --git a/changelog.d/7963.misc b/changelog.d/7963.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7963.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7964.feature b/changelog.d/7964.feature deleted file mode 100644 index ffe861650c..0000000000 --- a/changelog.d/7964.feature +++ /dev/null @@ -1 +0,0 @@ -Add an option to purge room or not with delete room admin endpoint (`POST /_synapse/admin/v1/rooms//delete`). Contributed by @dklimpel. \ No newline at end of file diff --git a/changelog.d/7965.misc b/changelog.d/7965.misc deleted file mode 100644 index ee9f1a7114..0000000000 --- a/changelog.d/7965.misc +++ /dev/null @@ -1 +0,0 @@ -Add a script to detect source code files using non-unix line terminators. \ No newline at end of file diff --git a/changelog.d/7970.misc b/changelog.d/7970.misc deleted file mode 100644 index ee9f1a7114..0000000000 --- a/changelog.d/7970.misc +++ /dev/null @@ -1 +0,0 @@ -Add a script to detect source code files using non-unix line terminators. \ No newline at end of file diff --git a/changelog.d/7971.misc b/changelog.d/7971.misc deleted file mode 100644 index 87a4eb1f4d..0000000000 --- a/changelog.d/7971.misc +++ /dev/null @@ -1 +0,0 @@ -Log the SAML session ID during creation. diff --git a/changelog.d/7973.misc b/changelog.d/7973.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7973.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7975.misc b/changelog.d/7975.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7975.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7976.misc b/changelog.d/7976.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7976.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7977.bugfix b/changelog.d/7977.bugfix deleted file mode 100644 index c587f13055..0000000000 --- a/changelog.d/7977.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse v1.7.2 which caused inaccurate membership counts in the room directory. diff --git a/changelog.d/7978.bugfix b/changelog.d/7978.bugfix deleted file mode 100644 index 247b18db20..0000000000 --- a/changelog.d/7978.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long standing bug: 'Duplicate key value violates unique constraint "event_relations_id"' when message retention is configured. diff --git a/changelog.d/7979.misc b/changelog.d/7979.misc deleted file mode 100644 index 4304bbdd25..0000000000 --- a/changelog.d/7979.misc +++ /dev/null @@ -1 +0,0 @@ -Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. diff --git a/changelog.d/7980.bugfix b/changelog.d/7980.bugfix deleted file mode 100644 index fa351b4b77..0000000000 --- a/changelog.d/7980.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix "no create event in auth events" when trying to reject invitation after inviter leaves. Bug introduced in Synapse v1.10.0. diff --git a/changelog.d/7981.misc b/changelog.d/7981.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7981.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7987.misc b/changelog.d/7987.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7987.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7989.misc b/changelog.d/7989.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7989.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7990.doc b/changelog.d/7990.doc deleted file mode 100644 index 8d8fd926e9..0000000000 --- a/changelog.d/7990.doc +++ /dev/null @@ -1 +0,0 @@ -Improve workers docs. diff --git a/changelog.d/7992.doc b/changelog.d/7992.doc deleted file mode 100644 index 3368fb5912..0000000000 --- a/changelog.d/7992.doc +++ /dev/null @@ -1 +0,0 @@ -Fix typo in `docs/workers.md`. diff --git a/changelog.d/7996.bugfix b/changelog.d/7996.bugfix deleted file mode 100644 index 1e51f20558..0000000000 --- a/changelog.d/7996.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix various comments and minor discrepencies in server notices code. diff --git a/changelog.d/7997.misc b/changelog.d/7997.misc deleted file mode 100644 index fd53674bc6..0000000000 --- a/changelog.d/7997.misc +++ /dev/null @@ -1 +0,0 @@ -Implement new experimental push rules for some users. diff --git a/changelog.d/7998.doc b/changelog.d/7998.doc deleted file mode 100644 index fc8b3f0c3d..0000000000 --- a/changelog.d/7998.doc +++ /dev/null @@ -1 +0,0 @@ -Add documentation for how to undo a room shutdown. diff --git a/changelog.d/7999.bugfix b/changelog.d/7999.bugfix deleted file mode 100644 index e0b8c4922f..0000000000 --- a/changelog.d/7999.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long standing bug where HTTP HEAD requests resulted in a 400 error. diff --git a/changelog.d/8000.doc b/changelog.d/8000.doc deleted file mode 100644 index 8d8fd926e9..0000000000 --- a/changelog.d/8000.doc +++ /dev/null @@ -1 +0,0 @@ -Improve workers docs. diff --git a/changelog.d/8001.misc b/changelog.d/8001.misc deleted file mode 100644 index 0be4b37d22..0000000000 --- a/changelog.d/8001.misc +++ /dev/null @@ -1 +0,0 @@ -Remove redundant and unreliable signature check for v1 Identity Service lookup responses. diff --git a/changelog.d/8003.misc b/changelog.d/8003.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8003.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8008.feature b/changelog.d/8008.feature deleted file mode 100644 index c6d381809a..0000000000 --- a/changelog.d/8008.feature +++ /dev/null @@ -1 +0,0 @@ -Add rate limiting to users joining rooms. diff --git a/changelog.d/8009.misc b/changelog.d/8009.misc deleted file mode 100644 index 3d58a11313..0000000000 --- a/changelog.d/8009.misc +++ /dev/null @@ -1 +0,0 @@ -Improve the performance of the register endpoint. diff --git a/changelog.d/8010.doc b/changelog.d/8010.doc deleted file mode 100644 index fc8b3f0c3d..0000000000 --- a/changelog.d/8010.doc +++ /dev/null @@ -1 +0,0 @@ -Add documentation for how to undo a room shutdown. diff --git a/changelog.d/8011.bugfix b/changelog.d/8011.bugfix deleted file mode 100644 index c673040de9..0000000000 --- a/changelog.d/8011.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug which caused two copies of some log lines to be written when synctl was used along with a MemoryHandler logger. diff --git a/changelog.d/8012.bugfix b/changelog.d/8012.bugfix deleted file mode 100644 index c673040de9..0000000000 --- a/changelog.d/8012.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug which caused two copies of some log lines to be written when synctl was used along with a MemoryHandler logger. diff --git a/changelog.d/8014.misc b/changelog.d/8014.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8014.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8016.misc b/changelog.d/8016.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8016.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8024.misc b/changelog.d/8024.misc deleted file mode 100644 index 4bc739502b..0000000000 --- a/changelog.d/8024.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce less useful output in the newsfragment CI step. Add a link to the changelog section of the contributing guide on error. \ No newline at end of file diff --git a/changelog.d/8027.misc b/changelog.d/8027.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8027.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8031.misc b/changelog.d/8031.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8031.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8032.misc b/changelog.d/8032.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8032.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8033.misc b/changelog.d/8033.misc deleted file mode 100644 index 7a9782d14b..0000000000 --- a/changelog.d/8033.misc +++ /dev/null @@ -1 +0,0 @@ -Rename storage layer objects to be more sensible. diff --git a/changelog.d/8035.misc b/changelog.d/8035.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8035.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8039.misc b/changelog.d/8039.misc deleted file mode 100644 index 599933c80e..0000000000 --- a/changelog.d/8039.misc +++ /dev/null @@ -1 +0,0 @@ -Revert MSC2654 implementation because of perf issues. Please delete this line when processing the 1.19 changelog. diff --git a/changelog.d/8040.misc b/changelog.d/8040.misc deleted file mode 100644 index a126151392..0000000000 --- a/changelog.d/8040.misc +++ /dev/null @@ -1 +0,0 @@ -Change the default log config to reduce disk I/O and storage for new servers. diff --git a/changelog.d/8041.misc b/changelog.d/8041.misc deleted file mode 100644 index eefa98d744..0000000000 --- a/changelog.d/8041.misc +++ /dev/null @@ -1 +0,0 @@ -Add an assertion on prev_events in create_new_client_event. diff --git a/changelog.d/8042.misc b/changelog.d/8042.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8042.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8043.misc b/changelog.d/8043.misc deleted file mode 100644 index 683d553666..0000000000 --- a/changelog.d/8043.misc +++ /dev/null @@ -1 +0,0 @@ -Add a comment to `ServerContextFactory` about the use of `SSLv23_METHOD`. diff --git a/changelog.d/8044.misc b/changelog.d/8044.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8044.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8045.misc b/changelog.d/8045.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8045.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8048.feature b/changelog.d/8048.feature deleted file mode 100644 index 8521d1920e..0000000000 --- a/changelog.d/8048.feature +++ /dev/null @@ -1 +0,0 @@ -Add a `/health` endpoint to every configured HTTP listener that can be used as a health check endpoint by load balancers. diff --git a/changelog.d/8049.misc b/changelog.d/8049.misc deleted file mode 100644 index 7fce36215d..0000000000 --- a/changelog.d/8049.misc +++ /dev/null @@ -1 +0,0 @@ -Log `OPTIONS` requests at `DEBUG` rather than `INFO` level to reduce amount logged at `INFO`. diff --git a/changelog.d/8050.misc b/changelog.d/8050.misc deleted file mode 100644 index cc8d1af7fa..0000000000 --- a/changelog.d/8050.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce amount of outbound request logging at INFO level. diff --git a/changelog.d/8051.misc b/changelog.d/8051.misc deleted file mode 100644 index 9e472cd481..0000000000 --- a/changelog.d/8051.misc +++ /dev/null @@ -1 +0,0 @@ -It is no longer necessary to explicitly define `filters` in the logging configuration. (Continuing to do so is redundant but harmless.) diff --git a/changelog.d/8052.feature b/changelog.d/8052.feature deleted file mode 100644 index 6aa020c764..0000000000 --- a/changelog.d/8052.feature +++ /dev/null @@ -1 +0,0 @@ -Allow login to be blocked based on the values of SAML attributes. diff --git a/changelog.d/8056.docker b/changelog.d/8056.docker deleted file mode 100644 index d56734c13a..0000000000 --- a/changelog.d/8056.docker +++ /dev/null @@ -1 +0,0 @@ -We no longer publish Docker images with the `-py3` tag suffix, as announced at https://github.com/matrix-org/synapse/blob/develop/UPGRADE.rst#upgrading-to-v1180. diff --git a/changelog.d/8058.misc b/changelog.d/8058.misc deleted file mode 100644 index 41a27e5d72..0000000000 --- a/changelog.d/8058.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `Notifier`. diff --git a/changelog.d/8060.misc b/changelog.d/8060.misc deleted file mode 100644 index a0caf008d7..0000000000 --- a/changelog.d/8060.misc +++ /dev/null @@ -1 +0,0 @@ -Improve typing information on `HomeServer` object. diff --git a/changelog.d/8061.misc b/changelog.d/8061.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8061.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8062.misc b/changelog.d/8062.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8062.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8063.misc b/changelog.d/8063.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8063.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8064.misc b/changelog.d/8064.misc deleted file mode 100644 index 41a27e5d72..0000000000 --- a/changelog.d/8064.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `Notifier`. diff --git a/changelog.d/8066.misc b/changelog.d/8066.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8066.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8067.misc b/changelog.d/8067.misc deleted file mode 100644 index f4404b7506..0000000000 --- a/changelog.d/8067.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.handlers.message` and `synapse.events.builder`. diff --git a/changelog.d/8069.misc b/changelog.d/8069.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8069.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8070.misc b/changelog.d/8070.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8070.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/synapse/__init__.py b/synapse/__init__.py index f70381bc71..832a8e2014 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.18.0" +__version__ = "1.19.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 -- cgit 1.5.1 From ea4e4d2f0be528449d69a4ff7927824ab02d6b46 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Mon, 17 Aug 2020 14:11:17 +0100 Subject: 1.19.0 --- CHANGES.md | 6 ++++++ debian/changelog | 6 +++--- synapse/__init__.py | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index a2c8232be1..06a9a79bed 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +Synapse 1.19.0 (2020-08-17) +=========================== + +Synapse 1.19.0 is identical to Synapse 1.19.0rc1. + + Synapse 1.19.0rc1 (2020-08-13) ============================== diff --git a/debian/changelog b/debian/changelog index a0af2b78a8..bdaf59e9b9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,12 @@ -matrix-synapse-py3 (1.xx.0) stable; urgency=medium +matrix-synapse-py3 (1.19.0) stable; urgency=medium [ Synapse Packaging team ] - * New synapse release 1.xx.0. + * New synapse release 1.19.0. [ Aaron Raimist ] * Fix outdated documentation for SYNAPSE_CACHE_FACTOR - -- Synapse Packaging team XXXXX + -- Synapse Packaging team Mon, 17 Aug 2020 14:06:42 +0100 matrix-synapse-py3 (1.18.0) stable; urgency=medium diff --git a/synapse/__init__.py b/synapse/__init__.py index 832a8e2014..f493cbd7d1 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.19.0rc1" +__version__ = "1.19.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 -- cgit 1.5.1 From b79d69796c47e419195df96fb7c5036e47c1e539 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Tue, 25 Aug 2020 15:24:39 +0100 Subject: 1.19.1rc1 --- CHANGES.md | 10 ++++++++++ changelog.d/8139.bugfix | 1 - changelog.d/8153.bugfix | 1 - synapse/__init__.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) delete mode 100644 changelog.d/8139.bugfix delete mode 100644 changelog.d/8153.bugfix (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index d4cc179489..89fee07db9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,13 @@ +Synapse 1.19.1rc1 (2020-08-25) +============================== + +Bugfixes +-------- + +- Fixes a bug where appservices with ratelimiting disabled would still be ratelimited when joining rooms. This bug was introduced in v1.19.0. ([\#8139](https://github.com/matrix-org/synapse/issues/8139)) +- Fix a bug introduced in v1.19.0 that would cause e.g. profile updates to fail due to incorrect application of rate limits on join requests. ([\#8153](https://github.com/matrix-org/synapse/issues/8153)) + + Synapse 1.19.0 (2020-08-17) =========================== diff --git a/changelog.d/8139.bugfix b/changelog.d/8139.bugfix deleted file mode 100644 index 21f65d87b7..0000000000 --- a/changelog.d/8139.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixes a bug where appservices with ratelimiting disabled would still be ratelimited when joining rooms. This bug was introduced in v1.19.0. diff --git a/changelog.d/8153.bugfix b/changelog.d/8153.bugfix deleted file mode 100644 index 87a1f46ca1..0000000000 --- a/changelog.d/8153.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.19.0 that would cause e.g. profile updates to fail due to incorrect application of rate limits on join requests. diff --git a/synapse/__init__.py b/synapse/__init__.py index f493cbd7d1..2195723613 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.19.0" +__version__ = "1.19.1rc1" 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 -- cgit 1.5.1 From eadfda3ebc165317c634948826d50794b11dad46 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Thu, 27 Aug 2020 10:50:39 +0100 Subject: 1.19.1 --- CHANGES.md | 6 ++++++ debian/changelog | 6 ++++++ synapse/__init__.py | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 688f824da1..d859baa9ff 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +Synapse 1.19.1 (2020-08-27) +=========================== + +No significant changes. + + Synapse 1.19.1rc1 (2020-08-25) ============================== diff --git a/debian/changelog b/debian/changelog index bdaf59e9b9..6676706dea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.19.1) stable; urgency=medium + + * New synapse release 1.19.1. + + -- Synapse Packaging team Thu, 27 Aug 2020 10:50:19 +0100 + matrix-synapse-py3 (1.19.0) stable; urgency=medium [ Synapse Packaging team ] diff --git a/synapse/__init__.py b/synapse/__init__.py index 2195723613..1282d19b3c 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.19.1rc1" +__version__ = "1.19.1" 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 -- cgit 1.5.1 From 525efab612af2fb501d79b139f045aa7933394d9 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 8 Sep 2020 12:58:37 +0100 Subject: 1.20.0rc1 --- CHANGES.md | 87 +++++++++++++++++++++++++++++++++++++++++++----- changelog.d/7377.misc | 1 - changelog.d/7757.misc | 1 - changelog.d/7785.feature | 1 - changelog.d/7864.bugfix | 1 - changelog.d/7991.misc | 1 - changelog.d/8013.feature | 1 - changelog.d/8034.feature | 1 - changelog.d/8037.feature | 1 - changelog.d/8059.feature | 1 - changelog.d/8071.misc | 1 - changelog.d/8072.misc | 1 - changelog.d/8074.misc | 1 - changelog.d/8075.misc | 1 - changelog.d/8076.misc | 1 - changelog.d/8081.bugfix | 1 - changelog.d/8085.misc | 1 - changelog.d/8087.misc | 1 - changelog.d/8090.misc | 1 - changelog.d/8092.feature | 1 - changelog.d/8093.misc | 1 - changelog.d/8095.feature | 1 - changelog.d/8100.misc | 1 - changelog.d/8101.bugfix | 1 - changelog.d/8104.bugfix | 1 - changelog.d/8106.bugfix | 1 - changelog.d/8107.feature | 1 - changelog.d/8110.bugfix | 1 - changelog.d/8111.doc | 1 - changelog.d/8112.misc | 1 - changelog.d/8113.misc | 1 - changelog.d/8116.feature | 1 - changelog.d/8119.misc | 1 - changelog.d/8120.doc | 1 - changelog.d/8121.misc | 1 - changelog.d/8123.misc | 1 - changelog.d/8124.misc | 1 - changelog.d/8127.misc | 1 - changelog.d/8129.bugfix | 1 - changelog.d/8130.misc | 1 - changelog.d/8131.bugfix | 1 - changelog.d/8132.misc | 1 - changelog.d/8133.misc | 1 - changelog.d/8135.bugfix | 1 - changelog.d/8139.bugfix | 1 - changelog.d/8140.misc | 1 - changelog.d/8142.feature | 1 - changelog.d/8144.docker | 1 - changelog.d/8147.docker | 1 - changelog.d/8152.feature | 1 - changelog.d/8156.misc | 1 - changelog.d/8157.feature | 1 - changelog.d/8158.feature | 1 - changelog.d/8161.misc | 1 - changelog.d/8162.misc | 1 - changelog.d/8163.misc | 1 - changelog.d/8164.misc | 1 - changelog.d/8166.misc | 1 - changelog.d/8167.misc | 1 - changelog.d/8168.misc | 1 - changelog.d/8171.misc | 1 - changelog.d/8173.misc | 1 - changelog.d/8174.misc | 1 - changelog.d/8175.misc | 1 - changelog.d/8176.feature | 1 - changelog.d/8179.misc | 1 - changelog.d/8181.misc | 1 - changelog.d/8182.misc | 1 - changelog.d/8183.misc | 1 - changelog.d/8187.misc | 1 - changelog.d/8189.doc | 1 - changelog.d/8190.bugfix | 1 - changelog.d/8191.misc | 1 - changelog.d/8192.misc | 1 - changelog.d/8193.misc | 1 - changelog.d/8194.misc | 1 - changelog.d/8195.misc | 1 - changelog.d/8196.misc | 1 - changelog.d/8197.misc | 1 - changelog.d/8198.feature | 1 - changelog.d/8199.misc | 1 - changelog.d/8200.misc | 1 - changelog.d/8201.misc | 1 - changelog.d/8202.misc | 1 - changelog.d/8203.misc | 1 - changelog.d/8204.misc | 1 - changelog.d/8205.misc | 1 - changelog.d/8207.misc | 1 - changelog.d/8213.misc | 1 - changelog.d/8214.misc | 1 - changelog.d/8222.misc | 1 - changelog.d/8223.bugfix | 1 - changelog.d/8224.misc | 1 - changelog.d/8225.misc | 1 - changelog.d/8226.bugfix | 1 - changelog.d/8231.misc | 1 - changelog.d/8232.misc | 1 - changelog.d/8233.misc | 1 - changelog.d/8234.misc | 1 - changelog.d/8235.misc | 1 - changelog.d/8237.misc | 1 - changelog.d/8240.misc | 1 - changelog.d/8241.misc | 1 - changelog.d/8242.feature | 1 - changelog.d/8244.misc | 1 - changelog.d/8245.misc | 1 - changelog.d/8249.misc | 1 - changelog.d/8252.feature | 1 - changelog.d/8254.feature | 1 - changelog.d/8264.misc | 1 - changelog.d/8266.misc | 1 - changelog.d/8270.feature | 1 - changelog.d/8271.bugfix | 1 - changelog.d/8274.feature | 1 - changelog.d/8276.misc | 1 - synapse/__init__.py | 2 +- 116 files changed, 80 insertions(+), 123 deletions(-) delete mode 100644 changelog.d/7377.misc delete mode 100644 changelog.d/7757.misc delete mode 100644 changelog.d/7785.feature delete mode 100644 changelog.d/7864.bugfix delete mode 100644 changelog.d/7991.misc delete mode 100644 changelog.d/8013.feature delete mode 100644 changelog.d/8034.feature delete mode 100644 changelog.d/8037.feature delete mode 100644 changelog.d/8059.feature delete mode 100644 changelog.d/8071.misc delete mode 100644 changelog.d/8072.misc delete mode 100644 changelog.d/8074.misc delete mode 100644 changelog.d/8075.misc delete mode 100644 changelog.d/8076.misc delete mode 100644 changelog.d/8081.bugfix delete mode 100644 changelog.d/8085.misc delete mode 100644 changelog.d/8087.misc delete mode 100644 changelog.d/8090.misc delete mode 100644 changelog.d/8092.feature delete mode 100644 changelog.d/8093.misc delete mode 100644 changelog.d/8095.feature delete mode 100644 changelog.d/8100.misc delete mode 100644 changelog.d/8101.bugfix delete mode 100644 changelog.d/8104.bugfix delete mode 100644 changelog.d/8106.bugfix delete mode 100644 changelog.d/8107.feature delete mode 100644 changelog.d/8110.bugfix delete mode 100644 changelog.d/8111.doc delete mode 100644 changelog.d/8112.misc delete mode 100644 changelog.d/8113.misc delete mode 100644 changelog.d/8116.feature delete mode 100644 changelog.d/8119.misc delete mode 100644 changelog.d/8120.doc delete mode 100644 changelog.d/8121.misc delete mode 100644 changelog.d/8123.misc delete mode 100644 changelog.d/8124.misc delete mode 100644 changelog.d/8127.misc delete mode 100644 changelog.d/8129.bugfix delete mode 100644 changelog.d/8130.misc delete mode 100644 changelog.d/8131.bugfix delete mode 100644 changelog.d/8132.misc delete mode 100644 changelog.d/8133.misc delete mode 100644 changelog.d/8135.bugfix delete mode 100644 changelog.d/8139.bugfix delete mode 100644 changelog.d/8140.misc delete mode 100644 changelog.d/8142.feature delete mode 100644 changelog.d/8144.docker delete mode 100644 changelog.d/8147.docker delete mode 100644 changelog.d/8152.feature delete mode 100644 changelog.d/8156.misc delete mode 100644 changelog.d/8157.feature delete mode 100644 changelog.d/8158.feature delete mode 100644 changelog.d/8161.misc delete mode 100644 changelog.d/8162.misc delete mode 100644 changelog.d/8163.misc delete mode 100644 changelog.d/8164.misc delete mode 100644 changelog.d/8166.misc delete mode 100644 changelog.d/8167.misc delete mode 100644 changelog.d/8168.misc delete mode 100644 changelog.d/8171.misc delete mode 100644 changelog.d/8173.misc delete mode 100644 changelog.d/8174.misc delete mode 100644 changelog.d/8175.misc delete mode 100644 changelog.d/8176.feature delete mode 100644 changelog.d/8179.misc delete mode 100644 changelog.d/8181.misc delete mode 100644 changelog.d/8182.misc delete mode 100644 changelog.d/8183.misc delete mode 100644 changelog.d/8187.misc delete mode 100644 changelog.d/8189.doc delete mode 100644 changelog.d/8190.bugfix delete mode 100644 changelog.d/8191.misc delete mode 100644 changelog.d/8192.misc delete mode 100644 changelog.d/8193.misc delete mode 100644 changelog.d/8194.misc delete mode 100644 changelog.d/8195.misc delete mode 100644 changelog.d/8196.misc delete mode 100644 changelog.d/8197.misc delete mode 100644 changelog.d/8198.feature delete mode 100644 changelog.d/8199.misc delete mode 100644 changelog.d/8200.misc delete mode 100644 changelog.d/8201.misc delete mode 100644 changelog.d/8202.misc delete mode 100644 changelog.d/8203.misc delete mode 100644 changelog.d/8204.misc delete mode 100644 changelog.d/8205.misc delete mode 100644 changelog.d/8207.misc delete mode 100644 changelog.d/8213.misc delete mode 100644 changelog.d/8214.misc delete mode 100644 changelog.d/8222.misc delete mode 100644 changelog.d/8223.bugfix delete mode 100644 changelog.d/8224.misc delete mode 100644 changelog.d/8225.misc delete mode 100644 changelog.d/8226.bugfix delete mode 100644 changelog.d/8231.misc delete mode 100644 changelog.d/8232.misc delete mode 100644 changelog.d/8233.misc delete mode 100644 changelog.d/8234.misc delete mode 100644 changelog.d/8235.misc delete mode 100644 changelog.d/8237.misc delete mode 100644 changelog.d/8240.misc delete mode 100644 changelog.d/8241.misc delete mode 100644 changelog.d/8242.feature delete mode 100644 changelog.d/8244.misc delete mode 100644 changelog.d/8245.misc delete mode 100644 changelog.d/8249.misc delete mode 100644 changelog.d/8252.feature delete mode 100644 changelog.d/8254.feature delete mode 100644 changelog.d/8264.misc delete mode 100644 changelog.d/8266.misc delete mode 100644 changelog.d/8270.feature delete mode 100644 changelog.d/8271.bugfix delete mode 100644 changelog.d/8274.feature delete mode 100644 changelog.d/8276.misc (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 92e29983b9..6044fc2a90 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,15 +1,86 @@ -For the next release -==================== +Synapse 1.20.0rc1 (2020-09-08) +============================== Removal warning --------------- -Some older clients used a -[disallowed character](https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-register-email-requesttoken) -(`:`) in the `client_secret` parameter of various endpoints. The incorrect -behaviour was allowed for backwards compatibility, but is now being removed -from Synapse as most users have updated their client. Further context can be -found at [\#6766](https://github.com/matrix-org/synapse/issues/6766). +Some older clients used a [disallowed character](https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-register-email-requesttoken) (`:`) in the `client_secret` parameter of various endpoints. The incorrect behaviour was allowed for backwards compatibility, but is now being removed from Synapse as most users have updated their client. Further context can be found at [\#6766](https://github.com/matrix-org/synapse/issues/6766). + +Features +-------- + +- Add an endpoint to query your shared rooms with another user as an implementation of [MSC2666](https://github.com/matrix-org/matrix-doc/pull/2666). ([\#7785](https://github.com/matrix-org/synapse/issues/7785)) +- Iteratively encode JSON to avoid blocking the reactor. ([\#8013](https://github.com/matrix-org/synapse/issues/8013), [\#8116](https://github.com/matrix-org/synapse/issues/8116)) +- Add support for shadow-banning users (ignoring any message send requests). ([\#8034](https://github.com/matrix-org/synapse/issues/8034), [\#8092](https://github.com/matrix-org/synapse/issues/8092), [\#8095](https://github.com/matrix-org/synapse/issues/8095), [\#8142](https://github.com/matrix-org/synapse/issues/8142), [\#8152](https://github.com/matrix-org/synapse/issues/8152), [\#8157](https://github.com/matrix-org/synapse/issues/8157), [\#8158](https://github.com/matrix-org/synapse/issues/8158), [\#8176](https://github.com/matrix-org/synapse/issues/8176)) +- Use the default template file when its equivalent is not found in a custom template directory. ([\#8037](https://github.com/matrix-org/synapse/issues/8037), [\#8107](https://github.com/matrix-org/synapse/issues/8107), [\#8252](https://github.com/matrix-org/synapse/issues/8252)) +- Add unread messages count to sync responses, as specified in [MSC2654](https://github.com/matrix-org/matrix-doc/pull/2654). ([\#8059](https://github.com/matrix-org/synapse/issues/8059), [\#8254](https://github.com/matrix-org/synapse/issues/8254), [\#8270](https://github.com/matrix-org/synapse/issues/8270), [\#8274](https://github.com/matrix-org/synapse/issues/8274)) +- Optimise `/federation/v1/user/devices/` API by only returning devices with encryption keys. ([\#8198](https://github.com/matrix-org/synapse/issues/8198)) + + +Bugfixes +-------- + +- Fix a memory leak by limiting the length of time that messages will be queued for a remote server that has been unreachable. ([\#7864](https://github.com/matrix-org/synapse/issues/7864)) +- Fix `Re-starting finished log context PUT-nnnn` warning when event persistence failed. ([\#8081](https://github.com/matrix-org/synapse/issues/8081)) +- Synapse now correctly enforces the valid characters in the `client_secret` parameter used in various endpoints. ([\#8101](https://github.com/matrix-org/synapse/issues/8101)) +- Fix a bug introduced in v1.7.2 impacting message retention policies that would allow federated homeservers to dictate a retention period that's lower than the configured minimum allowed duration in the configuration file. ([\#8104](https://github.com/matrix-org/synapse/issues/8104)) +- Fix a long-standing bug where invalid JSON would be accepted by Synapse. ([\#8106](https://github.com/matrix-org/synapse/issues/8106)) +- Fix a bug introduced in Synapse v1.12.0 which could cause `/sync` requests to fail with a 404 if you had a very old outstanding room invite. ([\#8110](https://github.com/matrix-org/synapse/issues/8110)) +- Return a proper error code when the rooms of an invalid group are requested. ([\#8129](https://github.com/matrix-org/synapse/issues/8129)) +- Fix a bug which could cause a leaked postgres connection if synapse was set to daemonize. ([\#8131](https://github.com/matrix-org/synapse/issues/8131)) +- Clarify the error code if a user tries to register with a numeric ID. This bug was introduced in v1.15.0. ([\#8135](https://github.com/matrix-org/synapse/issues/8135)) +- Fixes a bug where appservices with ratelimiting disabled would still be ratelimited when joining rooms. This bug was introduced in v1.19.0. ([\#8139](https://github.com/matrix-org/synapse/issues/8139)) +- Fix logging in via OpenID Connect with a provider that uses integer user IDs. ([\#8190](https://github.com/matrix-org/synapse/issues/8190)) +- Fixes a longstanding bug where user directory updates could break when unexpected profile data was included in events. ([\#8223](https://github.com/matrix-org/synapse/issues/8223)) +- Fix a longstanding bug where stats updates could break when unexpected profile data was included in events. ([\#8226](https://github.com/matrix-org/synapse/issues/8226)) +- Fix slow start times for large servers by removing a table scan of the `users` table from startup code. ([\#8271](https://github.com/matrix-org/synapse/issues/8271)) + + +Updates to the Docker image +--------------------------- + +- Fix builds of the Docker image on non-x86 platforms. ([\#8144](https://github.com/matrix-org/synapse/issues/8144)) +- Added curl for healthcheck support and readme updates for the change. Contributed by @maquis196. ([\#8147](https://github.com/matrix-org/synapse/issues/8147)) + + +Improved Documentation +---------------------- + +- Link to matrix-synapse-rest-password-provider in the password provider documentation. ([\#8111](https://github.com/matrix-org/synapse/issues/8111)) +- Updated documentation to note that Synapse does not follow `HTTP 308` redirects due to an upstream library not supporting them. Contributed by Ryan Cole. ([\#8120](https://github.com/matrix-org/synapse/issues/8120)) +- Explain better what GDPR-erased means when deactivating a user. ([\#8189](https://github.com/matrix-org/synapse/issues/8189)) + + +Internal Changes +---------------- + +- Add filter `name` to the `/users` admin API, which filters by user ID or displayname. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7377](https://github.com/matrix-org/synapse/issues/7377), [\#8163](https://github.com/matrix-org/synapse/issues/8163)) +- Reduce run times of some unit tests by advancing the reactor a fewer number of times. ([\#7757](https://github.com/matrix-org/synapse/issues/7757)) +- Don't fail `/submit_token` requests on incorrect session ID if `request_token_inhibit_3pid_errors` is turned on. ([\#7991](https://github.com/matrix-org/synapse/issues/7991)) +- Convert various parts of the codebase to async/await. ([\#8071](https://github.com/matrix-org/synapse/issues/8071), [\#8072](https://github.com/matrix-org/synapse/issues/8072), [\#8074](https://github.com/matrix-org/synapse/issues/8074), [\#8075](https://github.com/matrix-org/synapse/issues/8075), [\#8076](https://github.com/matrix-org/synapse/issues/8076), [\#8087](https://github.com/matrix-org/synapse/issues/8087), [\#8100](https://github.com/matrix-org/synapse/issues/8100), [\#8119](https://github.com/matrix-org/synapse/issues/8119), [\#8121](https://github.com/matrix-org/synapse/issues/8121), [\#8133](https://github.com/matrix-org/synapse/issues/8133), [\#8156](https://github.com/matrix-org/synapse/issues/8156), [\#8162](https://github.com/matrix-org/synapse/issues/8162), [\#8166](https://github.com/matrix-org/synapse/issues/8166), [\#8168](https://github.com/matrix-org/synapse/issues/8168), [\#8173](https://github.com/matrix-org/synapse/issues/8173), [\#8191](https://github.com/matrix-org/synapse/issues/8191), [\#8192](https://github.com/matrix-org/synapse/issues/8192), [\#8193](https://github.com/matrix-org/synapse/issues/8193), [\#8194](https://github.com/matrix-org/synapse/issues/8194), [\#8195](https://github.com/matrix-org/synapse/issues/8195), [\#8197](https://github.com/matrix-org/synapse/issues/8197), [\#8199](https://github.com/matrix-org/synapse/issues/8199), [\#8200](https://github.com/matrix-org/synapse/issues/8200), [\#8201](https://github.com/matrix-org/synapse/issues/8201), [\#8202](https://github.com/matrix-org/synapse/issues/8202), [\#8207](https://github.com/matrix-org/synapse/issues/8207), [\#8213](https://github.com/matrix-org/synapse/issues/8213), [\#8214](https://github.com/matrix-org/synapse/issues/8214)) +- Remove some unused database functions. ([\#8085](https://github.com/matrix-org/synapse/issues/8085)) +- Add type hints to various parts of the codebase. ([\#8090](https://github.com/matrix-org/synapse/issues/8090), [\#8127](https://github.com/matrix-org/synapse/issues/8127), [\#8187](https://github.com/matrix-org/synapse/issues/8187), [\#8241](https://github.com/matrix-org/synapse/issues/8241), [\#8140](https://github.com/matrix-org/synapse/issues/8140), [\#8183](https://github.com/matrix-org/synapse/issues/8183), [\#8232](https://github.com/matrix-org/synapse/issues/8232), [\#8235](https://github.com/matrix-org/synapse/issues/8235), [\#8237](https://github.com/matrix-org/synapse/issues/8237), [\#8244](https://github.com/matrix-org/synapse/issues/8244)) +- Return the previous stream token if a non-member event is a duplicate. ([\#8093](https://github.com/matrix-org/synapse/issues/8093), [\#8112](https://github.com/matrix-org/synapse/issues/8112)) +- Separate `get_current_token` into two since there are two different use cases for it. ([\#8113](https://github.com/matrix-org/synapse/issues/8113)) +- Remove `ChainedIdGenerator`. ([\#8123](https://github.com/matrix-org/synapse/issues/8123)) +- Reduce the amount of whitespace in JSON stored and sent in responses. ([\#8124](https://github.com/matrix-org/synapse/issues/8124)) +- Update the test federation client to handle streaming responses. ([\#8130](https://github.com/matrix-org/synapse/issues/8130)) +- Micro-optimisations to `get_auth_chain_ids`. ([\#8132](https://github.com/matrix-org/synapse/issues/8132)) +- Refactor `StreamIdGenerator` and `MultiWriterIdGenerator` to have the same interface. ([\#8161](https://github.com/matrix-org/synapse/issues/8161)) +- Add functions to `MultiWriterIdGen` used by events stream. ([\#8164](https://github.com/matrix-org/synapse/issues/8164), [\#8179](https://github.com/matrix-org/synapse/issues/8179)) +- Fix tests that were broken due to the merge of 1.19.1. ([\#8167](https://github.com/matrix-org/synapse/issues/8167)) +- Make `SlavedIdTracker.advance` have the same interface as `MultiWriterIDGenerator`. ([\#8171](https://github.com/matrix-org/synapse/issues/8171)) +- Remove unused `is_guest` parameter from, and add safeguard to, `MessageHandler.get_room_data`. ([\#8174](https://github.com/matrix-org/synapse/issues/8174), [\#8181](https://github.com/matrix-org/synapse/issues/8181)) +- Standardize the mypy configuration. ([\#8175](https://github.com/matrix-org/synapse/issues/8175)) +- Refactor some of `LoginRestServlet`'s helper methods, and move them to `AuthHandler` for easier reuse. ([\#8182](https://github.com/matrix-org/synapse/issues/8182)) +- Fix `wait_for_stream_position` to allow multiple waiters on same stream ID. ([\#8196](https://github.com/matrix-org/synapse/issues/8196)) +- Make `MultiWriterIDGenerator` work for streams that use negative values. ([\#8203](https://github.com/matrix-org/synapse/issues/8203)) +- Refactor queries for device keys and cross-signatures. ([\#8204](https://github.com/matrix-org/synapse/issues/8204), [\#8205](https://github.com/matrix-org/synapse/issues/8205), [\#8222](https://github.com/matrix-org/synapse/issues/8222), [\#8224](https://github.com/matrix-org/synapse/issues/8224), [\#8225](https://github.com/matrix-org/synapse/issues/8225), [\#8231](https://github.com/matrix-org/synapse/issues/8231), [\#8233](https://github.com/matrix-org/synapse/issues/8233), [\#8234](https://github.com/matrix-org/synapse/issues/8234)) +- Fix type hints for functions decorated with `@cached`. ([\#8240](https://github.com/matrix-org/synapse/issues/8240)) +- Remove obsolete `order` field from federation send queues. ([\#8245](https://github.com/matrix-org/synapse/issues/8245)) +- Stop sub-classing from object. ([\#8249](https://github.com/matrix-org/synapse/issues/8249)) +- Add more logging to debug slow startup. ([\#8264](https://github.com/matrix-org/synapse/issues/8264)) +- Do not attempt to upgrade upgrade database schema on worker processes. ([\#8266](https://github.com/matrix-org/synapse/issues/8266), [\#8276](https://github.com/matrix-org/synapse/issues/8276)) Synapse 1.19.1 (2020-08-27) diff --git a/changelog.d/7377.misc b/changelog.d/7377.misc deleted file mode 100644 index b3ec08855b..0000000000 --- a/changelog.d/7377.misc +++ /dev/null @@ -1 +0,0 @@ -Add filter `name` to the `/users` admin API, which filters by user ID or displayname. Contributed by Awesome Technologies Innovationslabor GmbH. diff --git a/changelog.d/7757.misc b/changelog.d/7757.misc deleted file mode 100644 index 091f40382e..0000000000 --- a/changelog.d/7757.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce run times of some unit tests by advancing the reactor a fewer number of times. \ No newline at end of file diff --git a/changelog.d/7785.feature b/changelog.d/7785.feature deleted file mode 100644 index c7e51c9320..0000000000 --- a/changelog.d/7785.feature +++ /dev/null @@ -1 +0,0 @@ -Add an endpoint to query your shared rooms with another user as an implementation of [MSC2666](https://github.com/matrix-org/matrix-doc/pull/2666). diff --git a/changelog.d/7864.bugfix b/changelog.d/7864.bugfix deleted file mode 100644 index 8623355fe9..0000000000 --- a/changelog.d/7864.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a memory leak by limiting the length of time that messages will be queued for a remote server that has been unreachable. diff --git a/changelog.d/7991.misc b/changelog.d/7991.misc deleted file mode 100644 index 1562e3af9e..0000000000 --- a/changelog.d/7991.misc +++ /dev/null @@ -1 +0,0 @@ -Don't fail `/submit_token` requests on incorrect session ID if `request_token_inhibit_3pid_errors` is turned on. diff --git a/changelog.d/8013.feature b/changelog.d/8013.feature deleted file mode 100644 index b1eaf1e78a..0000000000 --- a/changelog.d/8013.feature +++ /dev/null @@ -1 +0,0 @@ -Iteratively encode JSON to avoid blocking the reactor. diff --git a/changelog.d/8034.feature b/changelog.d/8034.feature deleted file mode 100644 index 813e6d0903..0000000000 --- a/changelog.d/8034.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8037.feature b/changelog.d/8037.feature deleted file mode 100644 index 2e5127477d..0000000000 --- a/changelog.d/8037.feature +++ /dev/null @@ -1 +0,0 @@ -Use the default template file when its equivalent is not found in a custom template directory. \ No newline at end of file diff --git a/changelog.d/8059.feature b/changelog.d/8059.feature deleted file mode 100644 index feb02be234..0000000000 --- a/changelog.d/8059.feature +++ /dev/null @@ -1 +0,0 @@ -Add unread messages count to sync responses, as specified in [MSC2654](https://github.com/matrix-org/matrix-doc/pull/2654). diff --git a/changelog.d/8071.misc b/changelog.d/8071.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8071.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8072.misc b/changelog.d/8072.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8072.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8074.misc b/changelog.d/8074.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8074.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8075.misc b/changelog.d/8075.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8075.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8076.misc b/changelog.d/8076.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8076.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8081.bugfix b/changelog.d/8081.bugfix deleted file mode 100644 index 9ebcbf5b84..0000000000 --- a/changelog.d/8081.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix `Re-starting finished log context PUT-nnnn` warning when event persistence failed. diff --git a/changelog.d/8085.misc b/changelog.d/8085.misc deleted file mode 100644 index c3da1e297c..0000000000 --- a/changelog.d/8085.misc +++ /dev/null @@ -1 +0,0 @@ -Remove some unused database functions. diff --git a/changelog.d/8087.misc b/changelog.d/8087.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8087.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8090.misc b/changelog.d/8090.misc deleted file mode 100644 index 725a03ae88..0000000000 --- a/changelog.d/8090.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.handlers.room`. diff --git a/changelog.d/8092.feature b/changelog.d/8092.feature deleted file mode 100644 index 813e6d0903..0000000000 --- a/changelog.d/8092.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8093.misc b/changelog.d/8093.misc deleted file mode 100644 index 80045dde1a..0000000000 --- a/changelog.d/8093.misc +++ /dev/null @@ -1 +0,0 @@ -Return the previous stream token if a non-member event is a duplicate. diff --git a/changelog.d/8095.feature b/changelog.d/8095.feature deleted file mode 100644 index 813e6d0903..0000000000 --- a/changelog.d/8095.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8100.misc b/changelog.d/8100.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8100.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8101.bugfix b/changelog.d/8101.bugfix deleted file mode 100644 index 703bba4234..0000000000 --- a/changelog.d/8101.bugfix +++ /dev/null @@ -1 +0,0 @@ -Synapse now correctly enforces the valid characters in the `client_secret` parameter used in various endpoints. diff --git a/changelog.d/8104.bugfix b/changelog.d/8104.bugfix deleted file mode 100644 index e32e2996c4..0000000000 --- a/changelog.d/8104.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.7.2 impacting message retention policies that would allow federated homeservers to dictate a retention period that's lower than the configured minimum allowed duration in the configuration file. diff --git a/changelog.d/8106.bugfix b/changelog.d/8106.bugfix deleted file mode 100644 index c46c60448f..0000000000 --- a/changelog.d/8106.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug where invalid JSON would be accepted by Synapse. diff --git a/changelog.d/8107.feature b/changelog.d/8107.feature deleted file mode 100644 index 2e5127477d..0000000000 --- a/changelog.d/8107.feature +++ /dev/null @@ -1 +0,0 @@ -Use the default template file when its equivalent is not found in a custom template directory. \ No newline at end of file diff --git a/changelog.d/8110.bugfix b/changelog.d/8110.bugfix deleted file mode 100644 index 5269a232e1..0000000000 --- a/changelog.d/8110.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse 1.12.0 which could cause `/sync` requests to fail with a 404 if you had a very old outstanding room invite. diff --git a/changelog.d/8111.doc b/changelog.d/8111.doc deleted file mode 100644 index d3f7435452..0000000000 --- a/changelog.d/8111.doc +++ /dev/null @@ -1 +0,0 @@ -Link to matrix-synapse-rest-password-provider in the password provider documentation. diff --git a/changelog.d/8112.misc b/changelog.d/8112.misc deleted file mode 100644 index 80045dde1a..0000000000 --- a/changelog.d/8112.misc +++ /dev/null @@ -1 +0,0 @@ -Return the previous stream token if a non-member event is a duplicate. diff --git a/changelog.d/8113.misc b/changelog.d/8113.misc deleted file mode 100644 index 00bec4f8ef..0000000000 --- a/changelog.d/8113.misc +++ /dev/null @@ -1 +0,0 @@ -Separate `get_current_token` into two since there are two different use cases for it. diff --git a/changelog.d/8116.feature b/changelog.d/8116.feature deleted file mode 100644 index b1eaf1e78a..0000000000 --- a/changelog.d/8116.feature +++ /dev/null @@ -1 +0,0 @@ -Iteratively encode JSON to avoid blocking the reactor. diff --git a/changelog.d/8119.misc b/changelog.d/8119.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8119.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8120.doc b/changelog.d/8120.doc deleted file mode 100644 index 877ef79fd2..0000000000 --- a/changelog.d/8120.doc +++ /dev/null @@ -1 +0,0 @@ -Updated documentation to note that Synapse does not follow `HTTP 308` redirects due to an upstream library not supporting them. Contributed by Ryan Cole. \ No newline at end of file diff --git a/changelog.d/8121.misc b/changelog.d/8121.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8121.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8123.misc b/changelog.d/8123.misc deleted file mode 100644 index 7245122896..0000000000 --- a/changelog.d/8123.misc +++ /dev/null @@ -1 +0,0 @@ -Remove `ChainedIdGenerator`. diff --git a/changelog.d/8124.misc b/changelog.d/8124.misc deleted file mode 100644 index 9fac710205..0000000000 --- a/changelog.d/8124.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce the amount of whitespace in JSON stored and sent in responses. diff --git a/changelog.d/8127.misc b/changelog.d/8127.misc deleted file mode 100644 index cb557122aa..0000000000 --- a/changelog.d/8127.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.storage.database`. diff --git a/changelog.d/8129.bugfix b/changelog.d/8129.bugfix deleted file mode 100644 index 79eae9db6b..0000000000 --- a/changelog.d/8129.bugfix +++ /dev/null @@ -1 +0,0 @@ -Return a proper error code when the rooms of an invalid group are requested. diff --git a/changelog.d/8130.misc b/changelog.d/8130.misc deleted file mode 100644 index 7944c09ade..0000000000 --- a/changelog.d/8130.misc +++ /dev/null @@ -1 +0,0 @@ -Update the test federation client to handle streaming responses. diff --git a/changelog.d/8131.bugfix b/changelog.d/8131.bugfix deleted file mode 100644 index 5110f235d1..0000000000 --- a/changelog.d/8131.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug which could cause a leaked postgres connection if synapse was set to daemonize. diff --git a/changelog.d/8132.misc b/changelog.d/8132.misc deleted file mode 100644 index 7afa267c69..0000000000 --- a/changelog.d/8132.misc +++ /dev/null @@ -1 +0,0 @@ -Micro-optimisations to get_auth_chain_ids. diff --git a/changelog.d/8133.misc b/changelog.d/8133.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8133.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8135.bugfix b/changelog.d/8135.bugfix deleted file mode 100644 index 9d5c60ea00..0000000000 --- a/changelog.d/8135.bugfix +++ /dev/null @@ -1 +0,0 @@ -Clarify the error code if a user tries to register with a numeric ID. This bug was introduced in v1.15.0. diff --git a/changelog.d/8139.bugfix b/changelog.d/8139.bugfix deleted file mode 100644 index 21f65d87b7..0000000000 --- a/changelog.d/8139.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixes a bug where appservices with ratelimiting disabled would still be ratelimited when joining rooms. This bug was introduced in v1.19.0. diff --git a/changelog.d/8140.misc b/changelog.d/8140.misc deleted file mode 100644 index 78d8834328..0000000000 --- a/changelog.d/8140.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.state`. diff --git a/changelog.d/8142.feature b/changelog.d/8142.feature deleted file mode 100644 index 813e6d0903..0000000000 --- a/changelog.d/8142.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8144.docker b/changelog.d/8144.docker deleted file mode 100644 index 9bb5881fa8..0000000000 --- a/changelog.d/8144.docker +++ /dev/null @@ -1 +0,0 @@ -Fix builds of the Docker image on non-x86 platforms. diff --git a/changelog.d/8147.docker b/changelog.d/8147.docker deleted file mode 100644 index dcc951d8f5..0000000000 --- a/changelog.d/8147.docker +++ /dev/null @@ -1 +0,0 @@ -Added curl for healthcheck support and readme updates for the change. Contributed by @maquis196. diff --git a/changelog.d/8152.feature b/changelog.d/8152.feature deleted file mode 100644 index 813e6d0903..0000000000 --- a/changelog.d/8152.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8156.misc b/changelog.d/8156.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8156.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8157.feature b/changelog.d/8157.feature deleted file mode 100644 index 813e6d0903..0000000000 --- a/changelog.d/8157.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8158.feature b/changelog.d/8158.feature deleted file mode 100644 index 47c4c39167..0000000000 --- a/changelog.d/8158.feature +++ /dev/null @@ -1 +0,0 @@ - Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8161.misc b/changelog.d/8161.misc deleted file mode 100644 index 89ff274de3..0000000000 --- a/changelog.d/8161.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor `StreamIdGenerator` and `MultiWriterIdGenerator` to have the same interface. diff --git a/changelog.d/8162.misc b/changelog.d/8162.misc deleted file mode 100644 index e26764dea1..0000000000 --- a/changelog.d/8162.misc +++ /dev/null @@ -1 +0,0 @@ - Convert various parts of the codebase to async/await. diff --git a/changelog.d/8163.misc b/changelog.d/8163.misc deleted file mode 100644 index b3ec08855b..0000000000 --- a/changelog.d/8163.misc +++ /dev/null @@ -1 +0,0 @@ -Add filter `name` to the `/users` admin API, which filters by user ID or displayname. Contributed by Awesome Technologies Innovationslabor GmbH. diff --git a/changelog.d/8164.misc b/changelog.d/8164.misc deleted file mode 100644 index 55bc079cdb..0000000000 --- a/changelog.d/8164.misc +++ /dev/null @@ -1 +0,0 @@ -Add functions to `MultiWriterIdGen` used by events stream. diff --git a/changelog.d/8166.misc b/changelog.d/8166.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8166.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8167.misc b/changelog.d/8167.misc deleted file mode 100644 index e2ed9be7a4..0000000000 --- a/changelog.d/8167.misc +++ /dev/null @@ -1 +0,0 @@ -Fix tests that were broken due to the merge of 1.19.1. diff --git a/changelog.d/8168.misc b/changelog.d/8168.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8168.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8171.misc b/changelog.d/8171.misc deleted file mode 100644 index cafbf23d83..0000000000 --- a/changelog.d/8171.misc +++ /dev/null @@ -1 +0,0 @@ -Make `SlavedIdTracker.advance` have the same interface as `MultiWriterIDGenerator`. diff --git a/changelog.d/8173.misc b/changelog.d/8173.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8173.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8174.misc b/changelog.d/8174.misc deleted file mode 100644 index a39e9eab46..0000000000 --- a/changelog.d/8174.misc +++ /dev/null @@ -1 +0,0 @@ -Remove unused `is_guest` parameter from, and add safeguard to, `MessageHandler.get_room_data`. \ No newline at end of file diff --git a/changelog.d/8175.misc b/changelog.d/8175.misc deleted file mode 100644 index 28af294dcf..0000000000 --- a/changelog.d/8175.misc +++ /dev/null @@ -1 +0,0 @@ -Standardize the mypy configuration. diff --git a/changelog.d/8176.feature b/changelog.d/8176.feature deleted file mode 100644 index 813e6d0903..0000000000 --- a/changelog.d/8176.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for shadow-banning users (ignoring any message send requests). diff --git a/changelog.d/8179.misc b/changelog.d/8179.misc deleted file mode 100644 index 55bc079cdb..0000000000 --- a/changelog.d/8179.misc +++ /dev/null @@ -1 +0,0 @@ -Add functions to `MultiWriterIdGen` used by events stream. diff --git a/changelog.d/8181.misc b/changelog.d/8181.misc deleted file mode 100644 index a39e9eab46..0000000000 --- a/changelog.d/8181.misc +++ /dev/null @@ -1 +0,0 @@ -Remove unused `is_guest` parameter from, and add safeguard to, `MessageHandler.get_room_data`. \ No newline at end of file diff --git a/changelog.d/8182.misc b/changelog.d/8182.misc deleted file mode 100644 index 4fcdf1c452..0000000000 --- a/changelog.d/8182.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor some of `LoginRestServlet`'s helper methods, and move them to `AuthHandler` for easier reuse. \ No newline at end of file diff --git a/changelog.d/8183.misc b/changelog.d/8183.misc deleted file mode 100644 index 78d8834328..0000000000 --- a/changelog.d/8183.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.state`. diff --git a/changelog.d/8187.misc b/changelog.d/8187.misc deleted file mode 100644 index cb557122aa..0000000000 --- a/changelog.d/8187.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.storage.database`. diff --git a/changelog.d/8189.doc b/changelog.d/8189.doc deleted file mode 100644 index 800ff89dc5..0000000000 --- a/changelog.d/8189.doc +++ /dev/null @@ -1 +0,0 @@ -Explain better what GDPR-erased means when deactivating a user. diff --git a/changelog.d/8190.bugfix b/changelog.d/8190.bugfix deleted file mode 100644 index bf6717ab28..0000000000 --- a/changelog.d/8190.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix logging in via OpenID Connect with a provider that uses integer user IDs. diff --git a/changelog.d/8191.misc b/changelog.d/8191.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8191.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8192.misc b/changelog.d/8192.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8192.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8193.misc b/changelog.d/8193.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8193.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8194.misc b/changelog.d/8194.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8194.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8195.misc b/changelog.d/8195.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8195.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8196.misc b/changelog.d/8196.misc deleted file mode 100644 index c42baf0e56..0000000000 --- a/changelog.d/8196.misc +++ /dev/null @@ -1 +0,0 @@ -Fix `wait_for_stream_position` to allow multiple waiters on same stream ID. diff --git a/changelog.d/8197.misc b/changelog.d/8197.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8197.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8198.feature b/changelog.d/8198.feature deleted file mode 100644 index c4401288bf..0000000000 --- a/changelog.d/8198.feature +++ /dev/null @@ -1 +0,0 @@ -Optimise `/federation/v1/user/devices/` API by only returning devices with encryption keys. diff --git a/changelog.d/8199.misc b/changelog.d/8199.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8199.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8200.misc b/changelog.d/8200.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8200.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8201.misc b/changelog.d/8201.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8201.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8202.misc b/changelog.d/8202.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8202.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8203.misc b/changelog.d/8203.misc deleted file mode 100644 index 9fe2224aaa..0000000000 --- a/changelog.d/8203.misc +++ /dev/null @@ -1 +0,0 @@ -Make `MultiWriterIDGenerator` work for streams that use negative values. diff --git a/changelog.d/8204.misc b/changelog.d/8204.misc deleted file mode 100644 index 979c8b227b..0000000000 --- a/changelog.d/8204.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8205.misc b/changelog.d/8205.misc deleted file mode 100644 index fb8fd83278..0000000000 --- a/changelog.d/8205.misc +++ /dev/null @@ -1 +0,0 @@ - Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8207.misc b/changelog.d/8207.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8207.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8213.misc b/changelog.d/8213.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8213.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8214.misc b/changelog.d/8214.misc deleted file mode 100644 index e26764dea1..0000000000 --- a/changelog.d/8214.misc +++ /dev/null @@ -1 +0,0 @@ - Convert various parts of the codebase to async/await. diff --git a/changelog.d/8222.misc b/changelog.d/8222.misc deleted file mode 100644 index 979c8b227b..0000000000 --- a/changelog.d/8222.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8223.bugfix b/changelog.d/8223.bugfix deleted file mode 100644 index 60655ce3e1..0000000000 --- a/changelog.d/8223.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixes a longstanding bug where user directory updates could break when unexpected profile data was included in events. diff --git a/changelog.d/8224.misc b/changelog.d/8224.misc deleted file mode 100644 index 979c8b227b..0000000000 --- a/changelog.d/8224.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8225.misc b/changelog.d/8225.misc deleted file mode 100644 index 979c8b227b..0000000000 --- a/changelog.d/8225.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8226.bugfix b/changelog.d/8226.bugfix deleted file mode 100644 index 60bdff576d..0000000000 --- a/changelog.d/8226.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a longstanding bug where stats updates could break when unexpected profile data was included in events. diff --git a/changelog.d/8231.misc b/changelog.d/8231.misc deleted file mode 100644 index 979c8b227b..0000000000 --- a/changelog.d/8231.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8232.misc b/changelog.d/8232.misc deleted file mode 100644 index 3a7a352c4f..0000000000 --- a/changelog.d/8232.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `StreamStore`. diff --git a/changelog.d/8233.misc b/changelog.d/8233.misc deleted file mode 100644 index 979c8b227b..0000000000 --- a/changelog.d/8233.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8234.misc b/changelog.d/8234.misc deleted file mode 100644 index 979c8b227b..0000000000 --- a/changelog.d/8234.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor queries for device keys and cross-signatures. diff --git a/changelog.d/8235.misc b/changelog.d/8235.misc deleted file mode 100644 index 3a7a352c4f..0000000000 --- a/changelog.d/8235.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `StreamStore`. diff --git a/changelog.d/8237.misc b/changelog.d/8237.misc deleted file mode 100644 index 29d946cde6..0000000000 --- a/changelog.d/8237.misc +++ /dev/null @@ -1 +0,0 @@ -Fix type hints in `SyncHandler`. diff --git a/changelog.d/8240.misc b/changelog.d/8240.misc deleted file mode 100644 index acfbd89e24..0000000000 --- a/changelog.d/8240.misc +++ /dev/null @@ -1 +0,0 @@ -Fix type hints for functions decorated with `@cached`. diff --git a/changelog.d/8241.misc b/changelog.d/8241.misc deleted file mode 100644 index cb557122aa..0000000000 --- a/changelog.d/8241.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.storage.database`. diff --git a/changelog.d/8242.feature b/changelog.d/8242.feature deleted file mode 100644 index f6891e360d..0000000000 --- a/changelog.d/8242.feature +++ /dev/null @@ -1 +0,0 @@ -Back out experimental support for sharding event persister. **PLEASE REMOVE THIS LINE FROM THE FINAL CHANGELOG** diff --git a/changelog.d/8244.misc b/changelog.d/8244.misc deleted file mode 100644 index e650072223..0000000000 --- a/changelog.d/8244.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to pagination, initial sync and events handlers. diff --git a/changelog.d/8245.misc b/changelog.d/8245.misc deleted file mode 100644 index 545c4c4265..0000000000 --- a/changelog.d/8245.misc +++ /dev/null @@ -1 +0,0 @@ -Remove obsolete `order` field from federation send queues. diff --git a/changelog.d/8249.misc b/changelog.d/8249.misc deleted file mode 100644 index 6a42e8a4e6..0000000000 --- a/changelog.d/8249.misc +++ /dev/null @@ -1 +0,0 @@ -Stop sub-classing from object. diff --git a/changelog.d/8252.feature b/changelog.d/8252.feature deleted file mode 100644 index 7e69b72429..0000000000 --- a/changelog.d/8252.feature +++ /dev/null @@ -1 +0,0 @@ -Use the default template file when its equivalent is not found in a custom template directory. diff --git a/changelog.d/8254.feature b/changelog.d/8254.feature deleted file mode 100644 index feb02be234..0000000000 --- a/changelog.d/8254.feature +++ /dev/null @@ -1 +0,0 @@ -Add unread messages count to sync responses, as specified in [MSC2654](https://github.com/matrix-org/matrix-doc/pull/2654). diff --git a/changelog.d/8264.misc b/changelog.d/8264.misc deleted file mode 100644 index 600b175655..0000000000 --- a/changelog.d/8264.misc +++ /dev/null @@ -1 +0,0 @@ -Add more logging to debug slow startup. diff --git a/changelog.d/8266.misc b/changelog.d/8266.misc deleted file mode 100644 index e7c899bea8..0000000000 --- a/changelog.d/8266.misc +++ /dev/null @@ -1 +0,0 @@ -Do not attempt to upgrade upgrade database schema on worker processes. diff --git a/changelog.d/8270.feature b/changelog.d/8270.feature deleted file mode 100644 index feb02be234..0000000000 --- a/changelog.d/8270.feature +++ /dev/null @@ -1 +0,0 @@ -Add unread messages count to sync responses, as specified in [MSC2654](https://github.com/matrix-org/matrix-doc/pull/2654). diff --git a/changelog.d/8271.bugfix b/changelog.d/8271.bugfix deleted file mode 100644 index b75f07b03c..0000000000 --- a/changelog.d/8271.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix slow start times for large servers by removing a table scan of the `users` table from startup code. diff --git a/changelog.d/8274.feature b/changelog.d/8274.feature deleted file mode 100644 index feb02be234..0000000000 --- a/changelog.d/8274.feature +++ /dev/null @@ -1 +0,0 @@ -Add unread messages count to sync responses, as specified in [MSC2654](https://github.com/matrix-org/matrix-doc/pull/2654). diff --git a/changelog.d/8276.misc b/changelog.d/8276.misc deleted file mode 100644 index e7c899bea8..0000000000 --- a/changelog.d/8276.misc +++ /dev/null @@ -1 +0,0 @@ -Do not attempt to upgrade upgrade database schema on worker processes. diff --git a/synapse/__init__.py b/synapse/__init__.py index 1282d19b3c..f4aca64be8 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.19.1" +__version__ = "1.20.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 -- cgit 1.5.1 From 536f4a2482dbce213f030f4c07e92dab579d7f22 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 9 Sep 2020 17:08:33 +0100 Subject: 1.20.0rc2 --- CHANGES.md | 9 +++++++++ changelog.d/8280.bugfix | 1 - synapse/__init__.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) delete mode 100644 changelog.d/8280.bugfix (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index 81f9a1aa26..dbef6ab6c7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,12 @@ +Synapse 1.20.0rc2 (2020-09-09) +============================== + +Bugfixes +-------- + +- Fix a bug introduced in v1.20.0rc1 causing some features related to notifications to misbehave following the implementation of unread counts. ([\#8280](https://github.com/matrix-org/synapse/issues/8280)) + + Synapse 1.20.0rc1 (2020-09-08) ============================== diff --git a/changelog.d/8280.bugfix b/changelog.d/8280.bugfix deleted file mode 100644 index e306282438..0000000000 --- a/changelog.d/8280.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.20.0rc1 causing some features related to notifications to misbehave following the implementation of unread counts. diff --git a/synapse/__init__.py b/synapse/__init__.py index f4aca64be8..7e8731f86a 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.20.0rc1" +__version__ = "1.20.0rc2" 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 -- cgit 1.5.1 From 2832ef5bb797df5938ba9a63af586a2d562d4570 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Fri, 11 Sep 2020 08:14:15 -0400 Subject: 1.20.0rc3 --- CHANGES.md | 9 +++++++++ changelog.d/8291.bugfix | 1 - synapse/__init__.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) delete mode 100644 changelog.d/8291.bugfix (limited to 'synapse/__init__.py') diff --git a/CHANGES.md b/CHANGES.md index dbef6ab6c7..de8ce2625b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,12 @@ +Synapse 1.20.0rc3 (2020-09-11) +============================== + +Bugfixes +-------- + +- Fix a bug introduced in v1.20.0rc1 that the wrong exception was raised when invalid JSON data is encountered. ([\#8291](https://github.com/matrix-org/synapse/issues/8291)) + + Synapse 1.20.0rc2 (2020-09-09) ============================== diff --git a/changelog.d/8291.bugfix b/changelog.d/8291.bugfix deleted file mode 100644 index bc01d26f53..0000000000 --- a/changelog.d/8291.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.20.0rc1 that the wrong exception was raised when invalid JSON data is encountered. diff --git a/synapse/__init__.py b/synapse/__init__.py index 7e8731f86a..bf0bf192a5 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.20.0rc2" +__version__ = "1.20.0rc3" 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 -- cgit 1.5.1