From 99a4e5222d82cfcf8686b71d8fa94c8a81dfcbd6 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 14 Oct 2021 10:59:27 +0100 Subject: [PATCH 1/4] 1.45.0rc2 --- CHANGES.md | 21 +++++++++++++++++++++ changelog.d/10825.misc | 1 - changelog.d/10970.misc | 1 - changelog.d/10996.misc | 1 - changelog.d/11036.misc | 1 - changelog.d/11045.bugfix | 1 - changelog.d/11053.bugfix | 2 -- changelog.d/11061.bugfix | 1 - debian/changelog | 6 ++++++ synapse/__init__.py | 2 +- 10 files changed, 28 insertions(+), 9 deletions(-) delete mode 100644 changelog.d/10825.misc delete mode 100644 changelog.d/10970.misc delete mode 100644 changelog.d/10996.misc delete mode 100644 changelog.d/11036.misc delete mode 100644 changelog.d/11045.bugfix delete mode 100644 changelog.d/11053.bugfix delete mode 100644 changelog.d/11061.bugfix diff --git a/CHANGES.md b/CHANGES.md index 5acc8b537..0d6983088 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,24 @@ +Synapse 1.45.0rc2 (2021-10-14) +============================== + +Bugfixes +-------- + +- Fix a long-standing bug when using multiple event persister workers where events were not correctly sent down `/sync` due to a race. ([\#11045](https://github.com/matrix-org/synapse/issues/11045)) +- Fix a bug introduced in Synapse 1.45.0rc1 where the user directory would stop updating if it processed an event from a + user not in the `users` table. ([\#11053](https://github.com/matrix-org/synapse/issues/11053)) +- Fix a bug introduced in Synapse v1.44.0 when logging errors during oEmbed processing. ([\#11061](https://github.com/matrix-org/synapse/issues/11061)) + + +Internal Changes +---------------- + +- Add an 'approximate difference' method to `StateFilter`. ([\#10825](https://github.com/matrix-org/synapse/issues/10825)) +- Fix inconsistent behavior of `get_last_client_by_ip` when reporting data that has not been stored in the database yet. ([\#10970](https://github.com/matrix-org/synapse/issues/10970)) +- Fix a bug introduced in Synapse 1.21.0 that causes opentracing and Prometheus metrics for replication requests to be measured incorrectly. ([\#10996](https://github.com/matrix-org/synapse/issues/10996)) +- Ensure that cache config tests do not share state. ([\#11036](https://github.com/matrix-org/synapse/issues/11036)) + + Synapse 1.45.0rc1 (2021-10-12) ============================== diff --git a/changelog.d/10825.misc b/changelog.d/10825.misc deleted file mode 100644 index f9786164d..000000000 --- a/changelog.d/10825.misc +++ /dev/null @@ -1 +0,0 @@ -Add an 'approximate difference' method to `StateFilter`. diff --git a/changelog.d/10970.misc b/changelog.d/10970.misc deleted file mode 100644 index bb75ea79a..000000000 --- a/changelog.d/10970.misc +++ /dev/null @@ -1 +0,0 @@ -Fix inconsistent behavior of `get_last_client_by_ip` when reporting data that has not been stored in the database yet. diff --git a/changelog.d/10996.misc b/changelog.d/10996.misc deleted file mode 100644 index c830d7ec2..000000000 --- a/changelog.d/10996.misc +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse 1.21.0 that causes opentracing and Prometheus metrics for replication requests to be measured incorrectly. diff --git a/changelog.d/11036.misc b/changelog.d/11036.misc deleted file mode 100644 index aae5ee62b..000000000 --- a/changelog.d/11036.misc +++ /dev/null @@ -1 +0,0 @@ -Ensure that cache config tests do not share state. diff --git a/changelog.d/11045.bugfix b/changelog.d/11045.bugfix deleted file mode 100644 index d712dc946..000000000 --- a/changelog.d/11045.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug when using multiple event persister workers where events were not correctly sent down `/sync` due to a race. diff --git a/changelog.d/11053.bugfix b/changelog.d/11053.bugfix deleted file mode 100644 index a59cfac93..000000000 --- a/changelog.d/11053.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Fix a bug introduced in Synapse 1.45.0rc1 where the user directory would stop updating if it processed an event from a -user not in the `users` table. diff --git a/changelog.d/11061.bugfix b/changelog.d/11061.bugfix deleted file mode 100644 index 26fb64379..000000000 --- a/changelog.d/11061.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse v1.44.0 when logging errors during oEmbed processing. diff --git a/debian/changelog b/debian/changelog index 0d5db739e..f930befbe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.45.0~rc2) stable; urgency=medium + + * New synapse release 1.45.0~rc2. + + -- Synapse Packaging team Thu, 14 Oct 2021 10:58:24 +0100 + matrix-synapse-py3 (1.45.0~rc1) stable; urgency=medium [ Nick @ Beeper ] diff --git a/synapse/__init__.py b/synapse/__init__.py index 6b109ccff..ab90093e7 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -47,7 +47,7 @@ try: except ImportError: pass -__version__ = "1.45.0rc1" +__version__ = "1.45.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 From 87c3a6dcc08e158d44f36b96bbc9311a9edb99e1 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 14 Oct 2021 11:03:35 +0100 Subject: [PATCH 2/4] Refer to the bugs mentioned in 1.45.0rc1 note --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 0d6983088..7ac7e794d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,8 @@ Synapse 1.45.0rc2 (2021-10-14) ============================== +**Note:** This release candidate [fixes](https://github.com/matrix-org/synapse/issues/11053) the user directory [bug](https://github.com/matrix-org/synapse/issues/11025) present in 1.45.0rc1. However, the [performance issue](https://github.com/matrix-org/synapse/issues/11049) mentioned in that release is yet to be resolved. + Bugfixes -------- From 4d761d24badb5a05abe9adeb46515553ca007b9d Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 14 Oct 2021 11:18:40 +0100 Subject: [PATCH 3/4] mentioned -> which appeared --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 7ac7e794d..60f51005e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,7 @@ Synapse 1.45.0rc2 (2021-10-14) ============================== -**Note:** This release candidate [fixes](https://github.com/matrix-org/synapse/issues/11053) the user directory [bug](https://github.com/matrix-org/synapse/issues/11025) present in 1.45.0rc1. However, the [performance issue](https://github.com/matrix-org/synapse/issues/11049) mentioned in that release is yet to be resolved. +**Note:** This release candidate [fixes](https://github.com/matrix-org/synapse/issues/11053) the user directory [bug](https://github.com/matrix-org/synapse/issues/11025) present in 1.45.0rc1. However, the [performance issue](https://github.com/matrix-org/synapse/issues/11049) which appeared in that release is yet to be resolved. Bugfixes -------- From b1c1a34f4680f89e5de506444155081c380dae97 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 14 Oct 2021 11:20:02 +0100 Subject: [PATCH 4/4] it appeared in 1.44, not 45rc1 --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 60f51005e..c8b078a2f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,7 @@ Synapse 1.45.0rc2 (2021-10-14) ============================== -**Note:** This release candidate [fixes](https://github.com/matrix-org/synapse/issues/11053) the user directory [bug](https://github.com/matrix-org/synapse/issues/11025) present in 1.45.0rc1. However, the [performance issue](https://github.com/matrix-org/synapse/issues/11049) which appeared in that release is yet to be resolved. +**Note:** This release candidate [fixes](https://github.com/matrix-org/synapse/issues/11053) the user directory [bug](https://github.com/matrix-org/synapse/issues/11025) present in 1.45.0rc1. However, the [performance issue](https://github.com/matrix-org/synapse/issues/11049) which appeared in v1.44.0 is yet to be resolved. Bugfixes --------