From b210146fd97c58c29ee4dacab2f964e7b9b33c46 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 28 Jun 2022 16:36:08 +0100 Subject: [PATCH] 1.62.0rc1 --- CHANGES.md | 95 +++++++++++++++++++++++++++++++++++++++ changelog.d/12674.misc | 1 - changelog.d/12737.doc | 1 - changelog.d/12738.misc | 1 - changelog.d/12857.feature | 1 - changelog.d/12881.misc | 1 - changelog.d/12893.misc | 1 - changelog.d/12929.misc | 1 - changelog.d/12939.bugfix | 1 - changelog.d/12941.misc | 1 - changelog.d/12944.misc | 1 - changelog.d/12954.misc | 1 - changelog.d/12957.misc | 1 - changelog.d/12963.misc | 1 - changelog.d/12965.misc | 1 - changelog.d/12969.misc | 1 - changelog.d/12970.misc | 1 - changelog.d/12973.bugfix | 1 - changelog.d/12979.bugfix | 1 - changelog.d/12982.misc | 1 - changelog.d/12984.misc | 1 - changelog.d/12985.misc | 1 - changelog.d/12986.misc | 1 - changelog.d/12990.misc | 1 - changelog.d/12991.bugfix | 2 - changelog.d/13004.misc | 1 - changelog.d/13005.misc | 1 - changelog.d/13011.misc | 1 - changelog.d/13013.misc | 1 - changelog.d/13017.misc | 1 - changelog.d/13018.bugfix | 1 - changelog.d/13021.misc | 1 - changelog.d/13022.doc | 1 - changelog.d/13023.doc | 1 - changelog.d/13025.misc | 1 - changelog.d/13034.misc | 1 - changelog.d/13035.feature | 1 - changelog.d/13036.feature | 1 - changelog.d/13041.bugfix | 2 - changelog.d/13042.misc | 1 - changelog.d/13045.feature | 1 - changelog.d/13046.misc | 1 - changelog.d/13047.feature | 1 - changelog.d/13048.misc | 1 - changelog.d/13050.misc | 1 - changelog.d/13052.misc | 1 - changelog.d/13054.misc | 1 - changelog.d/13055.misc | 1 - changelog.d/13056.feature | 1 - changelog.d/13057.misc | 1 - changelog.d/13058.misc | 1 - changelog.d/13060.misc | 1 - changelog.d/13061.misc | 1 - changelog.d/13062.misc | 1 - changelog.d/13063.misc | 1 - changelog.d/13065.misc | 1 - changelog.d/13069.misc | 1 - changelog.d/13070.misc | 1 - changelog.d/13071.misc | 1 - changelog.d/13073.doc | 1 - changelog.d/13074.misc | 1 - changelog.d/13075.misc | 1 - changelog.d/13076.doc | 1 - changelog.d/13082.misc | 1 - changelog.d/13085.misc | 1 - changelog.d/13087.bugfix | 1 - changelog.d/13088.bugfix | 1 - changelog.d/13089.misc | 1 - changelog.d/13093.misc | 1 - changelog.d/13095.doc | 1 - changelog.d/13096.misc | 1 - changelog.d/13098.feature | 1 - changelog.d/13099.misc | 1 - changelog.d/13106.bugfix | 1 - changelog.d/13112.doc | 1 - changelog.d/13118.misc | 1 - changelog.d/13123.removal | 1 - changelog.d/13124.misc | 1 - debian/changelog | 6 +++ pyproject.toml | 2 +- 80 files changed, 102 insertions(+), 80 deletions(-) delete mode 100644 changelog.d/12674.misc delete mode 100644 changelog.d/12737.doc delete mode 100644 changelog.d/12738.misc delete mode 100644 changelog.d/12857.feature delete mode 100644 changelog.d/12881.misc delete mode 100644 changelog.d/12893.misc delete mode 100644 changelog.d/12929.misc delete mode 100644 changelog.d/12939.bugfix delete mode 100644 changelog.d/12941.misc delete mode 100644 changelog.d/12944.misc delete mode 100644 changelog.d/12954.misc delete mode 100644 changelog.d/12957.misc delete mode 100644 changelog.d/12963.misc delete mode 100644 changelog.d/12965.misc delete mode 100644 changelog.d/12969.misc delete mode 100644 changelog.d/12970.misc delete mode 100644 changelog.d/12973.bugfix delete mode 100644 changelog.d/12979.bugfix delete mode 100644 changelog.d/12982.misc delete mode 100644 changelog.d/12984.misc delete mode 100644 changelog.d/12985.misc delete mode 100644 changelog.d/12986.misc delete mode 100644 changelog.d/12990.misc delete mode 100644 changelog.d/12991.bugfix delete mode 100644 changelog.d/13004.misc delete mode 100644 changelog.d/13005.misc delete mode 100644 changelog.d/13011.misc delete mode 100644 changelog.d/13013.misc delete mode 100644 changelog.d/13017.misc delete mode 100644 changelog.d/13018.bugfix delete mode 100644 changelog.d/13021.misc delete mode 100644 changelog.d/13022.doc delete mode 100644 changelog.d/13023.doc delete mode 100644 changelog.d/13025.misc delete mode 100644 changelog.d/13034.misc delete mode 100644 changelog.d/13035.feature delete mode 100644 changelog.d/13036.feature delete mode 100644 changelog.d/13041.bugfix delete mode 100644 changelog.d/13042.misc delete mode 100644 changelog.d/13045.feature delete mode 100644 changelog.d/13046.misc delete mode 100644 changelog.d/13047.feature delete mode 100644 changelog.d/13048.misc delete mode 100644 changelog.d/13050.misc delete mode 100644 changelog.d/13052.misc delete mode 100644 changelog.d/13054.misc delete mode 100644 changelog.d/13055.misc delete mode 100644 changelog.d/13056.feature delete mode 100644 changelog.d/13057.misc delete mode 100644 changelog.d/13058.misc delete mode 100644 changelog.d/13060.misc delete mode 100644 changelog.d/13061.misc delete mode 100644 changelog.d/13062.misc delete mode 100644 changelog.d/13063.misc delete mode 100644 changelog.d/13065.misc delete mode 100644 changelog.d/13069.misc delete mode 100644 changelog.d/13070.misc delete mode 100644 changelog.d/13071.misc delete mode 100644 changelog.d/13073.doc delete mode 100644 changelog.d/13074.misc delete mode 100644 changelog.d/13075.misc delete mode 100644 changelog.d/13076.doc delete mode 100644 changelog.d/13082.misc delete mode 100644 changelog.d/13085.misc delete mode 100644 changelog.d/13087.bugfix delete mode 100644 changelog.d/13088.bugfix delete mode 100644 changelog.d/13089.misc delete mode 100644 changelog.d/13093.misc delete mode 100644 changelog.d/13095.doc delete mode 100644 changelog.d/13096.misc delete mode 100644 changelog.d/13098.feature delete mode 100644 changelog.d/13099.misc delete mode 100644 changelog.d/13106.bugfix delete mode 100644 changelog.d/13112.doc delete mode 100644 changelog.d/13118.misc delete mode 100644 changelog.d/13123.removal delete mode 100644 changelog.d/13124.misc diff --git a/CHANGES.md b/CHANGES.md index 0db01d4096..4c1decf8f4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,98 @@ +Synapse 1.62.0rc1 (2022-06-28) +============================== + +Features +-------- + +- Port the spam-checker API callbacks to a new, richer API. This is part of an ongoing change to let spam-checker modules inform users of the reason their event or operation is rejected. ([\#12857](https://github.com/matrix-org/synapse/issues/12857), [\#13047](https://github.com/matrix-org/synapse/issues/13047)) +- Allow server admins to customise the response of the `/.well-known/matrix/client` endpoint. ([\#13035](https://github.com/matrix-org/synapse/issues/13035)) +- Add metrics measuring the CPU and DB time spent in state resolution. ([\#13036](https://github.com/matrix-org/synapse/issues/13036)) +- Speed up fetching of device list changes in `/sync` and `/keys/changes`. ([\#13045](https://github.com/matrix-org/synapse/issues/13045), [\#13098](https://github.com/matrix-org/synapse/issues/13098)) +- Improve URL previews for sites which only provide Twitter Card metadata, e.g. LWN.net. ([\#13056](https://github.com/matrix-org/synapse/issues/13056)) + + +Bugfixes +-------- + +- Update [MSC3786](https://github.com/matrix-org/matrix-spec-proposals/pull/3786) implementation to check `state_key`. ([\#12939](https://github.com/matrix-org/synapse/issues/12939)) +- Fix a bug introduced in Synapse 1.58 where Synapse would not report full version information when installed from a git checkout. This is a best-effort affair and not guaranteed to be stable. ([\#12973](https://github.com/matrix-org/synapse/issues/12973)) +- Fix a bug introduced in Synapse 1.60 where Synapse would fail to start if the `sqlite3` module was not available. ([\#12979](https://github.com/matrix-org/synapse/issues/12979)) +- Fix a bug where non-standard information was required when requesting the `/hierarchy` API over federation. Introduced + in Synapse v1.41.0. ([\#12991](https://github.com/matrix-org/synapse/issues/12991)) +- Fix a long-standing bug which meant that rate limiting was not restrictive enough in some cases. ([\#13018](https://github.com/matrix-org/synapse/issues/13018)) +- Fix a bug introduced in Synapse 1.58 where profile requests for a malformed user ID would ccause an internal error. Synapse now returns 400 Bad Request in this situation. ([\#13041](https://github.com/matrix-org/synapse/issues/13041)) +- Fix some inconsistencies in the event authentication code. ([\#13087](https://github.com/matrix-org/synapse/issues/13087), [\#13088](https://github.com/matrix-org/synapse/issues/13088)) +- Fix a long-standing bug where room directory requests would cause an internal server error if given a malformed room alias. ([\#13106](https://github.com/matrix-org/synapse/issues/13106)) + + +Improved Documentation +---------------------- + +- Add documentation for how to configure Synapse with Workers using Docker Compose. Includes example worker config and docker-compose.yaml. Contributed by @Thumbscrew. ([\#12737](https://github.com/matrix-org/synapse/issues/12737)) +- Ensure the [Poetry cheat sheet](https://matrix-org.github.io/synapse/develop/development/dependencies.html) is available in the online documentation. ([\#13022](https://github.com/matrix-org/synapse/issues/13022)) +- Mention removed community/group worker endpoints in upgrade.md. Contributed by @olmari. ([\#13023](https://github.com/matrix-org/synapse/issues/13023)) +- Add instructions for running Complement with `gotestfmt`-formatted output locally. ([\#13073](https://github.com/matrix-org/synapse/issues/13073)) +- Update OpenTracing docs to reference the configuration manual rather than the configuration file. ([\#13076](https://github.com/matrix-org/synapse/issues/13076)) +- Update information on downstream Debian packages. ([\#13095](https://github.com/matrix-org/synapse/issues/13095)) +- Remove documentation for the Delete Group Admin API which no longer exists. ([\#13112](https://github.com/matrix-org/synapse/issues/13112)) + + +Deprecations and Removals +------------------------- + +- Remove the unspecced `DELETE /directory/list/room/{roomId}` endpoint, which hid rooms from the [public room directory](https://spec.matrix.org/v1.3/client-server-api/#listing-rooms). Instead, `PUT` to the same URL with a visibility of `"private"`. ([\#13123](https://github.com/matrix-org/synapse/issues/13123)) + + +Internal Changes +---------------- + +- Add tests for cancellation of `GET /rooms/$room_id/members` and `GET /rooms/$room_id/state` requests. ([\#12674](https://github.com/matrix-org/synapse/issues/12674)) +- Report login failures due to unknown third party identifiers in the same way as failures due to invalid passwords. This prevents an attacker from using the error response to determine if the identifier exists. Contributed by Daniel Aloni. ([\#12738](https://github.com/matrix-org/synapse/issues/12738)) +- Merge the Complement testing Docker images into a single, multi-purpose image. ([\#12881](https://github.com/matrix-org/synapse/issues/12881), [\#13075](https://github.com/matrix-org/synapse/issues/13075)) +- Simplify the database schema for `event_edges`. ([\#12893](https://github.com/matrix-org/synapse/issues/12893)) +- Clean up the test code for client disconnection. ([\#12929](https://github.com/matrix-org/synapse/issues/12929)) +- Remove code generating comments in configuration. ([\#12941](https://github.com/matrix-org/synapse/issues/12941)) +- Add `Cross-Origin-Resource-Policy: cross-origin` header to content repository's thumbnail and download endpoints. ([\#12944](https://github.com/matrix-org/synapse/issues/12944)) +- Replace noop background updates with `DELETE` delta. ([\#12954](https://github.com/matrix-org/synapse/issues/12954), [\#13050](https://github.com/matrix-org/synapse/issues/13050)) +- Use lower isolation level when inserting read receipts to avoid serialization errors. Contributed by Nick @ Beeper. ([\#12957](https://github.com/matrix-org/synapse/issues/12957)) +- Reduce the amount of state we pull from the DB. ([\#12963](https://github.com/matrix-org/synapse/issues/12963)) +- Enable testing against PostgreSQL databases in Complement CI. ([\#12965](https://github.com/matrix-org/synapse/issues/12965), [\#13034](https://github.com/matrix-org/synapse/issues/13034)) +- Fix an inaccurate comment. ([\#12969](https://github.com/matrix-org/synapse/issues/12969)) +- Remove the `delete_device` method and always call `delete_devices`. ([\#12970](https://github.com/matrix-org/synapse/issues/12970)) +- Use a GitHub form for issues rather than a hard-to-read, easy-to-ignore template. ([\#12982](https://github.com/matrix-org/synapse/issues/12982)) +- Move [MSC3715](https://github.com/matrix-org/matrix-spec-proposals/pull/3715) behind an experimental config flag. ([\#12984](https://github.com/matrix-org/synapse/issues/12984)) +- Add type hints to tests. ([\#12985](https://github.com/matrix-org/synapse/issues/12985), [\#13099](https://github.com/matrix-org/synapse/issues/13099)) +- Refactor macaroon tokens generation and move the unsubscribe link in notification emails to `/_synapse/client/unsubscribe`. ([\#12986](https://github.com/matrix-org/synapse/issues/12986)) +- Fix documentation for running complement tests. ([\#12990](https://github.com/matrix-org/synapse/issues/12990)) +- Faster joins: add issue links to the TODO comments in the code. ([\#13004](https://github.com/matrix-org/synapse/issues/13004)) +- Reduce DB usage of `/sync` when a large number of unread messages have recently been sent in a room. ([\#13005](https://github.com/matrix-org/synapse/issues/13005), [\#13096](https://github.com/matrix-org/synapse/issues/13096), [\#13118](https://github.com/matrix-org/synapse/issues/13118)) +- Replaced usage of PyJWT with methods from Authlib in `org.matrix.login.jwt`. Contributed by Hannes Lerchl. ([\#13011](https://github.com/matrix-org/synapse/issues/13011)) +- Modernize the `contrib/graph/` scripts. ([\#13013](https://github.com/matrix-org/synapse/issues/13013)) +- Remove redundant `room_version` parameters from event auth functions. ([\#13017](https://github.com/matrix-org/synapse/issues/13017)) +- Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth`. ([\#13021](https://github.com/matrix-org/synapse/issues/13021)) +- Add type annotations to `synapse.storage.databases.main.devices`. ([\#13025](https://github.com/matrix-org/synapse/issues/13025)) +- Set default `sync_response_cache_duration` to two minutes. ([\#13042](https://github.com/matrix-org/synapse/issues/13042)) +- Rename CI test runs. ([\#13046](https://github.com/matrix-org/synapse/issues/13046)) +- Increase timeout of complement CI test runs. ([\#13048](https://github.com/matrix-org/synapse/issues/13048)) +- Refactor entry points so that they all have a `main` function. ([\#13052](https://github.com/matrix-org/synapse/issues/13052)) +- Refactor the Dockerfile-workers configuration script to use Jinja2 templates in Synapse workers' Supervisord blocks. ([\#13054](https://github.com/matrix-org/synapse/issues/13054)) +- Add headers to individual options in config documentation to allow for linking. ([\#13055](https://github.com/matrix-org/synapse/issues/13055)) +- Make Complement CI logs easier to read. ([\#13057](https://github.com/matrix-org/synapse/issues/13057), [\#13058](https://github.com/matrix-org/synapse/issues/13058), [\#13069](https://github.com/matrix-org/synapse/issues/13069)) +- Don't instantiate modules with keyword arguments. ([\#13060](https://github.com/matrix-org/synapse/issues/13060)) +- Fix type checking errors against Twisted trunk. ([\#13061](https://github.com/matrix-org/synapse/issues/13061)) +- Allow MSC3030 `timestamp_to_event` calls from anyone on world-readable rooms. ([\#13062](https://github.com/matrix-org/synapse/issues/13062)) +- Add a CI job to check that schema deltas are in the correct folder. ([\#13063](https://github.com/matrix-org/synapse/issues/13063)) +- Avoid rechecking event auth rules which are independent of room state. ([\#13065](https://github.com/matrix-org/synapse/issues/13065)) +- Reduce the duplication of code that invokes the rate limiter. ([\#13070](https://github.com/matrix-org/synapse/issues/13070)) +- Add a Subject Alternative Name to the certificate generated for Complement tests. ([\#13071](https://github.com/matrix-org/synapse/issues/13071)) +- Add more tests for room upgrades. ([\#13074](https://github.com/matrix-org/synapse/issues/13074)) +- Pin dependencies maintained by matrix.org to [semantic version](https://semver.org/) bounds. ([\#13082](https://github.com/matrix-org/synapse/issues/13082)) +- Correctly report prometheus DB stats for `get_earliest_token_for_stats`. ([\#13085](https://github.com/matrix-org/synapse/issues/13085)) +- Fix a long-standing bug where a finished logging context would be re-started when Synapse failed to persist an event from federation. ([\#13089](https://github.com/matrix-org/synapse/issues/13089)) +- Simplify the alias deletion logic as an application service. ([\#13093](https://github.com/matrix-org/synapse/issues/13093)) +- Add type annotations to `tests.test_server`. ([\#13124](https://github.com/matrix-org/synapse/issues/13124)) + + Synapse 1.61.1 (2022-06-28) =========================== diff --git a/changelog.d/12674.misc b/changelog.d/12674.misc deleted file mode 100644 index c8a8f32f0a..0000000000 --- a/changelog.d/12674.misc +++ /dev/null @@ -1 +0,0 @@ -Add tests for cancellation of `GET /rooms/$room_id/members` and `GET /rooms/$room_id/state` requests. diff --git a/changelog.d/12737.doc b/changelog.d/12737.doc deleted file mode 100644 index ab2d1f2fd9..0000000000 --- a/changelog.d/12737.doc +++ /dev/null @@ -1 +0,0 @@ -Add documentation for how to configure Synapse with Workers using Docker Compose. Includes example worker config and docker-compose.yaml. Contributed by @Thumbscrew. \ No newline at end of file diff --git a/changelog.d/12738.misc b/changelog.d/12738.misc deleted file mode 100644 index 8252223475..0000000000 --- a/changelog.d/12738.misc +++ /dev/null @@ -1 +0,0 @@ -Report login failures due to unknown third party identifiers in the same way as failures due to invalid passwords. This prevents an attacker from using the error response to determine if the identifier exists. Contributed by Daniel Aloni. \ No newline at end of file diff --git a/changelog.d/12857.feature b/changelog.d/12857.feature deleted file mode 100644 index ddd1dbe685..0000000000 --- a/changelog.d/12857.feature +++ /dev/null @@ -1 +0,0 @@ -Port spam-checker API callbacks to a new, richer API. This is part of an ongoing change to let spam-checker modules inform users of the reason their event or operation is rejected. diff --git a/changelog.d/12881.misc b/changelog.d/12881.misc deleted file mode 100644 index 8a83182bd4..0000000000 --- a/changelog.d/12881.misc +++ /dev/null @@ -1 +0,0 @@ -Merge the Complement testing Docker images into a single, multi-purpose image. \ No newline at end of file diff --git a/changelog.d/12893.misc b/changelog.d/12893.misc deleted file mode 100644 index 5705210303..0000000000 --- a/changelog.d/12893.misc +++ /dev/null @@ -1 +0,0 @@ -Simplify the database schema for `event_edges`. diff --git a/changelog.d/12929.misc b/changelog.d/12929.misc deleted file mode 100644 index 20718d258d..0000000000 --- a/changelog.d/12929.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up the test code for client disconnection. diff --git a/changelog.d/12939.bugfix b/changelog.d/12939.bugfix deleted file mode 100644 index d9061cf8e5..0000000000 --- a/changelog.d/12939.bugfix +++ /dev/null @@ -1 +0,0 @@ -Update [MSC3786](https://github.com/matrix-org/matrix-spec-proposals/pull/3786) implementation to check `state_key`. diff --git a/changelog.d/12941.misc b/changelog.d/12941.misc deleted file mode 100644 index 6a74f255df..0000000000 --- a/changelog.d/12941.misc +++ /dev/null @@ -1 +0,0 @@ -Remove code generating comments in configuration. diff --git a/changelog.d/12944.misc b/changelog.d/12944.misc deleted file mode 100644 index bf27fe7e2c..0000000000 --- a/changelog.d/12944.misc +++ /dev/null @@ -1 +0,0 @@ -Add `Cross-Origin-Resource-Policy: cross-origin` header to content repository's thumbnail and download endpoints. \ No newline at end of file diff --git a/changelog.d/12954.misc b/changelog.d/12954.misc deleted file mode 100644 index 20bf136732..0000000000 --- a/changelog.d/12954.misc +++ /dev/null @@ -1 +0,0 @@ -Replace noop background updates with `DELETE` delta. diff --git a/changelog.d/12957.misc b/changelog.d/12957.misc deleted file mode 100644 index 0c075276ec..0000000000 --- a/changelog.d/12957.misc +++ /dev/null @@ -1 +0,0 @@ -Use lower isolation level when inserting read receipts to avoid serialization errors. Contributed by Nick @ Beeper. diff --git a/changelog.d/12963.misc b/changelog.d/12963.misc deleted file mode 100644 index d57e1aca6b..0000000000 --- a/changelog.d/12963.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce the amount of state we pull from the DB. diff --git a/changelog.d/12965.misc b/changelog.d/12965.misc deleted file mode 100644 index cc2823e12b..0000000000 --- a/changelog.d/12965.misc +++ /dev/null @@ -1 +0,0 @@ -Enable testing against PostgreSQL databases in Complement CI. \ No newline at end of file diff --git a/changelog.d/12969.misc b/changelog.d/12969.misc deleted file mode 100644 index 05de7ce839..0000000000 --- a/changelog.d/12969.misc +++ /dev/null @@ -1 +0,0 @@ -Fix an inaccurate comment. diff --git a/changelog.d/12970.misc b/changelog.d/12970.misc deleted file mode 100644 index 8f874aa07b..0000000000 --- a/changelog.d/12970.misc +++ /dev/null @@ -1 +0,0 @@ -Remove the `delete_device` method and always call `delete_devices`. diff --git a/changelog.d/12973.bugfix b/changelog.d/12973.bugfix deleted file mode 100644 index 1bf45854ff..0000000000 --- a/changelog.d/12973.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse 1.58 where Synapse would not report full version information when installed from a git checkout. This is a best-effort affair and not guaranteed to be stable. diff --git a/changelog.d/12979.bugfix b/changelog.d/12979.bugfix deleted file mode 100644 index 6b54408025..0000000000 --- a/changelog.d/12979.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse 1.60 where Synapse would fail to start if the `sqlite3` module was not available. diff --git a/changelog.d/12982.misc b/changelog.d/12982.misc deleted file mode 100644 index 036b69efe6..0000000000 --- a/changelog.d/12982.misc +++ /dev/null @@ -1 +0,0 @@ -Use a GitHub form for issues rather than a hard-to-read, easy-to-ignore template. \ No newline at end of file diff --git a/changelog.d/12984.misc b/changelog.d/12984.misc deleted file mode 100644 index a902017180..0000000000 --- a/changelog.d/12984.misc +++ /dev/null @@ -1 +0,0 @@ -Move [MSC3715](https://github.com/matrix-org/matrix-spec-proposals/pull/3715) behind an experimental config flag. diff --git a/changelog.d/12985.misc b/changelog.d/12985.misc deleted file mode 100644 index 7f6492d587..0000000000 --- a/changelog.d/12985.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to tests. diff --git a/changelog.d/12986.misc b/changelog.d/12986.misc deleted file mode 100644 index 937b888023..0000000000 --- a/changelog.d/12986.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor macaroon tokens generation and move the unsubscribe link in notification emails to `/_synapse/client/unsubscribe`. diff --git a/changelog.d/12990.misc b/changelog.d/12990.misc deleted file mode 100644 index c68f6a731e..0000000000 --- a/changelog.d/12990.misc +++ /dev/null @@ -1 +0,0 @@ -Fix documentation for running complement tests. diff --git a/changelog.d/12991.bugfix b/changelog.d/12991.bugfix deleted file mode 100644 index c6e388d5b9..0000000000 --- a/changelog.d/12991.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Fix a bug where non-standard information was required when requesting the `/hierarchy` API over federation. Introduced -in Synapse v1.41.0. diff --git a/changelog.d/13004.misc b/changelog.d/13004.misc deleted file mode 100644 index d8e93d87af..0000000000 --- a/changelog.d/13004.misc +++ /dev/null @@ -1 +0,0 @@ -Faster joins: add issue links to the TODO comments in the code. diff --git a/changelog.d/13005.misc b/changelog.d/13005.misc deleted file mode 100644 index 3bb51962e7..0000000000 --- a/changelog.d/13005.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce DB usage of `/sync` when a large number of unread messages have recently been sent in a room. diff --git a/changelog.d/13011.misc b/changelog.d/13011.misc deleted file mode 100644 index 4da223219f..0000000000 --- a/changelog.d/13011.misc +++ /dev/null @@ -1 +0,0 @@ -Replaced usage of PyJWT with methods from Authlib in `org.matrix.login.jwt`. Contributed by Hannes Lerchl. diff --git a/changelog.d/13013.misc b/changelog.d/13013.misc deleted file mode 100644 index 903c6a3c8a..0000000000 --- a/changelog.d/13013.misc +++ /dev/null @@ -1 +0,0 @@ -Modernize the `contrib/graph/` scripts. diff --git a/changelog.d/13017.misc b/changelog.d/13017.misc deleted file mode 100644 index b314687f9c..0000000000 --- a/changelog.d/13017.misc +++ /dev/null @@ -1 +0,0 @@ -Remove redundant `room_version` parameters from event auth functions. diff --git a/changelog.d/13018.bugfix b/changelog.d/13018.bugfix deleted file mode 100644 index a84657f04f..0000000000 --- a/changelog.d/13018.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug which meant that rate limiting was not restrictive enough in some cases. \ No newline at end of file diff --git a/changelog.d/13021.misc b/changelog.d/13021.misc deleted file mode 100644 index 84c41cdf59..0000000000 --- a/changelog.d/13021.misc +++ /dev/null @@ -1 +0,0 @@ -Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth`. diff --git a/changelog.d/13022.doc b/changelog.d/13022.doc deleted file mode 100644 index 4d6ac7ae94..0000000000 --- a/changelog.d/13022.doc +++ /dev/null @@ -1 +0,0 @@ -Ensure the [Poetry cheat sheet](https://matrix-org.github.io/synapse/develop/development/dependencies.html) is available in the online documentation. diff --git a/changelog.d/13023.doc b/changelog.d/13023.doc deleted file mode 100644 index 5589c7492c..0000000000 --- a/changelog.d/13023.doc +++ /dev/null @@ -1 +0,0 @@ -Mention removed community/group worker endpoints in upgrade.md. Contributed by @olmari. \ No newline at end of file diff --git a/changelog.d/13025.misc b/changelog.d/13025.misc deleted file mode 100644 index 7cb0d174b7..0000000000 --- a/changelog.d/13025.misc +++ /dev/null @@ -1 +0,0 @@ -Add type annotations to `synapse.storage.databases.main.devices`. diff --git a/changelog.d/13034.misc b/changelog.d/13034.misc deleted file mode 100644 index cc2823e12b..0000000000 --- a/changelog.d/13034.misc +++ /dev/null @@ -1 +0,0 @@ -Enable testing against PostgreSQL databases in Complement CI. \ No newline at end of file diff --git a/changelog.d/13035.feature b/changelog.d/13035.feature deleted file mode 100644 index cfca3ab4b7..0000000000 --- a/changelog.d/13035.feature +++ /dev/null @@ -1 +0,0 @@ -Allow server admins to customise the response of the `/.well-known/matrix/client` endpoint. diff --git a/changelog.d/13036.feature b/changelog.d/13036.feature deleted file mode 100644 index 71e5a29fe9..0000000000 --- a/changelog.d/13036.feature +++ /dev/null @@ -1 +0,0 @@ -Add metrics measuring the CPU and DB time spent in state resolution. diff --git a/changelog.d/13041.bugfix b/changelog.d/13041.bugfix deleted file mode 100644 index edb1635eb9..0000000000 --- a/changelog.d/13041.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Fix a bug introduced in Synapse 1.58 where profile requests for a malformed user ID would ccause an internal error. Synapse now returns 400 Bad Request in this situation. - diff --git a/changelog.d/13042.misc b/changelog.d/13042.misc deleted file mode 100644 index 745d5fcf84..0000000000 --- a/changelog.d/13042.misc +++ /dev/null @@ -1 +0,0 @@ -Set default `sync_response_cache_duration` to two minutes. diff --git a/changelog.d/13045.feature b/changelog.d/13045.feature deleted file mode 100644 index 7b0667ba95..0000000000 --- a/changelog.d/13045.feature +++ /dev/null @@ -1 +0,0 @@ -Speed up fetching of device list changes in `/sync` and `/keys/changes`. diff --git a/changelog.d/13046.misc b/changelog.d/13046.misc deleted file mode 100644 index 1248c34d39..0000000000 --- a/changelog.d/13046.misc +++ /dev/null @@ -1 +0,0 @@ -Rename CI test runs. diff --git a/changelog.d/13047.feature b/changelog.d/13047.feature deleted file mode 100644 index ddd1dbe685..0000000000 --- a/changelog.d/13047.feature +++ /dev/null @@ -1 +0,0 @@ -Port spam-checker API callbacks to a new, richer API. This is part of an ongoing change to let spam-checker modules inform users of the reason their event or operation is rejected. diff --git a/changelog.d/13048.misc b/changelog.d/13048.misc deleted file mode 100644 index 073c8b1a96..0000000000 --- a/changelog.d/13048.misc +++ /dev/null @@ -1 +0,0 @@ -Increase timeout of complement CI test runs. diff --git a/changelog.d/13050.misc b/changelog.d/13050.misc deleted file mode 100644 index 20bf136732..0000000000 --- a/changelog.d/13050.misc +++ /dev/null @@ -1 +0,0 @@ -Replace noop background updates with `DELETE` delta. diff --git a/changelog.d/13052.misc b/changelog.d/13052.misc deleted file mode 100644 index 0d11dfb12a..0000000000 --- a/changelog.d/13052.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor entry points so that they all have a `main` function. \ No newline at end of file diff --git a/changelog.d/13054.misc b/changelog.d/13054.misc deleted file mode 100644 index 0880553739..0000000000 --- a/changelog.d/13054.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor the Dockerfile-workers configuration script to use Jinja2 templates in Synapse workers' Supervisord blocks. \ No newline at end of file diff --git a/changelog.d/13055.misc b/changelog.d/13055.misc deleted file mode 100644 index 92a02a6080..0000000000 --- a/changelog.d/13055.misc +++ /dev/null @@ -1 +0,0 @@ -Add headers to individual options in config documentation to allow for linking. diff --git a/changelog.d/13056.feature b/changelog.d/13056.feature deleted file mode 100644 index 219e2f6c1e..0000000000 --- a/changelog.d/13056.feature +++ /dev/null @@ -1 +0,0 @@ -Improve URL previews for sites which only provide Twitter Card metadata, e.g. LWN.net. diff --git a/changelog.d/13057.misc b/changelog.d/13057.misc deleted file mode 100644 index 4102bf96b5..0000000000 --- a/changelog.d/13057.misc +++ /dev/null @@ -1 +0,0 @@ -Make Complement CI logs easier to read. \ No newline at end of file diff --git a/changelog.d/13058.misc b/changelog.d/13058.misc deleted file mode 100644 index 4102bf96b5..0000000000 --- a/changelog.d/13058.misc +++ /dev/null @@ -1 +0,0 @@ -Make Complement CI logs easier to read. \ No newline at end of file diff --git a/changelog.d/13060.misc b/changelog.d/13060.misc deleted file mode 100644 index c2376701f4..0000000000 --- a/changelog.d/13060.misc +++ /dev/null @@ -1 +0,0 @@ -Don't instantiate modules with keyword arguments. diff --git a/changelog.d/13061.misc b/changelog.d/13061.misc deleted file mode 100644 index 4c55e2b4ed..0000000000 --- a/changelog.d/13061.misc +++ /dev/null @@ -1 +0,0 @@ -Fix type checking errors against Twisted trunk. diff --git a/changelog.d/13062.misc b/changelog.d/13062.misc deleted file mode 100644 index d425e9a9ac..0000000000 --- a/changelog.d/13062.misc +++ /dev/null @@ -1 +0,0 @@ -Allow MSC3030 'timestamp_to_event' calls from anyone on world-readable rooms. diff --git a/changelog.d/13063.misc b/changelog.d/13063.misc deleted file mode 100644 index 167d6d2cd5..0000000000 --- a/changelog.d/13063.misc +++ /dev/null @@ -1 +0,0 @@ -Add a CI job to check that schema deltas are in the correct folder. diff --git a/changelog.d/13065.misc b/changelog.d/13065.misc deleted file mode 100644 index e9e8a7659a..0000000000 --- a/changelog.d/13065.misc +++ /dev/null @@ -1 +0,0 @@ -Avoid rechecking event auth rules which are independent of room state. diff --git a/changelog.d/13069.misc b/changelog.d/13069.misc deleted file mode 100644 index 4102bf96b5..0000000000 --- a/changelog.d/13069.misc +++ /dev/null @@ -1 +0,0 @@ -Make Complement CI logs easier to read. \ No newline at end of file diff --git a/changelog.d/13070.misc b/changelog.d/13070.misc deleted file mode 100644 index ce1f14342d..0000000000 --- a/changelog.d/13070.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce the duplication of code that invokes the rate limiter. \ No newline at end of file diff --git a/changelog.d/13071.misc b/changelog.d/13071.misc deleted file mode 100644 index a6e1e6b3a8..0000000000 --- a/changelog.d/13071.misc +++ /dev/null @@ -1 +0,0 @@ -Add a Subject Alternative Name to the certificate generated for Complement tests. \ No newline at end of file diff --git a/changelog.d/13073.doc b/changelog.d/13073.doc deleted file mode 100644 index e162a8404e..0000000000 --- a/changelog.d/13073.doc +++ /dev/null @@ -1 +0,0 @@ -Add instructions for running Complement with `gotestfmt`-formatted output locally. \ No newline at end of file diff --git a/changelog.d/13074.misc b/changelog.d/13074.misc deleted file mode 100644 index a502e44d92..0000000000 --- a/changelog.d/13074.misc +++ /dev/null @@ -1 +0,0 @@ -Add more tests for room upgrades. diff --git a/changelog.d/13075.misc b/changelog.d/13075.misc deleted file mode 100644 index 2311629f7b..0000000000 --- a/changelog.d/13075.misc +++ /dev/null @@ -1 +0,0 @@ -Merge the Complement testing Docker images into a single, multi-purpose image. diff --git a/changelog.d/13076.doc b/changelog.d/13076.doc deleted file mode 100644 index 75dc4630ea..0000000000 --- a/changelog.d/13076.doc +++ /dev/null @@ -1 +0,0 @@ -Update OpenTracing docs to reference the configuration manual rather than the configuration file. diff --git a/changelog.d/13082.misc b/changelog.d/13082.misc deleted file mode 100644 index 1aa386dbf7..0000000000 --- a/changelog.d/13082.misc +++ /dev/null @@ -1 +0,0 @@ -Pin dependencies maintained by matrix.org to [semantic version](https://semver.org/) bounds. diff --git a/changelog.d/13085.misc b/changelog.d/13085.misc deleted file mode 100644 index 2401d4f388..0000000000 --- a/changelog.d/13085.misc +++ /dev/null @@ -1 +0,0 @@ -Correctly report prometheus DB stats for `get_earliest_token_for_stats`. diff --git a/changelog.d/13087.bugfix b/changelog.d/13087.bugfix deleted file mode 100644 index 7c69801afe..0000000000 --- a/changelog.d/13087.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix some inconsistencies in the event authentication code. diff --git a/changelog.d/13088.bugfix b/changelog.d/13088.bugfix deleted file mode 100644 index 7c69801afe..0000000000 --- a/changelog.d/13088.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix some inconsistencies in the event authentication code. diff --git a/changelog.d/13089.misc b/changelog.d/13089.misc deleted file mode 100644 index 5868507cb7..0000000000 --- a/changelog.d/13089.misc +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug where a finished logging context would be re-started when Synapse failed to persist an event from federation. diff --git a/changelog.d/13093.misc b/changelog.d/13093.misc deleted file mode 100644 index 2547c87fa4..0000000000 --- a/changelog.d/13093.misc +++ /dev/null @@ -1 +0,0 @@ -Simplify the alias deletion logic as an application service. diff --git a/changelog.d/13095.doc b/changelog.d/13095.doc deleted file mode 100644 index 4651f25e14..0000000000 --- a/changelog.d/13095.doc +++ /dev/null @@ -1 +0,0 @@ -Update information on downstream Debian packages. diff --git a/changelog.d/13096.misc b/changelog.d/13096.misc deleted file mode 100644 index 3bb51962e7..0000000000 --- a/changelog.d/13096.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce DB usage of `/sync` when a large number of unread messages have recently been sent in a room. diff --git a/changelog.d/13098.feature b/changelog.d/13098.feature deleted file mode 100644 index 7b0667ba95..0000000000 --- a/changelog.d/13098.feature +++ /dev/null @@ -1 +0,0 @@ -Speed up fetching of device list changes in `/sync` and `/keys/changes`. diff --git a/changelog.d/13099.misc b/changelog.d/13099.misc deleted file mode 100644 index 7f6492d587..0000000000 --- a/changelog.d/13099.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to tests. diff --git a/changelog.d/13106.bugfix b/changelog.d/13106.bugfix deleted file mode 100644 index 0dc16bad08..0000000000 --- a/changelog.d/13106.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug where room directory requests would cause an internal server error if given a malformed room alias. \ No newline at end of file diff --git a/changelog.d/13112.doc b/changelog.d/13112.doc deleted file mode 100644 index 4b99951c70..0000000000 --- a/changelog.d/13112.doc +++ /dev/null @@ -1 +0,0 @@ -Remove documentation for the Delete Group Admin API which no longer exists. \ No newline at end of file diff --git a/changelog.d/13118.misc b/changelog.d/13118.misc deleted file mode 100644 index 3bb51962e7..0000000000 --- a/changelog.d/13118.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce DB usage of `/sync` when a large number of unread messages have recently been sent in a room. diff --git a/changelog.d/13123.removal b/changelog.d/13123.removal deleted file mode 100644 index f013f16163..0000000000 --- a/changelog.d/13123.removal +++ /dev/null @@ -1 +0,0 @@ -Remove the unspecced `DELETE /directory/list/room/{roomId}` endpoint, which hid rooms from the [public room directory](https://spec.matrix.org/v1.3/client-server-api/#listing-rooms). Instead, `PUT` to the same URL with a visibility of `"private"`. \ No newline at end of file diff --git a/changelog.d/13124.misc b/changelog.d/13124.misc deleted file mode 100644 index 513078f8d6..0000000000 --- a/changelog.d/13124.misc +++ /dev/null @@ -1 +0,0 @@ -Add type annotations to `tests.test_server`. diff --git a/debian/changelog b/debian/changelog index 2ca565a157..7fbd9baef6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.62.0~rc1) stable; urgency=medium + + * New Synapse release 1.62.0rc1. + + -- Synapse Packaging team Tue, 28 Jun 2022 16:34:57 +0100 + matrix-synapse-py3 (1.61.1) stable; urgency=medium * New Synapse release 1.61.1. diff --git a/pyproject.toml b/pyproject.toml index df44ee3140..8b66d3a9e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ skip_gitignore = true [tool.poetry] name = "matrix-synapse" -version = "1.61.1" +version = "1.62.0rc1" description = "Homeserver for the Matrix decentralised comms protocol" authors = ["Matrix.org Team and Contributors "] license = "Apache-2.0"