0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 22:28:54 +01:00
synapse/changelog.d
Shay 03bccd542b
Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675)
* add class UnpersistedEventContext

* modify create new client event to create unpersistedeventcontexts

* persist event contexts after creation

* fix tests to persist unpersisted event contexts

* cleanup

* misc lints + cleanup

* changelog + fix comments

* lints

* fix batch insertion?

* reduce redundant calculation

* add unpersisted event classes

* rework compute_event_context, split into function that returns unpersisted event context and then persists it

* use calculate_context_info to create unpersisted event contexts

* update typing

* $%#^&*

* black

* fix comments and consolidate classes, use attr.s for class

* requested changes

* lint

* requested changes

* requested changes

* refactor to be stupidly explicit

* clearer renaming and flow

* make partial state non-optional

* update docstrings

---------

Co-authored-by: Erik Johnston <erik@matrix.org>
2023-02-09 13:05:02 -08:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
14605.bugfix Respond correctly to unknown methods on known endpoints (#14605) 2023-02-09 13:04:24 -05:00
14675.misc Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00
14840.misc Do not always start a db txn on Postgres (#14840) 2023-02-09 19:57:01 +00:00
14959.doc Clarify limitations of SRV delegation in documentation (#14959) 2023-02-08 10:44:19 +00:00
14977.misc Limit concurrent event creation for a room to avoid state resolution when sending bursts of events to a local room (#14977) 2023-02-08 11:25:11 -08:00
15004.feature MSC3873: Escape keys when flattening dicts. (#15004) 2023-02-08 13:09:41 -05:00
15008.misc Typecheck tests.rest.media.v1.test_media_storage (#15008) 2023-02-07 15:24:44 +00:00
15020.misc Bump cryptography from 38.0.4 to 39.0.1 (#15020) 2023-02-08 11:26:10 +00:00
15022.doc Document how to run Synapse (#15022) 2023-02-08 12:58:36 +00:00
15026.misc Explicit disabling of disallowed_untyped_defs. (#15026) 2023-02-08 18:49:18 +00:00
15027.misc Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
15028.misc Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
15031.misc Proper types for tests.module_api (#15031) 2023-02-09 00:23:35 +00:00
15033.misc Bump ruff version from 0.0.230 to 0.0.237. (#15033) 2023-02-09 18:18:42 +00:00
15035.misc Add final type hint to synapse.server. (#15035) 2023-02-09 09:49:04 -05:00
15038.bugfix Avoid mutating cached room aliases. (#15038) 2023-02-09 15:56:02 +00:00