Browse Source

1.97.0rc1

tags/v1.97.0rc1
David Robertson 5 months ago
parent
commit
bb86eb9814
No known key found for this signature in database GPG Key ID: 903ECE108A39DEDD
39 changed files with 77 additions and 37 deletions
  1. +70
    -0
      CHANGES.md
  2. +0
    -1
      changelog.d/15503.feature
  3. +0
    -1
      changelog.d/16051.misc
  4. +0
    -1
      changelog.d/16532.misc
  5. +0
    -1
      changelog.d/16564.misc
  6. +0
    -1
      changelog.d/16583.misc
  7. +0
    -1
      changelog.d/16584.misc
  8. +0
    -1
      changelog.d/16585.misc
  9. +0
    -1
      changelog.d/16586.misc
  10. +0
    -1
      changelog.d/16588.misc
  11. +0
    -1
      changelog.d/16589.misc
  12. +0
    -1
      changelog.d/16590.misc
  13. +0
    -1
      changelog.d/16596.misc
  14. +0
    -1
      changelog.d/16605.misc
  15. +0
    -1
      changelog.d/16609.bugfix
  16. +0
    -1
      changelog.d/16611.misc
  17. +0
    -1
      changelog.d/16612.misc
  18. +0
    -1
      changelog.d/16613.feature
  19. +0
    -1
      changelog.d/16615.misc
  20. +0
    -1
      changelog.d/16616.feature
  21. +0
    -1
      changelog.d/16617.bugfix
  22. +0
    -1
      changelog.d/16618.misc
  23. +0
    -1
      changelog.d/16628.doc
  24. +0
    -1
      changelog.d/16631.doc
  25. +0
    -1
      changelog.d/16634.misc
  26. +0
    -1
      changelog.d/16637.misc
  27. +0
    -1
      changelog.d/16638.misc
  28. +0
    -1
      changelog.d/16639.bugfix
  29. +0
    -1
      changelog.d/16640.misc
  30. +0
    -1
      changelog.d/16643.misc
  31. +0
    -1
      changelog.d/16649.misc
  32. +0
    -1
      changelog.d/16654.doc
  33. +0
    -1
      changelog.d/16655.misc
  34. +0
    -1
      changelog.d/16656.misc
  35. +0
    -1
      changelog.d/16657.misc
  36. +0
    -1
      changelog.d/16659.misc
  37. +0
    -1
      changelog.d/16660.misc
  38. +6
    -0
      debian/changelog
  39. +1
    -1
      pyproject.toml

+ 70
- 0
CHANGES.md View File

@@ -1,3 +1,73 @@
# Synapse 1.97.0rc1 (2023-11-21)

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.

### Features

- Add support for asynchronous uploads as defined by [MSC2246](https://github.com/matrix-org/matrix-spec-proposals/pull/2246). Contributed by @sumnerevans at @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). ([\#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 persistance 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))

# Synapse 1.96.1 (2023-11-17)

Synapse will soon be forked by Element under an AGPLv3.0 licence (with CLA, for


+ 0
- 1
changelog.d/15503.feature View File

@@ -1 +0,0 @@
Add support for asynchronous uploads as defined by [MSC2246](https://github.com/matrix-org/matrix-spec-proposals/pull/2246). Contributed by @sumnerevans at @beeper.

+ 0
- 1
changelog.d/16051.misc View File

@@ -1 +0,0 @@
Remove whole table locks on push rule modifications. Contributed by Nick @ Beeper (@fizzadar).

+ 0
- 1
changelog.d/16532.misc View File

@@ -1 +0,0 @@
Support reactor tick timings on more types of event loops.

+ 0
- 1
changelog.d/16564.misc View File

@@ -1 +0,0 @@
Improve type hints.

+ 0
- 1
changelog.d/16583.misc View File

@@ -1 +0,0 @@
Avoid executing no-op queries.

+ 0
- 1
changelog.d/16584.misc View File

@@ -1 +0,0 @@
Simplify persistance code to be per-room.

+ 0
- 1
changelog.d/16585.misc View File

@@ -1 +0,0 @@
Use standard SQL helpers in persistence code.

+ 0
- 1
changelog.d/16586.misc View File

@@ -1 +0,0 @@
Avoid updating the stream cache unnecessarily.

+ 0
- 1
changelog.d/16588.misc View File

@@ -1 +0,0 @@
Bump twisted from 23.8.0 to 23.10.0.

+ 0
- 1
changelog.d/16589.misc View File

@@ -1 +0,0 @@
Improve performance when using opentracing.

+ 0
- 1
changelog.d/16590.misc View File

@@ -1 +0,0 @@
Run push rule evaluator setup in parallel.

+ 0
- 1
changelog.d/16596.misc View File

@@ -1 +0,0 @@
Improve tests of the SQL generator.

+ 0
- 1
changelog.d/16605.misc View File

@@ -1 +0,0 @@
Bump setuptools-rust from 1.8.0 to 1.8.1.

+ 0
- 1
changelog.d/16609.bugfix View File

@@ -1 +0,0 @@
Fix a long-standing bug where some queries updated the same row twice. Introduced in Synapse 1.57.0.

+ 0
- 1
changelog.d/16611.misc View File

@@ -1 +0,0 @@
Improve type hints.

+ 0
- 1
changelog.d/16612.misc View File

@@ -1 +0,0 @@
Improve type hints.

+ 0
- 1
changelog.d/16613.feature View File

@@ -1 +0,0 @@
Improve the performance of some operations in multi-worker deployments.

+ 0
- 1
changelog.d/16615.misc View File

@@ -1 +0,0 @@
Use more generic database methods.

+ 0
- 1
changelog.d/16616.feature View File

@@ -1 +0,0 @@
Improve the performance of some operations in multi-worker deployments.

+ 0
- 1
changelog.d/16617.bugfix View File

@@ -1 +0,0 @@
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.

+ 0
- 1
changelog.d/16618.misc View File

@@ -1 +0,0 @@
Use `dbname` instead of the deprecated `database` connection parameter for psycopg2.

+ 0
- 1
changelog.d/16628.doc View File

@@ -1 +0,0 @@
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.

+ 0
- 1
changelog.d/16631.doc View File

@@ -1 +0,0 @@
Update parameter information for the `/timestamp_to_event` admin API.

+ 0
- 1
changelog.d/16634.misc View File

@@ -1 +0,0 @@
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.

+ 0
- 1
changelog.d/16637.misc View File

@@ -1 +0,0 @@
Improve references to GitHub issues.

+ 0
- 1
changelog.d/16638.misc View File

@@ -1 +0,0 @@
Improve references to GitHub issues.

+ 0
- 1
changelog.d/16639.bugfix View File

@@ -1 +0,0 @@
Fix sending out of order `POSITION` over replication, causing additional database load.

+ 0
- 1
changelog.d/16640.misc View File

@@ -1 +0,0 @@
More efficiently handle no-op `POSITION` over replication.

+ 0
- 1
changelog.d/16643.misc View File

@@ -1 +0,0 @@
Speed up deleting of device messages when deleting a device.

+ 0
- 1
changelog.d/16649.misc View File

@@ -1 +0,0 @@
Speed up persisting large number of outliers.

+ 0
- 1
changelog.d/16654.doc View File

@@ -1 +0,0 @@
Provide an example for a common encrypted media response from the admin user media API and mention possible null values.

+ 0
- 1
changelog.d/16655.misc View File

@@ -1 +0,0 @@
More efficiently handle no-op `POSITION` over replication.

+ 0
- 1
changelog.d/16656.misc View File

@@ -1 +0,0 @@
Reduce max concurrency of background tasks, reducing potential max DB load.

+ 0
- 1
changelog.d/16657.misc View File

@@ -1 +0,0 @@
Speed up purge room by adding an index to `event_push_summary`.

+ 0
- 1
changelog.d/16659.misc View File

@@ -1 +0,0 @@
Bump requests-toolbelt from 0.10.1 to 1.0.0.

+ 0
- 1
changelog.d/16660.misc View File

@@ -1 +0,0 @@
Reduce max concurrency of background tasks, reducing potential max DB load.

+ 6
- 0
debian/changelog View File

@@ -1,3 +1,9 @@
matrix-synapse-py3 (1.97.0~rc1) stable; urgency=medium

* New Synapse release 1.97.0rc1.

-- Synapse Packaging team <packages@matrix.org> Tue, 21 Nov 2023 12:32:03 +0000

matrix-synapse-py3 (1.96.1) stable; urgency=medium

* New synapse release 1.96.1.


+ 1
- 1
pyproject.toml View File

@@ -96,7 +96,7 @@ module-name = "synapse.synapse_rust"

[tool.poetry]
name = "matrix-synapse"
version = "1.96.1"
version = "1.97.0rc1"
description = "Homeserver for the Matrix decentralised comms protocol"
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
license = "Apache-2.0"


Loading…
Cancel
Save