From 7c055990412d99a211d36ea108e17bf9d295ff67 Mon Sep 17 00:00:00 2001 From: Sean Quah Date: Tue, 15 Feb 2022 10:44:24 +0000 Subject: [PATCH 1/2] 1.53.0rc1 --- CHANGES.md | 79 +++++++++++++++++++++++++++++++++++++++ changelog.d/11114.bugfix | 1 - changelog.d/11215.feature | 1 - changelog.d/11615.misc | 1 - changelog.d/11616.misc | 1 - changelog.d/11655.feature | 1 - changelog.d/11660.misc | 1 - changelog.d/11752.misc | 1 - changelog.d/11832.misc | 1 - changelog.d/11837.feature | 1 - changelog.d/11849.feature | 1 - changelog.d/11854.feature | 1 - changelog.d/11856.misc | 1 - changelog.d/11859.doc | 1 - changelog.d/11862.doc | 1 - changelog.d/11867.feature | 1 - changelog.d/11868.feature | 1 - changelog.d/11869.misc | 1 - changelog.d/11870.misc | 1 - changelog.d/11876.misc | 1 - changelog.d/11878.misc | 1 - changelog.d/11880.misc | 1 - changelog.d/11884.misc | 1 - changelog.d/11888.misc | 1 - changelog.d/11890.bugfix | 1 - changelog.d/11892.feature | 1 - changelog.d/11895.removal | 1 - changelog.d/11905.misc | 1 - changelog.d/11907.doc | 1 - changelog.d/11909.misc | 1 - changelog.d/11910.misc | 1 - changelog.d/11911.misc | 1 - changelog.d/11912.misc | 1 - changelog.d/11913.misc | 1 - changelog.d/11914.misc | 1 - changelog.d/11927.misc | 1 - changelog.d/11930.bugfix | 1 - changelog.d/11933.feature | 1 - changelog.d/11936.bugfix | 1 - changelog.d/11938.misc | 1 - changelog.d/11939.misc | 1 - changelog.d/11941.feature | 1 - changelog.d/11946.doc | 1 - changelog.d/11950.removal | 1 - changelog.d/11952.bugfix | 1 - changelog.d/11953.misc | 1 - changelog.d/11954.doc | 1 - changelog.d/11955.doc | 1 - changelog.d/11961.removal | 1 - changelog.d/11965.misc | 1 - changelog.d/11966.feature | 1 - changelog.d/11967.feature | 1 - changelog.d/11969.misc | 1 - changelog.d/11971.misc | 1 - changelog.d/11975.bugfix | 1 - changelog.d/11979.misc | 1 - changelog.d/11988.bugfix | 1 - changelog.d/11989.feature | 1 - debian/changelog | 6 +++ synapse/__init__.py | 2 +- 60 files changed, 86 insertions(+), 58 deletions(-) delete mode 100644 changelog.d/11114.bugfix delete mode 100644 changelog.d/11215.feature delete mode 100644 changelog.d/11615.misc delete mode 100644 changelog.d/11616.misc delete mode 100644 changelog.d/11655.feature delete mode 100644 changelog.d/11660.misc delete mode 100644 changelog.d/11752.misc delete mode 100644 changelog.d/11832.misc delete mode 100644 changelog.d/11837.feature delete mode 100644 changelog.d/11849.feature delete mode 100644 changelog.d/11854.feature delete mode 100644 changelog.d/11856.misc delete mode 100644 changelog.d/11859.doc delete mode 100644 changelog.d/11862.doc delete mode 100644 changelog.d/11867.feature delete mode 100644 changelog.d/11868.feature delete mode 100644 changelog.d/11869.misc delete mode 100644 changelog.d/11870.misc delete mode 100644 changelog.d/11876.misc delete mode 100644 changelog.d/11878.misc delete mode 100644 changelog.d/11880.misc delete mode 100644 changelog.d/11884.misc delete mode 100644 changelog.d/11888.misc delete mode 100644 changelog.d/11890.bugfix delete mode 100644 changelog.d/11892.feature delete mode 100644 changelog.d/11895.removal delete mode 100644 changelog.d/11905.misc delete mode 100644 changelog.d/11907.doc delete mode 100644 changelog.d/11909.misc delete mode 100644 changelog.d/11910.misc delete mode 100644 changelog.d/11911.misc delete mode 100644 changelog.d/11912.misc delete mode 100644 changelog.d/11913.misc delete mode 100644 changelog.d/11914.misc delete mode 100644 changelog.d/11927.misc delete mode 100644 changelog.d/11930.bugfix delete mode 100644 changelog.d/11933.feature delete mode 100644 changelog.d/11936.bugfix delete mode 100644 changelog.d/11938.misc delete mode 100644 changelog.d/11939.misc delete mode 100644 changelog.d/11941.feature delete mode 100644 changelog.d/11946.doc delete mode 100644 changelog.d/11950.removal delete mode 100644 changelog.d/11952.bugfix delete mode 100644 changelog.d/11953.misc delete mode 100644 changelog.d/11954.doc delete mode 100644 changelog.d/11955.doc delete mode 100644 changelog.d/11961.removal delete mode 100644 changelog.d/11965.misc delete mode 100644 changelog.d/11966.feature delete mode 100644 changelog.d/11967.feature delete mode 100644 changelog.d/11969.misc delete mode 100644 changelog.d/11971.misc delete mode 100644 changelog.d/11975.bugfix delete mode 100644 changelog.d/11979.misc delete mode 100644 changelog.d/11988.bugfix delete mode 100644 changelog.d/11989.feature diff --git a/CHANGES.md b/CHANGES.md index 958024ff0..0398aa385 100644 --- a/CHANGES.md +++ b/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) =========================== diff --git a/changelog.d/11114.bugfix b/changelog.d/11114.bugfix deleted file mode 100644 index c6e65df97..000000000 --- a/changelog.d/11114.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) historical messages backfilling in random order on remote homeservers. diff --git a/changelog.d/11215.feature b/changelog.d/11215.feature deleted file mode 100644 index 468020834..000000000 --- a/changelog.d/11215.feature +++ /dev/null @@ -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. diff --git a/changelog.d/11615.misc b/changelog.d/11615.misc deleted file mode 100644 index bbc551698..000000000 --- a/changelog.d/11615.misc +++ /dev/null @@ -1 +0,0 @@ -Enhance user registration test helpers to make them more useful for tests involving Application Services and devices. diff --git a/changelog.d/11616.misc b/changelog.d/11616.misc deleted file mode 100644 index bbc551698..000000000 --- a/changelog.d/11616.misc +++ /dev/null @@ -1 +0,0 @@ -Enhance user registration test helpers to make them more useful for tests involving Application Services and devices. diff --git a/changelog.d/11655.feature b/changelog.d/11655.feature deleted file mode 100644 index dc426fb65..000000000 --- a/changelog.d/11655.feature +++ /dev/null @@ -1 +0,0 @@ -Remove account data (including client config, push rules and ignored users) upon user deactivation. \ No newline at end of file diff --git a/changelog.d/11660.misc b/changelog.d/11660.misc deleted file mode 100644 index 47e085e4d..000000000 --- a/changelog.d/11660.misc +++ /dev/null @@ -1 +0,0 @@ -Improve performance when fetching bundled aggregations for multiple events. diff --git a/changelog.d/11752.misc b/changelog.d/11752.misc deleted file mode 100644 index 47e085e4d..000000000 --- a/changelog.d/11752.misc +++ /dev/null @@ -1 +0,0 @@ -Improve performance when fetching bundled aggregations for multiple events. diff --git a/changelog.d/11832.misc b/changelog.d/11832.misc deleted file mode 100644 index 5ff117d93..000000000 --- a/changelog.d/11832.misc +++ /dev/null @@ -1 +0,0 @@ -Fix type errors introduced by new annotations in the Prometheus Client library. \ No newline at end of file diff --git a/changelog.d/11837.feature b/changelog.d/11837.feature deleted file mode 100644 index 62ef70712..000000000 --- a/changelog.d/11837.feature +++ /dev/null @@ -1 +0,0 @@ -Experimental support for [MSC3666](https://github.com/matrix-org/matrix-doc/pull/3666): including bundled aggregations in server side search results. diff --git a/changelog.d/11849.feature b/changelog.d/11849.feature deleted file mode 100644 index 6c6b57a77..000000000 --- a/changelog.d/11849.feature +++ /dev/null @@ -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`. diff --git a/changelog.d/11854.feature b/changelog.d/11854.feature deleted file mode 100644 index 975e95bc5..000000000 --- a/changelog.d/11854.feature +++ /dev/null @@ -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. diff --git a/changelog.d/11856.misc b/changelog.d/11856.misc deleted file mode 100644 index 1d3a0030f..000000000 --- a/changelog.d/11856.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to replication code. diff --git a/changelog.d/11859.doc b/changelog.d/11859.doc deleted file mode 100644 index d903c8dda..000000000 --- a/changelog.d/11859.doc +++ /dev/null @@ -1 +0,0 @@ -Fix typo in User Admin API: unpind -> unbind. diff --git a/changelog.d/11862.doc b/changelog.d/11862.doc deleted file mode 100644 index 98e32e732..000000000 --- a/changelog.d/11862.doc +++ /dev/null @@ -1 +0,0 @@ -Document images returned by the User List Media Admin API can include those generated by URL previews. diff --git a/changelog.d/11867.feature b/changelog.d/11867.feature deleted file mode 100644 index 601705e00..000000000 --- a/changelog.d/11867.feature +++ /dev/null @@ -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. diff --git a/changelog.d/11868.feature b/changelog.d/11868.feature deleted file mode 100644 index 3723dac4e..000000000 --- a/changelog.d/11868.feature +++ /dev/null @@ -1 +0,0 @@ -Allow modules to retrieve the current instance's server name and worker name. diff --git a/changelog.d/11869.misc b/changelog.d/11869.misc deleted file mode 100644 index 054fbf610..000000000 --- a/changelog.d/11869.misc +++ /dev/null @@ -1 +0,0 @@ -Ensure that `opentracing` scopes are activated and closed at the right time. diff --git a/changelog.d/11870.misc b/changelog.d/11870.misc deleted file mode 100644 index 2cb0efdb4..000000000 --- a/changelog.d/11870.misc +++ /dev/null @@ -1 +0,0 @@ -Improve opentracing for incoming federation requests. diff --git a/changelog.d/11876.misc b/changelog.d/11876.misc deleted file mode 100644 index 09f2d0b67..000000000 --- a/changelog.d/11876.misc +++ /dev/null @@ -1 +0,0 @@ -Improve internal docstrings in `synapse.util.caches`. diff --git a/changelog.d/11878.misc b/changelog.d/11878.misc deleted file mode 100644 index 74915a47d..000000000 --- a/changelog.d/11878.misc +++ /dev/null @@ -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. diff --git a/changelog.d/11880.misc b/changelog.d/11880.misc deleted file mode 100644 index 8125947b2..000000000 --- a/changelog.d/11880.misc +++ /dev/null @@ -1 +0,0 @@ -Convert `ApplicationServiceTestCase` to use `simple_async_mock`. \ No newline at end of file diff --git a/changelog.d/11884.misc b/changelog.d/11884.misc deleted file mode 100644 index d679d6038..000000000 --- a/changelog.d/11884.misc +++ /dev/null @@ -1 +0,0 @@ -Remove experimental changes to the default push rules which were introduced in Synapse 1.19.0 but never enabled. diff --git a/changelog.d/11888.misc b/changelog.d/11888.misc deleted file mode 100644 index db1c9b8bb..000000000 --- a/changelog.d/11888.misc +++ /dev/null @@ -1 +0,0 @@ -Disable coverage calculation for olddeps build. diff --git a/changelog.d/11890.bugfix b/changelog.d/11890.bugfix deleted file mode 100644 index 6b696692e..000000000 --- a/changelog.d/11890.bugfix +++ /dev/null @@ -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`. \ No newline at end of file diff --git a/changelog.d/11892.feature b/changelog.d/11892.feature deleted file mode 100644 index 86e21a7f8..000000000 --- a/changelog.d/11892.feature +++ /dev/null @@ -1 +0,0 @@ -Use a dedicated configurable rate limiter for 3PID invites. diff --git a/changelog.d/11895.removal b/changelog.d/11895.removal deleted file mode 100644 index 5973d96a3..000000000 --- a/changelog.d/11895.removal +++ /dev/null @@ -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. diff --git a/changelog.d/11905.misc b/changelog.d/11905.misc deleted file mode 100644 index 4f170cf01..000000000 --- a/changelog.d/11905.misc +++ /dev/null @@ -1 +0,0 @@ -Preparation to support sending device list updates to application services. \ No newline at end of file diff --git a/changelog.d/11907.doc b/changelog.d/11907.doc deleted file mode 100644 index 345cb9005..000000000 --- a/changelog.d/11907.doc +++ /dev/null @@ -1 +0,0 @@ -Remove outdated MSC1711 FAQ document. diff --git a/changelog.d/11909.misc b/changelog.d/11909.misc deleted file mode 100644 index ffd3e5c63..000000000 --- a/changelog.d/11909.misc +++ /dev/null @@ -1 +0,0 @@ -Add a test that checks users receive their own device list updates down `/sync`. \ No newline at end of file diff --git a/changelog.d/11910.misc b/changelog.d/11910.misc deleted file mode 100644 index d05130969..000000000 --- a/changelog.d/11910.misc +++ /dev/null @@ -1 +0,0 @@ -Run Complement tests sequentially. diff --git a/changelog.d/11911.misc b/changelog.d/11911.misc deleted file mode 100644 index 805588c2e..000000000 --- a/changelog.d/11911.misc +++ /dev/null @@ -1 +0,0 @@ -Various refactors to the application service notifier code. \ No newline at end of file diff --git a/changelog.d/11912.misc b/changelog.d/11912.misc deleted file mode 100644 index 805588c2e..000000000 --- a/changelog.d/11912.misc +++ /dev/null @@ -1 +0,0 @@ -Various refactors to the application service notifier code. \ No newline at end of file diff --git a/changelog.d/11913.misc b/changelog.d/11913.misc deleted file mode 100644 index cb7056036..000000000 --- a/changelog.d/11913.misc +++ /dev/null @@ -1 +0,0 @@ -Tests: replace mocked `Authenticator` with the real thing. diff --git a/changelog.d/11914.misc b/changelog.d/11914.misc deleted file mode 100644 index c288d4345..000000000 --- a/changelog.d/11914.misc +++ /dev/null @@ -1 +0,0 @@ -Various refactors to the typing notifications code. \ No newline at end of file diff --git a/changelog.d/11927.misc b/changelog.d/11927.misc deleted file mode 100644 index 22c58521c..000000000 --- a/changelog.d/11927.misc +++ /dev/null @@ -1 +0,0 @@ -Use the proper type for the Content-Length header in the `UploadResource`. diff --git a/changelog.d/11930.bugfix b/changelog.d/11930.bugfix deleted file mode 100644 index e0dfbf1a1..000000000 --- a/changelog.d/11930.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug that some unknown endpoints would return HTML error pages instead of JSON `M_UNRECOGNIZED` errors. diff --git a/changelog.d/11933.feature b/changelog.d/11933.feature deleted file mode 100644 index 2b1b0d178..000000000 --- a/changelog.d/11933.feature +++ /dev/null @@ -1 +0,0 @@ -Support the stable API endpoint for [MSC3283](https://github.com/matrix-org/matrix-doc/pull/3283): new settings in `/capabilities` endpoint. diff --git a/changelog.d/11936.bugfix b/changelog.d/11936.bugfix deleted file mode 100644 index bc149f280..000000000 --- a/changelog.d/11936.bugfix +++ /dev/null @@ -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. diff --git a/changelog.d/11938.misc b/changelog.d/11938.misc deleted file mode 100644 index 1d3a0030f..000000000 --- a/changelog.d/11938.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to replication code. diff --git a/changelog.d/11939.misc b/changelog.d/11939.misc deleted file mode 100644 index 317526f9e..000000000 --- a/changelog.d/11939.misc +++ /dev/null @@ -1 +0,0 @@ -Remove an unnecessary ignoring of type hints due to fixes in upstream packages. diff --git a/changelog.d/11941.feature b/changelog.d/11941.feature deleted file mode 100644 index 2b5b11cb9..000000000 --- a/changelog.d/11941.feature +++ /dev/null @@ -1 +0,0 @@ -Support the `dir` parameter on the `/relations` endpoint, per [MSC3715](https://github.com/matrix-org/matrix-doc/pull/3715). diff --git a/changelog.d/11946.doc b/changelog.d/11946.doc deleted file mode 100644 index eedf035a3..000000000 --- a/changelog.d/11946.doc +++ /dev/null @@ -1 +0,0 @@ -Correct the structured logging configuration example. Contributed by Brad Jones. diff --git a/changelog.d/11950.removal b/changelog.d/11950.removal deleted file mode 100644 index f75de40f2..000000000 --- a/changelog.d/11950.removal +++ /dev/null @@ -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. diff --git a/changelog.d/11952.bugfix b/changelog.d/11952.bugfix deleted file mode 100644 index e38a08f55..000000000 --- a/changelog.d/11952.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug where pagination tokens from `/sync` and `/messages` could not be provided to the `/relations` API. diff --git a/changelog.d/11953.misc b/changelog.d/11953.misc deleted file mode 100644 index d44571b73..000000000 --- a/changelog.d/11953.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints. diff --git a/changelog.d/11954.doc b/changelog.d/11954.doc deleted file mode 100644 index 6e7b39089..000000000 --- a/changelog.d/11954.doc +++ /dev/null @@ -1 +0,0 @@ -Add information on the Synapse release cycle. diff --git a/changelog.d/11955.doc b/changelog.d/11955.doc deleted file mode 100644 index 3d93115f5..000000000 --- a/changelog.d/11955.doc +++ /dev/null @@ -1 +0,0 @@ -Fix broken link in the README to the admin API for password reset. diff --git a/changelog.d/11961.removal b/changelog.d/11961.removal deleted file mode 100644 index 67b86ac7c..000000000 --- a/changelog.d/11961.removal +++ /dev/null @@ -1 +0,0 @@ -No longer build `.deb` packages for Ubuntu 21.04 Hirsute Hippo, which has now EOLed. \ No newline at end of file diff --git a/changelog.d/11965.misc b/changelog.d/11965.misc deleted file mode 100644 index e0265e103..000000000 --- a/changelog.d/11965.misc +++ /dev/null @@ -1 +0,0 @@ -Fix an import cycle in `synapse.event_auth`. diff --git a/changelog.d/11966.feature b/changelog.d/11966.feature deleted file mode 100644 index 468020834..000000000 --- a/changelog.d/11966.feature +++ /dev/null @@ -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. diff --git a/changelog.d/11967.feature b/changelog.d/11967.feature deleted file mode 100644 index d09320a29..000000000 --- a/changelog.d/11967.feature +++ /dev/null @@ -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. diff --git a/changelog.d/11969.misc b/changelog.d/11969.misc deleted file mode 100644 index 60a12d403..000000000 --- a/changelog.d/11969.misc +++ /dev/null @@ -1 +0,0 @@ -Unpin frozendict but exclude the known bad version 2.1.2. diff --git a/changelog.d/11971.misc b/changelog.d/11971.misc deleted file mode 100644 index 4e5bd8a39..000000000 --- a/changelog.d/11971.misc +++ /dev/null @@ -1 +0,0 @@ -Prepare for rename of default complement branch. diff --git a/changelog.d/11975.bugfix b/changelog.d/11975.bugfix deleted file mode 100644 index 076cb2b1e..000000000 --- a/changelog.d/11975.bugfix +++ /dev/null @@ -1 +0,0 @@ -Require that modules register their callbacks using keyword arguments. diff --git a/changelog.d/11979.misc b/changelog.d/11979.misc deleted file mode 100644 index 6edf3e029..000000000 --- a/changelog.d/11979.misc +++ /dev/null @@ -1 +0,0 @@ -Fetch Synapse's version using a helper from `matrix-common`. \ No newline at end of file diff --git a/changelog.d/11988.bugfix b/changelog.d/11988.bugfix deleted file mode 100644 index ced10d0c8..000000000 --- a/changelog.d/11988.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug where `M_WRONG_ROOM_KEYS_VERSION` errors would not include the specced `current_version` field. diff --git a/changelog.d/11989.feature b/changelog.d/11989.feature deleted file mode 100644 index 5975281a1..000000000 --- a/changelog.d/11989.feature +++ /dev/null @@ -1 +0,0 @@ -Support the stable API endpoint for [MSC3283](https://github.com/matrix-org/matrix-doc/pull/3283): new settings in `/capabilities` endpoint. \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 64ea103f3..fe79d7ed5 100644 --- a/debian/changelog +++ b/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 Tue, 15 Feb 2022 10:40:50 +0000 + matrix-synapse-py3 (1.52.0) stable; urgency=medium * New synapse release 1.52.0. diff --git a/synapse/__init__.py b/synapse/__init__.py index a23563937..2bf8eb2a1 100644 --- a/synapse/__init__.py +++ b/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 From f66997f2917c04632c8b29fc7a693c233ba91f45 Mon Sep 17 00:00:00 2001 From: Sean Quah Date: Tue, 15 Feb 2022 11:12:42 +0000 Subject: [PATCH 2/2] Update CHANGES.md --- CHANGES.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 0398aa385..4210d09d2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,12 +4,12 @@ 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)) +- Add experimental support for sending to-device messages to application services, as specified by [MSC2409](https://github.com/matrix-org/matrix-doc/pull/2409). ([\#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)) +- Stabilize support and remove unstable endpoints for [MSC3231](https://github.com/matrix-org/matrix-doc/pull/3231). Clients must switch to the stable identifier and endpoint. See the [upgrade notes](https://matrix-org.github.io/synapse/develop/upgrade#stablisation-of-msc3231) for more information. ([\#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)) @@ -21,7 +21,7 @@ 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 bug introduced in Synapse 1.51.0 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)) @@ -51,7 +51,7 @@ Deprecations and Removals 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)) +- 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)) @@ -68,12 +68,12 @@ Internal Changes - 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)) +- 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)) +- 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))