Skip to content

Commit 7934cde

Browse files
committed
Upgrade Synapse (1.42.0 -> 1.43.0)
Related to: - spantaleev#1287 - spantaleev#1288 .. but does it in a more complete way
1 parent 92af6c1 commit 7934cde

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

roles/matrix-synapse/defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ matrix_synapse_docker_image_name_prefix: "{{ 'localhost/' if matrix_synapse_cont
1515
# amd64 gets released first.
1616
# arm32 relies on self-building, so the same version can be built immediately.
1717
# arm64 users need to wait for a prebuilt image to become available.
18-
matrix_synapse_version: v1.42.0
19-
matrix_synapse_version_arm64: v1.42.0
18+
matrix_synapse_version: v1.43.0
19+
matrix_synapse_version_arm64: v1.43.0
2020
matrix_synapse_docker_image_tag: "{{ matrix_synapse_version if matrix_architecture in ['arm32', 'amd64'] else matrix_synapse_version_arm64 }}"
2121
matrix_synapse_docker_image_force_pull: "{{ matrix_synapse_docker_image.endswith(':latest') }}"
2222

roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,24 @@ update_user_directory: false
357357
daemonize: false
358358
{% endif %}
359359

360+
# Connection settings for the manhole
361+
#
362+
manhole_settings:
363+
# The username for the manhole. This defaults to 'matrix'.
364+
#
365+
#username: manhole
366+
367+
# The password for the manhole. This defaults to 'rabbithole'.
368+
#
369+
#password: mypassword
370+
371+
# The private and public SSH key pair used to encrypt the manhole traffic.
372+
# If these are left unset, then hardcoded and non-secret keys are used,
373+
# which could allow traffic to be intercepted if sent over a public network.
374+
#
375+
#ssh_priv_key_path: /data/id_rsa
376+
#ssh_pub_key_path: /data/id_rsa.pub
377+
360378
# Forward extremities can build up in a room due to networking delays between
361379
# homeservers. Once this happens in a large room, calculation of the state of
362380
# that room can become quite expensive. To mitigate this, once the number of
@@ -2258,7 +2276,7 @@ password_config:
22582276
#
22592277
#require_lowercase: true
22602278

2261-
# Whether a password must contain at least one lowercase letter.
2279+
# Whether a password must contain at least one uppercase letter.
22622280
# Defaults to 'false'.
22632281
#
22642282
#require_uppercase: true

roles/matrix-synapse/vars/workers.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ matrix_synapse_workers_generic_worker_endpoints:
3232
- ^/_matrix/federation/v1/user/devices/
3333
- ^/_matrix/federation/v1/get_groups_publicised$
3434
- ^/_matrix/key/v2/query
35+
- ^/_matrix/federation/unstable/org.matrix.msc2946/spaces/
36+
- ^/_matrix/federation/unstable/org.matrix.msc2946/hierarchy/
3537

3638
# Inbound federation transaction request
3739
- ^/_matrix/federation/v1/send/
@@ -43,6 +45,9 @@ matrix_synapse_workers_generic_worker_endpoints:
4345
- ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*$
4446
- ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/members$
4547
- ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state$
48+
- ^/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/spaces$
49+
- ^/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/hierarchy$
50+
- ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$
4651
- ^/_matrix/client/(api/v1|r0|unstable)/account/3pid$
4752
- ^/_matrix/client/(api/v1|r0|unstable)/devices$
4853
- ^/_matrix/client/(api/v1|r0|unstable)/keys/query$

0 commit comments

Comments
 (0)