Skip to content

Commit 52fdc02

Browse files
committed
Famedly v1.133
2 parents 4978847 + e3ed93a commit 52fdc02

File tree

99 files changed

+3506
-747
lines changed

Some content is hidden

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

99 files changed

+3506
-747
lines changed

.github/workflows/docs-pr-netlify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# There's a 'download artifact' action, but it hasn't been updated for the workflow_run action
1515
# (https://github.com/actions/download-artifact/issues/60) so instead we get this mess:
1616
- name: 📥 Download artifact
17-
uses: dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 # v9
17+
uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
1818
with:
1919
workflow: docs-pr.yaml
2020
run_id: ${{ github.event.workflow_run.id }}

.github/workflows/release-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
runs-on: ${{ matrix.os }}
112112
strategy:
113113
matrix:
114-
os: [ubuntu-22.04, macos-13]
114+
os: [ubuntu-24.04, macos-13]
115115
arch: [x86_64, aarch64]
116116
# is_pr is a flag used to exclude certain jobs from the matrix on PRs.
117117
# It is not read by the rest of the workflow.
@@ -139,7 +139,7 @@ jobs:
139139
python-version: "3.x"
140140

141141
- name: Install cibuildwheel
142-
run: python -m pip install cibuildwheel==2.23.0
142+
run: python -m pip install cibuildwheel==3.0.0
143143

144144
- name: Set up QEMU to emulate aarch64
145145
if: matrix.arch == 'aarch64'

.github/workflows/schema.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ on:
55
paths:
66
- schema/**
77
- docs/usage/configuration/config_documentation.md
8+
push:
9+
branches: ["develop", "release-*"]
10+
workflow_dispatch:
811

912
jobs:
1013
validate-schema:
1114
name: Ensure Synapse config schema is valid
1215
runs-on: ubuntu-latest
1316
steps:
1417
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15-
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
18+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1619
with:
1720
python-version: "3.x"
1821
- name: Install check-jsonschema
@@ -38,7 +41,7 @@ jobs:
3841
runs-on: ubuntu-latest
3942
steps:
4043
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41-
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
44+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4245
with:
4346
python-version: "3.x"
4447
- name: Install PyYAML
@@ -51,4 +54,4 @@ jobs:
5154
> docs/usage/configuration/config_documentation.md
5255
- name: Error in case of any differences
5356
# Errors if there are now any modified files (untracked files are ignored).
54-
run: 'git diff || ! git status --porcelain=1 | grep "^ M"'
57+
run: 'git diff --exit-code'

.github/workflows/tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
steps:
8686
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8787
- name: Install Rust
88-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
88+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
8989
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
9090
- uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2.0.0
9191
with:
@@ -149,7 +149,7 @@ jobs:
149149
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
150150

151151
- name: Install Rust
152-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
152+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
153153
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
154154

155155
- name: Setup Poetry
@@ -210,7 +210,7 @@ jobs:
210210
with:
211211
ref: ${{ github.event.pull_request.head.sha }}
212212
- name: Install Rust
213-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
213+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
214214
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
215215
- uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2.0.0
216216
with:
@@ -227,7 +227,7 @@ jobs:
227227
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
228228

229229
- name: Install Rust
230-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
230+
uses: dtolnay/rust-toolchain@0d72692bcfbf448b1e2afa01a67f71b455a9dcec # 1.86.0
231231
with:
232232
components: clippy
233233
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
@@ -247,7 +247,7 @@ jobs:
247247
- name: Install Rust
248248
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0 # master (rust 1.85.1)
249249
with:
250-
toolchain: nightly-2022-12-01
250+
toolchain: nightly-2025-04-23
251251
components: clippy
252252
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
253253

@@ -265,7 +265,7 @@ jobs:
265265
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0 # master (rust 1.85.1)
266266
with:
267267
# We use nightly so that it correctly groups together imports
268-
toolchain: nightly-2022-12-01
268+
toolchain: nightly-2025-04-23
269269
components: rustfmt
270270
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
271271

@@ -362,7 +362,7 @@ jobs:
362362
postgres:${{ matrix.job.postgres-version }}
363363
364364
- name: Install Rust
365-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
365+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
366366
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
367367

368368
- uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2.0.0
@@ -404,7 +404,7 @@ jobs:
404404
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
405405

406406
- name: Install Rust
407-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
407+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
408408
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
409409

410410
# There aren't wheels for some of the older deps, so we need to install
@@ -519,7 +519,7 @@ jobs:
519519
run: cat sytest-blacklist .ci/worker-blacklist > synapse-blacklist-with-workers
520520

521521
- name: Install Rust
522-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
522+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
523523
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
524524

525525
- name: Run SyTest
@@ -663,7 +663,7 @@ jobs:
663663
path: synapse
664664

665665
- name: Install Rust
666-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
666+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
667667
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
668668

669669
- name: Prepare Complement's Prerequisites
@@ -695,7 +695,7 @@ jobs:
695695
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
696696

697697
- name: Install Rust
698-
uses: dtolnay/rust-toolchain@e05ebb0e73db581a4877c6ce762e29fe1e0b5073 # 1.66.0
698+
uses: dtolnay/rust-toolchain@c1678930c21fb233e4987c4ae12158f9125e5762 # 1.81.0
699699
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
700700

701701
- run: cargo test

CHANGES.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,60 @@
1+
# Synapse 1.133.0 (2025-07-01)
2+
3+
Pre-built wheels are now built using the [manylinux_2_28](https://github.com/pypa/manylinux#manylinux_2_28-almalinux-8-based) base, which is expected to be compatible with distros using glibc 2.28 or later, including:
4+
5+
- Debian 10+
6+
- Ubuntu 18.10+
7+
- Fedora 29+
8+
- CentOS/RHEL 8+
9+
10+
Previously, wheels were built using the [manylinux2014](https://github.com/pypa/manylinux#manylinux2014-centos-7-based-glibc-217) base, which was expected to be compatible with distros using glibc 2.17 or later.
11+
12+
### Bugfixes
13+
14+
- Bump `cibuildwheel` to 3.0.0 to fix the `manylinux` wheel builds. ([\#18615](https://github.com/element-hq/synapse/issues/18615))
15+
16+
17+
18+
19+
# Synapse 1.133.0rc1 (2025-06-24)
20+
21+
### Features
22+
23+
- Add support for the [MSC4260 user report API](https://github.com/matrix-org/matrix-spec-proposals/pull/4260). ([\#18120](https://github.com/element-hq/synapse/issues/18120))
24+
25+
### Bugfixes
26+
27+
- Fix an issue where, during state resolution for v11 rooms, Synapse would incorrectly calculate the power level of the creator when there was no power levels event in the room. ([\#18534](https://github.com/element-hq/synapse/issues/18534), [\#18547](https://github.com/element-hq/synapse/issues/18547))
28+
- Fix long-standing bug where sliding sync did not honour the `room_id_to_include` config option. ([\#18535](https://github.com/element-hq/synapse/issues/18535))
29+
- Fix an issue where "Lock timeout is getting excessive" warnings would be logged even when the lock timeout was <10 minutes. ([\#18543](https://github.com/element-hq/synapse/issues/18543))
30+
- Fix an issue where Synapse could calculate the wrong power level for the creator of the room if there was no power levels event. ([\#18545](https://github.com/element-hq/synapse/issues/18545))
31+
32+
### Improved Documentation
33+
34+
- Generate config documentation from JSON Schema file. ([\#18528](https://github.com/element-hq/synapse/issues/18528))
35+
- Fix typo in user type documentation. ([\#18568](https://github.com/element-hq/synapse/issues/18568))
36+
37+
### Internal Changes
38+
39+
- Increase performance of introspecting access tokens when using delegated auth. ([\#18357](https://github.com/element-hq/synapse/issues/18357), [\#18561](https://github.com/element-hq/synapse/issues/18561))
40+
- Log user deactivations. ([\#18541](https://github.com/element-hq/synapse/issues/18541))
41+
- Enable [`flake8-logging`](https://docs.astral.sh/ruff/rules/#flake8-logging-log) and [`flake8-logging-format`](https://docs.astral.sh/ruff/rules/#flake8-logging-format-g) rules in Ruff and fix related issues throughout the codebase. ([\#18542](https://github.com/element-hq/synapse/issues/18542))
42+
- Clean up old, unused rows from the `device_federation_inbox` table. ([\#18546](https://github.com/element-hq/synapse/issues/18546))
43+
- Run config schema CI on develop and release branches. ([\#18551](https://github.com/element-hq/synapse/issues/18551))
44+
- Add support for Twisted `25.5.0`+ releases. ([\#18577](https://github.com/element-hq/synapse/issues/18577))
45+
- Update PyO3 to version 0.25. ([\#18578](https://github.com/element-hq/synapse/issues/18578))
46+
47+
48+
49+
### Updates to locked dependencies
50+
51+
* Bump actions/setup-python from 5.5.0 to 5.6.0. ([\#18555](https://github.com/element-hq/synapse/issues/18555))
52+
* Bump base64 from 0.21.7 to 0.22.1. ([\#18559](https://github.com/element-hq/synapse/issues/18559))
53+
* Bump dawidd6/action-download-artifact from 9 to 11. ([\#18556](https://github.com/element-hq/synapse/issues/18556))
54+
* Bump headers from 0.4.0 to 0.4.1. ([\#18529](https://github.com/element-hq/synapse/issues/18529))
55+
* Bump requests from 2.32.2 to 2.32.4. ([\#18533](https://github.com/element-hq/synapse/issues/18533))
56+
* Bump types-requests from 2.32.0.20250328 to 2.32.4.20250611. ([\#18558](https://github.com/element-hq/synapse/issues/18558))
57+
158
# Synapse 1.132.0 (2025-06-17)
259

360
### Improved Documentation

0 commit comments

Comments
 (0)