Skip to content

Commit 5be1310

Browse files
committed
Upgrade Synapse (1.48.0 -> 1.49.0)
1 parent a8fc4fe commit 5be1310

File tree

3 files changed

+44
-4
lines changed

3 files changed

+44
-4
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.48.0
19-
matrix_synapse_version_arm64: v1.48.0
18+
matrix_synapse_version: v1.49.0
19+
matrix_synapse_version_arm64: v1.49.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: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,46 @@ enable_registration: {{ matrix_synapse_enable_registration|to_json }}
12271227
#
12281228
#session_lifetime: 24h
12291229

1230+
# Time that an access token remains valid for, if the session is
1231+
# using refresh tokens.
1232+
# For more information about refresh tokens, please see the manual.
1233+
# Note that this only applies to clients which advertise support for
1234+
# refresh tokens.
1235+
#
1236+
# Note also that this is calculated at login time and refresh time:
1237+
# changes are not applied to existing sessions until they are refreshed.
1238+
#
1239+
# By default, this is 5 minutes.
1240+
#
1241+
#refreshable_access_token_lifetime: 5m
1242+
1243+
# Time that a refresh token remains valid for (provided that it is not
1244+
# exchanged for another one first).
1245+
# This option can be used to automatically log-out inactive sessions.
1246+
# Please see the manual for more information.
1247+
#
1248+
# Note also that this is calculated at login time and refresh time:
1249+
# changes are not applied to existing sessions until they are refreshed.
1250+
#
1251+
# By default, this is infinite.
1252+
#
1253+
#refresh_token_lifetime: 24h
1254+
1255+
# Time that an access token remains valid for, if the session is NOT
1256+
# using refresh tokens.
1257+
# Please note that not all clients support refresh tokens, so setting
1258+
# this to a short value may be inconvenient for some users who will
1259+
# then be logged out frequently.
1260+
#
1261+
# Note also that this is calculated at login time: changes are not applied
1262+
# retrospectively to existing sessions for users that have already logged in.
1263+
#
1264+
# By default, this is infinite.
1265+
#
1266+
#nonrefreshable_access_token_lifetime: 24h
1267+
1268+
# The user must provide all of the below types of 3PID when registering.
1269+
12301270
# The user must provide all of the below types of 3PID when registering.
12311271
#
12321272
#registrations_require_3pid:

roles/matrix-synapse/vars/workers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ matrix_synapse_workers_generic_worker_endpoints:
3333
- ^/_matrix/federation/v1/get_groups_publicised$
3434
- ^/_matrix/key/v2/query
3535
- ^/_matrix/federation/unstable/org.matrix.msc2946/spaces/
36-
- ^/_matrix/federation/unstable/org.matrix.msc2946/hierarchy/
36+
- ^/_matrix/federation/(v1|unstable/org.matrix.msc2946)/hierarchy/
3737

3838
# Inbound federation transaction request
3939
- ^/_matrix/federation/v1/send/
@@ -46,7 +46,7 @@ matrix_synapse_workers_generic_worker_endpoints:
4646
- ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/members$
4747
- ^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state$
4848
- ^/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/spaces$
49-
- ^/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/hierarchy$
49+
- ^/_matrix/client/(v1|unstable/org.matrix.msc2946)/rooms/.*/hierarchy$
5050
- ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$
5151
- ^/_matrix/client/(api/v1|r0|v3|unstable)/account/3pid$
5252
- ^/_matrix/client/(api/v1|r0|v3|unstable)/devices$

0 commit comments

Comments
 (0)