The Matrix.org Foundation copy of the project will be archived. Any changes needed
by server administrators will be communicated via our usual announcements channels,
but we are striving to make this as seamless as possible.
Improve the performance of some operations in multi-worker deployments. (#16613, #16616)
Bugfixes
Fix a long-standing bug where some queries updated the same row twice. Introduced in Synapse 1.57.0. (#16609)
Fix a long-standing bug where Synapse would not unbind third-party identifiers for Application Service users when deactivated and would not emit a compliant response. (#16617)
Fix sending out of order POSITION over replication, causing additional database load. (#16639)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [matrixdotorg/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/matrix-org/synapse)) | minor | `v1.96.1` -> `v1.97.0` |
---
### Release Notes
<details>
<summary>matrix-org/synapse (matrixdotorg/synapse)</summary>
### [`v1.97.0`](https://github.com/matrix-org/synapse/releases/tag/v1.97.0)
[Compare Source](https://github.com/matrix-org/synapse/compare/v1.96.1...v1.97.0)
##### Synapse 1.97.0 (2023-11-28)
Synapse will soon be forked by Element under an AGPLv3.0 licence (with CLA, for
proprietary dual licensing). You can read more about this here:
- https://matrix.org/blog/2023/11/06/future-of-synapse-dendrite/
- https://element.io/blog/element-to-adopt-agplv3/
The Matrix.org Foundation copy of the project will be archived. Any changes needed
by server administrators will be communicated via our usual announcements channels,
but we are striving to make this as seamless as possible.
No significant changes since 1.97.0rc1.
##### Synapse 1.97.0rc1 (2023-11-21)
##### Features
- Add support for asynchronous uploads as defined by [MSC2246](https://github.com/matrix-org/matrix-spec-proposals/pull/2246). Contributed by [@​sumnerevans](https://github.com/sumnerevans) at [@​beeper](https://github.com/beeper). ([#​15503](https://github.com/matrix-org/synapse/issues/15503))
- Improve the performance of some operations in multi-worker deployments. ([#​16613](https://github.com/matrix-org/synapse/issues/16613), [#​16616](https://github.com/matrix-org/synapse/issues/16616))
##### Bugfixes
- Fix a long-standing bug where some queries updated the same row twice. Introduced in Synapse 1.57.0. ([#​16609](https://github.com/matrix-org/synapse/issues/16609))
- Fix a long-standing bug where Synapse would not unbind third-party identifiers for Application Service users when deactivated and would not emit a compliant response. ([#​16617](https://github.com/matrix-org/synapse/issues/16617))
- Fix sending out of order `POSITION` over replication, causing additional database load. ([#​16639](https://github.com/matrix-org/synapse/issues/16639))
##### Improved Documentation
- Note that the option [`outbound_federation_restricted_to`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#outbound_federation_restricted_to) was added in Synapse 1.89.0, and fix a nearby formatting error. ([#​16628](https://github.com/matrix-org/synapse/issues/16628))
- Update parameter information for the `/timestamp_to_event` admin API. ([#​16631](https://github.com/matrix-org/synapse/issues/16631))
- Provide an example for a common encrypted media response from the admin user media API and mention possible null values. ([#​16654](https://github.com/matrix-org/synapse/issues/16654))
##### Internal Changes
- Remove whole table locks on push rule modifications. Contributed by Nick @​ Beeper ([@​fizzadar](https://github.com/fizzadar)). ([#​16051](https://github.com/matrix-org/synapse/issues/16051))
- Support reactor tick timings on more types of event loops. ([#​16532](https://github.com/matrix-org/synapse/issues/16532))
- Improve type hints. ([#​16564](https://github.com/matrix-org/synapse/issues/16564), [#​16611](https://github.com/matrix-org/synapse/issues/16611), [#​16612](https://github.com/matrix-org/synapse/issues/16612))
- Avoid executing no-op queries. ([#​16583](https://github.com/matrix-org/synapse/issues/16583))
- Simplify persistence code to be per-room. ([#​16584](https://github.com/matrix-org/synapse/issues/16584))
- Use standard SQL helpers in persistence code. ([#​16585](https://github.com/matrix-org/synapse/issues/16585))
- Avoid updating the stream cache unnecessarily. ([#​16586](https://github.com/matrix-org/synapse/issues/16586))
- Improve performance when using opentracing. ([#​16589](https://github.com/matrix-org/synapse/issues/16589))
- Run push rule evaluator setup in parallel. ([#​16590](https://github.com/matrix-org/synapse/issues/16590))
- Improve tests of the SQL generator. ([#​16596](https://github.com/matrix-org/synapse/issues/16596))
- Use more generic database methods. ([#​16615](https://github.com/matrix-org/synapse/issues/16615))
- Use `dbname` instead of the deprecated `database` connection parameter for psycopg2. ([#​16618](https://github.com/matrix-org/synapse/issues/16618))
- Add an internal [Admin API endpoint](https://matrix-org.github.io/synapse/v1.97/usage/configuration/config_documentation.html#allow-replacing-master-cross-signing-key-without-user-interactive-auth) to temporarily grant the ability to update an existing cross-signing key without UIA. ([#​16634](https://github.com/matrix-org/synapse/issues/16634))
- Improve references to GitHub issues. ([#​16637](https://github.com/matrix-org/synapse/issues/16637), [#​16638](https://github.com/matrix-org/synapse/issues/16638))
- More efficiently handle no-op `POSITION` over replication. ([#​16640](https://github.com/matrix-org/synapse/issues/16640), [#​16655](https://github.com/matrix-org/synapse/issues/16655))
- Speed up deleting of device messages when deleting a device. ([#​16643](https://github.com/matrix-org/synapse/issues/16643))
- Speed up persisting large number of outliers. ([#​16649](https://github.com/matrix-org/synapse/issues/16649))
- Reduce max concurrency of background tasks, reducing potential max DB load. ([#​16656](https://github.com/matrix-org/synapse/issues/16656), [#​16660](https://github.com/matrix-org/synapse/issues/16660))
- Speed up purge room by adding an index to `event_push_summary`. ([#​16657](https://github.com/matrix-org/synapse/issues/16657))
##### Updates to locked dependencies
- Bump prometheus-client from 0.17.1 to 0.18.0. ([#​16626](https://github.com/matrix-org/synapse/issues/16626))
- Bump pyicu from 2.11 to 2.12. ([#​16603](https://github.com/matrix-org/synapse/issues/16603))
- Bump requests-toolbelt from 0.10.1 to 1.0.0. ([#​16659](https://github.com/matrix-org/synapse/issues/16659))
- Bump ruff from 0.0.292 to 0.1.4. ([#​16600](https://github.com/matrix-org/synapse/issues/16600))
- Bump serde from 1.0.190 to 1.0.192. ([#​16627](https://github.com/matrix-org/synapse/issues/16627))
- Bump serde_json from 1.0.107 to 1.0.108. ([#​16604](https://github.com/matrix-org/synapse/issues/16604))
- Bump setuptools-rust from 1.8.0 to 1.8.1. ([#​16601](https://github.com/matrix-org/synapse/issues/16601))
- Bump towncrier from 23.6.0 to 23.11.0. ([#​16622](https://github.com/matrix-org/synapse/issues/16622))
- Bump treq from 22.2.0 to 23.11.0. ([#​16623](https://github.com/matrix-org/synapse/issues/16623))
- Bump twisted from 23.8.0 to 23.10.0. ([#​16588](https://github.com/matrix-org/synapse/issues/16588))
- Bump types-bleach from 6.1.0.0 to 6.1.0.1. ([#​16624](https://github.com/matrix-org/synapse/issues/16624))
- Bump types-jsonschema from 4.19.0.3 to 4.19.0.4. ([#​16599](https://github.com/matrix-org/synapse/issues/16599))
- Bump types-pyopenssl from 23.2.0.2 to 23.3.0.0. ([#​16625](https://github.com/matrix-org/synapse/issues/16625))
- Bump types-pyyaml from 6.0.12.11 to 6.0.12.12. ([#​16602](https://github.com/matrix-org/synapse/issues/16602))
</details>
---
### 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42OC40IiwidXBkYXRlZEluVmVyIjoiMzcuNjguNCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1.96.1->v1.97.0Release Notes
matrix-org/synapse (matrixdotorg/synapse)
v1.97.0Compare Source
Synapse 1.97.0 (2023-11-28)
Synapse will soon be forked by Element under an AGPLv3.0 licence (with CLA, for
proprietary dual licensing). You can read more about this here:
The Matrix.org Foundation copy of the project will be archived. Any changes needed
by server administrators will be communicated via our usual announcements channels,
but we are striving to make this as seamless as possible.
No significant changes since 1.97.0rc1.
Synapse 1.97.0rc1 (2023-11-21)
Features
Bugfixes
POSITIONover replication, causing additional database load. (#16639)Improved Documentation
outbound_federation_restricted_towas added in Synapse 1.89.0, and fix a nearby formatting error. (#16628)/timestamp_to_eventadmin API. (#16631)Internal Changes
dbnameinstead of the deprecateddatabaseconnection parameter for psycopg2. (#16618)POSITIONover replication. (#16640, #16655)event_push_summary. (#16657)Updates to locked dependencies
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.