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.58.0rc2' into develop
Browse files Browse the repository at this point in the history
Synapse 1.58.0rc2 (2022-04-26)
==============================

This release candidate fixes bugs related to Synapse 1.58.0rc1's logic for handling device list updates.

Bugfixes
--------

- Fix a bug introduced in Synapse 1.58.0rc1 where the main process could consume excessive amounts of CPU and memory while handling sentry logging failures. ([\#12554](#12554))
- Fix a bug introduced in Synapse 1.58.0rc1 where opentracing contexts were not correctly sent to whitelisted remote servers with device lists updates. ([\#12555](#12555))

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

- Reduce unnecessary work when handling remote device list updates. ([\#12557](#12557))
  • Loading branch information
David Robertson committed Apr 26, 2022
2 parents 706456d + 9cfecd2 commit 9986621
Show file tree
Hide file tree
Showing 59 changed files with 144 additions and 172 deletions.
90 changes: 90 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,93 @@
Synapse 1.58.0rc2 (2022-04-26)
==============================

This release candidate fixes bugs related to Synapse 1.58.0rc1's logic for handling device list updates.

Bugfixes
--------

- Fix a bug introduced in Synapse 1.58.0rc1 where the main process could consume excessive amounts of CPU and memory while handling sentry logging failures. ([\#12554](https://github.com/matrix-org/synapse/issues/12554))
- Fix a bug introduced in Synapse 1.58.0rc1 where opentracing contexts were not correctly sent to whitelisted remote servers with device lists updates. ([\#12555](https://github.com/matrix-org/synapse/issues/12555))


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

- Reduce unnecessary work when handling remote device list updates. ([\#12557](https://github.com/matrix-org/synapse/issues/12557))


Synapse 1.58.0rc1 (2022-04-26)
==============================

As of this release, the groups/communities feature in Synapse is now disabled by default. See [\#11584](https://github.com/matrix-org/synapse/issues/11584) for details. As mentioned in [the upgrade notes](https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md#upgrading-to-v1580), this feature will be removed in Synapse 1.61.

Features
--------

- Implement [MSC3383](https://github.com/matrix-org/matrix-spec-proposals/pull/3383) for including the destination in server-to-server authentication headers. Contributed by @Bubu and @jcgruenhage for Famedly. ([\#11398](https://github.com/matrix-org/synapse/issues/11398))
- Docker images and Debian packages from matrix.org now contain a locked set of Python dependencies, greatly improving build reproducibility. ([Board](https://github.com/orgs/matrix-org/projects/54), [\#11537](https://github.com/matrix-org/synapse/issues/11537))
- Enable processing of device list updates asynchronously. ([\#12365](https://github.com/matrix-org/synapse/issues/12365), [\#12465](https://github.com/matrix-org/synapse/issues/12465))
- Implement [MSC2815](https://github.com/matrix-org/matrix-spec-proposals/pull/2815) to allow room moderators to view redacted event content. Contributed by @tulir @ Beeper. ([\#12427](https://github.com/matrix-org/synapse/issues/12427))
- Build Debian packages for Ubuntu 22.04 "Jammy Jellyfish". ([\#12543](https://github.com/matrix-org/synapse/issues/12543))


Bugfixes
--------

- Prevent a sync request from removing a user's busy presence status. ([\#12213](https://github.com/matrix-org/synapse/issues/12213))
- Fix bug with incremental sync missing events when rejoining/backfilling. Contributed by Nick @ Beeper. ([\#12319](https://github.com/matrix-org/synapse/issues/12319))
- Fix a long-standing bug which incorrectly caused `GET /_matrix/client/v3/rooms/{roomId}/event/{eventId}` to return edited events rather than the original. ([\#12476](https://github.com/matrix-org/synapse/issues/12476))
- Fix a bug introduced in Synapse 1.27.0 where the admin API for [deleting forward extremities](https://github.com/matrix-org/synapse/blob/erikj/fix_delete_event_response_count/docs/admin_api/rooms.md#deleting-forward-extremities) would always return a count of 1, no matter how many extremities were deleted. ([\#12496](https://github.com/matrix-org/synapse/issues/12496))
- Fix a long-standing bug where the image thumbnails embedded into email notifications were broken. ([\#12510](https://github.com/matrix-org/synapse/issues/12510))
- Fix a bug in the implementation of [MSC3202](https://github.com/matrix-org/matrix-spec-proposals/pull/3202) where Synapse would use the field name `device_unused_fallback_keys`, rather than `device_unused_fallback_key_types`. ([\#12520](https://github.com/matrix-org/synapse/issues/12520))
- Fix a bug introduced in Synapse 0.99.3 which could cause Synapse to consume large amounts of RAM when back-paginating in a large room. ([\#12522](https://github.com/matrix-org/synapse/issues/12522))


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

- Fix rendering of the documentation site when using the 'print' feature. ([\#12340](https://github.com/matrix-org/synapse/issues/12340))
- Add a manual documenting config file options. ([\#12368](https://github.com/matrix-org/synapse/issues/12368), [\#12527](https://github.com/matrix-org/synapse/issues/12527))
- Update documentation to reflect that both the `run_background_tasks_on` option and the options for moving stream writers off of the main process are no longer experimental. ([\#12451](https://github.com/matrix-org/synapse/issues/12451))
- Update worker documentation and replace old `federation_reader` with `generic_worker`. ([\#12457](https://github.com/matrix-org/synapse/issues/12457))
- Strongly recommend [Poetry](https://python-poetry.org/) for development. ([\#12475](https://github.com/matrix-org/synapse/issues/12475))
- Add some example configurations for workers and update architectural diagram. ([\#12492](https://github.com/matrix-org/synapse/issues/12492))
- Fix a broken link in `README.rst`. ([\#12495](https://github.com/matrix-org/synapse/issues/12495))
- Add HAProxy delegation example with CORS headers to docs. ([\#12501](https://github.com/matrix-org/synapse/issues/12501))
- Remove extraneous comma in User Admin API's device deletion section so that the example JSON is actually valid and works. Contributed by @olmari. ([\#12533](https://github.com/matrix-org/synapse/issues/12533))


Deprecations and Removals
-------------------------

- The groups/communities feature in Synapse is now disabled by default. ([\#12344](https://github.com/matrix-org/synapse/issues/12344))
- Remove unstable identifiers from [MSC3440](https://github.com/matrix-org/matrix-doc/pull/3440). ([\#12382](https://github.com/matrix-org/synapse/issues/12382))


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

- Preparation for faster-room-join work: start a background process to resynchronise the room state after a room join. ([\#12394](https://github.com/matrix-org/synapse/issues/12394))
- Preparation for faster-room-join work: Implement a tracking mechanism to allow functions to wait for full room state to arrive. ([\#12399](https://github.com/matrix-org/synapse/issues/12399))
- Remove an unstable identifier from [MSC3083](https://github.com/matrix-org/matrix-doc/pull/3083). ([\#12395](https://github.com/matrix-org/synapse/issues/12395))
- Run CI in the locked [Poetry](https://python-poetry.org/) environment, and remove corresponding `tox` jobs. ([\#12425](https://github.com/matrix-org/synapse/issues/12425), [\#12434](https://github.com/matrix-org/synapse/issues/12434), [\#12438](https://github.com/matrix-org/synapse/issues/12438), [\#12441](https://github.com/matrix-org/synapse/issues/12441), [\#12449](https://github.com/matrix-org/synapse/issues/12449), [\#12478](https://github.com/matrix-org/synapse/issues/12478), [\#12514](https://github.com/matrix-org/synapse/issues/12514), [\#12472](https://github.com/matrix-org/synapse/issues/12472))
- Change Mutual Rooms' `unstable_features` flag to `uk.half-shot.msc2666.mutual_rooms` which matches the current iteration of [MSC2666](https://github.com/matrix-org/matrix-spec-proposals/pull/2666). ([\#12445](https://github.com/matrix-org/synapse/issues/12445))
- Fix typo in the release script help string. ([\#12450](https://github.com/matrix-org/synapse/issues/12450))
- Fix a minor typo in the Debian changelogs generated by the release script. ([\#12497](https://github.com/matrix-org/synapse/issues/12497))
- Reintroduce the list of targets to the linter script, to avoid linting unwanted local-only directories during development. ([\#12455](https://github.com/matrix-org/synapse/issues/12455))
- Limit length of `device_id` to less than 512 characters. ([\#12454](https://github.com/matrix-org/synapse/issues/12454))
- Dockerfile-workers: reduce the amount we install in the image. ([\#12464](https://github.com/matrix-org/synapse/issues/12464))
- Dockerfile-workers: give the master its own log config. ([\#12466](https://github.com/matrix-org/synapse/issues/12466))
- complement-synapse-workers: factor out separate entry point script. ([\#12467](https://github.com/matrix-org/synapse/issues/12467))
- Back out experimental implementation of [MSC2314](https://github.com/matrix-org/matrix-spec-proposals/pull/2314). ([\#12474](https://github.com/matrix-org/synapse/issues/12474))
- Fix grammatical error in federation error response when the room version of a room is unknown. ([\#12483](https://github.com/matrix-org/synapse/issues/12483))
- Remove unnecessary configuration overrides in tests. ([\#12511](https://github.com/matrix-org/synapse/issues/12511))
- Refactor the relations code for clarity. ([\#12519](https://github.com/matrix-org/synapse/issues/12519))
- Add type hints so `docker` and `stubs` directories pass `mypy --disallow-untyped-defs`. ([\#12528](https://github.com/matrix-org/synapse/issues/12528))
- Update `delay_cancellation` to accept any awaitable, rather than just `Deferred`s. ([\#12468](https://github.com/matrix-org/synapse/issues/12468))
- Handle cancellation in `EventsWorkerStore._get_events_from_cache_or_db`. ([\#12529](https://github.com/matrix-org/synapse/issues/12529))


Synapse 1.57.1 (2022-04-20)
===========================

Expand Down
1 change: 0 additions & 1 deletion changelog.d/11398.feature

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/12527.doc

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

11 changes: 9 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
matrix-synapse-py3 (1.58.0+nmu1) UNRELEASED; urgency=medium
matrix-synapse-py3 (1.58.0~rc2) stable; urgency=medium

* New Synapse release 1.58.0rc2.

-- Synapse Packaging team <packages@matrix.org> Tue, 26 Apr 2022 17:14:56 +0100

matrix-synapse-py3 (1.58.0~rc1) stable; urgency=medium

* Use poetry to manage the bundled virtualenv included with this package.
* New Synapse release 1.58.0rc1.

-- Synapse Packaging team <packages@matrix.org> Wed, 30 Mar 2022 12:21:43 +0100
-- Synapse Packaging team <packages@matrix.org> Tue, 26 Apr 2022 11:15:20 +0100

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

Expand Down
62 changes: 1 addition & 61 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9986621

Please sign in to comment.