summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjs <js@pkgsrc.org>2021-06-05 15:28:02 +0000
committerjs <js@pkgsrc.org>2021-06-05 15:28:02 +0000
commit7485792a7ab170ba9043ad5bf5ae40271ba3ff0b (patch)
tree4671b5a74a80e5ee5bfdb4463cf1f045c0a6d1cf /chat
parent39b3c69fc06a6c0bd8ee41bb724535358bfe7884 (diff)
downloadpkgsrc-7485792a7ab170ba9043ad5bf5ae40271ba3ff0b.tar.gz
Update chat/matrix-synapses to 1.35.1
Synapse 1.35.1 (2021-06-03) =========================== Bugfixes -------- - Fix a bug introduced in v1.35.0 where invite-only rooms would be shown to all users in a space, regardless of if the user had access to it. ([\#10109](https://github.com/matrix-org/synapse/issues/10109)) Synapse 1.35.0 (2021-06-01) =========================== Note that [the tag](https://github.com/matrix-org/synapse/releases/tag/v1.35.0rc3) and [docker images](https://hub.docker.com/layers/matrixdotorg/synapse/v1.35.0rc3/images/sha256-34ccc87bd99a17e2cbc0902e678b5937d16bdc1991ead097eee6096481ecf2c4?context=explore) for `v1.35.0rc3` were incorrectly built. If you are experiencing issues with either, it is recommended to upgrade to the equivalent tag or docker image for the `v1.35.0` release. Deprecations and Removals ------------------------- - The core Synapse development team plan to drop support for the [unstable API of MSC2858](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), including the undocumented `experimental.msc2858_enabled` config option, in August 2021. Client authors should ensure that their clients are updated to use the stable API (which has been supported since Synapse 1.30) well before that time, to give their users time to upgrade. ([\#10101](https://github.com/matrix-org/synapse/issues/10101)) Bugfixes -------- - Fixed a bug causing replication requests to fail when receiving a lot of events via federation. Introduced in v1.33.0. ([\#10082](https://github.com/matrix-org/synapse/issues/10082)) - Fix HTTP response size limit to allow joining very large rooms over federation. Introduced in v1.33.0. ([\#10093](https://github.com/matrix-org/synapse/issues/10093)) Internal Changes ---------------- - Log method and path when dropping request due to size limit. ([\#10091](https://github.com/matrix-org/synapse/issues/10091)) Synapse 1.35.0rc2 (2021-05-27) ============================== Bugfixes -------- - Fix a bug introduced in v1.35.0rc1 when calling the spaces summary API via a GET request. ([\#10079](https://github.com/matrix-org/synapse/issues/10079)) Synapse 1.35.0rc1 (2021-05-25) ============================== Features -------- - Add experimental support to allow a user who could join a restricted room to view it in the spaces summary. ([\#9922](https://github.com/matrix-org/synapse/issues/9922), [\#10007](https://github.com/matrix-org/synapse/issues/10007), [\#10038](https://github.com/matrix-org/synapse/issues/10038)) - Reduce memory usage when joining very large rooms over federation. ([\#9958](https://github.com/matrix-org/synapse/issues/9958)) - Add a configuration option which allows enabling opentracing by user id. ([\#9978](https://github.com/matrix-org/synapse/issues/9978)) - Enable experimental support for [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946) (spaces summary API) and [MSC3083](https://github.com/matrix-org/matrix-doc/pull/3083) (restricted join rules) by default. ([\#10011](https://github.com/matrix-org/synapse/issues/10011)) Bugfixes -------- - Fix a bug introduced in v1.26.0 which meant that `synapse_port_db` would not correctly initialise some postgres sequences, requiring manual updates afterwards. ([\#9991](https://github.com/matrix-org/synapse/issues/9991)) - Fix `synctl`'s `--no-daemonize` parameter to work correctly with worker processes. ([\#9995](https://github.com/matrix-org/synapse/issues/9995)) - Fix a validation bug introduced in v1.34.0 in the ordering of spaces in the space summary API. ([\#10002](https://github.com/matrix-org/synapse/issues/10002)) - Fixed deletion of new presence stream states from database. ([\#10014](https://github.com/matrix-org/synapse/issues/10014), [\#10033](https://github.com/matrix-org/synapse/issues/10033)) - Fixed a bug with very high resolution image uploads throwing internal server errors. ([\#10029](https://github.com/matrix-org/synapse/issues/10029)) Updates to the Docker image --------------------------- - Fix bug introduced in Synapse 1.33.0 which caused a `Permission denied: '/homeserver.log'` error when starting Synapse with the generated log configuration. Contributed by Sergio Miguéns Iglesias. ([\#10045](https://github.com/matrix-org/synapse/issues/10045)) Improved Documentation ---------------------- - Add hardened systemd files as proposed in [#9760](https://github.com/matrix-org/synapse/issues/9760) and added them to `contrib/`. Change the docs to reflect the presence of these files. ([\#9803](https://github.com/matrix-org/synapse/issues/9803)) - Clarify documentation around SSO mapping providers generating unique IDs and localparts. ([\#9980](https://github.com/matrix-org/synapse/issues/9980)) - Updates to the PostgreSQL documentation (`postgres.md`). ([\#9988](https://github.com/matrix-org/synapse/issues/9988), [\#9989](https://github.com/matrix-org/synapse/issues/9989)) - Fix broken link in user directory documentation. Contributed by @junquera. ([\#10016](https://github.com/matrix-org/synapse/issues/10016)) - Add missing room state entry to the table of contents of room admin API. ([\#10043](https://github.com/matrix-org/synapse/issues/10043)) Deprecations and Removals ------------------------- - Removed support for the deprecated `tls_fingerprints` configuration setting. Contributed by Jerin J Titus. ([\#9280](https://github.com/matrix-org/synapse/issues/9280)) Internal Changes ---------------- - Allow sending full presence to users via workers other than the one that called `ModuleApi.send_local_online_presence_to`. ([\#9823](https://github.com/matrix-org/synapse/issues/9823)) - Update comments in the space summary handler. ([\#9974](https://github.com/matrix-org/synapse/issues/9974)) - Minor enhancements to the `@cachedList` descriptor. ([\#9975](https://github.com/matrix-org/synapse/issues/9975)) - Split multipart email sending into a dedicated handler. ([\#9977](https://github.com/matrix-org/synapse/issues/9977)) - Run `black` on files in the `scripts` directory. ([\#9981](https://github.com/matrix-org/synapse/issues/9981)) - Add missing type hints to `synapse.util` module. ([\#9982](https://github.com/matrix-org/synapse/issues/9982)) - Simplify a few helper functions. ([\#9984](https://github.com/matrix-org/synapse/issues/9984), [\#9985](https://github.com/matrix-org/synapse/issues/9985), [\#9986](https://github.com/matrix-org/synapse/issues/9986)) - Remove unnecessary property from SQLBaseStore. ([\#9987](https://github.com/matrix-org/synapse/issues/9987)) - Remove `keylen` param on `LruCache`. ([\#9993](https://github.com/matrix-org/synapse/issues/9993)) - Update the Grafana dashboard in `contrib/`. ([\#10001](https://github.com/matrix-org/synapse/issues/10001)) - Add a batching queue implementation. ([\#10017](https://github.com/matrix-org/synapse/issues/10017)) - Reduce memory usage when verifying signatures on large numbers of events at once. ([\#10018](https://github.com/matrix-org/synapse/issues/10018)) - Properly invalidate caches for destination retry timings every (instead of expiring entries every 5 minutes). ([\#10036](https://github.com/matrix-org/synapse/issues/10036)) - Fix running complement tests with Synapse workers. ([\#10039](https://github.com/matrix-org/synapse/issues/10039)) - Fix typo in `get_state_ids_for_event` docstring where the return type was incorrect. ([\#10050](https://github.com/matrix-org/synapse/issues/10050))
Diffstat (limited to 'chat')
-rw-r--r--chat/matrix-synapse/Makefile5
-rw-r--r--chat/matrix-synapse/PLIST12
-rw-r--r--chat/matrix-synapse/distinfo12
-rw-r--r--chat/matrix-synapse/patches/patch-synapse_python_dependencies.py6
4 files changed, 19 insertions, 16 deletions
diff --git a/chat/matrix-synapse/Makefile b/chat/matrix-synapse/Makefile
index 0b5e86c3f00..6f244a73712 100644
--- a/chat/matrix-synapse/Makefile
+++ b/chat/matrix-synapse/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2021/05/24 19:49:14 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2021/06/05 15:28:02 js Exp $
-DISTNAME= matrix-synapse-1.34.0
-PKGREVISION= 1
+DISTNAME= matrix-synapse-1.35.1
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 f0e58f0c679..7ba84460139 100644
--- a/chat/matrix-synapse/PLIST
+++ b/chat/matrix-synapse/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2021/05/20 09:09:32 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.13 2021/06/05 15:28:02 js Exp $
bin/export_signing_key
bin/generate_config
bin/generate_log_config
@@ -439,6 +439,9 @@ ${PYSITELIB}/synapse/handlers/saml.pyo
${PYSITELIB}/synapse/handlers/search.py
${PYSITELIB}/synapse/handlers/search.pyc
${PYSITELIB}/synapse/handlers/search.pyo
+${PYSITELIB}/synapse/handlers/send_email.py
+${PYSITELIB}/synapse/handlers/send_email.pyc
+${PYSITELIB}/synapse/handlers/send_email.pyo
${PYSITELIB}/synapse/handlers/set_password.py
${PYSITELIB}/synapse/handlers/set_password.pyc
${PYSITELIB}/synapse/handlers/set_password.pyo
@@ -706,9 +709,6 @@ ${PYSITELIB}/synapse/replication/slave/storage/registration.pyo
${PYSITELIB}/synapse/replication/slave/storage/room.py
${PYSITELIB}/synapse/replication/slave/storage/room.pyc
${PYSITELIB}/synapse/replication/slave/storage/room.pyo
-${PYSITELIB}/synapse/replication/slave/storage/transactions.py
-${PYSITELIB}/synapse/replication/slave/storage/transactions.pyc
-${PYSITELIB}/synapse/replication/slave/storage/transactions.pyo
${PYSITELIB}/synapse/replication/tcp/__init__.py
${PYSITELIB}/synapse/replication/tcp/__init__.pyc
${PYSITELIB}/synapse/replication/tcp/__init__.pyo
@@ -1585,6 +1585,7 @@ ${PYSITELIB}/synapse/storage/schema/main/delta/59/11drop_thumbnail_constraint.sq
${PYSITELIB}/synapse/storage/schema/main/delta/59/12account_validity_token_used_ts_ms.sql
${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/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
@@ -1647,6 +1648,9 @@ ${PYSITELIB}/synapse/util/__init__.pyo
${PYSITELIB}/synapse/util/async_helpers.py
${PYSITELIB}/synapse/util/async_helpers.pyc
${PYSITELIB}/synapse/util/async_helpers.pyo
+${PYSITELIB}/synapse/util/batching_queue.py
+${PYSITELIB}/synapse/util/batching_queue.pyc
+${PYSITELIB}/synapse/util/batching_queue.pyo
${PYSITELIB}/synapse/util/caches/__init__.py
${PYSITELIB}/synapse/util/caches/__init__.pyc
${PYSITELIB}/synapse/util/caches/__init__.pyo
diff --git a/chat/matrix-synapse/distinfo b/chat/matrix-synapse/distinfo
index 24f0d9e15e1..e3ec998fad8 100644
--- a/chat/matrix-synapse/distinfo
+++ b/chat/matrix-synapse/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.16 2021/05/20 09:09:32 jperkin Exp $
+$NetBSD: distinfo,v 1.17 2021/06/05 15:28:02 js Exp $
-SHA1 (matrix-synapse-1.34.0.tar.gz) = 22270050a22c44be8abd4519a2e51177cfdbb483
-RMD160 (matrix-synapse-1.34.0.tar.gz) = 0cd153221e3508a376daa60549d52bab21d161cd
-SHA512 (matrix-synapse-1.34.0.tar.gz) = 3b67725ac6ebc4b3b42bd46228f49d400eb41a71fd8b9dbbc8b1efad05e04c38ba6b51758c43d3d3c56df136ff91b59c22283d5766f4774d8d8e10ba8c5fa986
-Size (matrix-synapse-1.34.0.tar.gz) = 7284678 bytes
-SHA1 (patch-synapse_python_dependencies.py) = ef4e01283c4e3dab2cbb042b1a54c5fc21c20195
+SHA1 (matrix-synapse-1.35.1.tar.gz) = db4bda55f94b523176a2322665390b637d75618d
+RMD160 (matrix-synapse-1.35.1.tar.gz) = 3493881a1038319eae27a5b6f8e161a214294f69
+SHA512 (matrix-synapse-1.35.1.tar.gz) = 02a7a23f8d004c3e7d1af6904f4fac5d403335a7f089b80af367a833c292d0f970938f62a87f87a94ebee5acb41c87d50e337a8a38b0294657731155e7bfa3b3
+Size (matrix-synapse-1.35.1.tar.gz) = 7301793 bytes
+SHA1 (patch-synapse_python_dependencies.py) = 914ae3a34a9367b2d479d393ddc7a07cbff65b36
diff --git a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py
index 55d2346da93..d98954cc123 100644
--- a/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py
+++ b/chat/matrix-synapse/patches/patch-synapse_python_dependencies.py
@@ -1,10 +1,10 @@
-$NetBSD: patch-synapse_python_dependencies.py,v 1.2 2021/05/20 09:09:32 jperkin Exp $
+$NetBSD: patch-synapse_python_dependencies.py,v 1.3 2021/06/05 15:28:02 js Exp $
Patch out cryptography check: It doesn't need a version this high and it was
added by upstream as an ugly hack to force a patched OpenSSL, in case it is
linked statically.
---- synapse/python_dependencies.py.orig 2021-05-17 11:00:28.000000000 +0000
+--- synapse/python_dependencies.py.orig 2021-06-03 12:24:19.000000000 +0000
+++ synapse/python_dependencies.py
@@ -84,9 +84,6 @@ REQUIREMENTS = [
"Jinja2>=2.9",
@@ -13,6 +13,6 @@ linked statically.
- # We enforce that we have a `cryptography` version that bundles an `openssl`
- # with the latest security patches.
- "cryptography>=3.4.7",
+ "ijson>=3.0",
]
- CONDITIONAL_REQUIREMENTS = {