From d725e0956f5bc7d340e068faa0a857e4366d46d0 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 14 Sep 2021 11:47:11 +0100 Subject: [PATCH 1/5] 1.43.0rc1 --- CHANGES.md | 69 +++++++++++++++++++++++++++++++++++++++ changelog.d/10556.doc | 1 - changelog.d/10566.feature | 1 - changelog.d/10601.misc | 1 - changelog.d/10643.feature | 1 - changelog.d/10648.doc | 1 - changelog.d/10658.bugfix | 1 - changelog.d/10693.removal | 1 - changelog.d/10697.misc | 1 - changelog.d/10704.bugfix | 1 - changelog.d/10707.misc | 1 - changelog.d/10712.feature | 1 - changelog.d/10714.feature | 1 - changelog.d/10727.misc | 1 - changelog.d/10728.misc | 1 - changelog.d/10730.bugfix | 1 - changelog.d/10733.bugfix | 1 - changelog.d/10735.doc | 1 - changelog.d/10736.misc | 1 - changelog.d/10738.misc | 1 - changelog.d/10743.bugfix | 1 - changelog.d/10744.misc | 1 - changelog.d/10745.misc | 1 - changelog.d/10746.misc | 1 - changelog.d/10748.misc | 1 - changelog.d/10750.misc | 1 - changelog.d/10752.misc | 1 - changelog.d/10753.misc | 1 - changelog.d/10754.misc | 1 - changelog.d/10755.misc | 1 - changelog.d/10756.misc | 1 - changelog.d/10757.bugfix | 1 - changelog.d/10758.doc | 1 - changelog.d/10759.feature | 1 - changelog.d/10760.bugfix | 1 - changelog.d/10771.misc | 1 - changelog.d/10772.feature | 1 - changelog.d/10773.misc | 1 - changelog.d/10774.bugfix | 1 - changelog.d/10775.misc | 1 - changelog.d/10778.misc | 1 - changelog.d/10779.misc | 1 - changelog.d/10780.misc | 1 - changelog.d/10781.misc | 1 - changelog.d/10783.bugfix | 1 - changelog.d/10784.misc | 1 - changelog.d/10788.misc | 1 - changelog.d/10789.misc | 1 - changelog.d/10795.doc | 1 - changelog.d/10798.misc | 1 - changelog.d/10799.misc | 1 - changelog.d/10804.doc | 1 - debian/changelog | 6 ++++ synapse/__init__.py | 2 +- 54 files changed, 76 insertions(+), 52 deletions(-) delete mode 100644 changelog.d/10556.doc delete mode 100644 changelog.d/10566.feature delete mode 100644 changelog.d/10601.misc delete mode 100644 changelog.d/10643.feature delete mode 100644 changelog.d/10648.doc delete mode 100644 changelog.d/10658.bugfix delete mode 100644 changelog.d/10693.removal delete mode 100644 changelog.d/10697.misc delete mode 100644 changelog.d/10704.bugfix delete mode 100644 changelog.d/10707.misc delete mode 100644 changelog.d/10712.feature delete mode 100644 changelog.d/10714.feature delete mode 100644 changelog.d/10727.misc delete mode 100644 changelog.d/10728.misc delete mode 100644 changelog.d/10730.bugfix delete mode 100644 changelog.d/10733.bugfix delete mode 100644 changelog.d/10735.doc delete mode 100644 changelog.d/10736.misc delete mode 100644 changelog.d/10738.misc delete mode 100644 changelog.d/10743.bugfix delete mode 100644 changelog.d/10744.misc delete mode 100644 changelog.d/10745.misc delete mode 100644 changelog.d/10746.misc delete mode 100644 changelog.d/10748.misc delete mode 100644 changelog.d/10750.misc delete mode 100644 changelog.d/10752.misc delete mode 100644 changelog.d/10753.misc delete mode 100644 changelog.d/10754.misc delete mode 100644 changelog.d/10755.misc delete mode 100644 changelog.d/10756.misc delete mode 100644 changelog.d/10757.bugfix delete mode 100644 changelog.d/10758.doc delete mode 100644 changelog.d/10759.feature delete mode 100644 changelog.d/10760.bugfix delete mode 100644 changelog.d/10771.misc delete mode 100644 changelog.d/10772.feature delete mode 100644 changelog.d/10773.misc delete mode 100644 changelog.d/10774.bugfix delete mode 100644 changelog.d/10775.misc delete mode 100644 changelog.d/10778.misc delete mode 100644 changelog.d/10779.misc delete mode 100644 changelog.d/10780.misc delete mode 100644 changelog.d/10781.misc delete mode 100644 changelog.d/10783.bugfix delete mode 100644 changelog.d/10784.misc delete mode 100644 changelog.d/10788.misc delete mode 100644 changelog.d/10789.misc delete mode 100644 changelog.d/10795.doc delete mode 100644 changelog.d/10798.misc delete mode 100644 changelog.d/10799.misc delete mode 100644 changelog.d/10804.doc diff --git a/CHANGES.md b/CHANGES.md index 9908d7d9a008..8ff52ea1360f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,72 @@ +Synapse 1.43.0rc1 (2021-09-14) +============================== + +This release drops the deprecated, unstable API for [MSC2858](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix). Client authors should update their clients to use the stable API, available since Synapse 1.30. + +Features +-------- + +- Allow room creators to send historical events specified by [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) in existing room versions. ([\#10566](https://github.com/matrix-org/synapse/issues/10566)) +- Add config option to use non-default manhole password and keys. ([\#10643](https://github.com/matrix-org/synapse/issues/10643)) +- Skip final GC at shutdown to improve restart performance. ([\#10712](https://github.com/matrix-org/synapse/issues/10712)) +- Allow configuration of the oEmbed URLs used for URL previews. ([\#10714](https://github.com/matrix-org/synapse/issues/10714), [\#10759](https://github.com/matrix-org/synapse/issues/10759)) +- Prefer [room version 9](https://github.com/matrix-org/matrix-doc/pull/3375) for restricted rooms per the [room version capabilities](https://github.com/matrix-org/matrix-doc/pull/3244) API. ([\#10772](https://github.com/matrix-org/synapse/issues/10772)) + + +Bugfixes +-------- + +- Fix a long-standing bug where room avatars were not included in email notifications. ([\#10658](https://github.com/matrix-org/synapse/issues/10658)) +- Added opentracing logging to help debug #9424. ([\#10704](https://github.com/matrix-org/synapse/issues/10704)) +- Fix a bug where the ordering algorithm was skipping the `origin_server_ts` step in the spaces summary resulting in unstable room orderings. ([\#10730](https://github.com/matrix-org/synapse/issues/10730)) +- Allow user registration via SSO to require consent tracking for SSO mapping providers that don't prompt for Matrix ID selection. Contributed by @AndrewFerr. ([\#10733](https://github.com/matrix-org/synapse/issues/10733)) +- Fix edge case when persisting events into a room where there are multiple events we previously hadn't calculated auth chains for (and hadn't marked as needing to be calculated). ([\#10743](https://github.com/matrix-org/synapse/issues/10743)) +- Fix a bug which prevented calls to `/createRoom` that included the `room_alias_name` parameter from being handled by worker processes. ([\#10757](https://github.com/matrix-org/synapse/issues/10757)) +- Only return the stripped state events for the `m.space.child` events in a room for the spaces summary from [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946). ([\#10760](https://github.com/matrix-org/synapse/issues/10760)) +- Properly handle room upgrades of spaces. ([\#10774](https://github.com/matrix-org/synapse/issues/10774)) +- Fix a bug which generated invalid homeserver config when the `frontend_proxy` worker type was passed to the Synapse Worker-based Complement image. ([\#10783](https://github.com/matrix-org/synapse/issues/10783)) + + +Improved Documentation +---------------------- + +- Minor fix to the `media_repository` developer documentation. Contributed by @cuttingedge1109. ([\#10556](https://github.com/matrix-org/synapse/issues/10556)) +- Update the documentation to note that the `/spaces` and `/hierarchy` endpoints can be routed to workers. ([\#10648](https://github.com/matrix-org/synapse/issues/10648)) +- Clarify admin API documentation on undoing room deletions. ([\#10735](https://github.com/matrix-org/synapse/issues/10735)) +- Split up the modules documentation and add examples for module developers. ([\#10758](https://github.com/matrix-org/synapse/issues/10758)) +- Correct 2 typographical errors in the *Log Contexts* documentation. ([\#10795](https://github.com/matrix-org/synapse/issues/10795)) +- Fixed a wording mistake in the sample configuration. Contributed by @bramvdnheuvel:nltrix.net. ([\#10804](https://github.com/matrix-org/synapse/issues/10804)) + + +Deprecations and Removals +------------------------- + +- Remove the [unstable MSC2858 API](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), including the undocumented `experimental.msc2858_enabled` config option. The unstable API has been deprecated since Synapse 1.35. Client authors should update their clients to use the stable API introduced in Synapse 1.30 if they have not already done so. ([\#10693](https://github.com/matrix-org/synapse/issues/10693)) + + +Internal Changes +---------------- + +- Add type annotations to the synapse.util package. ([\#10601](https://github.com/matrix-org/synapse/issues/10601)) +- Ensure `rooms.creator` field is always populated for easy lookup in [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) usage later. ([\#10697](https://github.com/matrix-org/synapse/issues/10697)) +- Add missing type hints to REST servlets. ([\#10707](https://github.com/matrix-org/synapse/issues/10707), [\#10728](https://github.com/matrix-org/synapse/issues/10728), [\#10736](https://github.com/matrix-org/synapse/issues/10736)) +- Do not include rooms with unknown room versions in the spaces summary results. ([\#10727](https://github.com/matrix-org/synapse/issues/10727)) +- Additional error checking for the `preset` field when creating a room. ([\#10738](https://github.com/matrix-org/synapse/issues/10738)) +- Clean up some of the federation event authentication code for clarity. ([\#10744](https://github.com/matrix-org/synapse/issues/10744), [\#10745](https://github.com/matrix-org/synapse/issues/10745), [\#10746](https://github.com/matrix-org/synapse/issues/10746), [\#10771](https://github.com/matrix-org/synapse/issues/10771), [\#10773](https://github.com/matrix-org/synapse/issues/10773), [\#10781](https://github.com/matrix-org/synapse/issues/10781)) +- Add an index to `presence_stream` to hopefully speed up startups a little. ([\#10748](https://github.com/matrix-org/synapse/issues/10748)) +- Refactor event size checking code to simplify searching the codebase for the origins of certain error strings that are occasionally emitted. ([\#10750](https://github.com/matrix-org/synapse/issues/10750)) +- Move tests relating to rooms having encryption out of the user_directory tests. ([\#10752](https://github.com/matrix-org/synapse/issues/10752)) +- Use `attrs` internally for the URL preview code & update documentation. ([\#10753](https://github.com/matrix-org/synapse/issues/10753)) +- Minor speed ups when joining large rooms over federation. ([\#10754](https://github.com/matrix-org/synapse/issues/10754), [\#10755](https://github.com/matrix-org/synapse/issues/10755), [\#10756](https://github.com/matrix-org/synapse/issues/10756), [\#10780](https://github.com/matrix-org/synapse/issues/10780), [\#10784](https://github.com/matrix-org/synapse/issues/10784)) +- Add a constant for `m.federate`. ([\#10775](https://github.com/matrix-org/synapse/issues/10775)) +- Add a script to update the Debian changelog in a Docker container for systems that aren't Debian-based. ([\#10778](https://github.com/matrix-org/synapse/issues/10778)) +- Change the format of authenticated users in logs when a user is being puppeted by and admin user. ([\#10779](https://github.com/matrix-org/synapse/issues/10779)) +- Remove fixed and flakey tests from the sytest-blacklist. ([\#10788](https://github.com/matrix-org/synapse/issues/10788)) +- Improve internal details of the user directory code. ([\#10789](https://github.com/matrix-org/synapse/issues/10789)) +- Use direct references to config flags. ([\#10798](https://github.com/matrix-org/synapse/issues/10798)) +- Add a max version for the `jaeger-client` dependency for an incompatibility with the rust reporter. ([\#10799](https://github.com/matrix-org/synapse/issues/10799)) + + Synapse 1.42.0 (2021-09-07) =========================== diff --git a/changelog.d/10556.doc b/changelog.d/10556.doc deleted file mode 100644 index 7526ae11db7b..000000000000 --- a/changelog.d/10556.doc +++ /dev/null @@ -1 +0,0 @@ -Minor fix to the `media_repository` developer documentation. Contributed by @cuttingedge1109. \ No newline at end of file diff --git a/changelog.d/10566.feature b/changelog.d/10566.feature deleted file mode 100644 index 04575d76a9e3..000000000000 --- a/changelog.d/10566.feature +++ /dev/null @@ -1 +0,0 @@ -Allow room creators to send historical events specified by [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) in existing room versions. diff --git a/changelog.d/10601.misc b/changelog.d/10601.misc deleted file mode 100644 index 1227113ff38e..000000000000 --- a/changelog.d/10601.misc +++ /dev/null @@ -1 +0,0 @@ -Add type annotations to the synapse.util package. diff --git a/changelog.d/10643.feature b/changelog.d/10643.feature deleted file mode 100644 index bd63a3d25807..000000000000 --- a/changelog.d/10643.feature +++ /dev/null @@ -1 +0,0 @@ -Add config option to use non-default manhole password and keys. \ No newline at end of file diff --git a/changelog.d/10648.doc b/changelog.d/10648.doc deleted file mode 100644 index 4bd8df52369e..000000000000 --- a/changelog.d/10648.doc +++ /dev/null @@ -1 +0,0 @@ -Update the documentation to note that the `/spaces` and `/hierarchy` endpoints can be routed to workers. diff --git a/changelog.d/10658.bugfix b/changelog.d/10658.bugfix deleted file mode 100644 index a59d4029332c..000000000000 --- a/changelog.d/10658.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug where room avatars were not included in email notifications. diff --git a/changelog.d/10693.removal b/changelog.d/10693.removal deleted file mode 100644 index 0255a8be742a..000000000000 --- a/changelog.d/10693.removal +++ /dev/null @@ -1 +0,0 @@ -Remove [unstable MSC2858 API](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), including the undocumented `experimental.msc2858_enabled` config option. The unstable API has been deprecated since Synapse 1.35. Client authors should update their clients to use the stable API introduced in Synapse 1.30 if they have not already done so. diff --git a/changelog.d/10697.misc b/changelog.d/10697.misc deleted file mode 100644 index a9ad17faf26c..000000000000 --- a/changelog.d/10697.misc +++ /dev/null @@ -1 +0,0 @@ -Ensure `rooms.creator` field is always populated for easy lookup in [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) usage later. diff --git a/changelog.d/10704.bugfix b/changelog.d/10704.bugfix deleted file mode 100644 index 4284cddc2b19..000000000000 --- a/changelog.d/10704.bugfix +++ /dev/null @@ -1 +0,0 @@ -Added opentrace logging to help debug #9424. \ No newline at end of file diff --git a/changelog.d/10707.misc b/changelog.d/10707.misc deleted file mode 100644 index 39a37b90b1b3..000000000000 --- a/changelog.d/10707.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to REST servlets. diff --git a/changelog.d/10712.feature b/changelog.d/10712.feature deleted file mode 100644 index d04db6f26feb..000000000000 --- a/changelog.d/10712.feature +++ /dev/null @@ -1 +0,0 @@ -Skip final GC at shutdown to improve restart performance. diff --git a/changelog.d/10714.feature b/changelog.d/10714.feature deleted file mode 100644 index 7d18f5c1330f..000000000000 --- a/changelog.d/10714.feature +++ /dev/null @@ -1 +0,0 @@ -Allow configuration of the oEmbed URLs used for URL previews. diff --git a/changelog.d/10727.misc b/changelog.d/10727.misc deleted file mode 100644 index 63fe6e5c7dea..000000000000 --- a/changelog.d/10727.misc +++ /dev/null @@ -1 +0,0 @@ -Do not include rooms with unknown room versions in the spaces summary results. diff --git a/changelog.d/10728.misc b/changelog.d/10728.misc deleted file mode 100644 index 39a37b90b1b3..000000000000 --- a/changelog.d/10728.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to REST servlets. diff --git a/changelog.d/10730.bugfix b/changelog.d/10730.bugfix deleted file mode 100644 index f1612d3c088c..000000000000 --- a/changelog.d/10730.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug where the ordering algorithm was skipping the `origin_server_ts` step in the spaces summary resulting in unstable room orderings. diff --git a/changelog.d/10733.bugfix b/changelog.d/10733.bugfix deleted file mode 100644 index 7053a00ca4a7..000000000000 --- a/changelog.d/10733.bugfix +++ /dev/null @@ -1 +0,0 @@ -Allow user registration via SSO to require consent tracking for SSO mapping providers that don't prompt for Matrix ID selection. Contributed by @AndrewFerr. diff --git a/changelog.d/10735.doc b/changelog.d/10735.doc deleted file mode 100644 index 5d6207afb94f..000000000000 --- a/changelog.d/10735.doc +++ /dev/null @@ -1 +0,0 @@ -Clarify admin API documentation on undoing room deletions. diff --git a/changelog.d/10736.misc b/changelog.d/10736.misc deleted file mode 100644 index 39a37b90b1b3..000000000000 --- a/changelog.d/10736.misc +++ /dev/null @@ -1 +0,0 @@ -Add missing type hints to REST servlets. diff --git a/changelog.d/10738.misc b/changelog.d/10738.misc deleted file mode 100644 index cef54153dcfa..000000000000 --- a/changelog.d/10738.misc +++ /dev/null @@ -1 +0,0 @@ -Additional error checking for the `preset` field when creating a room. diff --git a/changelog.d/10743.bugfix b/changelog.d/10743.bugfix deleted file mode 100644 index d597a19870c2..000000000000 --- a/changelog.d/10743.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix edge case when persisting events into a room where there are multiple events we previously hadn't calculated auth chains for (and hadn't marked as needing to be calculated). diff --git a/changelog.d/10744.misc b/changelog.d/10744.misc deleted file mode 100644 index 9a765435dbe4..000000000000 --- a/changelog.d/10744.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up some of the federation event authentication code for clarity. diff --git a/changelog.d/10745.misc b/changelog.d/10745.misc deleted file mode 100644 index 9a765435dbe4..000000000000 --- a/changelog.d/10745.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up some of the federation event authentication code for clarity. diff --git a/changelog.d/10746.misc b/changelog.d/10746.misc deleted file mode 100644 index 9a765435dbe4..000000000000 --- a/changelog.d/10746.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up some of the federation event authentication code for clarity. diff --git a/changelog.d/10748.misc b/changelog.d/10748.misc deleted file mode 100644 index b9e2c4608737..000000000000 --- a/changelog.d/10748.misc +++ /dev/null @@ -1 +0,0 @@ -Add an index to `presence_stream` to hopefully speed up startups a little. diff --git a/changelog.d/10750.misc b/changelog.d/10750.misc deleted file mode 100644 index ded5cf626c11..000000000000 --- a/changelog.d/10750.misc +++ /dev/null @@ -1 +0,0 @@ -Refactor event size checking code to simplify searching the codebase for the origins of certain error strings that are occasionally emitted. \ No newline at end of file diff --git a/changelog.d/10752.misc b/changelog.d/10752.misc deleted file mode 100644 index 5f9aa2301851..000000000000 --- a/changelog.d/10752.misc +++ /dev/null @@ -1 +0,0 @@ -Move tests relating to rooms having encryption out of the user_directory tests. \ No newline at end of file diff --git a/changelog.d/10753.misc b/changelog.d/10753.misc deleted file mode 100644 index 1d0056e97ac7..000000000000 --- a/changelog.d/10753.misc +++ /dev/null @@ -1 +0,0 @@ -Use `attrs` internally for the URL preview code & update documentation. diff --git a/changelog.d/10754.misc b/changelog.d/10754.misc deleted file mode 100644 index 3b7acff03f4f..000000000000 --- a/changelog.d/10754.misc +++ /dev/null @@ -1 +0,0 @@ -Minor speed ups when joining large rooms over federation. diff --git a/changelog.d/10755.misc b/changelog.d/10755.misc deleted file mode 100644 index 3b7acff03f4f..000000000000 --- a/changelog.d/10755.misc +++ /dev/null @@ -1 +0,0 @@ -Minor speed ups when joining large rooms over federation. diff --git a/changelog.d/10756.misc b/changelog.d/10756.misc deleted file mode 100644 index 3b7acff03f4f..000000000000 --- a/changelog.d/10756.misc +++ /dev/null @@ -1 +0,0 @@ -Minor speed ups when joining large rooms over federation. diff --git a/changelog.d/10757.bugfix b/changelog.d/10757.bugfix deleted file mode 100644 index bce36ef24221..000000000000 --- a/changelog.d/10757.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug which prevented calls to `/createRoom` that included the `room_alias_name` parameter from being handled by worker processes. \ No newline at end of file diff --git a/changelog.d/10758.doc b/changelog.d/10758.doc deleted file mode 100644 index 9e4161d5e4db..000000000000 --- a/changelog.d/10758.doc +++ /dev/null @@ -1 +0,0 @@ -Split up the modules documentation and add examples for module developers. diff --git a/changelog.d/10759.feature b/changelog.d/10759.feature deleted file mode 100644 index 7d18f5c1330f..000000000000 --- a/changelog.d/10759.feature +++ /dev/null @@ -1 +0,0 @@ -Allow configuration of the oEmbed URLs used for URL previews. diff --git a/changelog.d/10760.bugfix b/changelog.d/10760.bugfix deleted file mode 100644 index 4995c28190e9..000000000000 --- a/changelog.d/10760.bugfix +++ /dev/null @@ -1 +0,0 @@ -Only return the stripped state events for the `m.space.child` events in a room for the spaces summary from [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946). diff --git a/changelog.d/10771.misc b/changelog.d/10771.misc deleted file mode 100644 index 9a765435dbe4..000000000000 --- a/changelog.d/10771.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up some of the federation event authentication code for clarity. diff --git a/changelog.d/10772.feature b/changelog.d/10772.feature deleted file mode 100644 index 4a550711f62e..000000000000 --- a/changelog.d/10772.feature +++ /dev/null @@ -1 +0,0 @@ -Prefer [room version 9](https://github.com/matrix-org/matrix-doc/pull/3375) for restricted rooms per the [room version caapabilities](https://github.com/matrix-org/matrix-doc/pull/3244) API. diff --git a/changelog.d/10773.misc b/changelog.d/10773.misc deleted file mode 100644 index 9a765435dbe4..000000000000 --- a/changelog.d/10773.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up some of the federation event authentication code for clarity. diff --git a/changelog.d/10774.bugfix b/changelog.d/10774.bugfix deleted file mode 100644 index 5c2f6f8ade12..000000000000 --- a/changelog.d/10774.bugfix +++ /dev/null @@ -1 +0,0 @@ -Properly handle room upgrades of spaces. diff --git a/changelog.d/10775.misc b/changelog.d/10775.misc deleted file mode 100644 index ca87d7aed0c6..000000000000 --- a/changelog.d/10775.misc +++ /dev/null @@ -1 +0,0 @@ -Add a constant for `m.federate`. diff --git a/changelog.d/10778.misc b/changelog.d/10778.misc deleted file mode 100644 index db4309420b2c..000000000000 --- a/changelog.d/10778.misc +++ /dev/null @@ -1 +0,0 @@ -Add a script to update the Debian changelog in a Docker container for systems that aren't Debian-based. diff --git a/changelog.d/10779.misc b/changelog.d/10779.misc deleted file mode 100644 index 9275a83039c6..000000000000 --- a/changelog.d/10779.misc +++ /dev/null @@ -1 +0,0 @@ -Change the format of authenticated users in logs when a user is being puppeted by and admin user. diff --git a/changelog.d/10780.misc b/changelog.d/10780.misc deleted file mode 100644 index 3b7acff03f4f..000000000000 --- a/changelog.d/10780.misc +++ /dev/null @@ -1 +0,0 @@ -Minor speed ups when joining large rooms over federation. diff --git a/changelog.d/10781.misc b/changelog.d/10781.misc deleted file mode 100644 index 9a765435dbe4..000000000000 --- a/changelog.d/10781.misc +++ /dev/null @@ -1 +0,0 @@ -Clean up some of the federation event authentication code for clarity. diff --git a/changelog.d/10783.bugfix b/changelog.d/10783.bugfix deleted file mode 100644 index f5b40d65a084..000000000000 --- a/changelog.d/10783.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug which generated invalid homeserver config when the `frontend_proxy` worker type was passed to the Synapse Worker-based Complement image. \ No newline at end of file diff --git a/changelog.d/10784.misc b/changelog.d/10784.misc deleted file mode 100644 index 3b7acff03f4f..000000000000 --- a/changelog.d/10784.misc +++ /dev/null @@ -1 +0,0 @@ -Minor speed ups when joining large rooms over federation. diff --git a/changelog.d/10788.misc b/changelog.d/10788.misc deleted file mode 100644 index 568a85ac52da..000000000000 --- a/changelog.d/10788.misc +++ /dev/null @@ -1 +0,0 @@ -Remove fixed and flakey tests from the sytest-blacklist. diff --git a/changelog.d/10789.misc b/changelog.d/10789.misc deleted file mode 100644 index 8a0b54e32a75..000000000000 --- a/changelog.d/10789.misc +++ /dev/null @@ -1 +0,0 @@ -Improve internal details of the user directory code. \ No newline at end of file diff --git a/changelog.d/10795.doc b/changelog.d/10795.doc deleted file mode 100644 index 3a0b6228252b..000000000000 --- a/changelog.d/10795.doc +++ /dev/null @@ -1 +0,0 @@ -Correct 2 typographical errors in the *Log Contexts* documentation. diff --git a/changelog.d/10798.misc b/changelog.d/10798.misc deleted file mode 100644 index 586a0b3a9670..000000000000 --- a/changelog.d/10798.misc +++ /dev/null @@ -1 +0,0 @@ -Use direct references to config flags. diff --git a/changelog.d/10799.misc b/changelog.d/10799.misc deleted file mode 100644 index 91f7ede096a3..000000000000 --- a/changelog.d/10799.misc +++ /dev/null @@ -1 +0,0 @@ -Add a max version for the `jaeger-client` dependency for an incompatibility with the rust reporter. diff --git a/changelog.d/10804.doc b/changelog.d/10804.doc deleted file mode 100644 index 5d57af3b5fa0..000000000000 --- a/changelog.d/10804.doc +++ /dev/null @@ -1 +0,0 @@ -Fixed a wording mistake in the sample configuration. Contributed by @bramvdnheuvel:nltrix.net. diff --git a/debian/changelog b/debian/changelog index 4a37174a94e5..d3a6f6a4e64b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.43.0~rc1) stable; urgency=medium + + * New synapse release 1.43.0~rc1. + + -- Synapse Packaging team Tue, 14 Sep 2021 11:39:46 +0100 + matrix-synapse-py3 (1.42.0) stable; urgency=medium * New synapse release 1.42.0. diff --git a/synapse/__init__.py b/synapse/__init__.py index dc7ae2429512..d62ccd1dbc06 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -47,7 +47,7 @@ except ImportError: pass -__version__ = "1.42.0" +__version__ = "1.43.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 8fdcf45be0f0c87a9689c8e8becd85adb2245a14 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 14 Sep 2021 11:48:34 +0100 Subject: [PATCH 2/5] update wording --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 8ff52ea1360f..6aad505ff129 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,7 @@ Synapse 1.43.0rc1 (2021-09-14) ============================== -This release drops the deprecated, unstable API for [MSC2858](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix). Client authors should update their clients to use the stable API, available since Synapse 1.30. +This release drops support for the deprecated, unstable API for [MSC2858](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), as well as the undocumented `experimental.msc2858_enabled` config option. Client authors should update their clients to use the stable API, available since Synapse 1.30. Features -------- From 814b4be08e49a2bc92a7b18e172b57c564127009 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 14 Sep 2021 11:52:19 +0100 Subject: [PATCH 3/5] update changelog wording --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 6aad505ff129..1534e4f76d39 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,7 +17,7 @@ Bugfixes -------- - Fix a long-standing bug where room avatars were not included in email notifications. ([\#10658](https://github.com/matrix-org/synapse/issues/10658)) -- Added opentracing logging to help debug #9424. ([\#10704](https://github.com/matrix-org/synapse/issues/10704)) +- Added opentracing logging to help debug stuck messages (as described by issue [#9424](https://github.com/matrix-org/synapse/issues/9424)). ([\#10704](https://github.com/matrix-org/synapse/issues/10704)) - Fix a bug where the ordering algorithm was skipping the `origin_server_ts` step in the spaces summary resulting in unstable room orderings. ([\#10730](https://github.com/matrix-org/synapse/issues/10730)) - Allow user registration via SSO to require consent tracking for SSO mapping providers that don't prompt for Matrix ID selection. Contributed by @AndrewFerr. ([\#10733](https://github.com/matrix-org/synapse/issues/10733)) - Fix edge case when persisting events into a room where there are multiple events we previously hadn't calculated auth chains for (and hadn't marked as needing to be calculated). ([\#10743](https://github.com/matrix-org/synapse/issues/10743)) From 5acc2f1f6fc51f09f9fc7bd0350648dd4a1c2341 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 14 Sep 2021 11:55:02 +0100 Subject: [PATCH 4/5] changelog improvements --- CHANGES.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1534e4f76d39..f14dcb92be71 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,11 +17,10 @@ Bugfixes -------- - Fix a long-standing bug where room avatars were not included in email notifications. ([\#10658](https://github.com/matrix-org/synapse/issues/10658)) -- Added opentracing logging to help debug stuck messages (as described by issue [#9424](https://github.com/matrix-org/synapse/issues/9424)). ([\#10704](https://github.com/matrix-org/synapse/issues/10704)) - Fix a bug where the ordering algorithm was skipping the `origin_server_ts` step in the spaces summary resulting in unstable room orderings. ([\#10730](https://github.com/matrix-org/synapse/issues/10730)) -- Allow user registration via SSO to require consent tracking for SSO mapping providers that don't prompt for Matrix ID selection. Contributed by @AndrewFerr. ([\#10733](https://github.com/matrix-org/synapse/issues/10733)) - Fix edge case when persisting events into a room where there are multiple events we previously hadn't calculated auth chains for (and hadn't marked as needing to be calculated). ([\#10743](https://github.com/matrix-org/synapse/issues/10743)) - Fix a bug which prevented calls to `/createRoom` that included the `room_alias_name` parameter from being handled by worker processes. ([\#10757](https://github.com/matrix-org/synapse/issues/10757)) +- Fix a bug which prevented user registration via SSO to require consent tracking for SSO mapping providers that don't prompt for Matrix ID selection. Contributed by @AndrewFerr. ([\#10733](https://github.com/matrix-org/synapse/issues/10733)) - Only return the stripped state events for the `m.space.child` events in a room for the spaces summary from [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946). ([\#10760](https://github.com/matrix-org/synapse/issues/10760)) - Properly handle room upgrades of spaces. ([\#10774](https://github.com/matrix-org/synapse/issues/10774)) - Fix a bug which generated invalid homeserver config when the `frontend_proxy` worker type was passed to the Synapse Worker-based Complement image. ([\#10783](https://github.com/matrix-org/synapse/issues/10783)) @@ -35,7 +34,7 @@ Improved Documentation - Clarify admin API documentation on undoing room deletions. ([\#10735](https://github.com/matrix-org/synapse/issues/10735)) - Split up the modules documentation and add examples for module developers. ([\#10758](https://github.com/matrix-org/synapse/issues/10758)) - Correct 2 typographical errors in the *Log Contexts* documentation. ([\#10795](https://github.com/matrix-org/synapse/issues/10795)) -- Fixed a wording mistake in the sample configuration. Contributed by @bramvdnheuvel:nltrix.net. ([\#10804](https://github.com/matrix-org/synapse/issues/10804)) +- Fix a wording mistake in the sample configuration. Contributed by @bramvdnheuvel:nltrix.net. ([\#10804](https://github.com/matrix-org/synapse/issues/10804)) Deprecations and Removals @@ -47,6 +46,7 @@ Deprecations and Removals Internal Changes ---------------- +- Add opentracing logging to help debug stuck messages (as described by issue [#9424](https://github.com/matrix-org/synapse/issues/9424)). ([\#10704](https://github.com/matrix-org/synapse/issues/10704)) - Add type annotations to the synapse.util package. ([\#10601](https://github.com/matrix-org/synapse/issues/10601)) - Ensure `rooms.creator` field is always populated for easy lookup in [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) usage later. ([\#10697](https://github.com/matrix-org/synapse/issues/10697)) - Add missing type hints to REST servlets. ([\#10707](https://github.com/matrix-org/synapse/issues/10707), [\#10728](https://github.com/matrix-org/synapse/issues/10728), [\#10736](https://github.com/matrix-org/synapse/issues/10736)) From 474edce1c482d62b9c952c92565693b0858e45a4 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 14 Sep 2021 12:04:28 +0100 Subject: [PATCH 5/5] update changelog wording --- CHANGES.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f14dcb92be71..4e9cefe69ca5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -33,7 +33,7 @@ Improved Documentation - Update the documentation to note that the `/spaces` and `/hierarchy` endpoints can be routed to workers. ([\#10648](https://github.com/matrix-org/synapse/issues/10648)) - Clarify admin API documentation on undoing room deletions. ([\#10735](https://github.com/matrix-org/synapse/issues/10735)) - Split up the modules documentation and add examples for module developers. ([\#10758](https://github.com/matrix-org/synapse/issues/10758)) -- Correct 2 typographical errors in the *Log Contexts* documentation. ([\#10795](https://github.com/matrix-org/synapse/issues/10795)) +- Correct 2 typographical errors in the [Log Contexts documentation](https://matrix-org.github.io/synapse/latest/log_contexts.html). ([\#10795](https://github.com/matrix-org/synapse/issues/10795)) - Fix a wording mistake in the sample configuration. Contributed by @bramvdnheuvel:nltrix.net. ([\#10804](https://github.com/matrix-org/synapse/issues/10804)) @@ -46,8 +46,8 @@ Deprecations and Removals Internal Changes ---------------- -- Add opentracing logging to help debug stuck messages (as described by issue [#9424](https://github.com/matrix-org/synapse/issues/9424)). ([\#10704](https://github.com/matrix-org/synapse/issues/10704)) -- Add type annotations to the synapse.util package. ([\#10601](https://github.com/matrix-org/synapse/issues/10601)) +- Add OpenTracing logging to help debug stuck messages (as described by issue [#9424](https://github.com/matrix-org/synapse/issues/9424)). ([\#10704](https://github.com/matrix-org/synapse/issues/10704)) +- Add type annotations to the `synapse.util` package. ([\#10601](https://github.com/matrix-org/synapse/issues/10601)) - Ensure `rooms.creator` field is always populated for easy lookup in [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) usage later. ([\#10697](https://github.com/matrix-org/synapse/issues/10697)) - Add missing type hints to REST servlets. ([\#10707](https://github.com/matrix-org/synapse/issues/10707), [\#10728](https://github.com/matrix-org/synapse/issues/10728), [\#10736](https://github.com/matrix-org/synapse/issues/10736)) - Do not include rooms with unknown room versions in the spaces summary results. ([\#10727](https://github.com/matrix-org/synapse/issues/10727)) @@ -55,16 +55,16 @@ Internal Changes - Clean up some of the federation event authentication code for clarity. ([\#10744](https://github.com/matrix-org/synapse/issues/10744), [\#10745](https://github.com/matrix-org/synapse/issues/10745), [\#10746](https://github.com/matrix-org/synapse/issues/10746), [\#10771](https://github.com/matrix-org/synapse/issues/10771), [\#10773](https://github.com/matrix-org/synapse/issues/10773), [\#10781](https://github.com/matrix-org/synapse/issues/10781)) - Add an index to `presence_stream` to hopefully speed up startups a little. ([\#10748](https://github.com/matrix-org/synapse/issues/10748)) - Refactor event size checking code to simplify searching the codebase for the origins of certain error strings that are occasionally emitted. ([\#10750](https://github.com/matrix-org/synapse/issues/10750)) -- Move tests relating to rooms having encryption out of the user_directory tests. ([\#10752](https://github.com/matrix-org/synapse/issues/10752)) +- Move tests relating to rooms having encryption out of the user directory tests. ([\#10752](https://github.com/matrix-org/synapse/issues/10752)) - Use `attrs` internally for the URL preview code & update documentation. ([\#10753](https://github.com/matrix-org/synapse/issues/10753)) - Minor speed ups when joining large rooms over federation. ([\#10754](https://github.com/matrix-org/synapse/issues/10754), [\#10755](https://github.com/matrix-org/synapse/issues/10755), [\#10756](https://github.com/matrix-org/synapse/issues/10756), [\#10780](https://github.com/matrix-org/synapse/issues/10780), [\#10784](https://github.com/matrix-org/synapse/issues/10784)) - Add a constant for `m.federate`. ([\#10775](https://github.com/matrix-org/synapse/issues/10775)) -- Add a script to update the Debian changelog in a Docker container for systems that aren't Debian-based. ([\#10778](https://github.com/matrix-org/synapse/issues/10778)) +- Add a script to update the Debian changelog in a Docker container for systems that are not Debian-based. ([\#10778](https://github.com/matrix-org/synapse/issues/10778)) - Change the format of authenticated users in logs when a user is being puppeted by and admin user. ([\#10779](https://github.com/matrix-org/synapse/issues/10779)) -- Remove fixed and flakey tests from the sytest-blacklist. ([\#10788](https://github.com/matrix-org/synapse/issues/10788)) +- Remove fixed and flakey tests from the Sytest blacklist. ([\#10788](https://github.com/matrix-org/synapse/issues/10788)) - Improve internal details of the user directory code. ([\#10789](https://github.com/matrix-org/synapse/issues/10789)) - Use direct references to config flags. ([\#10798](https://github.com/matrix-org/synapse/issues/10798)) -- Add a max version for the `jaeger-client` dependency for an incompatibility with the rust reporter. ([\#10799](https://github.com/matrix-org/synapse/issues/10799)) +- Ensure the Rust reporter passes type checking with jaeger-client 4.7's type annotations. ([\#10799](https://github.com/matrix-org/synapse/issues/10799)) Synapse 1.42.0 (2021-09-07)