From 091ca3910d7c376d3e40cbb06ee553a85983ae04 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 13 Aug 2020 17:12:21 +0100 Subject: [PATCH 1/4] 1.19.0rc1 --- CHANGES.md | 66 ++++++++++++++++++++++++++++++++++++++++ changelog.d/7314.misc | 1 - changelog.d/7372.misc | 1 - changelog.d/7899.doc | 1 - changelog.d/7902.feature | 1 - changelog.d/7936.misc | 1 - changelog.d/7947.misc | 1 - changelog.d/7948.misc | 1 - changelog.d/7949.misc | 1 - changelog.d/7951.misc | 1 - changelog.d/7952.misc | 1 - changelog.d/7963.misc | 1 - changelog.d/7964.feature | 1 - changelog.d/7965.misc | 1 - changelog.d/7970.misc | 1 - changelog.d/7971.misc | 1 - changelog.d/7973.misc | 1 - changelog.d/7975.misc | 1 - changelog.d/7976.misc | 1 - changelog.d/7977.bugfix | 1 - changelog.d/7978.bugfix | 1 - changelog.d/7979.misc | 1 - changelog.d/7980.bugfix | 1 - changelog.d/7981.misc | 1 - changelog.d/7987.misc | 1 - changelog.d/7989.misc | 1 - changelog.d/7990.doc | 1 - changelog.d/7992.doc | 1 - changelog.d/7996.bugfix | 1 - changelog.d/7997.misc | 1 - changelog.d/7998.doc | 1 - changelog.d/7999.bugfix | 1 - changelog.d/8000.doc | 1 - changelog.d/8001.misc | 1 - changelog.d/8003.misc | 1 - changelog.d/8008.feature | 1 - changelog.d/8009.misc | 1 - changelog.d/8010.doc | 1 - changelog.d/8011.bugfix | 1 - changelog.d/8012.bugfix | 1 - changelog.d/8014.misc | 1 - changelog.d/8016.misc | 1 - changelog.d/8024.misc | 1 - changelog.d/8027.misc | 1 - changelog.d/8031.misc | 1 - changelog.d/8032.misc | 1 - changelog.d/8033.misc | 1 - changelog.d/8035.misc | 1 - changelog.d/8039.misc | 1 - changelog.d/8040.misc | 1 - changelog.d/8041.misc | 1 - changelog.d/8042.misc | 1 - changelog.d/8043.misc | 1 - changelog.d/8044.misc | 1 - changelog.d/8045.misc | 1 - changelog.d/8048.feature | 1 - changelog.d/8049.misc | 1 - changelog.d/8050.misc | 1 - changelog.d/8051.misc | 1 - changelog.d/8052.feature | 1 - changelog.d/8056.docker | 1 - changelog.d/8058.misc | 1 - changelog.d/8060.misc | 1 - changelog.d/8061.misc | 1 - changelog.d/8062.misc | 1 - changelog.d/8063.misc | 1 - changelog.d/8064.misc | 1 - changelog.d/8066.misc | 1 - changelog.d/8067.misc | 1 - changelog.d/8069.misc | 1 - changelog.d/8070.misc | 1 - synapse/__init__.py | 2 +- 72 files changed, 67 insertions(+), 71 deletions(-) delete mode 100644 changelog.d/7314.misc delete mode 100644 changelog.d/7372.misc delete mode 100644 changelog.d/7899.doc delete mode 100644 changelog.d/7902.feature delete mode 100644 changelog.d/7936.misc delete mode 100644 changelog.d/7947.misc delete mode 100644 changelog.d/7948.misc delete mode 100644 changelog.d/7949.misc delete mode 100644 changelog.d/7951.misc delete mode 100644 changelog.d/7952.misc delete mode 100644 changelog.d/7963.misc delete mode 100644 changelog.d/7964.feature delete mode 100644 changelog.d/7965.misc delete mode 100644 changelog.d/7970.misc delete mode 100644 changelog.d/7971.misc delete mode 100644 changelog.d/7973.misc delete mode 100644 changelog.d/7975.misc delete mode 100644 changelog.d/7976.misc delete mode 100644 changelog.d/7977.bugfix delete mode 100644 changelog.d/7978.bugfix delete mode 100644 changelog.d/7979.misc delete mode 100644 changelog.d/7980.bugfix delete mode 100644 changelog.d/7981.misc delete mode 100644 changelog.d/7987.misc delete mode 100644 changelog.d/7989.misc delete mode 100644 changelog.d/7990.doc delete mode 100644 changelog.d/7992.doc delete mode 100644 changelog.d/7996.bugfix delete mode 100644 changelog.d/7997.misc delete mode 100644 changelog.d/7998.doc delete mode 100644 changelog.d/7999.bugfix delete mode 100644 changelog.d/8000.doc delete mode 100644 changelog.d/8001.misc delete mode 100644 changelog.d/8003.misc delete mode 100644 changelog.d/8008.feature delete mode 100644 changelog.d/8009.misc delete mode 100644 changelog.d/8010.doc delete mode 100644 changelog.d/8011.bugfix delete mode 100644 changelog.d/8012.bugfix delete mode 100644 changelog.d/8014.misc delete mode 100644 changelog.d/8016.misc delete mode 100644 changelog.d/8024.misc delete mode 100644 changelog.d/8027.misc delete mode 100644 changelog.d/8031.misc delete mode 100644 changelog.d/8032.misc delete mode 100644 changelog.d/8033.misc delete mode 100644 changelog.d/8035.misc delete mode 100644 changelog.d/8039.misc delete mode 100644 changelog.d/8040.misc delete mode 100644 changelog.d/8041.misc delete mode 100644 changelog.d/8042.misc delete mode 100644 changelog.d/8043.misc delete mode 100644 changelog.d/8044.misc delete mode 100644 changelog.d/8045.misc delete mode 100644 changelog.d/8048.feature delete mode 100644 changelog.d/8049.misc delete mode 100644 changelog.d/8050.misc delete mode 100644 changelog.d/8051.misc delete mode 100644 changelog.d/8052.feature delete mode 100644 changelog.d/8056.docker delete mode 100644 changelog.d/8058.misc delete mode 100644 changelog.d/8060.misc delete mode 100644 changelog.d/8061.misc delete mode 100644 changelog.d/8062.misc delete mode 100644 changelog.d/8063.misc delete mode 100644 changelog.d/8064.misc delete mode 100644 changelog.d/8066.misc delete mode 100644 changelog.d/8067.misc delete mode 100644 changelog.d/8069.misc delete mode 100644 changelog.d/8070.misc diff --git a/CHANGES.md b/CHANGES.md index 6c986808eb..9f8ccb8363 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,69 @@ +Synapse 1.19.0rc1 (2020-08-13) +============================== + +Features +-------- + +- Add option to allow server admins to join rooms which fail complexity checks. Contributed by @lugino-emeritus. ([\#7902](https://github.com/matrix-org/synapse/issues/7902)) +- Add an option to purge room or not with delete room admin endpoint (`POST /_synapse/admin/v1/rooms//delete`). Contributed by @dklimpel. ([\#7964](https://github.com/matrix-org/synapse/issues/7964)) +- Add rate limiting to users joining rooms. ([\#8008](https://github.com/matrix-org/synapse/issues/8008)) +- Add a `/health` endpoint to every configured HTTP listener that can be used as a health check endpoint by load balancers. ([\#8048](https://github.com/matrix-org/synapse/issues/8048)) +- Allow login to be blocked based on the values of SAML attributes. ([\#8052](https://github.com/matrix-org/synapse/issues/8052)) + + +Bugfixes +-------- + +- Fix a bug introduced in Synapse v1.7.2 which caused inaccurate membership counts in the room directory. ([\#7977](https://github.com/matrix-org/synapse/issues/7977)) +- Fix a long standing bug: 'Duplicate key value violates unique constraint "event_relations_id"' when message retention is configured. ([\#7978](https://github.com/matrix-org/synapse/issues/7978)) +- Fix "no create event in auth events" when trying to reject invitation after inviter leaves. Bug introduced in Synapse v1.10.0. ([\#7980](https://github.com/matrix-org/synapse/issues/7980)) +- Fix various comments and minor discrepencies in server notices code. ([\#7996](https://github.com/matrix-org/synapse/issues/7996)) +- Fix a long standing bug where HTTP HEAD requests resulted in a 400 error. ([\#7999](https://github.com/matrix-org/synapse/issues/7999)) +- Fix a long-standing bug which caused two copies of some log lines to be written when synctl was used along with a MemoryHandler logger. ([\#8011](https://github.com/matrix-org/synapse/issues/8011), [\#8012](https://github.com/matrix-org/synapse/issues/8012)) + + +Updates to the Docker image +--------------------------- + +- We no longer publish Docker images with the `-py3` tag suffix, as announced at https://github.com/matrix-org/synapse/blob/develop/UPGRADE.rst#upgrading-to-v1180. ([\#8056](https://github.com/matrix-org/synapse/issues/8056)) + + +Improved Documentation +---------------------- + +- Document how to set up a Client Well-Known file and fix several pieces of outdated documentation. ([\#7899](https://github.com/matrix-org/synapse/issues/7899)) +- Improve workers docs. ([\#7990](https://github.com/matrix-org/synapse/issues/7990), [\#8000](https://github.com/matrix-org/synapse/issues/8000)) +- Fix typo in `docs/workers.md`. ([\#7992](https://github.com/matrix-org/synapse/issues/7992)) +- Add documentation for how to undo a room shutdown. ([\#7998](https://github.com/matrix-org/synapse/issues/7998), [\#8010](https://github.com/matrix-org/synapse/issues/8010)) + + +Internal Changes +---------------- + +- Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7314](https://github.com/matrix-org/synapse/issues/7314)) +- Reduce the amount of whitespace in JSON stored and sent in responses. Contributed by David Vo. ([\#7372](https://github.com/matrix-org/synapse/issues/7372)) +- Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. ([\#7936](https://github.com/matrix-org/synapse/issues/7936), [\#7979](https://github.com/matrix-org/synapse/issues/7979)) +- Convert various parts of the codebase to async/await. ([\#7947](https://github.com/matrix-org/synapse/issues/7947), [\#7948](https://github.com/matrix-org/synapse/issues/7948), [\#7949](https://github.com/matrix-org/synapse/issues/7949), [\#7951](https://github.com/matrix-org/synapse/issues/7951), [\#7963](https://github.com/matrix-org/synapse/issues/7963), [\#7973](https://github.com/matrix-org/synapse/issues/7973), [\#7975](https://github.com/matrix-org/synapse/issues/7975), [\#7976](https://github.com/matrix-org/synapse/issues/7976), [\#7981](https://github.com/matrix-org/synapse/issues/7981), [\#7987](https://github.com/matrix-org/synapse/issues/7987), [\#7989](https://github.com/matrix-org/synapse/issues/7989), [\#8003](https://github.com/matrix-org/synapse/issues/8003), [\#8014](https://github.com/matrix-org/synapse/issues/8014), [\#8016](https://github.com/matrix-org/synapse/issues/8016), [\#8027](https://github.com/matrix-org/synapse/issues/8027), [\#8031](https://github.com/matrix-org/synapse/issues/8031), [\#8032](https://github.com/matrix-org/synapse/issues/8032), [\#8035](https://github.com/matrix-org/synapse/issues/8035), [\#8042](https://github.com/matrix-org/synapse/issues/8042), [\#8044](https://github.com/matrix-org/synapse/issues/8044), [\#8045](https://github.com/matrix-org/synapse/issues/8045), [\#8061](https://github.com/matrix-org/synapse/issues/8061), [\#8062](https://github.com/matrix-org/synapse/issues/8062), [\#8063](https://github.com/matrix-org/synapse/issues/8063), [\#8066](https://github.com/matrix-org/synapse/issues/8066), [\#8069](https://github.com/matrix-org/synapse/issues/8069), [\#8070](https://github.com/matrix-org/synapse/issues/8070)) +- Move some database-related log lines from the default logger to the database/transaction loggers. ([\#7952](https://github.com/matrix-org/synapse/issues/7952)) +- Add a script to detect source code files using non-unix line terminators. ([\#7965](https://github.com/matrix-org/synapse/issues/7965), [\#7970](https://github.com/matrix-org/synapse/issues/7970)) +- Log the SAML session ID during creation. ([\#7971](https://github.com/matrix-org/synapse/issues/7971)) +- Implement new experimental push rules for some users. ([\#7997](https://github.com/matrix-org/synapse/issues/7997)) +- Remove redundant and unreliable signature check for v1 Identity Service lookup responses. ([\#8001](https://github.com/matrix-org/synapse/issues/8001)) +- Improve the performance of the register endpoint. ([\#8009](https://github.com/matrix-org/synapse/issues/8009)) +- Reduce less useful output in the newsfragment CI step. Add a link to the changelog section of the contributing guide on error. ([\#8024](https://github.com/matrix-org/synapse/issues/8024)) +- Rename storage layer objects to be more sensible. ([\#8033](https://github.com/matrix-org/synapse/issues/8033)) +- Revert MSC2654 implementation because of perf issues. Please delete this line when processing the 1.19 changelog. ([\#8039](https://github.com/matrix-org/synapse/issues/8039)) +- Change the default log config to reduce disk I/O and storage for new servers. ([\#8040](https://github.com/matrix-org/synapse/issues/8040)) +- Add an assertion on prev_events in create_new_client_event. ([\#8041](https://github.com/matrix-org/synapse/issues/8041)) +- Add a comment to `ServerContextFactory` about the use of `SSLv23_METHOD`. ([\#8043](https://github.com/matrix-org/synapse/issues/8043)) +- Log `OPTIONS` requests at `DEBUG` rather than `INFO` level to reduce amount logged at `INFO`. ([\#8049](https://github.com/matrix-org/synapse/issues/8049)) +- Reduce amount of outbound request logging at INFO level. ([\#8050](https://github.com/matrix-org/synapse/issues/8050)) +- It is no longer necessary to explicitly define `filters` in the logging configuration. (Continuing to do so is redundant but harmless.) ([\#8051](https://github.com/matrix-org/synapse/issues/8051)) +- Add type hints to `Notifier`. ([\#8058](https://github.com/matrix-org/synapse/issues/8058), [\#8064](https://github.com/matrix-org/synapse/issues/8064)) +- Improve typing information on `HomeServer` object. ([\#8060](https://github.com/matrix-org/synapse/issues/8060)) +- Add type hints to `synapse.handlers.message` and `synapse.events.builder`. ([\#8067](https://github.com/matrix-org/synapse/issues/8067)) + + Synapse 1.18.0 (2020-07-30) =========================== diff --git a/changelog.d/7314.misc b/changelog.d/7314.misc deleted file mode 100644 index 30720100c2..0000000000 --- a/changelog.d/7314.misc +++ /dev/null @@ -1 +0,0 @@ -Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH. diff --git a/changelog.d/7372.misc b/changelog.d/7372.misc deleted file mode 100644 index 67a39f0471..0000000000 --- a/changelog.d/7372.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce the amount of whitespace in JSON stored and sent in responses. Contributed by David Vo. diff --git a/changelog.d/7899.doc b/changelog.d/7899.doc deleted file mode 100644 index 847c2cb62c..0000000000 --- a/changelog.d/7899.doc +++ /dev/null @@ -1 +0,0 @@ -Document how to set up a Client Well-Known file and fix several pieces of outdated documentation. diff --git a/changelog.d/7902.feature b/changelog.d/7902.feature deleted file mode 100644 index 4feae8cc29..0000000000 --- a/changelog.d/7902.feature +++ /dev/null @@ -1 +0,0 @@ -Add option to allow server admins to join rooms which fail complexity checks. Contributed by @lugino-emeritus. diff --git a/changelog.d/7936.misc b/changelog.d/7936.misc deleted file mode 100644 index 4304bbdd25..0000000000 --- a/changelog.d/7936.misc +++ /dev/null @@ -1 +0,0 @@ -Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. diff --git a/changelog.d/7947.misc b/changelog.d/7947.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7947.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7948.misc b/changelog.d/7948.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7948.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7949.misc b/changelog.d/7949.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7949.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7951.misc b/changelog.d/7951.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7951.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7952.misc b/changelog.d/7952.misc deleted file mode 100644 index 93c25cb386..0000000000 --- a/changelog.d/7952.misc +++ /dev/null @@ -1 +0,0 @@ -Move some database-related log lines from the default logger to the database/transaction loggers. \ No newline at end of file diff --git a/changelog.d/7963.misc b/changelog.d/7963.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7963.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7964.feature b/changelog.d/7964.feature deleted file mode 100644 index ffe861650c..0000000000 --- a/changelog.d/7964.feature +++ /dev/null @@ -1 +0,0 @@ -Add an option to purge room or not with delete room admin endpoint (`POST /_synapse/admin/v1/rooms//delete`). Contributed by @dklimpel. \ No newline at end of file diff --git a/changelog.d/7965.misc b/changelog.d/7965.misc deleted file mode 100644 index ee9f1a7114..0000000000 --- a/changelog.d/7965.misc +++ /dev/null @@ -1 +0,0 @@ -Add a script to detect source code files using non-unix line terminators. \ No newline at end of file diff --git a/changelog.d/7970.misc b/changelog.d/7970.misc deleted file mode 100644 index ee9f1a7114..0000000000 --- a/changelog.d/7970.misc +++ /dev/null @@ -1 +0,0 @@ -Add a script to detect source code files using non-unix line terminators. \ No newline at end of file diff --git a/changelog.d/7971.misc b/changelog.d/7971.misc deleted file mode 100644 index 87a4eb1f4d..0000000000 --- a/changelog.d/7971.misc +++ /dev/null @@ -1 +0,0 @@ -Log the SAML session ID during creation. diff --git a/changelog.d/7973.misc b/changelog.d/7973.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7973.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7975.misc b/changelog.d/7975.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7975.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7976.misc b/changelog.d/7976.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7976.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7977.bugfix b/changelog.d/7977.bugfix deleted file mode 100644 index c587f13055..0000000000 --- a/changelog.d/7977.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in Synapse v1.7.2 which caused inaccurate membership counts in the room directory. diff --git a/changelog.d/7978.bugfix b/changelog.d/7978.bugfix deleted file mode 100644 index 247b18db20..0000000000 --- a/changelog.d/7978.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long standing bug: 'Duplicate key value violates unique constraint "event_relations_id"' when message retention is configured. diff --git a/changelog.d/7979.misc b/changelog.d/7979.misc deleted file mode 100644 index 4304bbdd25..0000000000 --- a/changelog.d/7979.misc +++ /dev/null @@ -1 +0,0 @@ -Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. diff --git a/changelog.d/7980.bugfix b/changelog.d/7980.bugfix deleted file mode 100644 index fa351b4b77..0000000000 --- a/changelog.d/7980.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix "no create event in auth events" when trying to reject invitation after inviter leaves. Bug introduced in Synapse v1.10.0. diff --git a/changelog.d/7981.misc b/changelog.d/7981.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7981.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7987.misc b/changelog.d/7987.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7987.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7989.misc b/changelog.d/7989.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/7989.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/7990.doc b/changelog.d/7990.doc deleted file mode 100644 index 8d8fd926e9..0000000000 --- a/changelog.d/7990.doc +++ /dev/null @@ -1 +0,0 @@ -Improve workers docs. diff --git a/changelog.d/7992.doc b/changelog.d/7992.doc deleted file mode 100644 index 3368fb5912..0000000000 --- a/changelog.d/7992.doc +++ /dev/null @@ -1 +0,0 @@ -Fix typo in `docs/workers.md`. diff --git a/changelog.d/7996.bugfix b/changelog.d/7996.bugfix deleted file mode 100644 index 1e51f20558..0000000000 --- a/changelog.d/7996.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix various comments and minor discrepencies in server notices code. diff --git a/changelog.d/7997.misc b/changelog.d/7997.misc deleted file mode 100644 index fd53674bc6..0000000000 --- a/changelog.d/7997.misc +++ /dev/null @@ -1 +0,0 @@ -Implement new experimental push rules for some users. diff --git a/changelog.d/7998.doc b/changelog.d/7998.doc deleted file mode 100644 index fc8b3f0c3d..0000000000 --- a/changelog.d/7998.doc +++ /dev/null @@ -1 +0,0 @@ -Add documentation for how to undo a room shutdown. diff --git a/changelog.d/7999.bugfix b/changelog.d/7999.bugfix deleted file mode 100644 index e0b8c4922f..0000000000 --- a/changelog.d/7999.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long standing bug where HTTP HEAD requests resulted in a 400 error. diff --git a/changelog.d/8000.doc b/changelog.d/8000.doc deleted file mode 100644 index 8d8fd926e9..0000000000 --- a/changelog.d/8000.doc +++ /dev/null @@ -1 +0,0 @@ -Improve workers docs. diff --git a/changelog.d/8001.misc b/changelog.d/8001.misc deleted file mode 100644 index 0be4b37d22..0000000000 --- a/changelog.d/8001.misc +++ /dev/null @@ -1 +0,0 @@ -Remove redundant and unreliable signature check for v1 Identity Service lookup responses. diff --git a/changelog.d/8003.misc b/changelog.d/8003.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8003.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8008.feature b/changelog.d/8008.feature deleted file mode 100644 index c6d381809a..0000000000 --- a/changelog.d/8008.feature +++ /dev/null @@ -1 +0,0 @@ -Add rate limiting to users joining rooms. diff --git a/changelog.d/8009.misc b/changelog.d/8009.misc deleted file mode 100644 index 3d58a11313..0000000000 --- a/changelog.d/8009.misc +++ /dev/null @@ -1 +0,0 @@ -Improve the performance of the register endpoint. diff --git a/changelog.d/8010.doc b/changelog.d/8010.doc deleted file mode 100644 index fc8b3f0c3d..0000000000 --- a/changelog.d/8010.doc +++ /dev/null @@ -1 +0,0 @@ -Add documentation for how to undo a room shutdown. diff --git a/changelog.d/8011.bugfix b/changelog.d/8011.bugfix deleted file mode 100644 index c673040de9..0000000000 --- a/changelog.d/8011.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug which caused two copies of some log lines to be written when synctl was used along with a MemoryHandler logger. diff --git a/changelog.d/8012.bugfix b/changelog.d/8012.bugfix deleted file mode 100644 index c673040de9..0000000000 --- a/changelog.d/8012.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug which caused two copies of some log lines to be written when synctl was used along with a MemoryHandler logger. diff --git a/changelog.d/8014.misc b/changelog.d/8014.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8014.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8016.misc b/changelog.d/8016.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8016.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8024.misc b/changelog.d/8024.misc deleted file mode 100644 index 4bc739502b..0000000000 --- a/changelog.d/8024.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce less useful output in the newsfragment CI step. Add a link to the changelog section of the contributing guide on error. \ No newline at end of file diff --git a/changelog.d/8027.misc b/changelog.d/8027.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8027.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8031.misc b/changelog.d/8031.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8031.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8032.misc b/changelog.d/8032.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8032.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8033.misc b/changelog.d/8033.misc deleted file mode 100644 index 7a9782d14b..0000000000 --- a/changelog.d/8033.misc +++ /dev/null @@ -1 +0,0 @@ -Rename storage layer objects to be more sensible. diff --git a/changelog.d/8035.misc b/changelog.d/8035.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8035.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8039.misc b/changelog.d/8039.misc deleted file mode 100644 index 599933c80e..0000000000 --- a/changelog.d/8039.misc +++ /dev/null @@ -1 +0,0 @@ -Revert MSC2654 implementation because of perf issues. Please delete this line when processing the 1.19 changelog. diff --git a/changelog.d/8040.misc b/changelog.d/8040.misc deleted file mode 100644 index a126151392..0000000000 --- a/changelog.d/8040.misc +++ /dev/null @@ -1 +0,0 @@ -Change the default log config to reduce disk I/O and storage for new servers. diff --git a/changelog.d/8041.misc b/changelog.d/8041.misc deleted file mode 100644 index eefa98d744..0000000000 --- a/changelog.d/8041.misc +++ /dev/null @@ -1 +0,0 @@ -Add an assertion on prev_events in create_new_client_event. diff --git a/changelog.d/8042.misc b/changelog.d/8042.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8042.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8043.misc b/changelog.d/8043.misc deleted file mode 100644 index 683d553666..0000000000 --- a/changelog.d/8043.misc +++ /dev/null @@ -1 +0,0 @@ -Add a comment to `ServerContextFactory` about the use of `SSLv23_METHOD`. diff --git a/changelog.d/8044.misc b/changelog.d/8044.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8044.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8045.misc b/changelog.d/8045.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8045.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8048.feature b/changelog.d/8048.feature deleted file mode 100644 index 8521d1920e..0000000000 --- a/changelog.d/8048.feature +++ /dev/null @@ -1 +0,0 @@ -Add a `/health` endpoint to every configured HTTP listener that can be used as a health check endpoint by load balancers. diff --git a/changelog.d/8049.misc b/changelog.d/8049.misc deleted file mode 100644 index 7fce36215d..0000000000 --- a/changelog.d/8049.misc +++ /dev/null @@ -1 +0,0 @@ -Log `OPTIONS` requests at `DEBUG` rather than `INFO` level to reduce amount logged at `INFO`. diff --git a/changelog.d/8050.misc b/changelog.d/8050.misc deleted file mode 100644 index cc8d1af7fa..0000000000 --- a/changelog.d/8050.misc +++ /dev/null @@ -1 +0,0 @@ -Reduce amount of outbound request logging at INFO level. diff --git a/changelog.d/8051.misc b/changelog.d/8051.misc deleted file mode 100644 index 9e472cd481..0000000000 --- a/changelog.d/8051.misc +++ /dev/null @@ -1 +0,0 @@ -It is no longer necessary to explicitly define `filters` in the logging configuration. (Continuing to do so is redundant but harmless.) diff --git a/changelog.d/8052.feature b/changelog.d/8052.feature deleted file mode 100644 index 6aa020c764..0000000000 --- a/changelog.d/8052.feature +++ /dev/null @@ -1 +0,0 @@ -Allow login to be blocked based on the values of SAML attributes. diff --git a/changelog.d/8056.docker b/changelog.d/8056.docker deleted file mode 100644 index d56734c13a..0000000000 --- a/changelog.d/8056.docker +++ /dev/null @@ -1 +0,0 @@ -We no longer publish Docker images with the `-py3` tag suffix, as announced at https://github.com/matrix-org/synapse/blob/develop/UPGRADE.rst#upgrading-to-v1180. diff --git a/changelog.d/8058.misc b/changelog.d/8058.misc deleted file mode 100644 index 41a27e5d72..0000000000 --- a/changelog.d/8058.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `Notifier`. diff --git a/changelog.d/8060.misc b/changelog.d/8060.misc deleted file mode 100644 index a0caf008d7..0000000000 --- a/changelog.d/8060.misc +++ /dev/null @@ -1 +0,0 @@ -Improve typing information on `HomeServer` object. diff --git a/changelog.d/8061.misc b/changelog.d/8061.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8061.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8062.misc b/changelog.d/8062.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8062.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8063.misc b/changelog.d/8063.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8063.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8064.misc b/changelog.d/8064.misc deleted file mode 100644 index 41a27e5d72..0000000000 --- a/changelog.d/8064.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `Notifier`. diff --git a/changelog.d/8066.misc b/changelog.d/8066.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8066.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8067.misc b/changelog.d/8067.misc deleted file mode 100644 index f4404b7506..0000000000 --- a/changelog.d/8067.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to `synapse.handlers.message` and `synapse.events.builder`. diff --git a/changelog.d/8069.misc b/changelog.d/8069.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8069.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/changelog.d/8070.misc b/changelog.d/8070.misc deleted file mode 100644 index dfe4c03171..0000000000 --- a/changelog.d/8070.misc +++ /dev/null @@ -1 +0,0 @@ -Convert various parts of the codebase to async/await. diff --git a/synapse/__init__.py b/synapse/__init__.py index f70381bc71..832a8e2014 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.18.0" +__version__ = "1.19.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 a69ba6f45719ce4dd41115956c22be8527e05a49 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 13 Aug 2020 17:17:37 +0100 Subject: [PATCH 2/4] Remove unwanted changelog line Signed-off-by: Olivier Wilkinson (reivilibre) --- CHANGES.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 9f8ccb8363..229d4b4942 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -52,7 +52,6 @@ Internal Changes - Improve the performance of the register endpoint. ([\#8009](https://github.com/matrix-org/synapse/issues/8009)) - Reduce less useful output in the newsfragment CI step. Add a link to the changelog section of the contributing guide on error. ([\#8024](https://github.com/matrix-org/synapse/issues/8024)) - Rename storage layer objects to be more sensible. ([\#8033](https://github.com/matrix-org/synapse/issues/8033)) -- Revert MSC2654 implementation because of perf issues. Please delete this line when processing the 1.19 changelog. ([\#8039](https://github.com/matrix-org/synapse/issues/8039)) - Change the default log config to reduce disk I/O and storage for new servers. ([\#8040](https://github.com/matrix-org/synapse/issues/8040)) - Add an assertion on prev_events in create_new_client_event. ([\#8041](https://github.com/matrix-org/synapse/issues/8041)) - Add a comment to `ServerContextFactory` about the use of `SSLv23_METHOD`. ([\#8043](https://github.com/matrix-org/synapse/issues/8043)) From 4550b7731209c8e33e719941d2008da0238a40a6 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 13 Aug 2020 17:46:22 +0100 Subject: [PATCH 3/4] More changelog tweaks Signed-off-by: Olivier Wilkinson (reivilibre) --- CHANGES.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 229d4b4942..5fe9f97ef3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,12 @@ Synapse 1.19.0rc1 (2020-08-13) ============================== +Removal warning +--------------- + +As outlined in the [previous release](https://github.com/matrix-org/synapse/releases/tag/v1.18.0), we are no longer publishing Docker images with the `-py3` tag suffix. On top of that, we have also removed the `latest-py3` tag. Please see [the announcement in the upgrade notes for 1.18.0](https://github.com/matrix-org/synapse/blob/develop/UPGRADE.rst#upgrading-to-v1180). + + Features -------- @@ -25,7 +31,7 @@ Bugfixes Updates to the Docker image --------------------------- -- We no longer publish Docker images with the `-py3` tag suffix, as announced at https://github.com/matrix-org/synapse/blob/develop/UPGRADE.rst#upgrading-to-v1180. ([\#8056](https://github.com/matrix-org/synapse/issues/8056)) +- We no longer publish Docker images with the `-py3` tag suffix, as [announced in the upgrade notes](https://github.com/matrix-org/synapse/blob/develop/UPGRADE.rst#upgrading-to-v1180). ([\#8056](https://github.com/matrix-org/synapse/issues/8056)) Improved Documentation @@ -58,9 +64,7 @@ Internal Changes - Log `OPTIONS` requests at `DEBUG` rather than `INFO` level to reduce amount logged at `INFO`. ([\#8049](https://github.com/matrix-org/synapse/issues/8049)) - Reduce amount of outbound request logging at INFO level. ([\#8050](https://github.com/matrix-org/synapse/issues/8050)) - It is no longer necessary to explicitly define `filters` in the logging configuration. (Continuing to do so is redundant but harmless.) ([\#8051](https://github.com/matrix-org/synapse/issues/8051)) -- Add type hints to `Notifier`. ([\#8058](https://github.com/matrix-org/synapse/issues/8058), [\#8064](https://github.com/matrix-org/synapse/issues/8064)) -- Improve typing information on `HomeServer` object. ([\#8060](https://github.com/matrix-org/synapse/issues/8060)) -- Add type hints to `synapse.handlers.message` and `synapse.events.builder`. ([\#8067](https://github.com/matrix-org/synapse/issues/8067)) +- Add and improve type hints. ([\#8058](https://github.com/matrix-org/synapse/issues/8058), [\#8064](https://github.com/matrix-org/synapse/issues/8064), [\#8060](https://github.com/matrix-org/synapse/issues/8060), [\#8067](https://github.com/matrix-org/synapse/issues/8067)) Synapse 1.18.0 (2020-07-30) From 93848f3c89ae989849984bc688dec564588a5550 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 13 Aug 2020 17:57:46 +0100 Subject: [PATCH 4/4] More changelog tweaks Signed-off-by: Olivier Wilkinson (reivilibre) --- CHANGES.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 5fe9f97ef3..a2c8232be1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -15,6 +15,7 @@ Features - Add rate limiting to users joining rooms. ([\#8008](https://github.com/matrix-org/synapse/issues/8008)) - Add a `/health` endpoint to every configured HTTP listener that can be used as a health check endpoint by load balancers. ([\#8048](https://github.com/matrix-org/synapse/issues/8048)) - Allow login to be blocked based on the values of SAML attributes. ([\#8052](https://github.com/matrix-org/synapse/issues/8052)) +- Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7314](https://github.com/matrix-org/synapse/issues/7314)) Bugfixes @@ -37,7 +38,7 @@ Updates to the Docker image Improved Documentation ---------------------- -- Document how to set up a Client Well-Known file and fix several pieces of outdated documentation. ([\#7899](https://github.com/matrix-org/synapse/issues/7899)) +- Document how to set up a client .well-known file and fix several pieces of outdated documentation. ([\#7899](https://github.com/matrix-org/synapse/issues/7899)) - Improve workers docs. ([\#7990](https://github.com/matrix-org/synapse/issues/7990), [\#8000](https://github.com/matrix-org/synapse/issues/8000)) - Fix typo in `docs/workers.md`. ([\#7992](https://github.com/matrix-org/synapse/issues/7992)) - Add documentation for how to undo a room shutdown. ([\#7998](https://github.com/matrix-org/synapse/issues/7998), [\#8010](https://github.com/matrix-org/synapse/issues/8010)) @@ -46,7 +47,6 @@ Improved Documentation Internal Changes ---------------- -- Allow guest access to the `GET /_matrix/client/r0/rooms/{room_id}/members` endpoint, according to MSC2689. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7314](https://github.com/matrix-org/synapse/issues/7314)) - Reduce the amount of whitespace in JSON stored and sent in responses. Contributed by David Vo. ([\#7372](https://github.com/matrix-org/synapse/issues/7372)) - Switch to the JSON implementation from the standard library and bump the minimum version of the canonicaljson library to 1.2.0. ([\#7936](https://github.com/matrix-org/synapse/issues/7936), [\#7979](https://github.com/matrix-org/synapse/issues/7979)) - Convert various parts of the codebase to async/await. ([\#7947](https://github.com/matrix-org/synapse/issues/7947), [\#7948](https://github.com/matrix-org/synapse/issues/7948), [\#7949](https://github.com/matrix-org/synapse/issues/7949), [\#7951](https://github.com/matrix-org/synapse/issues/7951), [\#7963](https://github.com/matrix-org/synapse/issues/7963), [\#7973](https://github.com/matrix-org/synapse/issues/7973), [\#7975](https://github.com/matrix-org/synapse/issues/7975), [\#7976](https://github.com/matrix-org/synapse/issues/7976), [\#7981](https://github.com/matrix-org/synapse/issues/7981), [\#7987](https://github.com/matrix-org/synapse/issues/7987), [\#7989](https://github.com/matrix-org/synapse/issues/7989), [\#8003](https://github.com/matrix-org/synapse/issues/8003), [\#8014](https://github.com/matrix-org/synapse/issues/8014), [\#8016](https://github.com/matrix-org/synapse/issues/8016), [\#8027](https://github.com/matrix-org/synapse/issues/8027), [\#8031](https://github.com/matrix-org/synapse/issues/8031), [\#8032](https://github.com/matrix-org/synapse/issues/8032), [\#8035](https://github.com/matrix-org/synapse/issues/8035), [\#8042](https://github.com/matrix-org/synapse/issues/8042), [\#8044](https://github.com/matrix-org/synapse/issues/8044), [\#8045](https://github.com/matrix-org/synapse/issues/8045), [\#8061](https://github.com/matrix-org/synapse/issues/8061), [\#8062](https://github.com/matrix-org/synapse/issues/8062), [\#8063](https://github.com/matrix-org/synapse/issues/8063), [\#8066](https://github.com/matrix-org/synapse/issues/8066), [\#8069](https://github.com/matrix-org/synapse/issues/8069), [\#8070](https://github.com/matrix-org/synapse/issues/8070)) @@ -59,10 +59,10 @@ Internal Changes - Reduce less useful output in the newsfragment CI step. Add a link to the changelog section of the contributing guide on error. ([\#8024](https://github.com/matrix-org/synapse/issues/8024)) - Rename storage layer objects to be more sensible. ([\#8033](https://github.com/matrix-org/synapse/issues/8033)) - Change the default log config to reduce disk I/O and storage for new servers. ([\#8040](https://github.com/matrix-org/synapse/issues/8040)) -- Add an assertion on prev_events in create_new_client_event. ([\#8041](https://github.com/matrix-org/synapse/issues/8041)) +- Add an assertion on `prev_events` in `create_new_client_event`. ([\#8041](https://github.com/matrix-org/synapse/issues/8041)) - Add a comment to `ServerContextFactory` about the use of `SSLv23_METHOD`. ([\#8043](https://github.com/matrix-org/synapse/issues/8043)) - Log `OPTIONS` requests at `DEBUG` rather than `INFO` level to reduce amount logged at `INFO`. ([\#8049](https://github.com/matrix-org/synapse/issues/8049)) -- Reduce amount of outbound request logging at INFO level. ([\#8050](https://github.com/matrix-org/synapse/issues/8050)) +- Reduce amount of outbound request logging at `INFO` level. ([\#8050](https://github.com/matrix-org/synapse/issues/8050)) - It is no longer necessary to explicitly define `filters` in the logging configuration. (Continuing to do so is redundant but harmless.) ([\#8051](https://github.com/matrix-org/synapse/issues/8051)) - Add and improve type hints. ([\#8058](https://github.com/matrix-org/synapse/issues/8058), [\#8064](https://github.com/matrix-org/synapse/issues/8064), [\#8060](https://github.com/matrix-org/synapse/issues/8060), [\#8067](https://github.com/matrix-org/synapse/issues/8067))