Browse Source

1.93.0rc1

Patrick Cloke 7 months ago
parent
commit
9caeb9be10
59 changed files with 87 additions and 57 deletions
  1. 80 0
      CHANGES.md
  2. 0 1
      changelog.d/15488.feature
  3. 0 1
      changelog.d/15997.misc
  4. 0 1
      changelog.d/16066.bugfix
  5. 0 1
      changelog.d/16090.misc
  6. 0 1
      changelog.d/16137.feature
  7. 0 1
      changelog.d/16170.bugfix
  8. 0 1
      changelog.d/16171.bugfix
  9. 0 1
      changelog.d/16172.bugfix
  10. 0 1
      changelog.d/16174.bugfix
  11. 0 1
      changelog.d/16219.feature
  12. 0 1
      changelog.d/16227.feature
  13. 0 1
      changelog.d/16235.misc
  14. 0 1
      changelog.d/16240.misc
  15. 0 1
      changelog.d/16248.misc
  16. 0 1
      changelog.d/16251.bugfix
  17. 0 1
      changelog.d/16252.bugfix
  18. 0 1
      changelog.d/16257.bugfix
  19. 0 1
      changelog.d/16260.misc
  20. 0 1
      changelog.d/16261.misc
  21. 0 1
      changelog.d/16262.feature
  22. 0 1
      changelog.d/16263.misc
  23. 0 1
      changelog.d/16264.misc
  24. 0 1
      changelog.d/16265.feature
  25. 0 1
      changelog.d/16272.bugfix
  26. 0 1
      changelog.d/16273.misc
  27. 0 1
      changelog.d/16274.feature
  28. 0 1
      changelog.d/16276.misc
  29. 0 1
      changelog.d/16277.misc
  30. 0 1
      changelog.d/16278.misc
  31. 0 1
      changelog.d/16280.misc
  32. 0 1
      changelog.d/16281.misc
  33. 0 1
      changelog.d/16282.doc
  34. 0 1
      changelog.d/16283.misc
  35. 0 1
      changelog.d/16288.bugfix
  36. 0 1
      changelog.d/16298.misc
  37. 0 1
      changelog.d/16299.misc
  38. 0 1
      changelog.d/16300.misc
  39. 0 1
      changelog.d/16301.misc
  40. 0 1
      changelog.d/16304.doc
  41. 0 1
      changelog.d/16309.misc
  42. 0 1
      changelog.d/16311.misc
  43. 0 1
      changelog.d/16312.misc
  44. 0 1
      changelog.d/16313.misc
  45. 0 1
      changelog.d/16314.misc
  46. 0 1
      changelog.d/16315.misc
  47. 0 1
      changelog.d/16316.misc
  48. 0 1
      changelog.d/16318.misc
  49. 0 1
      changelog.d/16325.misc
  50. 0 1
      changelog.d/16326.misc
  51. 0 1
      changelog.d/16327.bugfix
  52. 0 1
      changelog.d/16328.feature
  53. 0 1
      changelog.d/16329.bugfix
  54. 0 1
      changelog.d/16347.misc
  55. 0 1
      changelog.d/16349.misc
  56. 0 1
      changelog.d/16351.misc
  57. 0 1
      changelog.d/16353.doc
  58. 6 0
      debian/changelog
  59. 1 1
      pyproject.toml

+ 80 - 0
CHANGES.md

@@ -1,3 +1,83 @@
+# Synapse 1.93.0rc1 (2023-09-19)
+
+### Features
+
+- Add automatic purge after all users forgotten a room. Also add restore of purge/shutdown rooms after a synapse restart. ([\#15488](https://github.com/matrix-org/synapse/issues/15488))
+- Support resolving homeservers using `matrix-fed` DNS SRV records from [MSC4040](https://github.com/matrix-org/matrix-spec-proposals/pull/4040). ([\#16137](https://github.com/matrix-org/synapse/issues/16137))
+- Add the ability to use `G` (GiB) and `T` (TiB) suffixes in configuration options that refer to numbers of bytes. ([\#16219](https://github.com/matrix-org/synapse/issues/16219))
+- Add span information to requests sent to appservices. Contributed by MTRNord. ([\#16227](https://github.com/matrix-org/synapse/issues/16227))
+- Add the ability to enable/disable registrations when in the CAS flow. Contributed by Aurélien Grimpard. ([\#16262](https://github.com/matrix-org/synapse/issues/16262))
+- Allow `/notifications` endpoint to be routed to workers. ([\#16265](https://github.com/matrix-org/synapse/issues/16265))
+- Enable users to easily unsubscribe to notifications emails via the `List-Unsubscribe` header. ([\#16274](https://github.com/matrix-org/synapse/issues/16274))
+- Report whether a user is `locked` in the [List Accounts admin API](https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#list-accounts), and exclude locked users by default. ([\#16328](https://github.com/matrix-org/synapse/issues/16328))
+
+### Bugfixes
+
+- Fix a long-standing bug where multi-device accounts could cause high load due to presence. ([\#16066](https://github.com/matrix-org/synapse/issues/16066), [\#16170](https://github.com/matrix-org/synapse/issues/16170), [\#16171](https://github.com/matrix-org/synapse/issues/16171), [\#16172](https://github.com/matrix-org/synapse/issues/16172), [\#16174](https://github.com/matrix-org/synapse/issues/16174))
+- Fix a long-standing bug where appservices using MSC2409 to receive to_device messages, would only get messages for one user. ([\#16251](https://github.com/matrix-org/synapse/issues/16251))
+- Fix bug when using workers where Synapse could end up re-requesting the same remote device repeatedly. ([\#16252](https://github.com/matrix-org/synapse/issues/16252))
+- Fix long-standing bug where we kept re-requesting a remote server's key repeatedly, potentially causing delays in receiving events over federation. ([\#16257](https://github.com/matrix-org/synapse/issues/16257))
+- Avoid temporary storage of sensitive information. ([\#16272](https://github.com/matrix-org/synapse/issues/16272))
+- Fix bug introduced in Synapse 1.49.0 when using dehydrated devices ([MSC2697](https://github.com/matrix-org/matrix-spec-proposals/pull/2697)) and refresh tokens. Contributed by Hanadi. ([\#16288](https://github.com/matrix-org/synapse/issues/16288))
+- Fix a long-standing bug where invalid receipts would be accepted. ([\#16327](https://github.com/matrix-org/synapse/issues/16327))
+- Use standard name for UTF-8 charset in emails. ([\#16329](https://github.com/matrix-org/synapse/issues/16329))
+
+### Improved Documentation
+
+- Fix typos in the documentation. ([\#16282](https://github.com/matrix-org/synapse/issues/16282))
+- Link to the Alpine Linux community package for Synapse. ([\#16304](https://github.com/matrix-org/synapse/issues/16304))
+- Use string for federation_client_minimum_tls_version documentation examples. Contributed by @jcgruenhage. ([\#16353](https://github.com/matrix-org/synapse/issues/16353))
+
+### Internal Changes
+
+- Allow modules to delete rooms. ([\#15997](https://github.com/matrix-org/synapse/issues/15997))
+- Add GCC and GNU Make to the Nix flake development environment so that `ruff` can be compiled. ([\#16090](https://github.com/matrix-org/synapse/issues/16090), [\#16263](https://github.com/matrix-org/synapse/issues/16263))
+- Fix type checking when using the new version of Twisted. ([\#16235](https://github.com/matrix-org/synapse/issues/16235))
+- Delete device messages asynchronously and in staged batches using the task scheduler. ([\#16240](https://github.com/matrix-org/synapse/issues/16240), [\#16311](https://github.com/matrix-org/synapse/issues/16311), [\#16312](https://github.com/matrix-org/synapse/issues/16312), [\#16313](https://github.com/matrix-org/synapse/issues/16313))
+- Bump minimum supported Rust version to 1.61.0. ([\#16248](https://github.com/matrix-org/synapse/issues/16248))
+- Update rust to version 1.71.1 in the nix development environment. ([\#16260](https://github.com/matrix-org/synapse/issues/16260))
+- Simplify server key storage. ([\#16261](https://github.com/matrix-org/synapse/issues/16261))
+- Reduce CPU overhead of change password endpoint. ([\#16264](https://github.com/matrix-org/synapse/issues/16264))
+- Stop purging from tables slated for removal. ([\#16273](https://github.com/matrix-org/synapse/issues/16273))
+- Improve type hints. ([\#16276](https://github.com/matrix-org/synapse/issues/16276), [\#16301](https://github.com/matrix-org/synapse/issues/16301), [\#16325](https://github.com/matrix-org/synapse/issues/16325), [\#16326](https://github.com/matrix-org/synapse/issues/16326))
+- Raise setuptools_rust version cap to 1.7.0. ([\#16277](https://github.com/matrix-org/synapse/issues/16277))
+- Fix using the new task scheduler causing lots of CPU to be used. ([\#16278](https://github.com/matrix-org/synapse/issues/16278))
+- Upgrade CI run of Python 3.12 from rc1 to rc2. ([\#16280](https://github.com/matrix-org/synapse/issues/16280))
+- Include values in SQL debug when using `execute_values` with Postgres. ([\#16281](https://github.com/matrix-org/synapse/issues/16281))
+- Enable additional linting checks. ([\#16283](https://github.com/matrix-org/synapse/issues/16283))
+- Don't try refetching device lists for users on remote hosts that are marked as "down". ([\#16298](https://github.com/matrix-org/synapse/issues/16298))
+- Refactor `receipts_graph` Postgres transactions to stop error messages. ([\#16299](https://github.com/matrix-org/synapse/issues/16299))
+- Bump mypy from 1.4.1 to 1.5.1. ([\#16300](https://github.com/matrix-org/synapse/issues/16300))
+- Small improvements to logging in replication code. ([\#16309](https://github.com/matrix-org/synapse/issues/16309))
+- Remove a reference cycle for in background processes. ([\#16314](https://github.com/matrix-org/synapse/issues/16314))
+- Only use literal strings for background process names. ([\#16315](https://github.com/matrix-org/synapse/issues/16315))
+- Refactor `get_user_by_id`. ([\#16316](https://github.com/matrix-org/synapse/issues/16316))
+- Speed up task to delete to-device messages. ([\#16318](https://github.com/matrix-org/synapse/issues/16318))
+- Pillow 10.0.1 is now mandatory because of libwebp CVE-2023-4863, since Pillow provides libwebp in the wheels. ([\#16347](https://github.com/matrix-org/synapse/issues/16347))
+- Avoid patching code in tests. ([\#16349](https://github.com/matrix-org/synapse/issues/16349))
+- Test against PostgreSQL 16. ([\#16351](https://github.com/matrix-org/synapse/issues/16351))
+
+### Updates to locked dependencies
+
+* Bump black from 23.7.0 to 23.9.1. ([\#16295](https://github.com/matrix-org/synapse/issues/16295))
+* Bump docker/build-push-action from 4 to 5. ([\#16336](https://github.com/matrix-org/synapse/issues/16336))
+* Bump docker/login-action from 2 to 3. ([\#16339](https://github.com/matrix-org/synapse/issues/16339))
+* Bump docker/metadata-action from 4 to 5. ([\#16337](https://github.com/matrix-org/synapse/issues/16337))
+* Bump docker/setup-qemu-action from 2 to 3. ([\#16338](https://github.com/matrix-org/synapse/issues/16338))
+* Bump furo from 2023.8.19 to 2023.9.10. ([\#16340](https://github.com/matrix-org/synapse/issues/16340))
+* Bump gitpython from 3.1.32 to 3.1.34. ([\#16267](https://github.com/matrix-org/synapse/issues/16267))
+* Bump gitpython from 3.1.34 to 3.1.35. ([\#16279](https://github.com/matrix-org/synapse/issues/16279))
+* Bump mypy-zope from 1.0.0 to 1.0.1. ([\#16291](https://github.com/matrix-org/synapse/issues/16291))
+* Bump pillow from 10.0.0 to 10.0.1. ([\#16344](https://github.com/matrix-org/synapse/issues/16344))
+* Bump regex from 1.9.4 to 1.9.5. ([\#16233](https://github.com/matrix-org/synapse/issues/16233))
+* Bump ruff from 0.0.286 to 0.0.290. ([\#16342](https://github.com/matrix-org/synapse/issues/16342))
+* Bump serde_json from 1.0.105 to 1.0.106. ([\#16296](https://github.com/matrix-org/synapse/issues/16296))
+* Bump serde_json from 1.0.106 to 1.0.107. ([\#16345](https://github.com/matrix-org/synapse/issues/16345))
+* Bump twisted from 22.10.0 to 23.8.0. ([\#16235](https://github.com/matrix-org/synapse/issues/16235))
+* Bump types-pillow from 10.0.0.2 to 10.0.0.3. ([\#16293](https://github.com/matrix-org/synapse/issues/16293))
+* Bump types-setuptools from 68.0.0.3 to 68.2.0.0. ([\#16292](https://github.com/matrix-org/synapse/issues/16292))
+* Bump typing-extensions from 4.7.1 to 4.8.0. ([\#16341](https://github.com/matrix-org/synapse/issues/16341))
+
 # Synapse 1.92.3 (2023-09-18)
 
 This is again a security update targeted at mitigating [CVE-2023-4863](https://cve.org/CVERecord?id=CVE-2023-4863).

+ 0 - 1
changelog.d/15488.feature

@@ -1 +0,0 @@
-Add automatic purge after all users forgotten a room. Also add restore of purge/shutdown rooms after a synapse restart.

+ 0 - 1
changelog.d/15997.misc

@@ -1 +0,0 @@
-Allow modules to delete rooms.

+ 0 - 1
changelog.d/16066.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where multi-device accounts could cause high load due to presence.

+ 0 - 1
changelog.d/16090.misc

@@ -1 +0,0 @@
-Add GCC and GNU Make to the Nix flake development environment so that `ruff` can be compiled.

+ 0 - 1
changelog.d/16137.feature

@@ -1 +0,0 @@
-Support resolving homeservers using `matrix-fed` DNS SRV records from [MSC4040](https://github.com/matrix-org/matrix-spec-proposals/pull/4040).

+ 0 - 1
changelog.d/16170.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where multi-device accounts could cause high load due to presence.

+ 0 - 1
changelog.d/16171.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where multi-device accounts could cause high load due to presence.

+ 0 - 1
changelog.d/16172.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where multi-device accounts could cause high load due to presence.

+ 0 - 1
changelog.d/16174.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where multi-device accounts could cause high load due to presence.

+ 0 - 1
changelog.d/16219.feature

@@ -1 +0,0 @@
-Add the ability to use `G` (GiB) and `T` (TiB) suffixes in configuration options that refer to numbers of bytes.

+ 0 - 1
changelog.d/16227.feature

@@ -1 +0,0 @@
-Add span information to requests sent to appservices. Contributed by MTRNord.

+ 0 - 1
changelog.d/16235.misc

@@ -1 +0,0 @@
-Fix type checking when using the new version of Twisted.

+ 0 - 1
changelog.d/16240.misc

@@ -1 +0,0 @@
-Delete device messages asynchronously and in staged batches using the task scheduler.

+ 0 - 1
changelog.d/16248.misc

@@ -1 +0,0 @@
-Bump minimum supported Rust version to 1.61.0.

+ 0 - 1
changelog.d/16251.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where appservices using MSC2409 to receive to_device messages, would only get messages for one user.

+ 0 - 1
changelog.d/16252.bugfix

@@ -1 +0,0 @@
-Fix bug when using workers where Synapse could end up re-requesting the same remote device repeatedly.

+ 0 - 1
changelog.d/16257.bugfix

@@ -1 +0,0 @@
-Fix long-standing bug where we kept re-requesting a remote server's key repeatedly, potentially causing delays in receiving events over federation.

+ 0 - 1
changelog.d/16260.misc

@@ -1 +0,0 @@
-Update rust to version 1.71.1 in the nix development environment.

+ 0 - 1
changelog.d/16261.misc

@@ -1 +0,0 @@
-Simplify server key storage.

+ 0 - 1
changelog.d/16262.feature

@@ -1 +0,0 @@
-Add the ability to enable/disable registrations when in the CAS flow. Contributed by Aurélien Grimpard.

+ 0 - 1
changelog.d/16263.misc

@@ -1 +0,0 @@
-Add GCC and GNU Make to the Nix flake development environment so that `ruff` can be compiled.

+ 0 - 1
changelog.d/16264.misc

@@ -1 +0,0 @@
-Reduce CPU overhead of change password endpoint.

+ 0 - 1
changelog.d/16265.feature

@@ -1 +0,0 @@
-Allow `/notifications` endpoint to be routed to workers.

+ 0 - 1
changelog.d/16272.bugfix

@@ -1 +0,0 @@
-Avoid temporary storage of sensitive information.

+ 0 - 1
changelog.d/16273.misc

@@ -1 +0,0 @@
-Stop purging from tables slated for removal.

+ 0 - 1
changelog.d/16274.feature

@@ -1 +0,0 @@
-Enable users to easily unsubscribe to notifications emails via the `List-Unsubscribe` header.

+ 0 - 1
changelog.d/16276.misc

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

+ 0 - 1
changelog.d/16277.misc

@@ -1 +0,0 @@
-Raise setuptools_rust version cap to 1.7.0.

+ 0 - 1
changelog.d/16278.misc

@@ -1 +0,0 @@
-Fix using the new task scheduler causing lots of CPU to be used.

+ 0 - 1
changelog.d/16280.misc

@@ -1 +0,0 @@
-Upgrade CI run of Python 3.12 from rc1 to rc2.

+ 0 - 1
changelog.d/16281.misc

@@ -1 +0,0 @@
-Include values in SQL debug when using `execute_values` with Postgres.

+ 0 - 1
changelog.d/16282.doc

@@ -1 +0,0 @@
-Fix typos in the documentation.

+ 0 - 1
changelog.d/16283.misc

@@ -1 +0,0 @@
-Enable additional linting checks.

+ 0 - 1
changelog.d/16288.bugfix

@@ -1 +0,0 @@
-Fix bug introduced in Synapse 1.49.0 when using dehydrated devices ([MSC2697](https://github.com/matrix-org/matrix-spec-proposals/pull/2697)) and refresh tokens. Contributed by Hanadi.

+ 0 - 1
changelog.d/16298.misc

@@ -1 +0,0 @@
-Don't try refetching device lists for users on remote hosts that are marked as "down".

+ 0 - 1
changelog.d/16299.misc

@@ -1 +0,0 @@
-Refactor `receipts_graph` Postgres transactions to stop error messages.

+ 0 - 1
changelog.d/16300.misc

@@ -1 +0,0 @@
-Bump mypy from 1.4.1 to 1.5.1.

+ 0 - 1
changelog.d/16301.misc

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

+ 0 - 1
changelog.d/16304.doc

@@ -1 +0,0 @@
-Link to the Alpine Linux community package for Synapse.

+ 0 - 1
changelog.d/16309.misc

@@ -1 +0,0 @@
-Small improvements to logging in replication code.

+ 0 - 1
changelog.d/16311.misc

@@ -1 +0,0 @@
-Delete device messages asynchronously and in staged batches using the task scheduler.

+ 0 - 1
changelog.d/16312.misc

@@ -1 +0,0 @@
-Delete device messages asynchronously and in staged batches using the task scheduler.

+ 0 - 1
changelog.d/16313.misc

@@ -1 +0,0 @@
-Delete device messages asynchronously and in staged batches using the task scheduler.

+ 0 - 1
changelog.d/16314.misc

@@ -1 +0,0 @@
-Remove a reference cycle for in background processes.

+ 0 - 1
changelog.d/16315.misc

@@ -1 +0,0 @@
-Only use literal strings for background process names.

+ 0 - 1
changelog.d/16316.misc

@@ -1 +0,0 @@
-Refactor `get_user_by_id`.

+ 0 - 1
changelog.d/16318.misc

@@ -1 +0,0 @@
-Speed up task to delete to-device messages.

+ 0 - 1
changelog.d/16325.misc

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

+ 0 - 1
changelog.d/16326.misc

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

+ 0 - 1
changelog.d/16327.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where invalid receipts would be accepted.

+ 0 - 1
changelog.d/16328.feature

@@ -1 +0,0 @@
-Report whether a user is `locked` in the [List Accounts admin API](https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#list-accounts), and exclude locked users by default.

+ 0 - 1
changelog.d/16329.bugfix

@@ -1 +0,0 @@
-Use standard name for UTF-8 charset in emails.

+ 0 - 1
changelog.d/16347.misc

@@ -1 +0,0 @@
-Pillow 10.0.1 is now mandatory because of libwebp CVE-2023-4863, since Pillow provides libwebp in the wheels.

+ 0 - 1
changelog.d/16349.misc

@@ -1 +0,0 @@
-Avoid patching code in tests.

+ 0 - 1
changelog.d/16351.misc

@@ -1 +0,0 @@
-Test against PostgreSQL 16.

+ 0 - 1
changelog.d/16353.doc

@@ -1 +0,0 @@
-Use string for federation_client_minimum_tls_version documentation examples. Contributed by @jcgruenhage.

+ 6 - 0
debian/changelog

@@ -1,3 +1,9 @@
+matrix-synapse-py3 (1.93.0~rc1) stable; urgency=medium
+
+  * New synapse release 1.93.0rc1.
+
+ -- Synapse Packaging team <packages@matrix.org>  Tue, 19 Sep 2023 11:55:00 +0000
+
 matrix-synapse-py3 (1.92.3) stable; urgency=medium
 
   * New Synapse release 1.92.3.

+ 1 - 1
pyproject.toml

@@ -95,7 +95,7 @@ manifest-path = "rust/Cargo.toml"
 
 [tool.poetry]
 name = "matrix-synapse"
-version = "1.92.3"
+version = "1.93.0rc1"
 description = "Homeserver for the Matrix decentralised comms protocol"
 authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
 license = "Apache-2.0"