Skip to content

Commit 70e70ef

Browse files
committed
Merge tag 'v1.34.0' into 2021-05
Synapse 1.34.0 (2021-05-17) =========================== This release deprecates the `room_invite_state_types` configuration setting. See the [upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.34.0/UPGRADE.rst#upgrading-to-v1340) for instructions on updating your configuration file to use the new `room_prejoin_state` setting. This release also deprecates the `POST /_synapse/admin/v1/rooms/<room_id>/delete` admin API route. Server administrators are encouraged to update their scripts to use the new `DELETE /_synapse/admin/v1/rooms/<room_id>` route instead. No significant changes since v1.34.0rc1. Synapse 1.34.0rc1 (2021-05-12) ============================== Features -------- - Add experimental option to track memory usage of the caches. ([\matrix-org#9881](matrix-org#9881)) - Add support for `DELETE /_synapse/admin/v1/rooms/<room_id>`. ([\matrix-org#9889](matrix-org#9889)) - Add limits to how often Synapse will GC, ensuring that large servers do not end up GC thrashing if `gc_thresholds` has not been correctly set. ([\matrix-org#9902](matrix-org#9902)) - Improve performance of sending events for worker-based deployments using Redis. ([\matrix-org#9905](matrix-org#9905), [\matrix-org#9950](matrix-org#9950), [\matrix-org#9951](matrix-org#9951)) - Improve performance after joining a large room when presence is enabled. ([\matrix-org#9910](matrix-org#9910), [\matrix-org#9916](matrix-org#9916)) - Support stable identifiers for [MSC1772](matrix-org/matrix-spec-proposals#1772) Spaces. `m.space.child` events will now be taken into account when populating the experimental spaces summary response. Please see [the upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.34.0/UPGRADE.rst#upgrading-to-v1340) if you have customised `room_invite_state_types` in your configuration. ([\matrix-org#9915](matrix-org#9915), [\matrix-org#9966](matrix-org#9966)) - Improve performance of backfilling in large rooms. ([\matrix-org#9935](matrix-org#9935)) - Add a config option to allow you to prevent device display names from being shared over federation. Contributed by @aaronraimist. ([\matrix-org#9945](matrix-org#9945)) - Update support for [MSC2946](matrix-org/matrix-spec-proposals#2946): Spaces Summary. ([\matrix-org#9947](matrix-org#9947), [\matrix-org#9954](matrix-org#9954)) Bugfixes -------- - Fix a bug introduced in v1.32.0 where the associated connection was improperly logged for SQL logging statements. ([\matrix-org#9895](matrix-org#9895)) - Correct the type hint for the `user_may_create_room_alias` method of spam checkers. It is provided a `RoomAlias`, not a `str`. ([\matrix-org#9896](matrix-org#9896)) - Fix bug where user directory could get out of sync if room visibility and membership changed in quick succession. ([\matrix-org#9910](matrix-org#9910)) - Include the `origin_server_ts` property in the experimental [MSC2946](matrix-org/matrix-spec-proposals#2946) support to allow clients to properly sort rooms. ([\matrix-org#9928](matrix-org#9928)) - Fix bugs introduced in v1.23.0 which made the PostgreSQL port script fail when run with a newly-created SQLite database. ([\matrix-org#9930](matrix-org#9930)) - Fix a bug introduced in Synapse 1.29.0 which caused `m.room_key_request` to-device messages sent from one user to another to be dropped. ([\matrix-org#9961](matrix-org#9961), [\matrix-org#9965](matrix-org#9965)) - Fix a bug introduced in v1.27.0 preventing users and appservices exempt from ratelimiting from creating rooms with many invitees. ([\matrix-org#9968](matrix-org#9968)) Updates to the Docker image --------------------------- - Add `startup_delay` to docker healthcheck to reduce waiting time for coming online and update the documentation with extra options. Contributed by @maquis196. ([\matrix-org#9913](matrix-org#9913)) Improved Documentation ---------------------- - Add `port` argument to the Postgres database sample config section. ([\matrix-org#9911](matrix-org#9911)) Deprecations and Removals ------------------------- - Mark as deprecated `POST /_synapse/admin/v1/rooms/<room_id>/delete`. ([\matrix-org#9889](matrix-org#9889)) Internal Changes ---------------- - Reduce the length of Synapse's access tokens. ([\matrix-org#5588](matrix-org#5588)) - Export jemalloc stats to Prometheus if it is being used. ([\matrix-org#9882](matrix-org#9882)) - Add type hints to presence handler. ([\matrix-org#9885](matrix-org#9885)) - Reduce memory usage of the LRU caches. ([\matrix-org#9886](matrix-org#9886)) - Add type hints to the `synapse.handlers` module. ([\matrix-org#9896](matrix-org#9896)) - Time response time for external cache requests. ([\matrix-org#9904](matrix-org#9904)) - Minor fixes to the `make_full_schema.sh` script. ([\matrix-org#9931](matrix-org#9931)) - Move database schema files into a common directory. ([\matrix-org#9932](matrix-org#9932)) - Add debug logging for lost/delayed to-device messages. ([\matrix-org#9959](matrix-org#9959))
2 parents 23f6abd + 13b0673 commit 70e70ef

File tree

4 files changed

+25
-15
lines changed

4 files changed

+25
-15
lines changed

CHANGES.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
Synapse 1.34.0rc1 (2021-05-12)
2-
==============================
1+
Synapse 1.34.0 (2021-05-17)
2+
===========================
33

44
This release deprecates the `room_invite_state_types` configuration setting. See the [upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.34.0/UPGRADE.rst#upgrading-to-v1340) for instructions on updating your configuration file to use the new `room_prejoin_state` setting.
55

66
This release also deprecates the `POST /_synapse/admin/v1/rooms/<room_id>/delete` admin API route. Server administrators are encouraged to update their scripts to use the new `DELETE /_synapse/admin/v1/rooms/<room_id>` route instead.
77

8+
9+
No significant changes since v1.34.0rc1.
10+
11+
12+
Synapse 1.34.0rc1 (2021-05-12)
13+
==============================
14+
815
Features
916
--------
1017

@@ -174,7 +181,7 @@ Synapse 1.32.1 (2021-04-21)
174181
===========================
175182

176183
This release fixes [a regression](https://github.com/matrix-org/synapse/issues/9853)
177-
in Synapse 1.32.0 that caused connected Prometheus instances to become unstable.
184+
in Synapse 1.32.0 that caused connected Prometheus instances to become unstable.
178185

179186
However, as this release is still subject to the `LoggingContext` change in 1.32.0,
180187
it is recommended to remain on or downgrade to 1.31.0.
@@ -190,11 +197,11 @@ Synapse 1.32.0 (2021-04-20)
190197

191198
**Note:** This release introduces [a regression](https://github.com/matrix-org/synapse/issues/9853)
192199
that can overwhelm connected Prometheus instances. This issue was not present in
193-
1.32.0rc1. If affected, it is recommended to downgrade to 1.31.0 in the meantime, and
200+
1.32.0rc1. If affected, it is recommended to downgrade to 1.31.0 in the meantime, and
194201
follow [these instructions](https://github.com/matrix-org/synapse/pull/9854#issuecomment-823472183)
195202
to clean up any excess writeahead logs.
196203

197-
**Note:** This release also mistakenly included a change that may affected Synapse
204+
**Note:** This release also mistakenly included a change that may affected Synapse
198205
modules that import `synapse.logging.context.LoggingContext`, such as
199206
[synapse-s3-storage-provider](https://github.com/matrix-org/synapse-s3-storage-provider).
200207
This will be fixed in a later Synapse version.
@@ -205,8 +212,8 @@ This release removes the deprecated `GET /_synapse/admin/v1/users/<user_id>` adm
205212

206213
This release requires Application Services to use type `m.login.application_service` when registering users via the `/_matrix/client/r0/register` endpoint to comply with the spec. Please ensure your Application Services are up to date.
207214

208-
If you are using the `packages.matrix.org` Debian repository for Synapse packages,
209-
note that we have recently updated the expiry date on the gpg signing key. If you see an
215+
If you are using the `packages.matrix.org` Debian repository for Synapse packages,
216+
note that we have recently updated the expiry date on the gpg signing key. If you see an
210217
error similar to `The following signatures were invalid: EXPKEYSIG F473DD4473365DE1`, you
211218
will need to get a fresh copy of the keys. You can do so with:
212219

UPGRADE.rst

+4-7
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ for example:
8888
Upgrading to v1.34.0
8989
====================
9090

91-
`room_invite_state_types` configuration setting
91+
``room_invite_state_types`` configuration setting
9292
-----------------------------------------------
9393

9494
The ``room_invite_state_types`` configuration setting has been deprecated and
@@ -106,13 +106,10 @@ remove it from your configuration file. The default value used to be:
106106
- "m.room.encryption"
107107
- "m.room.name"
108108
109-
If you have customised this value by adding addition state types, you should
110-
remove ``room_invite_state_types`` and configure ``additional_event_types`` with
111-
your customisations.
109+
If you have customised this value, you should remove ``room_invite_state_types`` and
110+
configure ``room_prejoin_state`` instead.
111+
112112

113-
If you have customised this value by removing state types, you should rename
114-
``room_invite_state_types`` to ``additional_event_types``, and set
115-
``disable_default_event_types`` to ``true``.
116113

117114
Upgrading to v1.33.0
118115
====================

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
matrix-synapse-py3 (1.34.0) stable; urgency=medium
2+
3+
* New synapse release 1.34.0.
4+
5+
-- Synapse Packaging team <[email protected]> Mon, 17 May 2021 11:34:18 +0100
6+
17
matrix-synapse-py3 (1.33.2) stable; urgency=medium
28

39
* New synapse release 1.33.2.

synapse/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
except ImportError:
4848
pass
4949

50-
__version__ = "1.34.0rc1"
50+
__version__ = "1.34.0"
5151

5252
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
5353
# We import here so that we don't have to install a bunch of deps when

0 commit comments

Comments
 (0)