From 8587b0426fa4e65992aaa47158e991fa1797d3fb Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Tue, 9 Jun 2020 16:33:36 +0100 Subject: [PATCH] 1.15.0rc1 --- CHANGES.md | 66 ++++++++++++++++++++++++++++++++++++++++ changelog.d/6585.feature | 1 - changelog.d/6637.feature | 1 - changelog.d/7263.bugfix | 1 - changelog.d/7267.bugfix | 1 - changelog.d/7385.feature | 1 - changelog.d/7481.feature | 1 - changelog.d/7561.misc | 1 - changelog.d/7567.misc | 1 - changelog.d/7575.bugfix | 1 - changelog.d/7584.misc | 1 - changelog.d/7585.bugfix | 1 - changelog.d/7586.feature | 1 - changelog.d/7587.doc | 1 - changelog.d/7591.misc | 1 - changelog.d/7594.bugfix | 1 - changelog.d/7595.misc | 1 - changelog.d/7597.bugfix | 1 - changelog.d/7599.bugfix | 1 - changelog.d/7600.misc | 1 - changelog.d/7602.doc | 1 - changelog.d/7603.doc | 1 - changelog.d/7607.bugfix | 1 - changelog.d/7609.bugfix | 1 - changelog.d/7614.misc | 1 - changelog.d/7619.misc | 1 - changelog.d/7620.misc | 1 - changelog.d/7621.misc | 1 - changelog.d/7622.bugfix | 1 - changelog.d/7623.misc | 1 - changelog.d/7624.bugfix | 1 - changelog.d/7625.misc | 1 - changelog.d/7628.misc | 1 - changelog.d/7629.bugfix | 1 - changelog.d/7630.feature | 1 - changelog.d/7631.bugfix | 1 - changelog.d/7634.misc | 1 - changelog.d/7637.misc | 1 - changelog.d/7640.misc | 1 - changelog.d/7644.misc | 1 - changelog.d/7645.misc | 1 - changelog.d/7647.doc | 1 - changelog.d/7649.misc | 1 - changelog.d/7656.bugfix | 1 - synapse/__init__.py | 2 +- 45 files changed, 67 insertions(+), 44 deletions(-) delete mode 100644 changelog.d/6585.feature delete mode 100644 changelog.d/6637.feature delete mode 100644 changelog.d/7263.bugfix delete mode 100644 changelog.d/7267.bugfix delete mode 100644 changelog.d/7385.feature delete mode 100644 changelog.d/7481.feature delete mode 100644 changelog.d/7561.misc delete mode 100644 changelog.d/7567.misc delete mode 100644 changelog.d/7575.bugfix delete mode 100644 changelog.d/7584.misc delete mode 100644 changelog.d/7585.bugfix delete mode 100644 changelog.d/7586.feature delete mode 100644 changelog.d/7587.doc delete mode 100644 changelog.d/7591.misc delete mode 100644 changelog.d/7594.bugfix delete mode 100644 changelog.d/7595.misc delete mode 100644 changelog.d/7597.bugfix delete mode 100644 changelog.d/7599.bugfix delete mode 100644 changelog.d/7600.misc delete mode 100644 changelog.d/7602.doc delete mode 100644 changelog.d/7603.doc delete mode 100644 changelog.d/7607.bugfix delete mode 100644 changelog.d/7609.bugfix delete mode 100644 changelog.d/7614.misc delete mode 100644 changelog.d/7619.misc delete mode 100644 changelog.d/7620.misc delete mode 100644 changelog.d/7621.misc delete mode 100644 changelog.d/7622.bugfix delete mode 100644 changelog.d/7623.misc delete mode 100644 changelog.d/7624.bugfix delete mode 100644 changelog.d/7625.misc delete mode 100644 changelog.d/7628.misc delete mode 100644 changelog.d/7629.bugfix delete mode 100644 changelog.d/7630.feature delete mode 100644 changelog.d/7631.bugfix delete mode 100644 changelog.d/7634.misc delete mode 100644 changelog.d/7637.misc delete mode 100644 changelog.d/7640.misc delete mode 100644 changelog.d/7644.misc delete mode 100644 changelog.d/7645.misc delete mode 100644 changelog.d/7647.doc delete mode 100644 changelog.d/7649.misc delete mode 100644 changelog.d/7656.bugfix diff --git a/CHANGES.md b/CHANGES.md index dbb21d4c76..b45eccf024 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,69 @@ +Synapse 1.15.0rc1 (2020-06-09) +============================== + +Features +-------- + +- Advertise support for Client-Server API r0.6.0 and remove related unstable feature flags. ([\#6585](https://github.com/matrix-org/synapse/issues/6585)) +- Add an option to disable autojoining rooms for guest accounts. ([\#6637](https://github.com/matrix-org/synapse/issues/6637)) +- For SAML authentication, add the ability to pass email addresses to be added to new users' accounts via SAML attributes. Contributed by Christopher Cooper. ([\#7385](https://github.com/matrix-org/synapse/issues/7385)) +- Add admin APIs to allow server admins to manage users' devices. Contributed by @dklimpel. ([\#7481](https://github.com/matrix-org/synapse/issues/7481)) +- Add support for generating thumbnails for WebP images. Previously, users would see an empty box instead of preview image. ([\#7586](https://github.com/matrix-org/synapse/issues/7586)) +- Support the standardized `m.login.sso` user-interactive authentication flow. ([\#7630](https://github.com/matrix-org/synapse/issues/7630)) + + +Bugfixes +-------- + +- Allow new users to be registered via the admin API even if the monthly active user limit has been reached. Contributed by @dkimpel. ([\#7263](https://github.com/matrix-org/synapse/issues/7263)) +- Fix email notifications not being enabled for new users when created via the Admin API. ([\#7267](https://github.com/matrix-org/synapse/issues/7267)) +- Fix str placeholders in an instance of `PrepareDatabaseException`. Introduced in Synapse v1.8.0. ([\#7575](https://github.com/matrix-org/synapse/issues/7575)) +- Fix a bug in automatic user creation during first time login with `m.login.jwt`. Regression in v1.6.0. Contributed by @olof. ([\#7585](https://github.com/matrix-org/synapse/issues/7585)) +- Fix a bug causing the cross-signing keys to be ignored when resyncing a device list. ([\#7594](https://github.com/matrix-org/synapse/issues/7594)) +- Fix metrics failing when there is a large number of active background processes. ([\#7597](https://github.com/matrix-org/synapse/issues/7597)) +- Fix bug where returning rooms for a group would fail if it included a room that the server was not in. ([\#7599](https://github.com/matrix-org/synapse/issues/7599)) +- Fix duplicate key violation when persisting read markers. ([\#7607](https://github.com/matrix-org/synapse/issues/7607)) +- Prevent an entire iteration of the device list resync loop from failing if one server responds with a malformed result. ([\#7609](https://github.com/matrix-org/synapse/issues/7609)) +- Fix exceptions when fetching events from a remote host fails. ([\#7622](https://github.com/matrix-org/synapse/issues/7622)) +- Make `synctl restart` start synapse if it wasn't running. ([\#7624](https://github.com/matrix-org/synapse/issues/7624)) +- Pass device information through to the login endpoint when using the login fallback. ([\#7629](https://github.com/matrix-org/synapse/issues/7629)) +- Advertise the `m.login.token` login flow when OpenID Connect is enabled. ([\#7631](https://github.com/matrix-org/synapse/issues/7631)) +- Fix bug in account data replication stream. ([\#7656](https://github.com/matrix-org/synapse/issues/7656)) + + +Improved Documentation +---------------------- + +- Update the OpenBSD installation instructions. ([\#7587](https://github.com/matrix-org/synapse/issues/7587)) +- Advertise Python 3.8 support in `setup.py`. ([\#7602](https://github.com/matrix-org/synapse/issues/7602)) +- Add a link to `#synapse:matrix.org` in the troubleshooting section of the README. ([\#7603](https://github.com/matrix-org/synapse/issues/7603)) +- Clarifications to the admin api documentation. ([\#7647](https://github.com/matrix-org/synapse/issues/7647)) + + +Internal Changes +---------------- + +- Convert the identity handler to async/await. ([\#7561](https://github.com/matrix-org/synapse/issues/7561)) +- Improve query performance for fetching state from a PostgreSQL database. ([\#7567](https://github.com/matrix-org/synapse/issues/7567)) +- Speed up processing of federation stream RDATA rows. ([\#7584](https://github.com/matrix-org/synapse/issues/7584)) +- Add comment to systemd example to show postgresql dependency. ([\#7591](https://github.com/matrix-org/synapse/issues/7591)) +- Refactor `Ratelimiter` to limit the amount of expensive config value accesses. ([\#7595](https://github.com/matrix-org/synapse/issues/7595)) +- Convert groups handlers to async/await. ([\#7600](https://github.com/matrix-org/synapse/issues/7600)) +- Clean up exception handling in `SAML2ResponseResource`. ([\#7614](https://github.com/matrix-org/synapse/issues/7614)) +- Check that all asynchronous tasks succeed and general cleanup of `MonthlyActiveUsersTestCase` and `TestMauLimit`. ([\#7619](https://github.com/matrix-org/synapse/issues/7619)) +- Convert `get_user_id_by_threepid` to async/await. ([\#7620](https://github.com/matrix-org/synapse/issues/7620)) +- Switch to upstream `dh-virtualenv` rather than our fork for Debian package builds. ([\#7621](https://github.com/matrix-org/synapse/issues/7621)) +- Update CI scripts to check the number in the newsfile fragment. ([\#7623](https://github.com/matrix-org/synapse/issues/7623)) +- Check if the localpart of a Matrix ID is reserved for guest users earlier in the registration flow, as well as when responding to requests to `/register/available`. ([\#7625](https://github.com/matrix-org/synapse/issues/7625)) +- Minor cleanups to OpenID Connect integration. ([\#7628](https://github.com/matrix-org/synapse/issues/7628)) +- Attempt to fix flaky test: `PhoneHomeStatsTestCase.test_performance_100`. ([\#7634](https://github.com/matrix-org/synapse/issues/7634)) +- Fix typos of `m.olm.curve25519-aes-sha2` and `m.megolm.v1.aes-sha2` in comments, test files. ([\#7637](https://github.com/matrix-org/synapse/issues/7637)) +- Convert user directory, state deltas, and stats handlers to async/await. ([\#7640](https://github.com/matrix-org/synapse/issues/7640)) +- Remove some unused constants. ([\#7644](https://github.com/matrix-org/synapse/issues/7644)) +- Fix type information on `assert_*_is_admin` methods. ([\#7645](https://github.com/matrix-org/synapse/issues/7645)) +- Convert registration handler to async/await. ([\#7649](https://github.com/matrix-org/synapse/issues/7649)) + + Synapse 1.14.0 (2020-05-28) =========================== diff --git a/changelog.d/6585.feature b/changelog.d/6585.feature deleted file mode 100644 index ab2a85374e..0000000000 --- a/changelog.d/6585.feature +++ /dev/null @@ -1 +0,0 @@ -Advertise support for Client-Server API r0.6.0 and remove related unstable feature flags. \ No newline at end of file diff --git a/changelog.d/6637.feature b/changelog.d/6637.feature deleted file mode 100644 index 5228ebc1e5..0000000000 --- a/changelog.d/6637.feature +++ /dev/null @@ -1 +0,0 @@ -Add an option to disable autojoining rooms for guest accounts. diff --git a/changelog.d/7263.bugfix b/changelog.d/7263.bugfix deleted file mode 100644 index 0b4739261c..0000000000 --- a/changelog.d/7263.bugfix +++ /dev/null @@ -1 +0,0 @@ -Allow new users to be registered via the admin API even if the monthly active user limit has been reached. Contributed by @dkimpel. diff --git a/changelog.d/7267.bugfix b/changelog.d/7267.bugfix deleted file mode 100644 index 0af316c1a2..0000000000 --- a/changelog.d/7267.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix email notifications not being enabled for new users when created via the Admin API. diff --git a/changelog.d/7385.feature b/changelog.d/7385.feature deleted file mode 100644 index 9d8fb2311a..0000000000 --- a/changelog.d/7385.feature +++ /dev/null @@ -1 +0,0 @@ -For SAML authentication, add the ability to pass email addresses to be added to new users' accounts via SAML attributes. Contributed by Christopher Cooper. diff --git a/changelog.d/7481.feature b/changelog.d/7481.feature deleted file mode 100644 index f167f3632c..0000000000 --- a/changelog.d/7481.feature +++ /dev/null @@ -1 +0,0 @@ -Add admin APIs to allow server admins to manage users' devices. Contributed by @dklimpel. diff --git a/changelog.d/7561.misc b/changelog.d/7561.misc deleted file mode 100644 index 448dbd5699..0000000000 --- a/changelog.d/7561.misc +++ /dev/null @@ -1 +0,0 @@ -Convert the identity handler to async/await. diff --git a/changelog.d/7567.misc b/changelog.d/7567.misc deleted file mode 100644 index b086d5d026..0000000000 --- a/changelog.d/7567.misc +++ /dev/null @@ -1 +0,0 @@ -Improve query performance for fetching state from a PostgreSQL database. diff --git a/changelog.d/7575.bugfix b/changelog.d/7575.bugfix deleted file mode 100644 index 0ab5516eb3..0000000000 --- a/changelog.d/7575.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix str placeholders in an instance of `PrepareDatabaseException`. Introduced in Synapse v1.8.0. diff --git a/changelog.d/7584.misc b/changelog.d/7584.misc deleted file mode 100644 index 55d1689f77..0000000000 --- a/changelog.d/7584.misc +++ /dev/null @@ -1 +0,0 @@ -Speed up processing of federation stream RDATA rows. diff --git a/changelog.d/7585.bugfix b/changelog.d/7585.bugfix deleted file mode 100644 index 263295599d..0000000000 --- a/changelog.d/7585.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug in automatic user creation during first time login with `m.login.jwt`. Regression in v1.6.0. Contributed by @olof. diff --git a/changelog.d/7586.feature b/changelog.d/7586.feature deleted file mode 100644 index ef0231d823..0000000000 --- a/changelog.d/7586.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for generating thumbnails for WebP images. Previously, users would see an empty box instead of preview image. diff --git a/changelog.d/7587.doc b/changelog.d/7587.doc deleted file mode 100644 index ec4a430436..0000000000 --- a/changelog.d/7587.doc +++ /dev/null @@ -1 +0,0 @@ -Update the OpenBSD installation instructions. \ No newline at end of file diff --git a/changelog.d/7591.misc b/changelog.d/7591.misc deleted file mode 100644 index 17785b1f21..0000000000 --- a/changelog.d/7591.misc +++ /dev/null @@ -1 +0,0 @@ -Add comment to systemd example to show postgresql dependency. diff --git a/changelog.d/7594.bugfix b/changelog.d/7594.bugfix deleted file mode 100644 index f0c067e184..0000000000 --- a/changelog.d/7594.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug causing the cross-signing keys to be ignored when resyncing a device list. diff --git a/changelog.d/7595.misc b/changelog.d/7595.misc deleted file mode 100644 index 7a0646b1a3..0000000000 --- a/changelog.d/7595.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor `Ratelimiter` to limit the amount of expensive config value accesses. diff --git a/changelog.d/7597.bugfix b/changelog.d/7597.bugfix deleted file mode 100644 index e2ff951915..0000000000 --- a/changelog.d/7597.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix metrics failing when there is a large number of active background processes. diff --git a/changelog.d/7599.bugfix b/changelog.d/7599.bugfix deleted file mode 100644 index deefe5680f..0000000000 --- a/changelog.d/7599.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug where returning rooms for a group would fail if it included a room that the server was not in. diff --git a/changelog.d/7600.misc b/changelog.d/7600.misc deleted file mode 100644 index 3c2affbe6f..0000000000 --- a/changelog.d/7600.misc +++ /dev/null @@ -1 +0,0 @@ -Convert groups handlers to async/await. diff --git a/changelog.d/7602.doc b/changelog.d/7602.doc deleted file mode 100644 index 09039353db..0000000000 --- a/changelog.d/7602.doc +++ /dev/null @@ -1 +0,0 @@ -Advertise Python 3.8 support in `setup.py`. diff --git a/changelog.d/7603.doc b/changelog.d/7603.doc deleted file mode 100644 index e450888d4b..0000000000 --- a/changelog.d/7603.doc +++ /dev/null @@ -1 +0,0 @@ -Add a link to `#synapse:matrix.org` in the troubleshooting section of the README. diff --git a/changelog.d/7607.bugfix b/changelog.d/7607.bugfix deleted file mode 100644 index 04b22e5ffe..0000000000 --- a/changelog.d/7607.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix duplicate key violation when persisting read markers. diff --git a/changelog.d/7609.bugfix b/changelog.d/7609.bugfix deleted file mode 100644 index e2eceeef0c..0000000000 --- a/changelog.d/7609.bugfix +++ /dev/null @@ -1 +0,0 @@ -Prevent an entire iteration of the device list resync loop from failing if one server responds with a malformed result. diff --git a/changelog.d/7614.misc b/changelog.d/7614.misc deleted file mode 100644 index f0e24f9f61..0000000000 --- a/changelog.d/7614.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up exception handling in `SAML2ResponseResource`. diff --git a/changelog.d/7619.misc b/changelog.d/7619.misc deleted file mode 100644 index 23a8b30b19..0000000000 --- a/changelog.d/7619.misc +++ /dev/null @@ -1 +0,0 @@ -Check that all asynchronous tasks succeed and general cleanup of `MonthlyActiveUsersTestCase` and `TestMauLimit`. diff --git a/changelog.d/7620.misc b/changelog.d/7620.misc deleted file mode 100644 index f8357ee3b6..0000000000 --- a/changelog.d/7620.misc +++ /dev/null @@ -1 +0,0 @@ -Convert `get_user_id_by_threepid` to async/await. \ No newline at end of file diff --git a/changelog.d/7621.misc b/changelog.d/7621.misc deleted file mode 100644 index 032a7de6e6..0000000000 --- a/changelog.d/7621.misc +++ /dev/null @@ -1 +0,0 @@ -Switch to upstream `dh-virtualenv` rather than our fork for Debian package builds. diff --git a/changelog.d/7622.bugfix b/changelog.d/7622.bugfix deleted file mode 100644 index bcb82f7b0b..0000000000 --- a/changelog.d/7622.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix exceptions when fetching events from a remote host fails. diff --git a/changelog.d/7623.misc b/changelog.d/7623.misc deleted file mode 100644 index 34a6f6a6a2..0000000000 --- a/changelog.d/7623.misc +++ /dev/null @@ -1 +0,0 @@ -Update CI scripts to check the number in the newsfile fragment. diff --git a/changelog.d/7624.bugfix b/changelog.d/7624.bugfix deleted file mode 100644 index ce55b2cc3d..0000000000 --- a/changelog.d/7624.bugfix +++ /dev/null @@ -1 +0,0 @@ -Make `synctl restart` start synapse if it wasn't running. diff --git a/changelog.d/7625.misc b/changelog.d/7625.misc deleted file mode 100644 index 4c61d8d99f..0000000000 --- a/changelog.d/7625.misc +++ /dev/null @@ -1 +0,0 @@ -Check if the localpart of a Matrix ID is reserved for guest users earlier in the registration flow, as well as when responding to requests to `/register/available`. diff --git a/changelog.d/7628.misc b/changelog.d/7628.misc deleted file mode 100644 index 74007450fb..0000000000 --- a/changelog.d/7628.misc +++ /dev/null @@ -1 +0,0 @@ -Minor cleanups to OpenID Connect integration. diff --git a/changelog.d/7629.bugfix b/changelog.d/7629.bugfix deleted file mode 100644 index 0debd580c5..0000000000 --- a/changelog.d/7629.bugfix +++ /dev/null @@ -1 +0,0 @@ -Pass device information through to the login endpoint when using the login fallback. diff --git a/changelog.d/7630.feature b/changelog.d/7630.feature deleted file mode 100644 index cce31fc881..0000000000 --- a/changelog.d/7630.feature +++ /dev/null @@ -1 +0,0 @@ -Support the standardized `m.login.sso` user-interactive authentication flow. diff --git a/changelog.d/7631.bugfix b/changelog.d/7631.bugfix deleted file mode 100644 index 7d74266d9a..0000000000 --- a/changelog.d/7631.bugfix +++ /dev/null @@ -1 +0,0 @@ -Advertise the `m.login.token` login flow when OpenID Connect is enabled. diff --git a/changelog.d/7634.misc b/changelog.d/7634.misc deleted file mode 100644 index 50dc6df02e..0000000000 --- a/changelog.d/7634.misc +++ /dev/null @@ -1 +0,0 @@ -Attempt to fix flaky test: `PhoneHomeStatsTestCase.test_performance_100`. diff --git a/changelog.d/7637.misc b/changelog.d/7637.misc deleted file mode 100644 index 90d41fa775..0000000000 --- a/changelog.d/7637.misc +++ /dev/null @@ -1 +0,0 @@ -Fix typos of `m.olm.curve25519-aes-sha2` and `m.megolm.v1.aes-sha2` in comments, test files. \ No newline at end of file diff --git a/changelog.d/7640.misc b/changelog.d/7640.misc deleted file mode 100644 index 55edc1c781..0000000000 --- a/changelog.d/7640.misc +++ /dev/null @@ -1 +0,0 @@ -Convert user directory, state deltas, and stats handlers to async/await. diff --git a/changelog.d/7644.misc b/changelog.d/7644.misc deleted file mode 100644 index 0f45141bcc..0000000000 --- a/changelog.d/7644.misc +++ /dev/null @@ -1 +0,0 @@ -Remove some unused constants. diff --git a/changelog.d/7645.misc b/changelog.d/7645.misc deleted file mode 100644 index e7f0dc89c9..0000000000 --- a/changelog.d/7645.misc +++ /dev/null @@ -1 +0,0 @@ -Fix type information on `assert_*_is_admin` methods. diff --git a/changelog.d/7647.doc b/changelog.d/7647.doc deleted file mode 100644 index ae4a60f0af..0000000000 --- a/changelog.d/7647.doc +++ /dev/null @@ -1 +0,0 @@ -Clarifications to the admin api documentation. diff --git a/changelog.d/7649.misc b/changelog.d/7649.misc deleted file mode 100644 index 8a26c8b3b7..0000000000 --- a/changelog.d/7649.misc +++ /dev/null @@ -1 +0,0 @@ -Convert registration handler to async/await. diff --git a/changelog.d/7656.bugfix b/changelog.d/7656.bugfix deleted file mode 100644 index 1aeddb5fb9..0000000000 --- a/changelog.d/7656.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug in account data replication stream. diff --git a/synapse/__init__.py b/synapse/__init__.py index f0105d3e2f..39c3a3ba4d 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.14.0" +__version__ = "1.15.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