element-hq/synapse (matrixdotorg/synapse)
### [`v1.116.0`](https://redirect.github.com/element-hq/synapse/releases/tag/v1.116.0)
[Compare Source](https://redirect.github.com/element-hq/synapse/compare/v1.115.0...v1.116.0)
##### Synapse 1.116.0 (2024-10-01)
No significant changes since 1.116.0rc2.
##### Synapse 1.116.0rc2 (2024-09-26)
##### Features
- Add implementation of restricting who can overwrite a state event as proposed by [MSC3757](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/3757). ([#17513](https://redirect.github.com/element-hq/synapse/issues/17513))
##### Synapse 1.116.0rc1 (2024-09-25)
##### Features
- Add initial implementation of delayed events as proposed by [MSC4140](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4140). ([#17326](https://redirect.github.com/element-hq/synapse/issues/17326))
- Add an asynchronous Admin API endpoint [to redact all a user's events](https://element-hq.github.io/synapse/v1.116/admin_api/user_admin_api.html#redact-all-the-events-of-a-user),
and [an endpoint to check on the status of that redaction task](https://element-hq.github.io/synapse/v1.116/admin_api/user_admin_api.html#check-the-status-of-a-redaction-process). ([#17506](https://redirect.github.com/element-hq/synapse/issues/17506))
- Add support for the `tags` and `not_tags` filters for [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17662](https://redirect.github.com/element-hq/synapse/issues/17662))
- Guests can use the new media endpoints to download media, as described by [MSC4189](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4189). ([#17675](https://redirect.github.com/element-hq/synapse/issues/17675))
- Add config option `turn_shared_secret_path`. ([#17690](https://redirect.github.com/element-hq/synapse/issues/17690))
- Return room tags in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync account data extension. ([#17707](https://redirect.github.com/element-hq/synapse/issues/17707))
##### Bugfixes
- Make sure we get up-to-date state information when using the new [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync tables to derive room membership. ([#17692](https://redirect.github.com/element-hq/synapse/issues/17692))
- Fix bug where room account data would not correctly be sent down [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync for old rooms. ([#17695](https://redirect.github.com/element-hq/synapse/issues/17695))
- Fix a bug in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync which could prevent /sync from working for certain user accounts. ([#17727](https://redirect.github.com/element-hq/synapse/issues/17727), [#17733](https://redirect.github.com/element-hq/synapse/issues/17733))
- Ignore invites from ignored users in Sliding Sync. ([#17729](https://redirect.github.com/element-hq/synapse/issues/17729))
- Fix bug in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync where the server would incorrectly return a negative bump stamp, which caused Element X apps to stop syncing. ([#17748](https://redirect.github.com/element-hq/synapse/issues/17748))
##### Internal Changes
- Import pydantic objects from the `_pydantic_compat` module.
This allows `check_pydantic_models.py` to mock those pydantic objects
only in the synapse module, and not interfere with pydantic objects in
external dependencies. ([#17667](https://redirect.github.com/element-hq/synapse/issues/17667))
- Use [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync tables as a bulk shortcut for getting the max `event_stream_ordering` of rooms. ([#17693](https://redirect.github.com/element-hq/synapse/issues/17693))
- Speed up [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync requests a bit where there are many room changes. ([#17696](https://redirect.github.com/element-hq/synapse/issues/17696))
- Refactor [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync filter unit tests so the sliding sync API has better test coverage. ([#17703](https://redirect.github.com/element-hq/synapse/issues/17703))
- Fetch `bump_stamp`s more efficiently in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17723](https://redirect.github.com/element-hq/synapse/issues/17723))
- Shortcut for checking if certain background updates have completed (utilized in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync). ([#17724](https://redirect.github.com/element-hq/synapse/issues/17724))
- More efficiently fetch rooms for [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17725](https://redirect.github.com/element-hq/synapse/issues/17725))
- Fix `_bulk_get_max_event_pos` being inefficient. ([#17728](https://redirect.github.com/element-hq/synapse/issues/17728))
- Add cache to `get_tags_for_room(...)`. ([#17730](https://redirect.github.com/element-hq/synapse/issues/17730))
- Small performance improvement in speeding up [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17731](https://redirect.github.com/element-hq/synapse/issues/17731))
- Minor speed up of initial [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync requests. ([#17734](https://redirect.github.com/element-hq/synapse/issues/17734))
- Remove usage of the deprecated `cgi` module, deprecated in Python 3.11 and removed in Python 3.13. ([#17741](https://redirect.github.com/element-hq/synapse/issues/17741))
- Fix typing of a variable that is not `Unknown` anymore after updating `treq`. ([#17744](https://redirect.github.com/element-hq/synapse/issues/17744))
##### Updates to locked dependencies
- Bump anyhow from 1.0.86 to 1.0.89. ([#17685](https://redirect.github.com/element-hq/synapse/issues/17685), [#17716](https://redirect.github.com/element-hq/synapse/issues/17716))
- Bump bytes from 1.7.1 to 1.7.2. ([#17743](https://redirect.github.com/element-hq/synapse/issues/17743))
- Bump cryptography from 43.0.0 to 43.0.1. ([#17689](https://redirect.github.com/element-hq/synapse/issues/17689))
- Bump idna from 3.8 to 3.10. ([#17758](https://redirect.github.com/element-hq/synapse/issues/17758))
- Bump msgpack from 1.0.8 to 1.1.0. ([#17759](https://redirect.github.com/element-hq/synapse/issues/17759))
- Bump phonenumbers from 8.13.44 to 8.13.45. ([#17762](https://redirect.github.com/element-hq/synapse/issues/17762))
- Bump prometheus-client from 0.20.0 to 0.21.0. ([#17746](https://redirect.github.com/element-hq/synapse/issues/17746))
- Bump pyasn1 from 0.6.0 to 0.6.1. ([#17714](https://redirect.github.com/element-hq/synapse/issues/17714))
- Bump pyasn1-modules from 0.4.0 to 0.4.1. ([#17747](https://redirect.github.com/element-hq/synapse/issues/17747))
- Bump pydantic from 2.8.2 to 2.9.2. ([#17756](https://redirect.github.com/element-hq/synapse/issues/17756))
- Bump python-multipart from 0.0.9 to 0.0.10. ([#17745](https://redirect.github.com/element-hq/synapse/issues/17745))
- Bump ruff from 0.6.4 to 0.6.7. ([#17715](https://redirect.github.com/element-hq/synapse/issues/17715), [#17760](https://redirect.github.com/element-hq/synapse/issues/17760))
- Bump sentry-sdk from 2.13.0 to 2.14.0. ([#17712](https://redirect.github.com/element-hq/synapse/issues/17712))
- Bump serde from 1.0.209 to 1.0.210. ([#17686](https://redirect.github.com/element-hq/synapse/issues/17686))
- Bump serde_json from 1.0.127 to 1.0.128. ([#17687](https://redirect.github.com/element-hq/synapse/issues/17687))
- Bump treq from 23.11.0 to 24.9.1. ([#17744](https://redirect.github.com/element-hq/synapse/issues/17744))
- Bump types-pyyaml from 6.0.12.20240808 to 6.0.12.20240917. ([#17755](https://redirect.github.com/element-hq/synapse/issues/17755))
- Bump types-requests from 2.32.0.20240712 to 2.32.0.20240914. ([#17713](https://redirect.github.com/element-hq/synapse/issues/17713))
- Bump types-setuptools from 74.1.0.20240907 to 75.1.0.20240917. ([#17757](https://redirect.github.com/element-hq/synapse/issues/17757))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v1.115.0
->v1.116.0
Release Notes
element-hq/synapse (matrixdotorg/synapse)
### [`v1.116.0`](https://redirect.github.com/element-hq/synapse/releases/tag/v1.116.0) [Compare Source](https://redirect.github.com/element-hq/synapse/compare/v1.115.0...v1.116.0) ##### Synapse 1.116.0 (2024-10-01) No significant changes since 1.116.0rc2. ##### Synapse 1.116.0rc2 (2024-09-26) ##### Features - Add implementation of restricting who can overwrite a state event as proposed by [MSC3757](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/3757). ([#17513](https://redirect.github.com/element-hq/synapse/issues/17513)) ##### Synapse 1.116.0rc1 (2024-09-25) ##### Features - Add initial implementation of delayed events as proposed by [MSC4140](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4140). ([#17326](https://redirect.github.com/element-hq/synapse/issues/17326)) - Add an asynchronous Admin API endpoint [to redact all a user's events](https://element-hq.github.io/synapse/v1.116/admin_api/user_admin_api.html#redact-all-the-events-of-a-user), and [an endpoint to check on the status of that redaction task](https://element-hq.github.io/synapse/v1.116/admin_api/user_admin_api.html#check-the-status-of-a-redaction-process). ([#17506](https://redirect.github.com/element-hq/synapse/issues/17506)) - Add support for the `tags` and `not_tags` filters for [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17662](https://redirect.github.com/element-hq/synapse/issues/17662)) - Guests can use the new media endpoints to download media, as described by [MSC4189](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4189). ([#17675](https://redirect.github.com/element-hq/synapse/issues/17675)) - Add config option `turn_shared_secret_path`. ([#17690](https://redirect.github.com/element-hq/synapse/issues/17690)) - Return room tags in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync account data extension. ([#17707](https://redirect.github.com/element-hq/synapse/issues/17707)) ##### Bugfixes - Make sure we get up-to-date state information when using the new [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync tables to derive room membership. ([#17692](https://redirect.github.com/element-hq/synapse/issues/17692)) - Fix bug where room account data would not correctly be sent down [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync for old rooms. ([#17695](https://redirect.github.com/element-hq/synapse/issues/17695)) - Fix a bug in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync which could prevent /sync from working for certain user accounts. ([#17727](https://redirect.github.com/element-hq/synapse/issues/17727), [#17733](https://redirect.github.com/element-hq/synapse/issues/17733)) - Ignore invites from ignored users in Sliding Sync. ([#17729](https://redirect.github.com/element-hq/synapse/issues/17729)) - Fix bug in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync where the server would incorrectly return a negative bump stamp, which caused Element X apps to stop syncing. ([#17748](https://redirect.github.com/element-hq/synapse/issues/17748)) ##### Internal Changes - Import pydantic objects from the `_pydantic_compat` module. This allows `check_pydantic_models.py` to mock those pydantic objects only in the synapse module, and not interfere with pydantic objects in external dependencies. ([#17667](https://redirect.github.com/element-hq/synapse/issues/17667)) - Use [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync tables as a bulk shortcut for getting the max `event_stream_ordering` of rooms. ([#17693](https://redirect.github.com/element-hq/synapse/issues/17693)) - Speed up [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync requests a bit where there are many room changes. ([#17696](https://redirect.github.com/element-hq/synapse/issues/17696)) - Refactor [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync filter unit tests so the sliding sync API has better test coverage. ([#17703](https://redirect.github.com/element-hq/synapse/issues/17703)) - Fetch `bump_stamp`s more efficiently in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17723](https://redirect.github.com/element-hq/synapse/issues/17723)) - Shortcut for checking if certain background updates have completed (utilized in [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync). ([#17724](https://redirect.github.com/element-hq/synapse/issues/17724)) - More efficiently fetch rooms for [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17725](https://redirect.github.com/element-hq/synapse/issues/17725)) - Fix `_bulk_get_max_event_pos` being inefficient. ([#17728](https://redirect.github.com/element-hq/synapse/issues/17728)) - Add cache to `get_tags_for_room(...)`. ([#17730](https://redirect.github.com/element-hq/synapse/issues/17730)) - Small performance improvement in speeding up [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) Sliding Sync. ([#17731](https://redirect.github.com/element-hq/synapse/issues/17731)) - Minor speed up of initial [MSC4186](https://redirect.github.com/matrix-org/matrix-spec-proposals/pull/4186) sliding sync requests. ([#17734](https://redirect.github.com/element-hq/synapse/issues/17734)) - Remove usage of the deprecated `cgi` module, deprecated in Python 3.11 and removed in Python 3.13. ([#17741](https://redirect.github.com/element-hq/synapse/issues/17741)) - Fix typing of a variable that is not `Unknown` anymore after updating `treq`. ([#17744](https://redirect.github.com/element-hq/synapse/issues/17744)) ##### Updates to locked dependencies - Bump anyhow from 1.0.86 to 1.0.89. ([#17685](https://redirect.github.com/element-hq/synapse/issues/17685), [#17716](https://redirect.github.com/element-hq/synapse/issues/17716)) - Bump bytes from 1.7.1 to 1.7.2. ([#17743](https://redirect.github.com/element-hq/synapse/issues/17743)) - Bump cryptography from 43.0.0 to 43.0.1. ([#17689](https://redirect.github.com/element-hq/synapse/issues/17689)) - Bump idna from 3.8 to 3.10. ([#17758](https://redirect.github.com/element-hq/synapse/issues/17758)) - Bump msgpack from 1.0.8 to 1.1.0. ([#17759](https://redirect.github.com/element-hq/synapse/issues/17759)) - Bump phonenumbers from 8.13.44 to 8.13.45. ([#17762](https://redirect.github.com/element-hq/synapse/issues/17762)) - Bump prometheus-client from 0.20.0 to 0.21.0. ([#17746](https://redirect.github.com/element-hq/synapse/issues/17746)) - Bump pyasn1 from 0.6.0 to 0.6.1. ([#17714](https://redirect.github.com/element-hq/synapse/issues/17714)) - Bump pyasn1-modules from 0.4.0 to 0.4.1. ([#17747](https://redirect.github.com/element-hq/synapse/issues/17747)) - Bump pydantic from 2.8.2 to 2.9.2. ([#17756](https://redirect.github.com/element-hq/synapse/issues/17756)) - Bump python-multipart from 0.0.9 to 0.0.10. ([#17745](https://redirect.github.com/element-hq/synapse/issues/17745)) - Bump ruff from 0.6.4 to 0.6.7. ([#17715](https://redirect.github.com/element-hq/synapse/issues/17715), [#17760](https://redirect.github.com/element-hq/synapse/issues/17760)) - Bump sentry-sdk from 2.13.0 to 2.14.0. ([#17712](https://redirect.github.com/element-hq/synapse/issues/17712)) - Bump serde from 1.0.209 to 1.0.210. ([#17686](https://redirect.github.com/element-hq/synapse/issues/17686)) - Bump serde_json from 1.0.127 to 1.0.128. ([#17687](https://redirect.github.com/element-hq/synapse/issues/17687)) - Bump treq from 23.11.0 to 24.9.1. ([#17744](https://redirect.github.com/element-hq/synapse/issues/17744)) - Bump types-pyyaml from 6.0.12.20240808 to 6.0.12.20240917. ([#17755](https://redirect.github.com/element-hq/synapse/issues/17755)) - Bump types-requests from 2.32.0.20240712 to 2.32.0.20240914. ([#17713](https://redirect.github.com/element-hq/synapse/issues/17713)) - Bump types-setuptools from 74.1.0.20240907 to 75.1.0.20240917. ([#17757](https://redirect.github.com/element-hq/synapse/issues/17757))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.