Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id CA12D1A9239 for ; Tue, 27 Oct 2020 21:52:37 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 6184284D46; Tue, 27 Oct 2020 21:52:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DF53A84D31 for ; Tue, 27 Oct 2020 21:52:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id UTjtS-HCb_gS for ; Tue, 27 Oct 2020 21:52:35 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6DB3984CD8 for ; Tue, 27 Oct 2020 21:52:35 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 66423FB28; Tue, 27 Oct 2020 21:52:35 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_16038355552060" MIME-Version: 1.0 Date: Tue, 27 Oct 2020 21:52:35 +0000 From: "Jonathan Schleifer" Subject: CVS commit: pkgsrc/chat/matrix-synapse To: pkgsrc-changes@NetBSD.org Reply-To: js@netbsd.org X-Mailer: log_accum Message-Id: <20201027215235.66423FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_16038355552060 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: js Date: Tue Oct 27 21:52:35 UTC 2020 Modified Files: pkgsrc/chat/matrix-synapse: Makefile PLIST distinfo Log Message: Update chat/matrix-synapse to 1.22.0 Synapse 1.22.0 (2020-10-27) =========================== No significant changes. Synapse 1.22.0rc2 (2020-10-26) ============================== Bugfixes -------- - Fix bugs where ephemeral events were not sent to appservices. Broke in v1.22.0rc1. ([\#8648](https://github.com/matrix-org/synapse/issues/8648), [\#8656](https://github.com/matrix-org/synapse/issues/8656)) - Fix `user_daily_visits` table to not have duplicate rows per user/device due to multiple user agents. Broke in v1.22.0rc1. ([\#8654](https://github.com/matrix-org/synapse/issues/8654)) Synapse 1.22.0rc1 (2020-10-22) ============================== Features -------- - Add a configuration option for always using the "userinfo endpoint" for OpenID Connect. This fixes support for some identity providers, e.g. GitLab. Contributed by Benjamin Koch. ([\#7658](https://github.com/matrix-org/synapse/issues/7658)) - Add ability for `ThirdPartyEventRules` modules to query and manipulate whether a room is in the public rooms directory. ([\#8292](https://github.com/matrix-org/synapse/issues/8292), [\#8467](https://github.com/matrix-org/synapse/issues/8467)) - Add support for olm fallback keys ([MSC2732](https://github.com/matrix-org/matrix-doc/pull/2732)). ([\#8312](https://github.com/matrix-org/synapse/issues/8312), [\#8501](https://github.com/matrix-org/synapse/issues/8501)) - Add support for running background tasks in a separate worker process. ([\#8369](https://github.com/matrix-org/synapse/issues/8369), [\#8458](https://github.com/matrix-org/synapse/issues/8458), [\#8489](https://github.com/matrix-org/synapse/issues/8489), [\#8513](https://github.com/matrix-org/synapse/issues/8513), [\#8544](https://github.com/matrix-org/synapse/issues/8544), [\#8599](https://github.com/matrix-org/synapse/issues/8599)) - Add support for device dehydration ([MSC2697](https://github.com/matrix-org/matrix-doc/pull/2697)). ([\#8380](https://github.com/matrix-org/synapse/issues/8380)) - Add support for [MSC2409](https://github.com/matrix-org/matrix-doc/pull/2409), which allows sending typing, read receipts, and presence events to appservices. ([\#8437](https://github.com/matrix-org/synapse/issues/8437), [\#8590](https://github.com/matrix-org/synapse/issues/8590)) - Change default room version to "6", per [MSC2788](https://github.com/matrix-org/matrix-doc/pull/2788). ([\#8461](https://github.com/matrix-org/synapse/issues/8461)) - Add the ability to send non-membership events into a room via the `ModuleApi`. ([\#8479](https://github.com/matrix-org/synapse/issues/8479)) - Increase default upload size limit from 10M to 50M. Contributed by @Akkowicz. ([\#8502](https://github.com/matrix-org/synapse/issues/8502)) - Add support for modifying event content in `ThirdPartyRules` modules. ([\#8535](https://github.com/matrix-org/synapse/issues/8535), [\#8564](https://github.com/matrix-org/synapse/issues/8564)) Bugfixes -------- - Fix a longstanding bug where invalid ignored users in account data could break clients. ([\#8454](https://github.com/matrix-org/synapse/issues/8454)) - Fix a bug where backfilling a room with an event that was missing the `redacts` field would break. ([\#8457](https://github.com/matrix-org/synapse/issues/8457)) - Don't attempt to respond to some requests if the client has already disconnected. ([\#8465](https://github.com/matrix-org/synapse/issues/8465)) - Fix message duplication if something goes wrong after persisting the event. ([\#8476](https://github.com/matrix-org/synapse/issues/8476)) - Fix incremental sync returning an incorrect `prev_batch` token in timeline section, which when used to paginate returned events that were included in the incremental sync. Broken since v0.16.0. ([\#8486](https://github.com/matrix-org/synapse/issues/8486)) - Expose the `uk.half-shot.msc2778.login.application_service` to clients from the login API. This feature was added in v1.21.0, but was not exposed as a potential login flow. ([\#8504](https://github.com/matrix-org/synapse/issues/8504)) - Fix error code for `/profile/{userId}/displayname` to be `M_BAD_JSON`. ([\#8517](https://github.com/matrix-org/synapse/issues/8517)) - Fix a bug introduced in v1.7.0 that could cause Synapse to insert values from non-state `m.room.retention` events into the `room_retention` database table. ([\#8527](https://github.com/matrix-org/synapse/issues/8527)) - Fix not sending events over federation when using sharded event writers. ([\#8536](https://github.com/matrix-org/synapse/issues/8536)) - Fix a long standing bug where email notifications for encrypted messages were blank. ([\#8545](https://github.com/matrix-org/synapse/issues/8545)) - Fix increase in the number of `There was no active span...` errors logged when using OpenTracing. ([\#8567](https://github.com/matrix-org/synapse/issues/8567)) - Fix a bug that prevented errors encountered during execution of the `synapse_port_db` from being correctly printed. ([\#8585](https://github.com/matrix-org/synapse/issues/8585)) - Fix appservice transactions to only include a maximum of 100 persistent and 100 ephemeral events. ([\#8606](https://github.com/matrix-org/synapse/issues/8606)) Updates to the Docker image --------------------------- - Added multi-arch support (arm64,arm/v7) for the docker images. Contributed by @maquis196. ([\#7921](https://github.com/matrix-org/synapse/issues/7921)) - Add support for passing commandline args to the synapse process. Contributed by @samuel-p. ([\#8390](https://github.com/matrix-org/synapse/issues/8390)) Improved Documentation ---------------------- - Update the directions for using the manhole with coroutines. ([\#8462](https://github.com/matrix-org/synapse/issues/8462)) - Improve readme by adding new shield.io badges. ([\#8493](https://github.com/matrix-org/synapse/issues/8493)) - Added note about docker in manhole.md regarding which ip address to bind to. Contributed by @Maquis196. ([\#8526](https://github.com/matrix-org/synapse/issues/8526)) - Document the new behaviour of the `allowed_lifetime_min` and `allowed_lifetime_max` settings in the room retention configuration. ([\#8529](https://github.com/matrix-org/synapse/issues/8529)) Deprecations and Removals ------------------------- - Drop unused `device_max_stream_id` table. ([\#8589](https://github.com/matrix-org/synapse/issues/8589)) Internal Changes ---------------- - Check for unreachable code with mypy. ([\#8432](https://github.com/matrix-org/synapse/issues/8432)) - Add unit test for event persister sharding. ([\#8433](https://github.com/matrix-org/synapse/issues/8433)) - Allow events to be sent to clients sooner when using sharded event persisters. ([\#8439](https://github.com/matrix-org/synapse/issues/8439), [\#8488](https://github.com/matrix-org/synapse/issues/8488), [\#8496](https://github.com/matrix-org/synapse/issues/8496), [\#8499](https://github.com/matrix-org/synapse/issues/8499)) - Configure `public_baseurl` when using demo scripts. ([\#8443](https://github.com/matrix-org/synapse/issues/8443)) - Add SQL logging on queries that happen during startup. ([\#8448](https://github.com/matrix-org/synapse/issues/8448)) - Speed up unit tests when using PostgreSQL. ([\#8450](https://github.com/matrix-org/synapse/issues/8450)) - Remove redundant database loads of stream_ordering for events we already have. ([\#8452](https://github.com/matrix-org/synapse/issues/8452)) - Reduce inconsistencies between codepaths for membership and non-membership events. ([\#8463](https://github.com/matrix-org/synapse/issues/8463)) - Combine `SpamCheckerApi` with the more generic `ModuleApi`. ([\#8464](https://github.com/matrix-org/synapse/issues/8464)) - Additional testing for `ThirdPartyEventRules`. ([\#8468](https://github.com/matrix-org/synapse/issues/8468)) - Add `-d` option to `./scripts-dev/lint.sh` to lint files that have changed since the last git commit. ([\#8472](https://github.com/matrix-org/synapse/issues/8472)) - Unblacklist some sytests. ([\#8474](https://github.com/matrix-org/synapse/issues/8474)) - Include the log level in the phone home stats. ([\#8477](https://github.com/matrix-org/synapse/issues/8477)) - Remove outdated sphinx documentation, scripts and configuration. ([\#8480](https://github.com/matrix-org/synapse/issues/8480)) - Clarify error message when plugin config parsers raise an error. ([\#8492](https://github.com/matrix-org/synapse/issues/8492)) - Remove the deprecated `Handlers` object. ([\#8494](https://github.com/matrix-org/synapse/issues/8494)) - Fix a threadsafety bug in unit tests. ([\#8497](https://github.com/matrix-org/synapse/issues/8497)) - Add user agent to user_daily_visits table. ([\#8503](https://github.com/matrix-org/synapse/issues/8503)) - Add type hints to various parts of the code base. ([\#8407](https://github.com/matrix-org/synapse/issues/8407), [\#8505](https://github.com/matrix-org/synapse/issues/8505), [\#8507](https://github.com/matrix-org/synapse/issues/8507), [\#8547](https://github.com/matrix-org/synapse/issues/8547), [\#8562](https://github.com/matrix-org/synapse/issues/8562), [\#8609](https://github.com/matrix-org/synapse/issues/8609)) - Remove unused code from the test framework. ([\#8514](https://github.com/matrix-org/synapse/issues/8514)) - Apply some internal fixes to the `HomeServer` class to make its code more idiomatic and statically-verifiable. ([\#8515](https://github.com/matrix-org/synapse/issues/8515)) - Factor out common code between `RoomMemberHandler._locally_reject_invite` and `EventCreationHandler.create_event`. ([\#8537](https://github.com/matrix-org/synapse/issues/8537)) - Improve database performance by executing more queries without starting transactions. ([\#8542](https://github.com/matrix-org/synapse/issues/8542)) - Rename `Cache` to `DeferredCache`, to better reflect its purpose. ([\#8548](https://github.com/matrix-org/synapse/issues/8548)) - Move metric registration code down into `LruCache`. ([\#8561](https://github.com/matrix-org/synapse/issues/8561), [\#8591](https://github.com/matrix-org/synapse/issues/8591)) - Replace `DeferredCache` with the lighter-weight `LruCache` where possible. ([\#8563](https://github.com/matrix-org/synapse/issues/8563)) - Add virtualenv-generated folders to `.gitignore`. ([\#8566](https://github.com/matrix-org/synapse/issues/8566)) - Add `get_immediate` method to `DeferredCache`. ([\#8568](https://github.com/matrix-org/synapse/issues/8568)) - Fix mypy not properly checking across the codebase, additionally, fix a typing assertion error in `handlers/auth.py`. ([\#8569](https://github.com/matrix-org/synapse/issues/8569)) - Fix `synmark` benchmark runner. ([\#8571](https://github.com/matrix-org/synapse/issues/8571)) - Modify `DeferredCache.get()` to return `Deferred`s instead of `ObservableDeferred`s. ([\#8572](https://github.com/matrix-org/synapse/issues/8572)) - Adjust a protocol-type definition to fit `sqlite3` assertions. ([\#8577](https://github.com/matrix-org/synapse/issues/8577)) - Support macOS on the `synmark` benchmark runner. ([\#8578](https://github.com/matrix-org/synapse/issues/8578)) - Update `mypy` static type checker to 0.790. ([\#8583](https://github.com/matrix-org/synapse/issues/8583), [\#8600](https://github.com/matrix-org/synapse/issues/8600)) - Re-organize the structured logging code to separate the TCP transport handling from the JSON formatting. ([\#8587](https://github.com/matrix-org/synapse/issues/8587)) - Remove extraneous unittest logging decorators from unit tests. ([\#8592](https://github.com/matrix-org/synapse/issues/8592)) - Minor optimisations in caching code. ([\#8593](https://github.com/matrix-org/synapse/issues/8593), [\#8594](https://github.com/matrix-org/synapse/issues/8594)) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/chat/matrix-synapse/Makefile cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/matrix-synapse/PLIST cvs rdiff -u -r1.6 -r1.7 pkgsrc/chat/matrix-synapse/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_16038355552060 Content-Disposition: inline Content-Length: 5509 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/chat/matrix-synapse/Makefile diff -u pkgsrc/chat/matrix-synapse/Makefile:1.10 pkgsrc/chat/matrix-synapse/Makefile:1.11 --- pkgsrc/chat/matrix-synapse/Makefile:1.10 Sat Oct 17 13:57:50 2020 +++ pkgsrc/chat/matrix-synapse/Makefile Tue Oct 27 21:52:35 2020 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2020/10/17 13:57:50 js Exp $ +# $NetBSD: Makefile,v 1.11 2020/10/27 21:52:35 js Exp $ -DISTNAME= matrix-synapse-1.21.2 -PKGREVISION= 1 +DISTNAME= matrix-synapse-1.22.0 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/} EGG_NAME= matrix_synapse-${PKGVERSION_NOREV} Index: pkgsrc/chat/matrix-synapse/PLIST diff -u pkgsrc/chat/matrix-synapse/PLIST:1.3 pkgsrc/chat/matrix-synapse/PLIST:1.4 --- pkgsrc/chat/matrix-synapse/PLIST:1.3 Sat Oct 17 11:42:35 2020 +++ pkgsrc/chat/matrix-synapse/PLIST Tue Oct 27 21:52:35 2020 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2020/10/17 11:42:35 js Exp $ +@comment $NetBSD: PLIST,v 1.4 2020/10/27 21:52:35 js Exp $ bin/export_signing_key bin/generate_config bin/generate_log_config @@ -90,6 +90,9 @@ ${PYSITELIB}/synapse/app/homeserver.pyo ${PYSITELIB}/synapse/app/media_repository.py ${PYSITELIB}/synapse/app/media_repository.pyc ${PYSITELIB}/synapse/app/media_repository.pyo +${PYSITELIB}/synapse/app/phone_stats_home.py +${PYSITELIB}/synapse/app/phone_stats_home.pyc +${PYSITELIB}/synapse/app/phone_stats_home.pyo ${PYSITELIB}/synapse/app/pusher.py ${PYSITELIB}/synapse/app/pusher.pyc ${PYSITELIB}/synapse/app/pusher.pyo @@ -496,6 +499,9 @@ ${PYSITELIB}/synapse/http/site.pyo ${PYSITELIB}/synapse/logging/__init__.py ${PYSITELIB}/synapse/logging/__init__.pyc ${PYSITELIB}/synapse/logging/__init__.pyo +${PYSITELIB}/synapse/logging/_remote.py +${PYSITELIB}/synapse/logging/_remote.pyc +${PYSITELIB}/synapse/logging/_remote.pyo ${PYSITELIB}/synapse/logging/_structured.py ${PYSITELIB}/synapse/logging/_structured.pyc ${PYSITELIB}/synapse/logging/_structured.pyo @@ -1394,6 +1400,8 @@ ${PYSITELIB}/synapse/storage/databases/m ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/10_pushrules_enabled_delete_obsolete.sql ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/10drop_local_rejections_stream.sql ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/10federation_pos_instance_name.sql +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/11dehydration.sql +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/11fallback.sql ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/11user_id_seq.py ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/11user_id_seq.pyc ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/11user_id_seq.pyo @@ -1406,6 +1414,12 @@ ${PYSITELIB}/synapse/storage/databases/m ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/16populate_stats_process_rooms_fix.sql ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/17_catchup_last_successful.sql ${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/18stream_positions.sql +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/19instance_map.sql.postgres +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/19txn_id.sql +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/20instance_name_event_tables.sql +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/20user_daily_visits.sql +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/21as_device_stream.sql +${PYSITELIB}/synapse/storage/databases/main/schema/delta/58/21drop_device_max_stream_id.sql ${PYSITELIB}/synapse/storage/databases/main/schema/full_schemas/16/application_services.sql ${PYSITELIB}/synapse/storage/databases/main/schema/full_schemas/16/event_edges.sql ${PYSITELIB}/synapse/storage/databases/main/schema/full_schemas/16/event_signatures.sql @@ -1552,6 +1566,9 @@ ${PYSITELIB}/synapse/util/async_helpers. ${PYSITELIB}/synapse/util/caches/__init__.py ${PYSITELIB}/synapse/util/caches/__init__.pyc ${PYSITELIB}/synapse/util/caches/__init__.pyo +${PYSITELIB}/synapse/util/caches/deferred_cache.py +${PYSITELIB}/synapse/util/caches/deferred_cache.pyc +${PYSITELIB}/synapse/util/caches/deferred_cache.pyo ${PYSITELIB}/synapse/util/caches/descriptors.py ${PYSITELIB}/synapse/util/caches/descriptors.pyc ${PYSITELIB}/synapse/util/caches/descriptors.pyo Index: pkgsrc/chat/matrix-synapse/distinfo diff -u pkgsrc/chat/matrix-synapse/distinfo:1.6 pkgsrc/chat/matrix-synapse/distinfo:1.7 --- pkgsrc/chat/matrix-synapse/distinfo:1.6 Sat Oct 17 11:42:35 2020 +++ pkgsrc/chat/matrix-synapse/distinfo Tue Oct 27 21:52:35 2020 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2020/10/17 11:42:35 js Exp $ +$NetBSD: distinfo,v 1.7 2020/10/27 21:52:35 js Exp $ -SHA1 (matrix-synapse-1.21.2.tar.gz) = ff7321bec10acf5f59534535f077fdc88601e3f7 -RMD160 (matrix-synapse-1.21.2.tar.gz) = d1a479ab67c748e14f04f3834db2ff27b88ef5fb -SHA512 (matrix-synapse-1.21.2.tar.gz) = 745ea382e38fa427e062fdab595c45b350bdd8002af252f38dff3e5b0bbee50230ff10bdf9e39fc97071c96340f89a7a994ab2238aaa16da65b145c1e144edaa -Size (matrix-synapse-1.21.2.tar.gz) = 6930190 bytes +SHA1 (matrix-synapse-1.22.0.tar.gz) = 8816101f15a1d4a4476791e07411af39a33d5fb3 +RMD160 (matrix-synapse-1.22.0.tar.gz) = 15b18e260e13f7bbab455af47675736550cbc03f +SHA512 (matrix-synapse-1.22.0.tar.gz) = 0d037732fba5314c981c3d16e0858e3ea526a5b9aa7f60abb4fd3ed8c32755db2dc502119a6a8bc70e58b2a28c807ed3596ce5bbdce8260ca469d6b1e11faf3a +Size (matrix-synapse-1.22.0.tar.gz) = 6961215 bytes --_----------=_16038355552060--