From 56090c407574f95842a1ce0b6da43083167aa761 Mon Sep 17 00:00:00 2001 From: gdt Date: Mon, 12 Dec 2022 14:35:14 +0000 Subject: [PATCH] chat/matrix-synapse: Update to 1.73.0 Synapse 1.73.0 (2022-12-06) =========================== Please note that legacy Prometheus metric names have been removed in this release; see [the upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.73/docs/upgrade.md#legacy-prometheus-metric-names-have-now-been-removed) for more details. Features -------- - Speed-up `/messages` with `filter_events_for_client` optimizations. ([\#14527](https://github.com/matrix-org/synapse/issues/14527)) - Improve DB performance by reducing amount of data that gets read in `device_lists_changes_in_room`. ([\#14534](https://github.com/matrix-org/synapse/issues/14534)) - Adds support for handling avatar in SSO OIDC login. Contributed by @ashfame. ([\#13917](https://github.com/matrix-org/synapse/issues/13917)) - Move MSC3030 `/timestamp_to_event` endpoints to stable `v1` location (`/_matrix/client/v1/rooms//timestamp_to_event?ts=&dir=`, `/_matrix/federation/v1/timestamp_to_event/?ts=&dir=`). ([\#14471](https://github.com/matrix-org/synapse/issues/14471)) - Reduce database load of [Client-Server endpoints](https://spec.matrix.org/v1.5/client-server-api/#aggregations) which return bundled aggregations. ([\#14491](https://github.com/matrix-org/synapse/issues/14491), [\#14508](https://github.com/matrix-org/synapse/issues/14508), [\#14510](https://github.com/matrix-org/synapse/issues/14510)) - Add unstable support for an Extensible Events room version (`org.matrix.msc1767.10`) via [MSC1767](https://github.com/matrix-org/matrix-spec-proposals/pull/1767), [MSC3931](https://github.com/matrix-org/matrix-spec-proposals/pull/3931), [MSC3932](https://github.com/matrix-org/matrix-spec-proposals/pull/3932), and [MSC3933](https://github.com/matrix-org/matrix-spec-proposals/pull/3933). ([\#14520](https://github.com/matrix-org/synapse/issues/14520), [\#14521](https://github.com/matrix-org/synapse/issues/14521), [\#14524](https://github.com/matrix-org/synapse/issues/14524)) - Prune user's old devices on login if they have too many. ([\#14038](https://github.com/matrix-org/synapse/issues/14038), [\#14580](https://github.com/matrix-org/synapse/issues/14580)) Deprecations and Removals ------------------------- - Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. ([\#14538](https://github.com/matrix-org/synapse/issues/14538)) --- chat/matrix-synapse/Makefile | 4 ++-- chat/matrix-synapse/PLIST | 14 +++++------- chat/matrix-synapse/cargo-depends.mk | 10 ++++----- chat/matrix-synapse/distinfo | 32 ++++++++++++++-------------- 4 files changed, 28 insertions(+), 32 deletions(-) diff --git a/chat/matrix-synapse/Makefile b/chat/matrix-synapse/Makefile index 73eaa954d259..3da28c52ae30 100644 --- a/chat/matrix-synapse/Makefile +++ b/chat/matrix-synapse/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.69 2022/11/26 00:49:02 gdt Exp $ +# $NetBSD: Makefile,v 1.70 2022/12/12 14:35:14 gdt Exp $ -DISTNAME= matrix-synapse-1.72.0 +DISTNAME= matrix-synapse-1.73.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 164ca7159ae4..df2592d885bc 100644 --- a/chat/matrix-synapse/PLIST +++ b/chat/matrix-synapse/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.38 2022/11/26 00:49:02 gdt Exp $ +@comment $NetBSD: PLIST,v 1.39 2022/12/12 14:35:14 gdt Exp $ bin/export_signing_key bin/generate_config bin/generate_log_config @@ -404,10 +404,10 @@ ${PYSITELIB}/synapse/metrics/__init__.py ${PYSITELIB}/synapse/metrics/__init__.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/_twisted_exposition.py +${PYSITELIB}/synapse/metrics/_twisted_exposition.pyc ${PYSITELIB}/synapse/metrics/_types.py ${PYSITELIB}/synapse/metrics/_types.pyc ${PYSITELIB}/synapse/metrics/background_process_metrics.py @@ -477,12 +477,6 @@ ${PYSITELIB}/synapse/replication/http/state.py ${PYSITELIB}/synapse/replication/http/state.pyc ${PYSITELIB}/synapse/replication/http/streams.py ${PYSITELIB}/synapse/replication/http/streams.pyc -${PYSITELIB}/synapse/replication/slave/__init__.py -${PYSITELIB}/synapse/replication/slave/__init__.pyc -${PYSITELIB}/synapse/replication/slave/storage/__init__.py -${PYSITELIB}/synapse/replication/slave/storage/__init__.pyc -${PYSITELIB}/synapse/replication/slave/storage/_slaved_id_tracker.py -${PYSITELIB}/synapse/replication/slave/storage/_slaved_id_tracker.pyc ${PYSITELIB}/synapse/replication/tcp/__init__.py ${PYSITELIB}/synapse/replication/tcp/__init__.pyc ${PYSITELIB}/synapse/replication/tcp/client.py @@ -1279,6 +1273,8 @@ ${PYSITELIB}/synapse/storage/schema/main/delta/73/10_update_sqlite_fts4_tokenize ${PYSITELIB}/synapse/storage/schema/main/delta/73/10_update_sqlite_fts4_tokenizer.pyc ${PYSITELIB}/synapse/storage/schema/main/delta/73/10login_tokens.sql ${PYSITELIB}/synapse/storage/schema/main/delta/73/11event_search_room_id_n_distinct.sql.postgres +${PYSITELIB}/synapse/storage/schema/main/delta/73/12refactor_device_list_outbound_pokes.sql +${PYSITELIB}/synapse/storage/schema/main/delta/73/13add_device_lists_index.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 diff --git a/chat/matrix-synapse/cargo-depends.mk b/chat/matrix-synapse/cargo-depends.mk index 99c373b9b87b..31e4524fd3f7 100644 --- a/chat/matrix-synapse/cargo-depends.mk +++ b/chat/matrix-synapse/cargo-depends.mk @@ -1,4 +1,4 @@ -# $NetBSD: cargo-depends.mk,v 1.5 2022/11/26 00:49:02 gdt Exp $ +# $NetBSD: cargo-depends.mk,v 1.6 2022/12/12 14:35:14 gdt Exp $ CARGO_CRATE_DEPENDS+= aho-corasick-0.7.19 CARGO_CRATE_DEPENDS+= anyhow-1.0.66 @@ -37,12 +37,12 @@ CARGO_CRATE_DEPENDS+= regex-1.7.0 CARGO_CRATE_DEPENDS+= regex-syntax-0.6.27 CARGO_CRATE_DEPENDS+= ryu-1.0.11 CARGO_CRATE_DEPENDS+= scopeguard-1.1.0 -CARGO_CRATE_DEPENDS+= serde-1.0.147 -CARGO_CRATE_DEPENDS+= serde_derive-1.0.147 -CARGO_CRATE_DEPENDS+= serde_json-1.0.87 +CARGO_CRATE_DEPENDS+= serde-1.0.148 +CARGO_CRATE_DEPENDS+= serde_derive-1.0.148 +CARGO_CRATE_DEPENDS+= serde_json-1.0.89 CARGO_CRATE_DEPENDS+= smallvec-1.10.0 CARGO_CRATE_DEPENDS+= subtle-2.4.1 -CARGO_CRATE_DEPENDS+= syn-1.0.102 +CARGO_CRATE_DEPENDS+= syn-1.0.104 CARGO_CRATE_DEPENDS+= target-lexicon-0.12.4 CARGO_CRATE_DEPENDS+= typenum-1.15.0 CARGO_CRATE_DEPENDS+= unicode-ident-1.0.5 diff --git a/chat/matrix-synapse/distinfo b/chat/matrix-synapse/distinfo index a054408fe4e9..a3ac67868f4c 100644 --- a/chat/matrix-synapse/distinfo +++ b/chat/matrix-synapse/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.50 2022/11/26 00:49:02 gdt Exp $ +$NetBSD: distinfo,v 1.51 2022/12/12 14:35:14 gdt Exp $ BLAKE2s (aho-corasick-0.7.19.crate) = b13c5789625903a58cfdb854bca6eb074329fde83ffb2581686f105d52d31996 SHA512 (aho-corasick-0.7.19.crate) = 0d63d29079650bde4e8a9f8529716b9d8c42db076a1d74715116240c2628173f1e86fb29c08a25ad07a0148e48789ab20de0c186a8b3dfb193cbfeb0d76ae78c @@ -54,9 +54,9 @@ Size (lock_api-0.4.9.crate) = 25685 bytes BLAKE2s (log-0.4.17.crate) = 6994234f481cfe97b62255329a6c6f4a07dcdb193cc54d2c7ddda0519b41d214 SHA512 (log-0.4.17.crate) = 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2 Size (log-0.4.17.crate) = 38028 bytes -BLAKE2s (matrix-synapse-1.72.0.tar.gz) = 49521a2565c17f7991932a73c6825c22094f7235809c4191d07c4c555f9ddae4 -SHA512 (matrix-synapse-1.72.0.tar.gz) = 594da58366fa4ce6eefe2228c84fe1c2b9ecdfb5b80aa5e081c860760129b825454b7c3f10a9282d3054af0185e924746ff659c2e53f229de008f696238285a5 -Size (matrix-synapse-1.72.0.tar.gz) = 8090757 bytes +BLAKE2s (matrix-synapse-1.73.0.tar.gz) = 60cee2bec5dbd48e83dcd21c1b5adca5376ed6a86f855fdf4f1089e0f85b27df +SHA512 (matrix-synapse-1.73.0.tar.gz) = 0735db32316a0feebfdbdeb12c896880d0466656a734113faa07164d29767a1f9b1bf2540324bc30485cb32edc7fcf9650cbb5ba042a4331767c128167442ba6 +Size (matrix-synapse-1.73.0.tar.gz) = 8103527 bytes BLAKE2s (memchr-2.5.0.crate) = afa77d7fdf25c72d251cda6b41f3fe065a748b101e3716aa65f0d6144f74da38 SHA512 (memchr-2.5.0.crate) = 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa Size (memchr-2.5.0.crate) = 65812 bytes @@ -114,24 +114,24 @@ Size (ryu-1.0.11.crate) = 47007 bytes BLAKE2s (scopeguard-1.1.0.crate) = d3884942354d25131c602303463c5686e520bd94daf216a810679acabf59b82e SHA512 (scopeguard-1.1.0.crate) = 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d Size (scopeguard-1.1.0.crate) = 11470 bytes -BLAKE2s (serde-1.0.147.crate) = 0d1e68a65a87e2f11520ce29b446289c1382d0cdd1138dd4fe77531e22e94f02 -SHA512 (serde-1.0.147.crate) = d993bd86c61bba602faf7286ff21d36c5d8c83176c5bbb203cb284a3f89dbc8a1ca893a09eb2657f9e98ccb5c5287f44aac06d2e60db96e78d99ee40bd1fe1b0 -Size (serde-1.0.147.crate) = 76697 bytes -BLAKE2s (serde_derive-1.0.147.crate) = 2c0f0f616403d6d716e44b5945edce17d714775c34667f0c11e318a97eaa1fd0 -SHA512 (serde_derive-1.0.147.crate) = 434d65dc0d78c7c1c3f8832221389dc4b0c5d74d605ce1d2d660c2df9a92f5e5d0c6d543763e1462c58d6ea18001c823ca594e3dac92a47d8fe48319a5c52e59 -Size (serde_derive-1.0.147.crate) = 54861 bytes -BLAKE2s (serde_json-1.0.87.crate) = d65fc8cb44fcc64160de7d5fdba7ce938b5b054d3df50805b7172222d66ed5d4 -SHA512 (serde_json-1.0.87.crate) = 77b90340aaaa0fb477b33e6628ed2ea0fb53cff1e2b5724a3474e24b2bfc9bff077633d9581e41dd96b2a0e167549e992d238bb09c627fb5680996b39583c4cc -Size (serde_json-1.0.87.crate) = 144383 bytes +BLAKE2s (serde-1.0.148.crate) = f8d8e01545832544496092ab1b895b287d3be939f684fc5fbfcf03ed947ff0c2 +SHA512 (serde-1.0.148.crate) = 89005c9372042bc509115604112997ddbc8df60cb6e033b2f83bb303844e1472ad538f5a8120fdd8fb6e9177614e5b16d4ed6ffea722d162eb801e5a564c7455 +Size (serde-1.0.148.crate) = 76637 bytes +BLAKE2s (serde_derive-1.0.148.crate) = dee5fbe8fa4b08639b05cdcff880938b4e3b4e6ae97f252ba416c0faa12a70fb +SHA512 (serde_derive-1.0.148.crate) = c011e252ed1fa7578a51241a6147ddfdd462f3e1171666c193895691a295f72766cc48e325f14d389a128a8c146ef16454a7f257a52abae45e83fe5f23dffa12 +Size (serde_derive-1.0.148.crate) = 55562 bytes +BLAKE2s (serde_json-1.0.89.crate) = ba78b0c7b8f67aee50eec959077a1ab8ff389deff2c7c99d3a0f52e05179b9e6 +SHA512 (serde_json-1.0.89.crate) = 4bafa5693977e129f5787f2ff10f914e2a7740bf7e631bcdf51b27d0d9e5517873184b56649914371e1881107e7ed0a8fedf487617db334d4a7a4bf95c6c16a3 +Size (serde_json-1.0.89.crate) = 144638 bytes BLAKE2s (smallvec-1.10.0.crate) = 41329e6ed51a5092aa320d548b7b5f9f343f67bd54472d6fbc30a39ad5128860 SHA512 (smallvec-1.10.0.crate) = a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae Size (smallvec-1.10.0.crate) = 31564 bytes BLAKE2s (subtle-2.4.1.crate) = e8706acb82af8e762dd273696394d3cd582d29db6ba06c4cf6df410374df3aaa SHA512 (subtle-2.4.1.crate) = 7fd8234b7ffa3ca7e473539cad958df0842186e1dd735905e0d4977564f40a5f2e18b58180fcbe52614a00964dc150bd9f6964500847ea658f22bffe030f5c6a Size (subtle-2.4.1.crate) = 12630 bytes -BLAKE2s (syn-1.0.102.crate) = 7cb38c23b1ac82e85ba155d9ac853d41b62d8237a16efd3f1c909062d33b5e1d -SHA512 (syn-1.0.102.crate) = c9a2b2cf216c3d821decd488ebb49743f2f43940a879856e3a15d2352843c405e6f164c11225e904d18b32a5cd2bd7fcdfa74df40ec5567faeedffe5f523989c -Size (syn-1.0.102.crate) = 235699 bytes +BLAKE2s (syn-1.0.104.crate) = 2f9bbe7a67dd23264e0acb7822334f5196828799bc801f37b064e63ed1ea5030 +SHA512 (syn-1.0.104.crate) = 8feabd8e6b1b5eb15077d7c92f0b3269e848d33b1f233b3df343b6d445ed332fb23e0222911a13edfd82cee969d25c43434268cd7a20ce1c0a608a1bbe327b29 +Size (syn-1.0.104.crate) = 236683 bytes BLAKE2s (target-lexicon-0.12.4.crate) = 8b8256e5c435c0e94dfb302a8d10425e9f755b6425636530de8fc38ecd10da27 SHA512 (target-lexicon-0.12.4.crate) = 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06 Size (target-lexicon-0.12.4.crate) = 23020 bytes