synapse/changelog.d
Sean Quah 7ff22d6da4
Fix LruCache corruption bug with a size_callback that can return 0 (#11454)
When all entries in an `LruCache` have a size of 0 according to the
provided `size_callback`, and `drop_from_cache` is called on a cache
node, the node would be unlinked from the LRU linked list but remain in
the cache dictionary. An assertion would be later be tripped due to the
inconsistency.

Avoid unintentionally calling `__len__` and use a strict `is None`
check instead when unwrapping the weak reference.
2021-11-30 16:28:02 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
11029.misc disallow-untyped-defs for the module_api (#11029) 2021-11-29 11:28:12 +00:00
11220.bugfix Fix using MSC2716 batch sending with event persistence workers (#11220) 2021-11-29 13:13:23 +00:00
11306.feature Make background updates controllable via a plugin (#11306) 2021-11-29 17:57:06 +01:00
11329.feature Support the stable /hierarchy endpoint from MSC2946 (#11329) 2021-11-29 14:32:20 -05:00
11356.misc Annotate string constants in synapse.api.constants with Final (#11356) 2021-11-25 16:14:23 +00:00
11376.bugfix Track ongoing event fetches correctly (again) (#11376) 2021-11-26 13:47:24 +00:00
11409.misc Improved push typing (#11409) 2021-11-30 11:49:20 +00:00
11411.misc Add type hints to synapse/storage/databases/main/events_worker.py (#11411) 2021-11-26 18:41:31 +00:00
11413.bugfix Return the stable event field from /send_join per MSC3083. (#11413) 2021-11-29 15:43:20 +00:00
11415.doc Update the media repository documentation (#11415) 2021-11-29 15:37:56 +00:00
11417.misc Refactor backfilled into specific behavior function arguments (_persist_events_and_state_updates) (#11417) 2021-11-29 16:01:54 -06:00
11425.feature Support expiry of refresh tokens and expiry of the overall session when refresh tokens are in use. (#11425) 2021-11-26 14:27:14 +00:00
11428.misc Add type annotations to some of the configuration surrounding refresh tokens. (#11428) 2021-11-29 13:34:14 +00:00
11429.docker Create healthcheck script for synapse-workers container (#11429) 2021-11-26 14:05:20 +00:00
11430.misc Update MSC2918 refresh token support to confirm with the latest revision: accept the refresh_tokens parameter in the request body rather than in the URL parameters. (#11430) 2021-11-26 19:06:16 +00:00
11439.bugfix Bump ijson dependency to 3.1 (#11438) (#11439) 2021-11-26 20:51:22 +00:00
11440.bugfix Fix perspectives requests for multiple keys for the same server (#11440) 2021-11-29 13:15:36 +00:00
11441.bugfix Fix changelog filename in #11441 2021-11-29 11:15:28 +00:00
11452.misc Convert status codes to HTTPStatus in synapse.rest.admin (#11452) 2021-11-29 22:19:45 +00:00
11453.misc Eliminate a few Anys in LruCache type hints (#11453) 2021-11-30 15:39:07 +00:00
11454.bugfix Fix LruCache corruption bug with a size_callback that can return 0 (#11454) 2021-11-30 16:28:02 +00:00
11455.misc Convert status codes to HTTPStatus in tests.rest.admin (#11455) 2021-11-30 09:53:54 +00:00
11459.feature synctl stop: wait for processes to exit (#11459) 2021-11-30 11:51:12 +00:00
11460.misc Add missing copyright header. (#11460) 2021-11-30 13:23:53 +00:00
11461.misc Remove unnecessary json.dumps from tests.rest.admin (#11461) 2021-11-30 14:51:04 +00:00