Skip to content

Commit

Permalink
Update chat/matrix-synapse to 1.78.0
Browse files Browse the repository at this point in the history
Synapse 1.78.0 (2023-02-28)
===========================

Bugfixes
--------

- Fix a bug introduced in Synapse 1.76 where 5s delays would occasionally occur in deployments using workers. ([\#15150](matrix-org/synapse#15150))


Synapse 1.78.0rc1 (2023-02-21)
==============================

Features
--------

- Implement the experimental `exact_event_match` push rule condition from [MSC3758](matrix-org/matrix-spec-proposals#3758). ([\#14964](matrix-org/synapse#14964))
- Add account data to the command line [user data export tool](https://matrix-org.github.io/synapse/v1.78/usage/administration/admin_faq.html#how-can-i-export-user-data). ([\#14969](matrix-org/synapse#14969))
- Implement [MSC3873](matrix-org/matrix-spec-proposals#3873) to disambiguate push rule keys with dots in them. ([\#15004](matrix-org/synapse#15004))
- Allow Synapse to use a specific Redis [logical database](https://redis.io/commands/select/) in worker-mode deployments. ([\#15034](matrix-org/synapse#15034))
- Tag opentracing spans for federation requests with the name of the worker serving the request. ([\#15042](matrix-org/synapse#15042))
- Implement the experimental `exact_event_property_contains` push rule condition from [MSC3966](matrix-org/matrix-spec-proposals#3966). ([\#15045](matrix-org/synapse#15045))
- Remove spurious `dont_notify` action from the defaults for the `.m.rule.reaction` pushrule. ([\#15073](matrix-org/synapse#15073))
- Update the error code returned when user sends a duplicate annotation. ([\#15075](matrix-org/synapse#15075))


Bugfixes
--------

- Prevent clients from reporting nonexistent events. ([\#13779](matrix-org/synapse#13779))
- Return spec-compliant JSON errors when unknown endpoints are requested. ([\#14605](matrix-org/synapse#14605))
- Fix a long-standing bug where the room aliases returned could be corrupted. ([\#15038](matrix-org/synapse#15038))
- Fix a bug introduced in Synapse 1.76.0 where partially-joined rooms could not be deleted using the [purge room API](https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#delete-room-api). ([\#15068](matrix-org/synapse#15068))
- Fix a long-standing bug where federated joins would fail if the first server in the list of servers to try is not in the room. ([\#15074](matrix-org/synapse#15074))
- Fix a bug introduced in Synapse v1.74.0 where searching with colons when using ICU for search term tokenisation would fail with an error. ([\#15079](matrix-org/synapse#15079))
- Reduce the likelihood of a rare race condition where rejoining a restricted room over federation would fail. ([\#15080](matrix-org/synapse#15080))
- Fix a bug introduced in Synapse 1.76 where workers would fail to start if the `health` listener was configured. ([\#15096](matrix-org/synapse#15096))
- Fix a bug introduced in Synapse 1.75 where the [portdb script](https://matrix-org.github.io/synapse/release-v1.78/postgres.html#porting-from-sqlite) would fail to run after a room had been faster-joined. ([\#15108](matrix-org/synapse#15108))


Improved Documentation
----------------------

- Document how to start Synapse with Poetry. Contributed by @thezaidbintariq. ([\#14892](matrix-org/synapse#14892), [\#15022](matrix-org/synapse#15022))
- Update delegation documentation to clarify that SRV DNS delegation does not eliminate all needs to serve files from .well-known locations. Contributed by @williamkray. ([\#14959](matrix-org/synapse#14959))
- Fix a mistake in registration_shared_secret_path docs. ([\#15078](matrix-org/synapse#15078))
- Refer to a more recent blog post on the [Database Maintenance Tools](https://matrix-org.github.io/synapse/latest/usage/administration/database_maintenance_tools.html) page. Contributed by @jahway603. ([\#15083](matrix-org/synapse#15083))


Internal Changes
----------------

- Re-type hint some collections as read-only. ([\#13755](matrix-org/synapse#13755))
- Faster joins: don't stall when another user joins during a partial-state room resync. ([\#14606](matrix-org/synapse#14606))
- Add a class `UnpersistedEventContext` to allow for the batching up of storing state groups. ([\#14675](matrix-org/synapse#14675))
- Add a check to ensure that locked dependencies have source distributions available. ([\#14742](matrix-org/synapse#14742))
- Tweak comment on `_is_local_room_accessible` as part of room visibility in `/hierarchy` to clarify the condition for a room being visible. ([\#14834](matrix-org/synapse#14834))
- Prevent `WARNING: there is already a transaction in progress` lines appearing in PostgreSQL's logs on some occasions. ([\#14840](matrix-org/synapse#14840))
- Use `StrCollection` to avoid potential bugs with `Collection[str]`. ([\#14929](matrix-org/synapse#14929))
- Improve performance of `/sync` in a few situations. ([\#14973](matrix-org/synapse#14973))
- Limit concurrent event creation for a room to avoid state resolution when sending bursts of events to a local room. ([\#14977](matrix-org/synapse#14977))
- Skip calculating unread push actions in /sync when enable_push is false. ([\#14980](matrix-org/synapse#14980))
- Add a schema dump symlinks inside `contrib`, to make it easier for IDEs to interrogate Synapse's database schema. ([\#14982](matrix-org/synapse#14982))
- Improve type hints. ([\#15008](matrix-org/synapse#15008), [\#15026](matrix-org/synapse#15026), [\#15027](matrix-org/synapse#15027), [\#15028](matrix-org/synapse#15028), [\#15031](matrix-org/synapse#15031), [\#15035](matrix-org/synapse#15035), [\#15052](matrix-org/synapse#15052), [\#15072](matrix-org/synapse#15072), [\#15084](matrix-org/synapse#15084))
- Update [MSC3952](matrix-org/matrix-spec-proposals#3952) support based on changes to the MSC. ([\#15037](matrix-org/synapse#15037))
- Avoid mutating a cached value in `get_user_devices_from_cache`. ([\#15040](matrix-org/synapse#15040))
- Fix a rare exception in logs on start up. ([\#15041](matrix-org/synapse#15041))
- Update pyo3-log to v0.8.1. ([\#15043](matrix-org/synapse#15043))
- Avoid mutating cached values in `_generate_sync_entry_for_account_data`. ([\#15047](matrix-org/synapse#15047))
- Refactor arguments of `try_unbind_threepid` and `_try_unbind_threepid_with_id_server` to not use dictionaries. ([\#15053](matrix-org/synapse#15053))
- Merge debug logging from the hotfixes branch. ([\#15054](matrix-org/synapse#15054))
- Faster joins: omit device list updates originating from partial state rooms in /sync responses without lazy loading of members enabled. ([\#15069](matrix-org/synapse#15069))
- Fix clashing database transaction name. ([\#15070](matrix-org/synapse#15070))
- Upper-bound frozendict dependency. This works around us being unable to test installing our wheels against Python 3.11 in CI. ([\#15114](matrix-org/synapse#15114))
- Tweak logging for when a worker waits for its view of a replication stream to catch up. ([\#15120](matrix-org/synapse#15120))

<details><summary>Locked dependency updates</summary>

- Bump bleach from 5.0.1 to 6.0.0. ([\#15059](matrix-org/synapse#15059))
- Bump cryptography from 38.0.4 to 39.0.1. ([\#15020](matrix-org/synapse#15020))
- Bump ruff version from 0.0.230 to 0.0.237. ([\#15033](matrix-org/synapse#15033))
- Bump dtolnay/rust-toolchain from 9cd00a88a73addc8617065438eff914dd08d0955 to 25dc93b901a87e864900a8aec6c12e9aa794c0c3. ([\#15060](matrix-org/synapse#15060))
- Bump systemd-python from 234 to 235. ([\#15061](matrix-org/synapse#15061))
- Bump serde_json from 1.0.92 to 1.0.93. ([\#15062](matrix-org/synapse#15062))
- Bump types-requests from 2.28.11.8 to 2.28.11.12. ([\#15063](matrix-org/synapse#15063))
- Bump types-pillow from 9.4.0.5 to 9.4.0.10. ([\#15064](matrix-org/synapse#15064))
- Bump sentry-sdk from 1.13.0 to 1.15.0. ([\#15065](matrix-org/synapse#15065))
- Bump types-jsonschema from 4.17.0.3 to 4.17.0.5. ([\#15099](matrix-org/synapse#15099))
- Bump types-bleach from 5.0.3.1 to 6.0.0.0. ([\#15100](matrix-org/synapse#15100))
- Bump dtolnay/rust-toolchain from 25dc93b901a87e864900a8aec6c12e9aa794c0c3 to e12eda571dc9a5ee5d58eecf4738ec291c66f295. ([\#15101](matrix-org/synapse#15101))
- Bump dawidd6/action-download-artifact from 2.24.3 to 2.25.0. ([\#15102](matrix-org/synapse#15102))
- Bump types-pillow from 9.4.0.10 to 9.4.0.13. ([\#15104](matrix-org/synapse#15104))
- Bump types-setuptools from 67.1.0.0 to 67.3.0.1. ([\#15105](matrix-org/synapse#15105))


</details>
  • Loading branch information
Midar committed Mar 5, 2023
1 parent 372ef30 commit 4fc59f4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions chat/matrix-synapse/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.72 2023/03/01 20:47:37 js Exp $
# $NetBSD: Makefile,v 1.73 2023/03/05 10:15:38 js Exp $

DISTNAME= matrix-synapse-1.77.0
DISTNAME= matrix-synapse-1.78.0
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/}
GITHUB_PROJECT= synapse
Expand Down
6 changes: 3 additions & 3 deletions chat/matrix-synapse/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: cargo-depends.mk,v 1.8 2023/03/01 20:47:37 js Exp $
# $NetBSD: cargo-depends.mk,v 1.9 2023/03/05 10:15:38 js Exp $

CARGO_CRATE_DEPENDS+= aho-corasick-0.7.19
CARGO_CRATE_DEPENDS+= anyhow-1.0.69
Expand Down Expand Up @@ -27,7 +27,7 @@ CARGO_CRATE_DEPENDS+= proc-macro2-1.0.46
CARGO_CRATE_DEPENDS+= pyo3-0.17.3
CARGO_CRATE_DEPENDS+= pyo3-build-config-0.17.3
CARGO_CRATE_DEPENDS+= pyo3-ffi-0.17.3
CARGO_CRATE_DEPENDS+= pyo3-log-0.7.0
CARGO_CRATE_DEPENDS+= pyo3-log-0.8.1
CARGO_CRATE_DEPENDS+= pyo3-macros-0.17.3
CARGO_CRATE_DEPENDS+= pyo3-macros-backend-0.17.3
CARGO_CRATE_DEPENDS+= pythonize-0.17.0
Expand All @@ -39,7 +39,7 @@ CARGO_CRATE_DEPENDS+= ryu-1.0.11
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= serde-1.0.152
CARGO_CRATE_DEPENDS+= serde_derive-1.0.152
CARGO_CRATE_DEPENDS+= serde_json-1.0.92
CARGO_CRATE_DEPENDS+= serde_json-1.0.93
CARGO_CRATE_DEPENDS+= smallvec-1.10.0
CARGO_CRATE_DEPENDS+= subtle-2.4.1
CARGO_CRATE_DEPENDS+= syn-1.0.104
Expand Down
20 changes: 10 additions & 10 deletions chat/matrix-synapse/distinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.53 2023/03/01 20:47:37 js Exp $
$NetBSD: distinfo,v 1.54 2023/03/05 10:15:38 js Exp $

BLAKE2s (aho-corasick-0.7.19.crate) = b13c5789625903a58cfdb854bca6eb074329fde83ffb2581686f105d52d31996
SHA512 (aho-corasick-0.7.19.crate) = 0d63d29079650bde4e8a9f8529716b9d8c42db076a1d74715116240c2628173f1e86fb29c08a25ad07a0148e48789ab20de0c186a8b3dfb193cbfeb0d76ae78c
Expand Down Expand Up @@ -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.77.0.tar.gz) = c7114344138733dbbc4a690dd8bc09205d66b131b70a1078afa9a5a5e2fe4e92
SHA512 (matrix-synapse-1.77.0.tar.gz) = 7e9efda255e44efb1916c903ece4d6eacc4ee069d4415bc0bd2723aef655101cfe40be9cfd1a321b1f434e6df0482c792d2dbba8b6c05c1f1ce14cac0a16926b
Size (matrix-synapse-1.77.0.tar.gz) = 8180884 bytes
BLAKE2s (matrix-synapse-1.78.0.tar.gz) = a68fd53f07d5b1e503e4e5f361f868c5c653eb29940ccb44ac77ae8b54030a68
SHA512 (matrix-synapse-1.78.0.tar.gz) = fef3bdac42fc8ca6a8642eae840edaba789ccbda78b3a749e90ca5785e232a5ac9e8a3185dfc27f7c6f6f7fdcdb28b53483f884df0b3fc7f7ba9c18e73350698
Size (matrix-synapse-1.78.0.tar.gz) = 8215627 bytes
BLAKE2s (memchr-2.5.0.crate) = afa77d7fdf25c72d251cda6b41f3fe065a748b101e3716aa65f0d6144f74da38
SHA512 (memchr-2.5.0.crate) = 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
Size (memchr-2.5.0.crate) = 65812 bytes
Expand Down Expand Up @@ -84,9 +84,9 @@ Size (pyo3-build-config-0.17.3.crate) = 29230 bytes
BLAKE2s (pyo3-ffi-0.17.3.crate) = c379b7c6c5bebb9cb63fdd92700a00045877e3979ea40555b0431c0dcf54f4d7
SHA512 (pyo3-ffi-0.17.3.crate) = c08481d1530207fee544a5dde14253415e5451c1c013b86ac1f0e9bcb3c1df7866764cd11bad523105b6821725560329b89ff689b3aa2f0698cdab148d0fc12e
Size (pyo3-ffi-0.17.3.crate) = 62854 bytes
BLAKE2s (pyo3-log-0.7.0.crate) = 44920cbeda4195a07452402bbeacf188a5a70bb404e6f72a88ece849ab0f3446
SHA512 (pyo3-log-0.7.0.crate) = a9170e53a8f745a3f8c271acb629461b902d403e76b47c218660d1e9ab17fa67e44c250b60c15c11c35e68c18135c357c7a6797a91018d42b660b5331e4ee507
Size (pyo3-log-0.7.0.crate) = 13774 bytes
BLAKE2s (pyo3-log-0.8.1.crate) = 35c2eece928e58f57bf3653a4feb0282f00ed71289dd1b5b2112b870b854729a
SHA512 (pyo3-log-0.8.1.crate) = d69f7c8e3d1997ca06201c15500a2e0e043f7c0b39c8bd826ce9dbced220b4b0fde0c31b865fbc41f94f188e4b9ea15b49e2e2e42068a82678668f3a51a2fca1
Size (pyo3-log-0.8.1.crate) = 14082 bytes
BLAKE2s (pyo3-macros-0.17.3.crate) = 7cacd825b50a94ddc1c2698fa095fd868e9e8fab54b5edf12ddb024a15c00d09
SHA512 (pyo3-macros-0.17.3.crate) = f99d38ea69b1d46599d203908d12eb3fe4869a48b21b3eaba0c9c8e52b9f2b3c5ea72505dcb9b3330450dd724eeba859eef724fe9624ebbd8bd3cbcff7372df1
Size (pyo3-macros-0.17.3.crate) = 7257 bytes
Expand Down Expand Up @@ -120,9 +120,9 @@ Size (serde-1.0.152.crate) = 77091 bytes
BLAKE2s (serde_derive-1.0.152.crate) = 7d9338a207fef91ddad2a810cb756832ee8fa19bcebbb0325c7378d34c10c670
SHA512 (serde_derive-1.0.152.crate) = 2f4dffb5671b4758f0b7dc0939f6b5cfe3b3ba02a53c62c75b5a0ec89d2db26bdd95f3e269d1fd4b07ec921bc0ca5f0741c26fdfcd25bd6532ac698c6c701e91
Size (serde_derive-1.0.152.crate) = 55586 bytes
BLAKE2s (serde_json-1.0.92.crate) = fe2cc421f5ef9b151e9f9367465dc0befd910e080dac19587fa5c7addd6d79d7
SHA512 (serde_json-1.0.92.crate) = 4fa760e4105484af6def828894a216059f037ca0286555e4f1ac56e9442ed781bb4ed5c286d264910602992d66cda0d0c15a077d394c21b148b39b389d2f1ee3
Size (serde_json-1.0.92.crate) = 144180 bytes
BLAKE2s (serde_json-1.0.93.crate) = 098a50b6692f1fdbc0721e14bf8c477179bf4adffd953b16d37b4e010bc716b9
SHA512 (serde_json-1.0.93.crate) = b6e6f417466f6715a8cb30df2083a82dda794e9fd5fdb1e0b9c97ffae40bec57878580385da0c0e9e5e3ba76aaff629a9dcf40485aca9a288dda2564093d797e
Size (serde_json-1.0.93.crate) = 144383 bytes
BLAKE2s (smallvec-1.10.0.crate) = 41329e6ed51a5092aa320d548b7b5f9f343f67bd54472d6fbc30a39ad5128860
SHA512 (smallvec-1.10.0.crate) = a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae
Size (smallvec-1.10.0.crate) = 31564 bytes
Expand Down

0 comments on commit 4fc59f4

Please sign in to comment.