瀏覽代碼

1.53.0rc1

Sean Quah 2 年之前
父節點
當前提交
7c05599041
共有 60 個文件被更改,包括 86 次插入58 次删除
  1. 79 0
      CHANGES.md
  2. 0 1
      changelog.d/11114.bugfix
  3. 0 1
      changelog.d/11215.feature
  4. 0 1
      changelog.d/11615.misc
  5. 0 1
      changelog.d/11616.misc
  6. 0 1
      changelog.d/11655.feature
  7. 0 1
      changelog.d/11660.misc
  8. 0 1
      changelog.d/11752.misc
  9. 0 1
      changelog.d/11832.misc
  10. 0 1
      changelog.d/11837.feature
  11. 0 1
      changelog.d/11849.feature
  12. 0 1
      changelog.d/11854.feature
  13. 0 1
      changelog.d/11856.misc
  14. 0 1
      changelog.d/11859.doc
  15. 0 1
      changelog.d/11862.doc
  16. 0 1
      changelog.d/11867.feature
  17. 0 1
      changelog.d/11868.feature
  18. 0 1
      changelog.d/11869.misc
  19. 0 1
      changelog.d/11870.misc
  20. 0 1
      changelog.d/11876.misc
  21. 0 1
      changelog.d/11878.misc
  22. 0 1
      changelog.d/11880.misc
  23. 0 1
      changelog.d/11884.misc
  24. 0 1
      changelog.d/11888.misc
  25. 0 1
      changelog.d/11890.bugfix
  26. 0 1
      changelog.d/11892.feature
  27. 0 1
      changelog.d/11895.removal
  28. 0 1
      changelog.d/11905.misc
  29. 0 1
      changelog.d/11907.doc
  30. 0 1
      changelog.d/11909.misc
  31. 0 1
      changelog.d/11910.misc
  32. 0 1
      changelog.d/11911.misc
  33. 0 1
      changelog.d/11912.misc
  34. 0 1
      changelog.d/11913.misc
  35. 0 1
      changelog.d/11914.misc
  36. 0 1
      changelog.d/11927.misc
  37. 0 1
      changelog.d/11930.bugfix
  38. 0 1
      changelog.d/11933.feature
  39. 0 1
      changelog.d/11936.bugfix
  40. 0 1
      changelog.d/11938.misc
  41. 0 1
      changelog.d/11939.misc
  42. 0 1
      changelog.d/11941.feature
  43. 0 1
      changelog.d/11946.doc
  44. 0 1
      changelog.d/11950.removal
  45. 0 1
      changelog.d/11952.bugfix
  46. 0 1
      changelog.d/11953.misc
  47. 0 1
      changelog.d/11954.doc
  48. 0 1
      changelog.d/11955.doc
  49. 0 1
      changelog.d/11961.removal
  50. 0 1
      changelog.d/11965.misc
  51. 0 1
      changelog.d/11966.feature
  52. 0 1
      changelog.d/11967.feature
  53. 0 1
      changelog.d/11969.misc
  54. 0 1
      changelog.d/11971.misc
  55. 0 1
      changelog.d/11975.bugfix
  56. 0 1
      changelog.d/11979.misc
  57. 0 1
      changelog.d/11988.bugfix
  58. 0 1
      changelog.d/11989.feature
  59. 6 0
      debian/changelog
  60. 1 1
      synapse/__init__.py

+ 79 - 0
CHANGES.md

@@ -1,3 +1,82 @@
+Synapse 1.53.0rc1 (2022-02-15)
+==============================
+
+Features
+--------
+
+- Add experimental support for sending to-device messages to application services, as specified by [MSC2409](https://github.com/matrix-org/matrix-doc/pull/2409). Disabled by default. ([\#11215](https://github.com/matrix-org/synapse/issues/11215), [\#11966](https://github.com/matrix-org/synapse/issues/11966))
+- Remove account data (including client config, push rules and ignored users) upon user deactivation. ([\#11655](https://github.com/matrix-org/synapse/issues/11655))
+- Experimental support for [MSC3666](https://github.com/matrix-org/matrix-doc/pull/3666): including bundled aggregations in server side search results. ([\#11837](https://github.com/matrix-org/synapse/issues/11837))
+- Enable cache time-based expiry by default. The `expiry_time` config flag has been superseded by `expire_caches` and `cache_entry_ttl`. ([\#11849](https://github.com/matrix-org/synapse/issues/11849))
+- Add a callback to allow modules to allow or forbid a 3PID (email address, phone number) from being associated to a local account. ([\#11854](https://github.com/matrix-org/synapse/issues/11854))
+- Stabilize support for [MSC3231](https://github.com/matrix-org/matrix-doc/pull/3231). Clients should switch to the stable identifier and endpoint. ([\#11867](https://github.com/matrix-org/synapse/issues/11867))
+- Allow modules to retrieve the current instance's server name and worker name. ([\#11868](https://github.com/matrix-org/synapse/issues/11868))
+- Use a dedicated configurable rate limiter for 3PID invites. ([\#11892](https://github.com/matrix-org/synapse/issues/11892))
+- Support the stable API endpoint for [MSC3283](https://github.com/matrix-org/matrix-doc/pull/3283): new settings in `/capabilities` endpoint. ([\#11933](https://github.com/matrix-org/synapse/issues/11933), [\#11989](https://github.com/matrix-org/synapse/issues/11989))
+- Support the `dir` parameter on the `/relations` endpoint, per [MSC3715](https://github.com/matrix-org/matrix-doc/pull/3715). ([\#11941](https://github.com/matrix-org/synapse/issues/11941))
+- Experimental implementation of [MSC3706](https://github.com/matrix-org/matrix-doc/pull/3706): extensions to `/send_join` to support reduced response size. ([\#11967](https://github.com/matrix-org/synapse/issues/11967))
+
+
+Bugfixes
+--------
+
+- Fix [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) historical messages backfilling in random order on remote homeservers. ([\#11114](https://github.com/matrix-org/synapse/issues/11114))
+- Fix a bug introduced in Synapse 1.51.0rc1 where incoming federation transactions containing at least one EDU would be dropped if debug logging was enabled for `synapse.8631_debug`. ([\#11890](https://github.com/matrix-org/synapse/issues/11890))
+- Fix a long-standing bug where some unknown endpoints would return HTML error pages instead of JSON `M_UNRECOGNIZED` errors. ([\#11930](https://github.com/matrix-org/synapse/issues/11930))
+- Implement an allow list of content types for which we will attempt to preview a URL. This prevents Synapse from making useless longer-lived connections to streaming media servers. ([\#11936](https://github.com/matrix-org/synapse/issues/11936))
+- Fix a long-standing bug where pagination tokens from `/sync` and `/messages` could not be provided to the `/relations` API. ([\#11952](https://github.com/matrix-org/synapse/issues/11952))
+- Require that modules register their callbacks using keyword arguments. ([\#11975](https://github.com/matrix-org/synapse/issues/11975))
+- Fix a long-standing bug where `M_WRONG_ROOM_KEYS_VERSION` errors would not include the specced `current_version` field. ([\#11988](https://github.com/matrix-org/synapse/issues/11988))
+
+
+Improved Documentation
+----------------------
+
+- Fix typo in User Admin API: unpind -> unbind. ([\#11859](https://github.com/matrix-org/synapse/issues/11859))
+- Document images returned by the User List Media Admin API can include those generated by URL previews. ([\#11862](https://github.com/matrix-org/synapse/issues/11862))
+- Remove outdated MSC1711 FAQ document. ([\#11907](https://github.com/matrix-org/synapse/issues/11907))
+- Correct the structured logging configuration example. Contributed by Brad Jones. ([\#11946](https://github.com/matrix-org/synapse/issues/11946))
+- Add information on the Synapse release cycle. ([\#11954](https://github.com/matrix-org/synapse/issues/11954))
+- Fix broken link in the README to the admin API for password reset. ([\#11955](https://github.com/matrix-org/synapse/issues/11955))
+
+
+Deprecations and Removals
+-------------------------
+
+- Drop support for `webclient` listeners and configuring `web_client_location` to a non-HTTP(S) URL. Deprecated configurations are a configuration error. ([\#11895](https://github.com/matrix-org/synapse/issues/11895))
+- Remove deprecated `user_may_create_room_with_invites` spam checker callback. See the [upgrade notes](https://matrix-org.github.io/synapse/latest/upgrade.html#removal-of-user_may_create_room_with_invites) for more information. ([\#11950](https://github.com/matrix-org/synapse/issues/11950))
+- No longer build `.deb` packages for Ubuntu 21.04 Hirsute Hippo, which has now EOLed. ([\#11961](https://github.com/matrix-org/synapse/issues/11961))
+
+
+Internal Changes
+----------------
+
+- Enhance user registration test helpers to make them more useful for tests involving Application Services and devices. ([\#11615](https://github.com/matrix-org/synapse/issues/11615), [\#11616](https://github.com/matrix-org/synapse/issues/11616))
+- Improve performance when fetching bundled aggregations for multiple events. ([\#11660](https://github.com/matrix-org/synapse/issues/11660), [\#11752](https://github.com/matrix-org/synapse/issues/11752))
+- Fix type errors introduced by new annotations in the Prometheus Client library. ([\#11832](https://github.com/matrix-org/synapse/issues/11832))
+- Add missing type hints to replication code. ([\#11856](https://github.com/matrix-org/synapse/issues/11856), [\#11938](https://github.com/matrix-org/synapse/issues/11938))
+- Ensure that `opentracing` scopes are activated and closed at the right time. ([\#11869](https://github.com/matrix-org/synapse/issues/11869))
+- Improve opentracing for incoming federation requests. ([\#11870](https://github.com/matrix-org/synapse/issues/11870))
+- Improve internal docstrings in `synapse.util.caches`. ([\#11876](https://github.com/matrix-org/synapse/issues/11876))
+- Do not needlessly clear the `get_users_in_room` and `get_users_in_room_with_profiles` caches when any room state changes. ([\#11878](https://github.com/matrix-org/synapse/issues/11878))
+- Convert `ApplicationServiceTestCase` to use `simple_async_mock`. ([\#11880](https://github.com/matrix-org/synapse/issues/11880))
+- Remove experimental changes to the default push rules which were introduced in Synapse 1.19.0 but never enabled. ([\#11884](https://github.com/matrix-org/synapse/issues/11884))
+- Disable coverage calculation for olddeps build. ([\#11888](https://github.com/matrix-org/synapse/issues/11888))
+- Preparation to support sending device list updates to application services. ([\#11905](https://github.com/matrix-org/synapse/issues/11905))
+- Add a test that checks users receive their own device list updates down `/sync`. ([\#11909](https://github.com/matrix-org/synapse/issues/11909))
+- Run Complement tests sequentially. ([\#11910](https://github.com/matrix-org/synapse/issues/11910))
+- Various refactors to the application service notifier code. ([\#11911](https://github.com/matrix-org/synapse/issues/11911), [\#11912](https://github.com/matrix-org/synapse/issues/11912))
+- Tests: replace mocked `Authenticator` with the real thing. ([\#11913](https://github.com/matrix-org/synapse/issues/11913))
+- Various refactors to the typing notifications code. ([\#11914](https://github.com/matrix-org/synapse/issues/11914))
+- Use the proper type for the Content-Length header in the `UploadResource`. ([\#11927](https://github.com/matrix-org/synapse/issues/11927))
+- Remove an unnecessary ignoring of type hints due to fixes in upstream packages. ([\#11939](https://github.com/matrix-org/synapse/issues/11939))
+- Add missing type hints. ([\#11953](https://github.com/matrix-org/synapse/issues/11953))
+- Fix an import cycle in `synapse.event_auth`. ([\#11965](https://github.com/matrix-org/synapse/issues/11965))
+- Unpin frozendict but exclude the known bad version 2.1.2. ([\#11969](https://github.com/matrix-org/synapse/issues/11969))
+- Prepare for rename of default complement branch. ([\#11971](https://github.com/matrix-org/synapse/issues/11971))
+- Fetch Synapse's version using a helper from `matrix-common`. ([\#11979](https://github.com/matrix-org/synapse/issues/11979))
+
+
 Synapse 1.52.0 (2022-02-08)
 ===========================
 

+ 0 - 1
changelog.d/11114.bugfix

@@ -1 +0,0 @@
-Fix [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) historical messages backfilling in random order on remote homeservers.

+ 0 - 1
changelog.d/11215.feature

@@ -1 +0,0 @@
-Add experimental support for sending to-device messages to application services, as specified by [MSC2409](https://github.com/matrix-org/matrix-doc/pull/2409). Disabled by default.

+ 0 - 1
changelog.d/11615.misc

@@ -1 +0,0 @@
-Enhance user registration test helpers to make them more useful for tests involving Application Services and devices.

+ 0 - 1
changelog.d/11616.misc

@@ -1 +0,0 @@
-Enhance user registration test helpers to make them more useful for tests involving Application Services and devices.

+ 0 - 1
changelog.d/11655.feature

@@ -1 +0,0 @@
-Remove account data (including client config, push rules and ignored users) upon user deactivation.

+ 0 - 1
changelog.d/11660.misc

@@ -1 +0,0 @@
-Improve performance when fetching bundled aggregations for multiple events.

+ 0 - 1
changelog.d/11752.misc

@@ -1 +0,0 @@
-Improve performance when fetching bundled aggregations for multiple events.

+ 0 - 1
changelog.d/11832.misc

@@ -1 +0,0 @@
-Fix type errors introduced by new annotations in the Prometheus Client library.

+ 0 - 1
changelog.d/11837.feature

@@ -1 +0,0 @@
-Experimental support for [MSC3666](https://github.com/matrix-org/matrix-doc/pull/3666): including bundled aggregations in server side search results.

+ 0 - 1
changelog.d/11849.feature

@@ -1 +0,0 @@
-Enable cache time-based expiry by default. The `expiry_time` config flag has been superseded by `expire_caches` and `cache_entry_ttl`.

+ 0 - 1
changelog.d/11854.feature

@@ -1 +0,0 @@
-Add a callback to allow modules to allow or forbid a 3PID (email address, phone number) from being associated to a local account.

+ 0 - 1
changelog.d/11856.misc

@@ -1 +0,0 @@
-Add missing type hints to replication code.

+ 0 - 1
changelog.d/11859.doc

@@ -1 +0,0 @@
-Fix typo in User Admin API: unpind -> unbind.

+ 0 - 1
changelog.d/11862.doc

@@ -1 +0,0 @@
-Document images returned by the User List Media Admin API can include those generated by URL previews.

+ 0 - 1
changelog.d/11867.feature

@@ -1 +0,0 @@
-Stabilize support for [MSC3231](https://github.com/matrix-org/matrix-doc/pull/3231). Clients should switch to the stable identifier and endpoint.

+ 0 - 1
changelog.d/11868.feature

@@ -1 +0,0 @@
-Allow modules to retrieve the current instance's server name and worker name.

+ 0 - 1
changelog.d/11869.misc

@@ -1 +0,0 @@
-Ensure that `opentracing` scopes are activated and closed at the right time.

+ 0 - 1
changelog.d/11870.misc

@@ -1 +0,0 @@
-Improve opentracing for incoming federation requests.

+ 0 - 1
changelog.d/11876.misc

@@ -1 +0,0 @@
-Improve internal docstrings in `synapse.util.caches`.

+ 0 - 1
changelog.d/11878.misc

@@ -1 +0,0 @@
-Do not needlessly clear the `get_users_in_room` and `get_users_in_room_with_profiles` caches when any room state changes.

+ 0 - 1
changelog.d/11880.misc

@@ -1 +0,0 @@
-Convert `ApplicationServiceTestCase` to use `simple_async_mock`.

+ 0 - 1
changelog.d/11884.misc

@@ -1 +0,0 @@
-Remove experimental changes to the default push rules which were introduced in Synapse 1.19.0 but never enabled.

+ 0 - 1
changelog.d/11888.misc

@@ -1 +0,0 @@
-Disable coverage calculation for olddeps build.

+ 0 - 1
changelog.d/11890.bugfix

@@ -1 +0,0 @@
-Fix a bug introduced in Synapse 1.51.0rc1 where incoming federation transactions containing at least one EDU would be dropped if debug logging was enabled for `synapse.8631_debug`.

+ 0 - 1
changelog.d/11892.feature

@@ -1 +0,0 @@
-Use a dedicated configurable rate limiter for 3PID invites.

+ 0 - 1
changelog.d/11895.removal

@@ -1 +0,0 @@
-Drop support for `webclient` listeners and configuring `web_client_location` to a non-HTTP(S) URL. Deprecated configurations are a configuration error.

+ 0 - 1
changelog.d/11905.misc

@@ -1 +0,0 @@
-Preparation to support sending device list updates to application services.

+ 0 - 1
changelog.d/11907.doc

@@ -1 +0,0 @@
-Remove outdated MSC1711 FAQ document.

+ 0 - 1
changelog.d/11909.misc

@@ -1 +0,0 @@
-Add a test that checks users receive their own device list updates down `/sync`.

+ 0 - 1
changelog.d/11910.misc

@@ -1 +0,0 @@
-Run Complement tests sequentially.

+ 0 - 1
changelog.d/11911.misc

@@ -1 +0,0 @@
-Various refactors to the application service notifier code.

+ 0 - 1
changelog.d/11912.misc

@@ -1 +0,0 @@
-Various refactors to the application service notifier code.

+ 0 - 1
changelog.d/11913.misc

@@ -1 +0,0 @@
-Tests: replace mocked `Authenticator` with the real thing.

+ 0 - 1
changelog.d/11914.misc

@@ -1 +0,0 @@
-Various refactors to the typing notifications code.

+ 0 - 1
changelog.d/11927.misc

@@ -1 +0,0 @@
-Use the proper type for the Content-Length header in the `UploadResource`.

+ 0 - 1
changelog.d/11930.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug that some unknown endpoints would return HTML error pages instead of JSON `M_UNRECOGNIZED` errors.

+ 0 - 1
changelog.d/11933.feature

@@ -1 +0,0 @@
-Support the stable API endpoint for [MSC3283](https://github.com/matrix-org/matrix-doc/pull/3283): new settings in `/capabilities` endpoint.

+ 0 - 1
changelog.d/11936.bugfix

@@ -1 +0,0 @@
-Implement an allow list of content types for which we will attempt to preview a URL. This prevents Synapse from making useless longer-lived connections to streaming media servers.

+ 0 - 1
changelog.d/11938.misc

@@ -1 +0,0 @@
-Add missing type hints to replication code.

+ 0 - 1
changelog.d/11939.misc

@@ -1 +0,0 @@
-Remove an unnecessary ignoring of type hints due to fixes in upstream packages.

+ 0 - 1
changelog.d/11941.feature

@@ -1 +0,0 @@
-Support the `dir` parameter on the `/relations` endpoint, per [MSC3715](https://github.com/matrix-org/matrix-doc/pull/3715).

+ 0 - 1
changelog.d/11946.doc

@@ -1 +0,0 @@
-Correct the structured logging configuration example. Contributed by Brad Jones.

+ 0 - 1
changelog.d/11950.removal

@@ -1 +0,0 @@
-Remove deprecated `user_may_create_room_with_invites` spam checker callback. See the [upgrade notes](https://matrix-org.github.io/synapse/latest/upgrade.html#removal-of-user_may_create_room_with_invites) for more information.

+ 0 - 1
changelog.d/11952.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where pagination tokens from `/sync` and `/messages` could not be provided to the `/relations` API.

+ 0 - 1
changelog.d/11953.misc

@@ -1 +0,0 @@
-Add missing type hints.

+ 0 - 1
changelog.d/11954.doc

@@ -1 +0,0 @@
-Add information on the Synapse release cycle.

+ 0 - 1
changelog.d/11955.doc

@@ -1 +0,0 @@
-Fix broken link in the README to the admin API for password reset.

+ 0 - 1
changelog.d/11961.removal

@@ -1 +0,0 @@
-No longer build `.deb` packages for Ubuntu 21.04 Hirsute Hippo, which has now EOLed.

+ 0 - 1
changelog.d/11965.misc

@@ -1 +0,0 @@
-Fix an import cycle in `synapse.event_auth`.

+ 0 - 1
changelog.d/11966.feature

@@ -1 +0,0 @@
-Add experimental support for sending to-device messages to application services, as specified by [MSC2409](https://github.com/matrix-org/matrix-doc/pull/2409). Disabled by default.

+ 0 - 1
changelog.d/11967.feature

@@ -1 +0,0 @@
-Experimental implementation of [MSC3706](https://github.com/matrix-org/matrix-doc/pull/3706): extensions to `/send_join` to support reduced response size.

+ 0 - 1
changelog.d/11969.misc

@@ -1 +0,0 @@
-Unpin frozendict but exclude the known bad version 2.1.2.

+ 0 - 1
changelog.d/11971.misc

@@ -1 +0,0 @@
-Prepare for rename of default complement branch.

+ 0 - 1
changelog.d/11975.bugfix

@@ -1 +0,0 @@
-Require that modules register their callbacks using keyword arguments.

+ 0 - 1
changelog.d/11979.misc

@@ -1 +0,0 @@
-Fetch Synapse's version using a helper from `matrix-common`.

+ 0 - 1
changelog.d/11988.bugfix

@@ -1 +0,0 @@
-Fix a long-standing bug where `M_WRONG_ROOM_KEYS_VERSION` errors would not include the specced `current_version` field.

+ 0 - 1
changelog.d/11989.feature

@@ -1 +0,0 @@
-Support the stable API endpoint for [MSC3283](https://github.com/matrix-org/matrix-doc/pull/3283): new settings in `/capabilities` endpoint.

+ 6 - 0
debian/changelog

@@ -1,3 +1,9 @@
+matrix-synapse-py3 (1.53.0~rc1) stable; urgency=medium
+
+  * New synapse release 1.53.0~rc1.
+
+ -- Synapse Packaging team <packages@matrix.org>  Tue, 15 Feb 2022 10:40:50 +0000
+
 matrix-synapse-py3 (1.52.0) stable; urgency=medium
 
   * New synapse release 1.52.0.

+ 1 - 1
synapse/__init__.py

@@ -47,7 +47,7 @@ try:
 except ImportError:
     pass
 
-__version__ = "1.52.0"
+__version__ = "1.53.0rc1"
 
 if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
     # We import here so that we don't have to install a bunch of deps when