From 80b0a1a9eae18f2b90eb7b8fc431f900f3b8e344 Mon Sep 17 00:00:00 2001 From: js Date: Sat, 17 Jul 2021 20:39:16 +0000 Subject: [PATCH] Update chat/matrix-synapse to 1.38.0 Synapse 1.38.0 (2021-07-13) =========================== This release includes a database schema update which could result in elevated disk usage. See the [upgrade notes](https://matrix-org.github.io/synapse/develop/upgrade#upgrading-to-v1380) for more information. No significant changes since 1.38.0rc3. Synapse 1.38.0rc3 (2021-07-13) ============================== Internal Changes ---------------- - Build the Debian packages in CI. ([\#10247](https://github.com/matrix-org/synapse/issues/10247), [\#10379](https://github.com/matrix-org/synapse/issues/10379)) Synapse 1.38.0rc2 (2021-07-09) ============================== Bugfixes -------- - Fix bug where inbound federation in a room could be delayed due to not correctly dropping a lock. Introduced in v1.37.1. ([\#10336](https://github.com/matrix-org/synapse/issues/10336)) Improved Documentation ---------------------- - Update links to documentation in the sample config. Contributed by @dklimpel. ([\#10287](https://github.com/matrix-org/synapse/issues/10287)) - Fix broken links in [INSTALL.md](INSTALL.md). Contributed by @dklimpel. ([\#10331](https://github.com/matrix-org/synapse/issues/10331)) Synapse 1.38.0rc1 (2021-07-06) ============================== Features -------- - Implement refresh tokens as specified by [MSC2918](https://github.com/matrix-org/matrix-doc/pull/2918). ([\#9450](https://github.com/matrix-org/synapse/issues/9450)) - Add support for evicting cache entries based on last access time. ([\#10205](https://github.com/matrix-org/synapse/issues/10205)) - Omit empty fields from the `/sync` response. Contributed by @deepbluev7. ([\#10214](https://github.com/matrix-org/synapse/issues/10214)) - Improve validation on federation `send_{join,leave,knock}` endpoints. ([\#10225](https://github.com/matrix-org/synapse/issues/10225), [\#10243](https://github.com/matrix-org/synapse/issues/10243)) - Add SSO `external_ids` to the Query User Account admin API. ([\#10261](https://github.com/matrix-org/synapse/issues/10261)) - Mark events received over federation which fail a spam check as "soft-failed". ([\#10263](https://github.com/matrix-org/synapse/issues/10263)) - Add metrics for new inbound federation staging area. ([\#10284](https://github.com/matrix-org/synapse/issues/10284)) - Add script to print information about recently registered users. ([\#10290](https://github.com/matrix-org/synapse/issues/10290)) Bugfixes -------- - Fix a long-standing bug which meant that invite rejections and knocks were not sent out over federation in a timely manner. ([\#10223](https://github.com/matrix-org/synapse/issues/10223)) - Fix a bug introduced in v1.26.0 where only users who have set profile information could be deactivated with erasure enabled. ([\#10252](https://github.com/matrix-org/synapse/issues/10252)) - Fix a long-standing bug where Synapse would return errors after 231 events were handled by the server. ([\#10264](https://github.com/matrix-org/synapse/issues/10264), [\#10267](https://github.com/matrix-org/synapse/issues/10267), [\#10282](https://github.com/matrix-org/synapse/issues/10282), [\#10286](https://github.com/matrix-org/synapse/issues/10286), [\#10291](https://github.com/matrix-org/synapse/issues/10291), [\#10314](https://github.com/matrix-org/synapse/issues/10314), [\#10326](https://github.com/matrix-org/synapse/issues/10326)) - Fix the prometheus `synapse_federation_server_pdu_process_time` metric. Broke in v1.37.1. ([\#10279](https://github.com/matrix-org/synapse/issues/10279)) - Ensure that inbound events from federation that were being processed when Synapse was restarted get promptly processed on start up. ([\#10303](https://github.com/matrix-org/synapse/issues/10303)) Improved Documentation ---------------------- - Move the upgrade notes to [docs/upgrade.md](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md) and convert them to markdown. ([\#10166](https://github.com/matrix-org/synapse/issues/10166)) - Choose Welcome & Overview as the default page for synapse documentation website. ([\#10242](https://github.com/matrix-org/synapse/issues/10242)) - Adjust the URL in the README.rst file to point to irc.libera.chat. ([\#10258](https://github.com/matrix-org/synapse/issues/10258)) - Fix homeserver config option name in presence router documentation. ([\#10288](https://github.com/matrix-org/synapse/issues/10288)) - Fix link pointing at the wrong section in the modules documentation page. ([\#10302](https://github.com/matrix-org/synapse/issues/10302)) Internal Changes ---------------- - Drop `Origin` and `Accept` from the value of the `Access-Control-Allow-Headers` response header. ([\#10114](https://github.com/matrix-org/synapse/issues/10114)) - Add type hints to the federation servlets. ([\#10213](https://github.com/matrix-org/synapse/issues/10213)) - Improve the reliability of auto-joining remote rooms. ([\#10237](https://github.com/matrix-org/synapse/issues/10237)) - Update the release script to use the semver terminology and determine the release branch based on the next version. ([\#10239](https://github.com/matrix-org/synapse/issues/10239)) - Fix type hints for computing auth events. ([\#10253](https://github.com/matrix-org/synapse/issues/10253)) - Improve the performance of the spaces summary endpoint by only recursing into spaces (and not rooms in general). ([\#10256](https://github.com/matrix-org/synapse/issues/10256)) - Move event authentication methods from `Auth` to `EventAuthHandler`. ([\#10268](https://github.com/matrix-org/synapse/issues/10268)) - Re-enable a SyTest after it has been fixed. ([\#10292](https://github.com/matrix-org/synapse/issues/10292)) --- chat/matrix-synapse/Makefile | 5 ++--- chat/matrix-synapse/PLIST | 12 +++++++++++- chat/matrix-synapse/distinfo | 10 +++++----- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/chat/matrix-synapse/Makefile b/chat/matrix-synapse/Makefile index 12bb814ea835..1b084f021c8c 100644 --- a/chat/matrix-synapse/Makefile +++ b/chat/matrix-synapse/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.30 2021/07/01 21:13:04 js Exp $ +# $NetBSD: Makefile,v 1.31 2021/07/17 20:39:16 js Exp $ -DISTNAME= matrix-synapse-1.37.1 -PKGREVISION= 1 +DISTNAME= matrix-synapse-1.38.0 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/} EGG_NAME= matrix_synapse-${PKGVERSION_NOREV} diff --git a/chat/matrix-synapse/PLIST b/chat/matrix-synapse/PLIST index c98f686f2ccc..f6be00530bf4 100644 --- a/chat/matrix-synapse/PLIST +++ b/chat/matrix-synapse/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.15 2021/07/01 13:42:59 wiz Exp $ +@comment $NetBSD: PLIST,v 1.16 2021/07/17 20:39:16 js Exp $ bin/export_signing_key bin/generate_config bin/generate_log_config @@ -7,6 +7,7 @@ bin/hash_password bin/move_remote_media_to_new_store.py bin/register_new_matrix_user bin/synapse_port_db +bin/synapse_review_recent_signups bin/sync_room_to_group.pl bin/synctl ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO @@ -24,6 +25,9 @@ ${PYSITELIB}/synapse/_scripts/__init__.pyo ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.py ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.pyc ${PYSITELIB}/synapse/_scripts/register_new_matrix_user.pyo +${PYSITELIB}/synapse/_scripts/review_recent_signups.py +${PYSITELIB}/synapse/_scripts/review_recent_signups.pyc +${PYSITELIB}/synapse/_scripts/review_recent_signups.pyo ${PYSITELIB}/synapse/api/__init__.py ${PYSITELIB}/synapse/api/__init__.pyc ${PYSITELIB}/synapse/api/__init__.pyo @@ -1590,8 +1594,11 @@ ${PYSITELIB}/synapse/storage/schema/main/delta/59/12account_validity_token_used_ ${PYSITELIB}/synapse/storage/schema/main/delta/59/12presence_stream_instance.sql ${PYSITELIB}/synapse/storage/schema/main/delta/59/12presence_stream_instance_seq.sql.postgres ${PYSITELIB}/synapse/storage/schema/main/delta/59/13users_to_send_full_presence_to.sql +${PYSITELIB}/synapse/storage/schema/main/delta/59/14refresh_tokens.sql ${PYSITELIB}/synapse/storage/schema/main/delta/59/15locks.sql ${PYSITELIB}/synapse/storage/schema/main/delta/59/16federation_inbound_staging.sql +${PYSITELIB}/synapse/storage/schema/main/delta/60/01recreate_stream_ordering.sql.postgres +${PYSITELIB}/synapse/storage/schema/main/delta/60/02change_stream_ordering_columns.sql.postgres ${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 @@ -1714,6 +1721,9 @@ ${PYSITELIB}/synapse/util/iterutils.pyo ${PYSITELIB}/synapse/util/jsonobject.py ${PYSITELIB}/synapse/util/jsonobject.pyc ${PYSITELIB}/synapse/util/jsonobject.pyo +${PYSITELIB}/synapse/util/linked_list.py +${PYSITELIB}/synapse/util/linked_list.pyc +${PYSITELIB}/synapse/util/linked_list.pyo ${PYSITELIB}/synapse/util/logcontext.py ${PYSITELIB}/synapse/util/logcontext.pyc ${PYSITELIB}/synapse/util/logcontext.pyo diff --git a/chat/matrix-synapse/distinfo b/chat/matrix-synapse/distinfo index 21a007384897..3373efe7f9a0 100644 --- a/chat/matrix-synapse/distinfo +++ b/chat/matrix-synapse/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.20 2021/07/01 13:42:59 wiz Exp $ +$NetBSD: distinfo,v 1.21 2021/07/17 20:39:16 js Exp $ -SHA1 (matrix-synapse-1.37.1.tar.gz) = 2cf4ff756f6b26ecd442469175b0d431285174a6 -RMD160 (matrix-synapse-1.37.1.tar.gz) = 1b475d27baffcae96857056b0cf7d10aa8420abc -SHA512 (matrix-synapse-1.37.1.tar.gz) = b7db3e4272debdacfd4def003c5f257ba6a9cca521817b81914a86b7ff9effa38a1fbe53a84f3068567d447b82773cfe1ac1a36cac78ec7a6e17a62652c065ed -Size (matrix-synapse-1.37.1.tar.gz) = 7354332 bytes +SHA1 (matrix-synapse-1.38.0.tar.gz) = 8b2caf2828c8dedfc858e5537eafa5ebf3bd82fb +RMD160 (matrix-synapse-1.38.0.tar.gz) = 5b273c77e64c789e1e3d1271b3b30c4a90f3d051 +SHA512 (matrix-synapse-1.38.0.tar.gz) = d6da8a2ef7bd281b3117ec51743e984f21c9a7aaeaab4f81880e612d201874c0fd366fc18793ae351c168e1f985530fdbb4a6edfcaf9c8d93001bd92cd043f6c +Size (matrix-synapse-1.38.0.tar.gz) = 7374458 bytes SHA1 (patch-synapse_handlers_room.py) = 5c4a5ff4773b9ae4a8ce2b66ac7cd8aa678627ca SHA1 (patch-synapse_python_dependencies.py) = 914ae3a34a9367b2d479d393ddc7a07cbff65b36