Skip to content

Commit 1472958

Browse files
committed
Upgrade Synapse (1.47.1 -> 1.48.0)
1 parent c6f9363 commit 1472958

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

roles/matrix-synapse/defaults/main.yml

+2-2
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.47.1
19-
matrix_synapse_version_arm64: v1.47.1
18+
matrix_synapse_version: v1.48.0
19+
matrix_synapse_version_arm64: v1.48.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

+10-4
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ tls_private_key_path: {{ matrix_synapse_tls_private_key_path|to_json }}
667667
#
668668
#federation_certificate_verification_whitelist:
669669
# - lon.example.com
670-
# - *.domain.com
671-
# - *.onion
670+
# - "*.domain.com"
671+
# - "*.onion"
672672

673673
# List of custom certificate authorities for federation traffic.
674674
#
@@ -2229,6 +2229,12 @@ sso:
22292229
#
22302230
#algorithm: "provided-by-your-issuer"
22312231

2232+
# Name of the claim containing a unique identifier for the user.
2233+
#
2234+
# Optional, defaults to `sub`.
2235+
#
2236+
#subject_claim: "sub"
2237+
22322238
# The issuer to validate the "iss" claim against.
22332239
#
22342240
# Optional, if provided the "iss" claim will be required and
@@ -2637,8 +2643,8 @@ user_directory:
26372643
# indexes were (re)built was before Synapse 1.44, you'll have to
26382644
# rebuild the indexes in order to search through all known users.
26392645
# These indexes are built the first time Synapse starts; admins can
2640-
# manually trigger a rebuild following the instructions at
2641-
# https://matrix-org.github.io/synapse/latest/user_directory.html
2646+
# manually trigger a rebuild via API following the instructions at
2647+
# https://matrix-org.github.io/synapse/latest/usage/administration/admin_api/background_updates.html#run
26422648
#
26432649
# Uncomment to return search results containing all known users, even if that
26442650
# user does not share a room with the requester.

roles/matrix-synapse/vars/workers.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ matrix_synapse_workers_generic_worker_endpoints:
55
# expressions:
66

77
# Sync requests
8-
- ^/_matrix/client/(v2_alpha|r0|v3)/sync$
9-
- ^/_matrix/client/(api/v1|v2_alpha|r0|v3)/events$
10-
- ^/_matrix/client/(api/v1|r0|v3)/initialSync$
11-
- ^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$
8+
- ^/_matrix/client/(v2_alpha|r0)/sync$
9+
- ^/_matrix/client/(api/v1|v2_alpha|r0)/events$
10+
- ^/_matrix/client/(api/v1|r0)/initialSync$
11+
- ^/_matrix/client/(api/v1|r0)/rooms/[^/]+/initialSync$
1212

1313
# Federation requests
1414
- ^/_matrix/federation/v1/event/
@@ -63,7 +63,7 @@ matrix_synapse_workers_generic_worker_endpoints:
6363

6464
# Registration/login requests
6565
- ^/_matrix/client/(api/v1|r0|v3|unstable)/login$
66-
- ^/_matrix/client/(r0|v3|unstable)/register$
66+
- ^/_matrix/client/(r0|unstable)/register$
6767
- ^/_matrix/client/unstable/org.matrix.msc3231/register/org.matrix.msc3231.login.registration_token/validity$
6868

6969
# Event sending requests

0 commit comments

Comments
 (0)