Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge tag 'v1.43.0rc1' into develop
Browse files Browse the repository at this point in the history
Synapse 1.43.0rc1 (2021-09-14)

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
--------

- Allow room creators to send historical events specified by [MSC2716](matrix-org/matrix-spec-proposals#2716) in existing room versions. ([\#10566](#10566))
- Add config option to use non-default manhole password and keys. ([\#10643](#10643))
- Skip final GC at shutdown to improve restart performance. ([\#10712](#10712))
- Allow configuration of the oEmbed URLs used for URL previews. ([\#10714](#10714), [\#10759](#10759))
- Prefer [room version 9](matrix-org/matrix-spec-proposals#3375) for restricted rooms per the [room version capabilities](matrix-org/matrix-spec-proposals#3244) API. ([\#10772](#10772))

Bugfixes
--------

- Fix a long-standing bug where room avatars were not included in email notifications. ([\#10658](#10658))
- Fix a bug where the ordering algorithm was skipping the `origin_server_ts` step in the spaces summary resulting in unstable room orderings. ([\#10730](#10730))
- 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](#10743))
- Fix a bug which prevented calls to `/createRoom` that included the `room_alias_name` parameter from being handled by worker processes. ([\#10757](#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](#10733))
- Only return the stripped state events for the `m.space.child` events in a room for the spaces summary from [MSC2946](matrix-org/matrix-spec-proposals#2946). ([\#10760](#10760))
- Properly handle room upgrades of spaces. ([\#10774](#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](#10783))

Improved Documentation
----------------------

- Minor fix to the `media_repository` developer documentation. Contributed by @cuttingedge1109. ([\#10556](#10556))
- Update the documentation to note that the `/spaces` and `/hierarchy` endpoints can be routed to workers. ([\#10648](#10648))
- Clarify admin API documentation on undoing room deletions. ([\#10735](#10735))
- Split up the modules documentation and add examples for module developers. ([\#10758](#10758))
- Correct 2 typographical errors in the [Log Contexts documentation](https://matrix-org.github.io/synapse/latest/log_contexts.html). ([\#10795](#10795))
- Fix a wording mistake in the sample configuration. Contributed by @BramvdnHeuvel:nltrix.net. ([\#10804](#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](#10693))

Internal Changes
----------------

- Add OpenTracing logging to help debug stuck messages (as described by issue [#9424](#9424)). ([\#10704](#10704))
- Add type annotations to the `synapse.util` package. ([\#10601](#10601))
- Ensure `rooms.creator` field is always populated for easy lookup in [MSC2716](matrix-org/matrix-spec-proposals#2716) usage later. ([\#10697](#10697))
- Add missing type hints to REST servlets. ([\#10707](#10707), [\#10728](#10728), [\#10736](#10736))
- Do not include rooms with unknown room versions in the spaces summary results. ([\#10727](#10727))
- Additional error checking for the `preset` field when creating a room. ([\#10738](#10738))
- Clean up some of the federation event authentication code for clarity. ([\#10744](#10744), [\#10745](#10745), [\#10746](#10746), [\#10771](#10771), [\#10773](#10773), [\#10781](#10781))
- Add an index to `presence_stream` to hopefully speed up startups a little. ([\#10748](#10748))
- Refactor event size checking code to simplify searching the codebase for the origins of certain error strings that are occasionally emitted. ([\#10750](#10750))
- Move tests relating to rooms having encryption out of the user directory tests. ([\#10752](#10752))
- Use `attrs` internally for the URL preview code & update documentation. ([\#10753](#10753))
- Minor speed ups when joining large rooms over federation. ([\#10754](#10754), [\#10755](#10755), [\#10756](#10756), [\#10780](#10780), [\#10784](#10784))
- Add a constant for `m.federate`. ([\#10775](#10775))
- Add a script to update the Debian changelog in a Docker container for systems that are not Debian-based. ([\#10778](#10778))
- Change the format of authenticated users in logs when a user is being puppeted by and admin user. ([\#10779](#10779))
- Remove fixed and flakey tests from the Sytest blacklist. ([\#10788](#10788))
- Improve internal details of the user directory code. ([\#10789](#10789))
- Use direct references to config flags. ([\#10798](#10798))
- Ensure the Rust reporter passes type checking with jaeger-client 4.7's type annotations. ([\#10799](#10799))
  • Loading branch information
anoadragon453 committed Sep 14, 2021
2 parents b996782 + 474edce commit 51e1b96
Show file tree
Hide file tree
Showing 54 changed files with 76 additions and 52 deletions.
69 changes: 69 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
Synapse 1.43.0rc1 (2021-09-14)
==============================

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
--------

- 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))
- 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))
- 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))


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](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))


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 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))
- 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 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))
- 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))
- 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)
===========================

Expand Down
1 change: 0 additions & 1 deletion changelog.d/10556.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10566.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10601.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10643.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10648.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10658.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10693.removal

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10697.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10704.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10707.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10712.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10714.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10727.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10728.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10730.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10733.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10735.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10736.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10738.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10743.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10744.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10745.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10746.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10748.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10750.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10752.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10753.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10754.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10755.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10756.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10757.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10758.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10759.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10760.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10771.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10772.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10773.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10774.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10775.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10778.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10779.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10780.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10781.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10783.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10784.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10788.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10789.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10795.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10798.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10799.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/10804.doc

This file was deleted.

6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
matrix-synapse-py3 (1.43.0~rc1) stable; urgency=medium

* New synapse release 1.43.0~rc1.

-- Synapse Packaging team <packages@matrix.org> Tue, 14 Sep 2021 11:39:46 +0100

matrix-synapse-py3 (1.42.0) stable; urgency=medium

* New synapse release 1.42.0.
Expand Down
2 changes: 1 addition & 1 deletion synapse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51e1b96

Please sign in to comment.