Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit abae793

Browse files
committed
Merge tag 'v1.73.0' into merge-1.73
Synapse 1.73.0 (2022-12-06) =========================== Please note that legacy Prometheus metric names have been removed in this release; see [the upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.73/docs/upgrade.md#legacy-prometheus-metric-names-have-now-been-removed) for more details. No significant changes since 1.73.0rc2. Synapse 1.73.0rc2 (2022-12-01) ============================== Bugfixes -------- - Fix a regression in Synapse 1.73.0rc1 where Synapse's main process would stop responding to HTTP requests when a user with a large number of devices logs in. ([\matrix-org#14582](matrix-org#14582)) Synapse 1.73.0rc1 (2022-11-29) ============================== Features -------- - Speed-up `/messages` with `filter_events_for_client` optimizations. ([\matrix-org#14527](matrix-org#14527)) - Improve DB performance by reducing amount of data that gets read in `device_lists_changes_in_room`. ([\matrix-org#14534](matrix-org#14534)) - Adds support for handling avatar in SSO OIDC login. Contributed by @ashfame. ([\matrix-org#13917](matrix-org#13917)) - Move MSC3030 `/timestamp_to_event` endpoints to stable `v1` location (`/_matrix/client/v1/rooms/<roomID>/timestamp_to_event?ts=<timestamp>&dir=<direction>`, `/_matrix/federation/v1/timestamp_to_event/<roomID>?ts=<timestamp>&dir=<direction>`). ([\matrix-org#14471](matrix-org#14471)) - Reduce database load of [Client-Server endpoints](https://spec.matrix.org/v1.5/client-server-api/#aggregations) which return bundled aggregations. ([\matrix-org#14491](matrix-org#14491), [\matrix-org#14508](matrix-org#14508), [\matrix-org#14510](matrix-org#14510)) - Add unstable support for an Extensible Events room version (`org.matrix.msc1767.10`) via [MSC1767](matrix-org/matrix-spec-proposals#1767), [MSC3931](matrix-org/matrix-spec-proposals#3931), [MSC3932](matrix-org/matrix-spec-proposals#3932), and [MSC3933](matrix-org/matrix-spec-proposals#3933). ([\matrix-org#14520](matrix-org#14520), [\matrix-org#14521](matrix-org#14521), [\matrix-org#14524](matrix-org#14524)) - Prune user's old devices on login if they have too many. ([\matrix-org#14038](matrix-org#14038), [\matrix-org#14580](matrix-org#14580)) Bugfixes -------- - Fix a long-standing bug where paginating from the start of a room did not work. Contributed by @gnunicorn. ([\matrix-org#14149](matrix-org#14149)) - Fix a bug introduced in Synapse 1.58.0 where a user with presence state `org.matrix.msc3026.busy` would mistakenly be set to `online` when calling `/sync` or `/events` on a worker process. ([\matrix-org#14393](matrix-org#14393)) - Fix a bug introduced in Synapse 1.70.0 where a receipt's thread ID was not sent over federation. ([\matrix-org#14466](matrix-org#14466)) - Fix a long-standing bug where the [List media admin API](https://matrix-org.github.io/synapse/latest/admin_api/media_admin_api.html#list-all-media-in-a-room) would fail when processing an image with broken thumbnail information. ([\matrix-org#14537](matrix-org#14537)) - Fix a bug introduced in Synapse 1.67.0 where two logging context warnings would be logged on startup. ([\matrix-org#14574](matrix-org#14574)) - In application service transactions that include the experimental `org.matrix.msc3202.device_one_time_key_counts` key, include a duplicate key of `org.matrix.msc3202.device_one_time_keys_count` to match the name proposed by [MSC3202](matrix-org/matrix-spec-proposals#3202). ([\matrix-org#14565](matrix-org#14565)) - Fix a bug introduced in Synapse 0.9 where Synapse would fail to fetch server keys whose IDs contain a forward slash. ([\matrix-org#14490](matrix-org#14490)) Improved Documentation ---------------------- - Fixed link to 'Synapse administration endpoints'. ([\matrix-org#14499](matrix-org#14499)) Deprecations and Removals ------------------------- - Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. ([\matrix-org#14538](matrix-org#14538)) Internal Changes ---------------- - Improve type hinting throughout Synapse. ([\matrix-org#14055](matrix-org#14055), [\matrix-org#14412](matrix-org#14412), [\matrix-org#14529](matrix-org#14529), [\matrix-org#14452](matrix-org#14452)). - Remove old stream ID tracking code. Contributed by Nick @beeper (@Fizzadar). ([\matrix-org#14376](matrix-org#14376), [\matrix-org#14468](matrix-org#14468)) - Remove the `worker_main_http_uri` configuration setting. This is now handled via internal replication. ([\matrix-org#14400](matrix-org#14400), [\matrix-org#14476](matrix-org#14476)) - Refactor `federation_sender` and `pusher` configuration loading. ([\matrix-org#14496](matrix-org#14496)) ([\matrix-org#14509](matrix-org#14509), [\matrix-org#14573](matrix-org#14573)) - Faster joins: do not wait for full state when creating events to send. ([\matrix-org#14403](matrix-org#14403)) - Faster joins: filter out non local events when a room doesn't have its full state. ([\matrix-org#14404](matrix-org#14404)) - Faster joins: send events to initial list of servers if we don't have the full state yet. ([\matrix-org#14408](matrix-org#14408)) - Faster joins: use servers list approximation received during `send_join` (potentially updated with received membership events) in `assert_host_in_room`. ([\matrix-org#14515](matrix-org#14515)) - Fix type logic in TCP replication code that prevented correctly ignoring blank commands. ([\matrix-org#14449](matrix-org#14449)) - Remove option to skip locking of tables when performing emulated upserts, to avoid a class of bugs in future. ([\matrix-org#14469](matrix-org#14469)) - `scripts-dev/federation_client`: Fix routing on servers with `.well-known` files. ([\matrix-org#14479](matrix-org#14479)) - Reduce default third party invite rate limit to 216 invites per day. ([\matrix-org#14487](matrix-org#14487)) - Refactor conversion of device list changes in room to outbound pokes to track unconverted rows using a `(stream ID, room ID)` position instead of updating the `converted_to_destinations` flag on every row. ([\matrix-org#14516](matrix-org#14516)) - Add more prompts to the bug report form. ([\matrix-org#14522](matrix-org#14522)) - Extend editorconfig rules on indent and line length to `.pyi` files. ([\matrix-org#14526](matrix-org#14526)) - Run Rust CI when `Cargo.lock` changes. This is particularly useful for dependabot updates. ([\matrix-org#14571](matrix-org#14571)) - Fix a possible variable shadow in `create_new_client_event`. ([\matrix-org#14575](matrix-org#14575)) - Bump various dependencies in the `poetry.lock` file and in CI scripts. ([\matrix-org#14557](matrix-org#14557), [\matrix-org#14559](matrix-org#14559), [\matrix-org#14560](matrix-org#14560), [\matrix-org#14500](matrix-org#14500), [\matrix-org#14501](matrix-org#14501), [\matrix-org#14502](matrix-org#14502), [\matrix-org#14503](matrix-org#14503), [\matrix-org#14504](matrix-org#14504), [\matrix-org#14505](matrix-org#14505)). # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCgAdFiEE8SRSDO7gYkSP4chELS76LzL74EcFAmOPLnYACgkQLS76LzL7 # 4Edwpg/+KXpg2ZdiJ0Yaly9VHVeiqdHRi5D7WPS6n8YBsdRx9EQHzOBkD5HAW8hE # oz0c+zDS01ORlEWD825NYXjgaE1ijtZFvGxsftYTVuTYlVRR2m+r9jhDv9pVHT53 # TKtQVKpG0IUsuyukRBrweDcEeO0MA0nGpvaaQUhmftzWgy4yD3AjZyIgx0Ckg8pg # OwgrzGqA7FQs4MEeOxmk1H39fZg4dlo4nmI4whvAodgaGeS9sU8t+3Qj4PVod8v/ # AkVesJcruaTHuVMb+Xp8JKezb09SsIR94gmHalC5sL+41+6XAy9BtQ/cRDfCReG3 # U1I1x1h1+EQjTP6XzMmjQHLbfI2gUJBC4I2p3e2gZ4cMm9rVz94R1dBiRk8ZgRIC # cJFD9BvaAtb2PSTvyFBoHsrrn/u12i8fYFWu4Z4rO6dOGI83dZHeZzVw4UsVeqIK # 5+njQwcwQsrwL3AKLjbbdqmbmhXcF6LchIK2L+NuuvdiOfvXvkO0bdjBryVEbMqB # IOtAAWzwYaoUwVucMbBtXt/EqQS7biGkbDxsL8CDvaBwM/JSsUWXBafsV1FmxF2A # q6KAeKpfelefoegosTYD0Md+l39xdF8Z19XaKV3GeHZEY+HE3RJXJm+Pa8SJ+IF8 # Y1od9cB/H+fYSsWCWj1OJNqTIAozh6f1Pe2nFuFDxdBwABXc/pg= # =IBEL # -----END PGP SIGNATURE----- # gpg: Signature made Tue Dec 6 11:58:46 2022 GMT # gpg: using RSA key F124520CEEE062448FE1C8442D2EFA2F32FBE047 # gpg: Can't check signature: No public key # Conflicts: # poetry.lock # synapse/push/bulk_push_rule_evaluator.py # synapse/storage/databases/main/account_data.py # synapse/storage/databases/main/receipts.py
2 parents 8974777 + 5d7c35b commit abae793

File tree

165 files changed

+3173
-1664
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+3173
-1664
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
root = true
55

66
# 4 space indentation
7-
[*.py]
7+
[*.{py,pyi}]
88
indent_style = space
99
indent_size = 4
1010
max_line_length = 88

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

+43-2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,36 @@ body:
7474
- Debian packages from packages.matrix.org
7575
- pip (from PyPI)
7676
- Other (please mention below)
77+
- I don't know
78+
validations:
79+
required: true
80+
- type: input
81+
id: database
82+
attributes:
83+
label: Database
84+
description: |
85+
Are you using SQLite or PostgreSQL? What's the version of your database?
86+
87+
If PostgreSQL, please also answer the following:
88+
- are you using a single PostgreSQL server
89+
or [separate servers for `main` and `state`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#databases)?
90+
- have you previously ported from SQLite using the Synapse "portdb" script?
91+
- have you previously restored from a backup?
92+
validations:
93+
required: true
94+
- type: dropdown
95+
id: workers
96+
attributes:
97+
label: Workers
98+
description: |
99+
Are you running a single Synapse process, or are you running
100+
[2 or more workers](https://matrix-org.github.io/synapse/latest/workers.html)?
101+
options:
102+
- Single process
103+
- Multiple workers
104+
- I don't know
105+
validations:
106+
required: true
77107
- type: textarea
78108
id: platform
79109
attributes:
@@ -83,17 +113,28 @@ body:
83113
e.g. distro, hardware, if it's running in a vm/container, etc.
84114
validations:
85115
required: true
116+
- type: textarea
117+
id: config
118+
attributes:
119+
label: Configuration
120+
description: |
121+
Do you have any unusual config options turned on? If so, please provide details.
122+
123+
- Experimental or undocumented features
124+
- [Presence](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#presence)
125+
- [Message retention](https://matrix-org.github.io/synapse/latest/message_retention_policies.html)
126+
- [Synapse modules](https://matrix-org.github.io/synapse/latest/modules/index.html)
86127
- type: textarea
87128
id: logs
88129
attributes:
89130
label: Relevant log output
90131
description: |
91132
Please copy and paste any relevant log output, ideally at INFO or DEBUG log level.
92-
This will be automatically formatted into code, so there is no need for backticks.
133+
This will be automatically formatted into code, so there is no need for backticks (`\``).
93134
94135
Please be careful to remove any personal or private data.
95136
96-
**Bug reports are usually very difficult to diagnose without logging.**
137+
**Bug reports are usually impossible to diagnose without logging.**
97138
render: shell
98139
validations:
99140
required: true

.github/workflows/latest_deps.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v3
2929
- name: Install Rust
30-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
30+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
3131
with:
3232
toolchain: stable
3333
- uses: Swatinem/rust-cache@v2
@@ -61,7 +61,7 @@ jobs:
6161
- uses: actions/checkout@v3
6262

6363
- name: Install Rust
64-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
64+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
6565
with:
6666
toolchain: stable
6767
- uses: Swatinem/rust-cache@v2
@@ -134,7 +134,7 @@ jobs:
134134
- uses: actions/checkout@v3
135135

136136
- name: Install Rust
137-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
137+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
138138
with:
139139
toolchain: stable
140140
- uses: Swatinem/rust-cache@v2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# This task does not run complement tests, see tests.yaml instead.
2+
# This task does not build docker images for synapse for use on docker hub, see docker.yaml instead
3+
4+
name: Store complement-synapse image in ghcr.io
5+
on:
6+
push:
7+
branches: [ "master" ]
8+
schedule:
9+
- cron: '0 5 * * *'
10+
workflow_dispatch:
11+
inputs:
12+
branch:
13+
required: true
14+
default: 'develop'
15+
type: choice
16+
options:
17+
- develop
18+
- master
19+
20+
# Only run this action once per pull request/branch; restart if a new commit arrives.
21+
# C.f. https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency
22+
# and https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
27+
jobs:
28+
build:
29+
name: Build and push complement image
30+
runs-on: ubuntu-latest
31+
permissions:
32+
contents: read
33+
packages: write
34+
steps:
35+
- name: Checkout specific branch (debug build)
36+
uses: actions/checkout@v3
37+
if: github.event_name == 'workflow_dispatch'
38+
with:
39+
ref: ${{ inputs.branch }}
40+
- name: Checkout clean copy of develop (scheduled build)
41+
uses: actions/checkout@v3
42+
if: github.event_name == 'schedule'
43+
with:
44+
ref: develop
45+
- name: Checkout clean copy of master (on-push)
46+
uses: actions/checkout@v3
47+
if: github.event_name == 'push'
48+
with:
49+
ref: master
50+
- name: Login to registry
51+
uses: docker/login-action@v1
52+
with:
53+
registry: ghcr.io
54+
username: ${{ github.actor }}
55+
password: ${{ secrets.GITHUB_TOKEN }}
56+
- name: Work out labels for complement image
57+
id: meta
58+
uses: docker/metadata-action@v4
59+
with:
60+
images: ghcr.io/${{ github.repository }}/complement-synapse
61+
tags: |
62+
type=schedule,pattern=nightly,enable=${{ github.event_name == 'schedule'}}
63+
type=raw,value=develop,enable=${{ github.event_name == 'schedule' || inputs.branch == 'develop' }}
64+
type=raw,value=latest,enable=${{ github.event_name == 'push' || inputs.branch == 'master' }}
65+
type=sha,format=long
66+
- name: Run scripts-dev/complement.sh to generate complement-synapse:latest image.
67+
run: scripts-dev/complement.sh --build-only
68+
- name: Tag and push generated image
69+
run: |
70+
for TAG in ${{ join(fromJson(steps.meta.outputs.json).tags, ' ') }}; do
71+
echo "tag and push $TAG"
72+
docker tag complement-synapse $TAG
73+
docker push $TAG
74+
done

.github/workflows/tests.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
rust:
2828
- 'rust/**'
2929
- 'Cargo.toml'
30+
- 'Cargo.lock'
3031
3132
check-sampleconfig:
3233
runs-on: ubuntu-latest
@@ -102,7 +103,7 @@ jobs:
102103
# There don't seem to be versioned releases of this action per se: for each rust
103104
# version there is a branch which gets constantly rebased on top of master.
104105
# We pin to a specific commit for paranoia's sake.
105-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
106+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
106107
with:
107108
toolchain: 1.58.1
108109
components: clippy
@@ -122,7 +123,7 @@ jobs:
122123
# There don't seem to be versioned releases of this action per se: for each rust
123124
# version there is a branch which gets constantly rebased on top of master.
124125
# We pin to a specific commit for paranoia's sake.
125-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
126+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
126127
with:
127128
toolchain: 1.58.1
128129
components: rustfmt
@@ -184,7 +185,7 @@ jobs:
184185
# There don't seem to be versioned releases of this action per se: for each rust
185186
# version there is a branch which gets constantly rebased on top of master.
186187
# We pin to a specific commit for paranoia's sake.
187-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
188+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
188189
with:
189190
toolchain: 1.58.1
190191
- uses: Swatinem/rust-cache@v2
@@ -228,7 +229,7 @@ jobs:
228229
# There don't seem to be versioned releases of this action per se: for each rust
229230
# version there is a branch which gets constantly rebased on top of master.
230231
# We pin to a specific commit for paranoia's sake.
231-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
232+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
232233
with:
233234
toolchain: 1.58.1
234235
- uses: Swatinem/rust-cache@v2
@@ -346,7 +347,7 @@ jobs:
346347
# There don't seem to be versioned releases of this action per se: for each rust
347348
# version there is a branch which gets constantly rebased on top of master.
348349
# We pin to a specific commit for paranoia's sake.
349-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
350+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
350351
with:
351352
toolchain: 1.58.1
352353
- uses: Swatinem/rust-cache@v2
@@ -489,7 +490,7 @@ jobs:
489490
# There don't seem to be versioned releases of this action per se: for each rust
490491
# version there is a branch which gets constantly rebased on top of master.
491492
# We pin to a specific commit for paranoia's sake.
492-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
493+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
493494
with:
494495
toolchain: 1.58.1
495496
- uses: Swatinem/rust-cache@v2
@@ -517,7 +518,7 @@ jobs:
517518
# There don't seem to be versioned releases of this action per se: for each rust
518519
# version there is a branch which gets constantly rebased on top of master.
519520
# We pin to a specific commit for paranoia's sake.
520-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
521+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
521522
with:
522523
toolchain: 1.58.1
523524
- uses: Swatinem/rust-cache@v2

.github/workflows/twisted_trunk.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919

2020
- name: Install Rust
21-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
21+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
2222
with:
2323
toolchain: stable
2424
- uses: Swatinem/rust-cache@v2
@@ -43,7 +43,7 @@ jobs:
4343
- run: sudo apt-get -qq install xmlsec1
4444

4545
- name: Install Rust
46-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
46+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
4747
with:
4848
toolchain: stable
4949
- uses: Swatinem/rust-cache@v2
@@ -82,7 +82,7 @@ jobs:
8282
- uses: actions/checkout@v3
8383

8484
- name: Install Rust
85-
uses: dtolnay/rust-toolchain@55c7845fad90d0ae8b2e83715cb900e5e861e8cb
85+
uses: dtolnay/rust-toolchain@e645b0cf01249a964ec099494d38d2da0f0b349f
8686
with:
8787
toolchain: stable
8888
- uses: Swatinem/rust-cache@v2

CHANGES.md

+80
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
Synapse 1.73.0 (2022-12-06)
2+
===========================
3+
4+
Please note that legacy Prometheus metric names have been removed in this release; see [the upgrade notes](https://github.com/matrix-org/synapse/blob/release-v1.73/docs/upgrade.md#legacy-prometheus-metric-names-have-now-been-removed) for more details.
5+
6+
No significant changes since 1.73.0rc2.
7+
8+
9+
Synapse 1.73.0rc2 (2022-12-01)
10+
==============================
11+
12+
Bugfixes
13+
--------
14+
15+
- Fix a regression in Synapse 1.73.0rc1 where Synapse's main process would stop responding to HTTP requests when a user with a large number of devices logs in. ([\#14582](https://github.com/matrix-org/synapse/issues/14582))
16+
17+
18+
Synapse 1.73.0rc1 (2022-11-29)
19+
==============================
20+
21+
Features
22+
--------
23+
24+
- Speed-up `/messages` with `filter_events_for_client` optimizations. ([\#14527](https://github.com/matrix-org/synapse/issues/14527))
25+
- Improve DB performance by reducing amount of data that gets read in `device_lists_changes_in_room`. ([\#14534](https://github.com/matrix-org/synapse/issues/14534))
26+
- Adds support for handling avatar in SSO OIDC login. Contributed by @ashfame. ([\#13917](https://github.com/matrix-org/synapse/issues/13917))
27+
- Move MSC3030 `/timestamp_to_event` endpoints to stable `v1` location (`/_matrix/client/v1/rooms/<roomID>/timestamp_to_event?ts=<timestamp>&dir=<direction>`, `/_matrix/federation/v1/timestamp_to_event/<roomID>?ts=<timestamp>&dir=<direction>`). ([\#14471](https://github.com/matrix-org/synapse/issues/14471))
28+
- Reduce database load of [Client-Server endpoints](https://spec.matrix.org/v1.5/client-server-api/#aggregations) which return bundled aggregations. ([\#14491](https://github.com/matrix-org/synapse/issues/14491), [\#14508](https://github.com/matrix-org/synapse/issues/14508), [\#14510](https://github.com/matrix-org/synapse/issues/14510))
29+
- Add unstable support for an Extensible Events room version (`org.matrix.msc1767.10`) via [MSC1767](https://github.com/matrix-org/matrix-spec-proposals/pull/1767), [MSC3931](https://github.com/matrix-org/matrix-spec-proposals/pull/3931), [MSC3932](https://github.com/matrix-org/matrix-spec-proposals/pull/3932), and [MSC3933](https://github.com/matrix-org/matrix-spec-proposals/pull/3933). ([\#14520](https://github.com/matrix-org/synapse/issues/14520), [\#14521](https://github.com/matrix-org/synapse/issues/14521), [\#14524](https://github.com/matrix-org/synapse/issues/14524))
30+
- Prune user's old devices on login if they have too many. ([\#14038](https://github.com/matrix-org/synapse/issues/14038), [\#14580](https://github.com/matrix-org/synapse/issues/14580))
31+
32+
33+
Bugfixes
34+
--------
35+
36+
- Fix a long-standing bug where paginating from the start of a room did not work. Contributed by @gnunicorn. ([\#14149](https://github.com/matrix-org/synapse/issues/14149))
37+
- Fix a bug introduced in Synapse 1.58.0 where a user with presence state `org.matrix.msc3026.busy` would mistakenly be set to `online` when calling `/sync` or `/events` on a worker process. ([\#14393](https://github.com/matrix-org/synapse/issues/14393))
38+
- Fix a bug introduced in Synapse 1.70.0 where a receipt's thread ID was not sent over federation. ([\#14466](https://github.com/matrix-org/synapse/issues/14466))
39+
- Fix a long-standing bug where the [List media admin API](https://matrix-org.github.io/synapse/latest/admin_api/media_admin_api.html#list-all-media-in-a-room) would fail when processing an image with broken thumbnail information. ([\#14537](https://github.com/matrix-org/synapse/issues/14537))
40+
- Fix a bug introduced in Synapse 1.67.0 where two logging context warnings would be logged on startup. ([\#14574](https://github.com/matrix-org/synapse/issues/14574))
41+
- In application service transactions that include the experimental `org.matrix.msc3202.device_one_time_key_counts` key, include a duplicate key of `org.matrix.msc3202.device_one_time_keys_count` to match the name proposed by [MSC3202](https://github.com/matrix-org/matrix-spec-proposals/pull/3202). ([\#14565](https://github.com/matrix-org/synapse/issues/14565))
42+
- Fix a bug introduced in Synapse 0.9 where Synapse would fail to fetch server keys whose IDs contain a forward slash. ([\#14490](https://github.com/matrix-org/synapse/issues/14490))
43+
44+
45+
Improved Documentation
46+
----------------------
47+
48+
- Fixed link to 'Synapse administration endpoints'. ([\#14499](https://github.com/matrix-org/synapse/issues/14499))
49+
50+
51+
Deprecations and Removals
52+
-------------------------
53+
54+
- Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. ([\#14538](https://github.com/matrix-org/synapse/issues/14538))
55+
56+
57+
Internal Changes
58+
----------------
59+
60+
- Improve type hinting throughout Synapse. ([\#14055](https://github.com/matrix-org/synapse/issues/14055), [\#14412](https://github.com/matrix-org/synapse/issues/14412), [\#14529](https://github.com/matrix-org/synapse/issues/14529), [\#14452](https://github.com/matrix-org/synapse/issues/14452)).
61+
- Remove old stream ID tracking code. Contributed by Nick @Beeper (@fizzadar). ([\#14376](https://github.com/matrix-org/synapse/issues/14376), [\#14468](https://github.com/matrix-org/synapse/issues/14468))
62+
- Remove the `worker_main_http_uri` configuration setting. This is now handled via internal replication. ([\#14400](https://github.com/matrix-org/synapse/issues/14400), [\#14476](https://github.com/matrix-org/synapse/issues/14476))
63+
- Refactor `federation_sender` and `pusher` configuration loading. ([\#14496](https://github.com/matrix-org/synapse/issues/14496))
64+
([\#14509](https://github.com/matrix-org/synapse/issues/14509), [\#14573](https://github.com/matrix-org/synapse/issues/14573))
65+
- Faster joins: do not wait for full state when creating events to send. ([\#14403](https://github.com/matrix-org/synapse/issues/14403))
66+
- Faster joins: filter out non local events when a room doesn't have its full state. ([\#14404](https://github.com/matrix-org/synapse/issues/14404))
67+
- Faster joins: send events to initial list of servers if we don't have the full state yet. ([\#14408](https://github.com/matrix-org/synapse/issues/14408))
68+
- Faster joins: use servers list approximation received during `send_join` (potentially updated with received membership events) in `assert_host_in_room`. ([\#14515](https://github.com/matrix-org/synapse/issues/14515))
69+
- Fix type logic in TCP replication code that prevented correctly ignoring blank commands. ([\#14449](https://github.com/matrix-org/synapse/issues/14449))
70+
- Remove option to skip locking of tables when performing emulated upserts, to avoid a class of bugs in future. ([\#14469](https://github.com/matrix-org/synapse/issues/14469))
71+
- `scripts-dev/federation_client`: Fix routing on servers with `.well-known` files. ([\#14479](https://github.com/matrix-org/synapse/issues/14479))
72+
- Reduce default third party invite rate limit to 216 invites per day. ([\#14487](https://github.com/matrix-org/synapse/issues/14487))
73+
- Refactor conversion of device list changes in room to outbound pokes to track unconverted rows using a `(stream ID, room ID)` position instead of updating the `converted_to_destinations` flag on every row. ([\#14516](https://github.com/matrix-org/synapse/issues/14516))
74+
- Add more prompts to the bug report form. ([\#14522](https://github.com/matrix-org/synapse/issues/14522))
75+
- Extend editorconfig rules on indent and line length to `.pyi` files. ([\#14526](https://github.com/matrix-org/synapse/issues/14526))
76+
- Run Rust CI when `Cargo.lock` changes. This is particularly useful for dependabot updates. ([\#14571](https://github.com/matrix-org/synapse/issues/14571))
77+
- Fix a possible variable shadow in `create_new_client_event`. ([\#14575](https://github.com/matrix-org/synapse/issues/14575))
78+
- Bump various dependencies in the `poetry.lock` file and in CI scripts. ([\#14557](https://github.com/matrix-org/synapse/issues/14557), [\#14559](https://github.com/matrix-org/synapse/issues/14559), [\#14560](https://github.com/matrix-org/synapse/issues/14560), [\#14500](https://github.com/matrix-org/synapse/issues/14500), [\#14501](https://github.com/matrix-org/synapse/issues/14501), [\#14502](https://github.com/matrix-org/synapse/issues/14502), [\#14503](https://github.com/matrix-org/synapse/issues/14503), [\#14504](https://github.com/matrix-org/synapse/issues/14504), [\#14505](https://github.com/matrix-org/synapse/issues/14505)).
79+
80+
181
Synapse 1.72.0 (2022-11-22)
282
===========================
383

0 commit comments

Comments
 (0)