From 3a7428dbbf51a27be5ee207bd82216cc8b02ba27 Mon Sep 17 00:00:00 2001 From: gdt Date: Thu, 6 Oct 2022 13:57:53 +0000 Subject: [PATCH] chat/matrix-synapse: Update to 1.6.7.0 Synapse 1.67.0 (2022-09-13) =========================== This release removes using the deprecated direct TCP replication configuration for workers. Server admins should use Redis instead. See the [upgrade notes](https://matrix-org.github.io/synapse/v1.67/upgrade.html#upgrading-to-v1670). The minimum version of `poetry` supported for managing source checkouts is now 1.2.0. [[pkgsrc does not seem to "manage source checkouts"]] Features -------- - Support setting the registration shared secret in a file, via a new `registration_shared_secret_path` configuration option. - Change the default startup behaviour so that any missing "additional" configuration files (signing key, etc) are generated automatically. - Improve performance of sending messages in rooms with thousands of local. Deprecations and Removals ------------------------- - Drop support for calling `/_matrix/client/v3/rooms/{roomId}/invite` without an `id_access_token`, which was not permitted by the spec. Contributed by @Vetchu. - Remove redundant `_get_joined_users_from_context` cache. Contributed by Nick @ Beeper (@fizzadar). - Remove the ability to use direct TCP replication with workers. Direct TCP replication was deprecated in Synapse v1.18.0. Workers now require using Redis. - Remove support for unstable [private read receipts](https://github.com/matrix-org/matrix-spec-proposals/pull/2285). --- chat/matrix-synapse/Makefile | 4 ++-- chat/matrix-synapse/PLIST | 13 ++++++++++--- chat/matrix-synapse/distinfo | 8 ++++---- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/chat/matrix-synapse/Makefile b/chat/matrix-synapse/Makefile index a9c69ea35627..8f86f30b2eee 100644 --- a/chat/matrix-synapse/Makefile +++ b/chat/matrix-synapse/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.60 2022/09/04 14:16:29 gdt Exp $ +# $NetBSD: Makefile,v 1.61 2022/10/06 13:57:53 gdt Exp $ -DISTNAME= matrix-synapse-1.66.0 +DISTNAME= matrix-synapse-1.67.0 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/} GITHUB_PROJECT= synapse diff --git a/chat/matrix-synapse/PLIST b/chat/matrix-synapse/PLIST index 4075a0919891..de1b74bf0680 100644 --- a/chat/matrix-synapse/PLIST +++ b/chat/matrix-synapse/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.31 2022/09/04 14:16:29 gdt Exp $ +@comment $NetBSD: PLIST,v 1.32 2022/10/06 13:57:53 gdt Exp $ bin/export_signing_key bin/generate_config bin/generate_log_config @@ -404,16 +404,18 @@ ${PYSITELIB}/synapse/logging/scopecontextmanager.py ${PYSITELIB}/synapse/logging/scopecontextmanager.pyc ${PYSITELIB}/synapse/metrics/__init__.py ${PYSITELIB}/synapse/metrics/__init__.pyc -${PYSITELIB}/synapse/metrics/_exposition.py -${PYSITELIB}/synapse/metrics/_exposition.pyc ${PYSITELIB}/synapse/metrics/_gc.py ${PYSITELIB}/synapse/metrics/_gc.pyc +${PYSITELIB}/synapse/metrics/_legacy_exposition.py +${PYSITELIB}/synapse/metrics/_legacy_exposition.pyc ${PYSITELIB}/synapse/metrics/_reactor_metrics.py ${PYSITELIB}/synapse/metrics/_reactor_metrics.pyc ${PYSITELIB}/synapse/metrics/_types.py ${PYSITELIB}/synapse/metrics/_types.pyc ${PYSITELIB}/synapse/metrics/background_process_metrics.py ${PYSITELIB}/synapse/metrics/background_process_metrics.pyc +${PYSITELIB}/synapse/metrics/common_usage_metrics.py +${PYSITELIB}/synapse/metrics/common_usage_metrics.pyc ${PYSITELIB}/synapse/metrics/jemalloc.py ${PYSITELIB}/synapse/metrics/jemalloc.pyc ${PYSITELIB}/synapse/module_api/__init__.py @@ -1252,6 +1254,9 @@ ${PYSITELIB}/synapse/storage/schema/main/delta/72/03bg_populate_events_columns.p ${PYSITELIB}/synapse/storage/schema/main/delta/72/03bg_populate_events_columns.pyc ${PYSITELIB}/synapse/storage/schema/main/delta/72/03drop_event_reference_hashes.sql ${PYSITELIB}/synapse/storage/schema/main/delta/72/03remove_groups.sql +${PYSITELIB}/synapse/storage/schema/main/delta/72/04drop_column_application_services_state_last_txn.sql.postgres +${PYSITELIB}/synapse/storage/schema/main/delta/72/04drop_column_application_services_state_last_txn.sql.sqlite +${PYSITELIB}/synapse/storage/schema/main/delta/72/05remove_unstable_private_read_receipts.sql ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/application_services.sql ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_edges.sql ${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_signatures.sql @@ -1330,6 +1335,8 @@ ${PYSITELIB}/synapse/util/caches/treecache.py ${PYSITELIB}/synapse/util/caches/treecache.pyc ${PYSITELIB}/synapse/util/caches/ttlcache.py ${PYSITELIB}/synapse/util/caches/ttlcache.pyc +${PYSITELIB}/synapse/util/cancellation.py +${PYSITELIB}/synapse/util/cancellation.pyc ${PYSITELIB}/synapse/util/check_dependencies.py ${PYSITELIB}/synapse/util/check_dependencies.pyc ${PYSITELIB}/synapse/util/daemonize.py diff --git a/chat/matrix-synapse/distinfo b/chat/matrix-synapse/distinfo index af9d2bd19b2b..349eae8345d2 100644 --- a/chat/matrix-synapse/distinfo +++ b/chat/matrix-synapse/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.44 2022/09/04 14:16:29 gdt Exp $ +$NetBSD: distinfo,v 1.45 2022/10/06 13:57:53 gdt Exp $ -BLAKE2s (matrix-synapse-1.66.0.tar.gz) = 3614c25e642c70c727505d04c8d5685d7d57c0be27e112c5422c74c852dce5e2 -SHA512 (matrix-synapse-1.66.0.tar.gz) = ebe8ab787d72592b395226490414f7dce5c250173be654dc6ce63deec3a7d718f8400cdc81dfb73ae331632bed4dfb5c6f09c64538f4bda8546db8fb75d728b7 -Size (matrix-synapse-1.66.0.tar.gz) = 7916982 bytes +BLAKE2s (matrix-synapse-1.67.0.tar.gz) = 8b59d07b2b6cd5b9c4f62a7e2eaa015a5ca8da7fb3644c11263b0a29a8e9b3fd +SHA512 (matrix-synapse-1.67.0.tar.gz) = 913335b3815ff218134cda80d7149a95aea69eda170e9da6d7566213f077692a92b0276e2530ae4e69572b13124de28b6546a7322b3d9e65f676df0ca4cb9469 +Size (matrix-synapse-1.67.0.tar.gz) = 7933047 bytes SHA1 (patch-pyproject.toml) = 54f1ff3696bc7e1a873fde2347f8d5c8ef5df68d SHA1 (patch-synapse_handlers_room.py) = f9a62add7171898ec0ea76360f0a4c9969609537