Skip to content

Commit 050ff7e

Browse files
authored
Famedly release/v1.146 (#236)
# Famedly Synapse Release v1.146.0_1 depends on: famedly/complement#10 ## Famedly additions for v1.146.0_1 - feat: trigger CI actions (that are triggered on PRs) in merge queue (FrenchGithubUser) ### Notes for Famedly: #### Deprecations and Removals - matrix-org/matrix-spec-proposals#2697 (Dehydrated devices) has been removed, as the MSC is closed. Developers should migrate to matrix-org/matrix-spec-proposals#3814. (element-hq/synapse#19346) - Support for Ubuntu 25.04 (Plucky Puffin) has been dropped. Synapse no longer builds debian packages for Ubuntu 25.04. #### Updates to the Docker image - Add [Prometheus HTTP service discovery](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config) endpoint for easy discovery of all workers when using the docker/Dockerfile-workers image (see the [Metrics section of our Docker testing docs](https://github.com/famedly/synapse/pull/docker/README-testing.md#metrics)). (element-hq/synapse#19336) #### Features - Add a new config option [enable_local_media_storage](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_local_media_storage) which controls whether media is additionally stored locally when using configured media_storage_providers. Setting this to false allows off-site media storage without a local cache. Contributed by Patrice Brend'amour @dr.allgood. (element-hq/synapse#19204) - Stabilise support for matrix-org/matrix-spec-proposals#4312 m.oauth User-Interactive Auth stage for resetting cross-signing identity with the OAuth 2.0 API. The old, unstable name (org.matrix.cross_signing_reset) is now deprecated and will be removed in a future release. (element-hq/synapse#19273) - Refactor Grafana dashboard to use server_name label (instead of instance). (element-hq/synapse#19337)
2 parents 0287b77 + 2773bc7 commit 050ff7e

File tree

79 files changed

+2888
-8071
lines changed

Some content is hidden

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

79 files changed

+2888
-8071
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- name: Set up Docker Buildx
3030
id: buildx
31-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
31+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3232

3333
- name: Checkout repository
3434
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
@@ -117,7 +117,7 @@ jobs:
117117
password: ${{ secrets.GITHUB_TOKEN }}
118118

119119
- name: Set up Docker Buildx
120-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
120+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
121121

122122
- name: Install Cosign
123123
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0

.github/workflows/docs-pr.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup mdbook
2828
uses: peaceiris/actions-mdbook@ee69d230fe19748b7abf22df32acaa93833fad08 # v2.0.0
2929
with:
30-
mdbook-version: "0.4.17"
30+
mdbook-version: "0.5.2"
3131

3232
- name: Setup python
3333
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup mdbook
6262
uses: peaceiris/actions-mdbook@ee69d230fe19748b7abf22df32acaa93833fad08 # v2.0.0
6363
with:
64-
mdbook-version: "0.4.17"
64+
mdbook-version: "0.5.2"
6565

6666
- name: Setup htmltest
6767
run: |
@@ -70,8 +70,17 @@ jobs:
7070
tar zxf htmltest_0.17.0_linux_amd64.tar.gz
7171
7272
- name: Test links with htmltest
73-
# Build the book with `./` as the site URL (to make checks on 404.html possible)
74-
# Then run htmltest (without checking external links since that involves the network and is slow).
7573
run: |
74+
# Build the book with `./` as the site URL (to make checks on 404.html possible)
7675
MDBOOK_OUTPUT__HTML__SITE_URL="./" mdbook build
77-
./htmltest book --skip-external
76+
77+
# Delete the contents of the print.html file, as it can raise false
78+
# positives during link checking.
79+
#
80+
# We empty out the file, instead of deleting it, as doing so would
81+
# just cause htmltest to complain that links to it were invalid.
82+
# Ideally `htmltest` would have an option to ignore specific files
83+
# instead.
84+
echo '<!DOCTYPE HTML>' > book/print.html
85+
86+
./htmltest book --conf docs/.htmltest.yml

.github/workflows/docs.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,16 @@ jobs:
6666
save-if: ${{ ! startsWith(github.ref, 'gh-readonly-queue/') }}
6767

6868
- name: Install required tooling
69+
env:
70+
MDBOOK_VERSION: "0.5.2"
6971
run: |
70-
cargo install mdbook-linkcheck mdbook-mermaid mdbook-admonish
71-
cargo install mdbook --no-default-features --features search --vers "^0.4" --locked
72+
cargo install mdbook-linkcheck mdbook-mermaid
73+
cargo install mdbook --no-default-features --features search --vers "${{ env.MDBOOK_VERSION }}" --locked
7274
7375
- name: Setup Pages
7476
id: pages
7577
uses: actions/configure-pages@v5
7678

77-
- name: Setup mdbook-admonish
78-
run: mdbook-admonish install
79-
8079
- name: Set version of docs
8180
run: echo 'window.SYNAPSE_VERSION = "${{ needs.pre.outputs.branch-version }}";' > ./docs/website_files/version.js
8281

.github/workflows/fix_lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ jobs:
4747
- run: cargo fmt
4848
continue-on-error: true
4949

50-
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
50+
- uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
5151
with:
5252
commit_message: "Attempt to fix linting"

.github/workflows/release-artifacts.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ jobs:
6161

6262
- name: Set up Docker Buildx
6363
id: buildx
64-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
65-
with:
66-
install: true
64+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
6765

6866
- name: Set up docker layer caching
6967
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1

CHANGES.md

Lines changed: 57 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
# Synapse 1.146.0 (2026-01-27)
2+
3+
No significant changes since 1.146.0rc1.
4+
5+
## Deprecations and Removals
6+
7+
- [MSC2697](https://github.com/matrix-org/matrix-spec-proposals/pull/2697) (Dehydrated devices) has been removed, as the MSC is closed. Developers should migrate to [MSC3814](https://github.com/matrix-org/matrix-spec-proposals/pull/3814). ([\#19346](https://github.com/element-hq/synapse/issues/19346))
8+
- Support for Ubuntu 25.04 (Plucky Puffin) has been dropped. Synapse no longer builds debian packages for Ubuntu 25.04.
9+
10+
### Famedly additions for v1.146.0_1
11+
- feat: trigger CI actions (that are triggered on PRs) in merge queue (FrenchGithubUser)
12+
13+
# Synapse 1.146.0rc1 (2026-01-20)
14+
15+
## Features
16+
17+
- Add a new config option [`enable_local_media_storage`](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_local_media_storage) which controls whether media is additionally stored locally when using configured `media_storage_providers`. Setting this to `false` allows off-site media storage without a local cache. Contributed by Patrice Brend'amour @dr.allgood. ([\#19204](https://github.com/element-hq/synapse/issues/19204))
18+
- Stabilise support for [MSC4312](https://github.com/matrix-org/matrix-spec-proposals/pull/4312)'s `m.oauth` User-Interactive Auth stage for resetting cross-signing identity with the OAuth 2.0 API. The old, unstable name (`org.matrix.cross_signing_reset`) is now deprecated and will be removed in a future release. ([\#19273](https://github.com/element-hq/synapse/issues/19273))
19+
- Refactor Grafana dashboard to use `server_name` label (instead of `instance`). ([\#19337](https://github.com/element-hq/synapse/issues/19337))
20+
21+
## Bugfixes
22+
23+
- Fix joining a restricted v12 room locally when no local room creator is present but local users with sufficient power levels are. Contributed by @nexy7574. ([\#19321](https://github.com/element-hq/synapse/issues/19321))
24+
- Fixed parallel calls to `/_matrix/media/v1/create` being ratelimited for appservices even if `rate_limited: false` was set in the registration. Contributed by @tulir @ Beeper. ([\#19335](https://github.com/element-hq/synapse/issues/19335))
25+
- Fix a bug introduced in 1.61.0 where a user's membership in a room was accidentally ignored when considering access to historical state events in rooms with the "shared" history visibility. Contributed by Lukas Tautz. ([\#19353](https://github.com/element-hq/synapse/issues/19353))
26+
- [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140): Store the JSON content of scheduled delayed events as text instead of a byte array. This fixes the inability to schedule a delayed event with non-ASCII characters in its content. ([\#19360](https://github.com/element-hq/synapse/issues/19360))
27+
- Always rollback database transactions when retrying (avoid orphaned connections). ([\#19372](https://github.com/element-hq/synapse/issues/19372))
28+
- Fix `InFlightGauge` typing to allow upgrading to `prometheus_client` 0.24. ([\#19379](https://github.com/element-hq/synapse/issues/19379))
29+
30+
## Updates to the Docker image
31+
32+
- Add [Prometheus HTTP service discovery](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config) endpoint for easy discovery of all workers when using the `docker/Dockerfile-workers` image (see the [*Metrics* section of our Docker testing docs](docker/README-testing.md#metrics)). ([\#19336](https://github.com/element-hq/synapse/issues/19336))
33+
34+
## Improved Documentation
35+
36+
- Remove docs on legacy metric names (no longer in the codebase since 2022-12-06). ([\#19341](https://github.com/element-hq/synapse/issues/19341))
37+
- Clarify how the estimated value of room complexity is calculated internally. ([\#19384](https://github.com/element-hq/synapse/issues/19384))
38+
39+
## Internal Changes
40+
41+
- Add an internal `cancel_task` API to the task scheduler. ([\#19310](https://github.com/element-hq/synapse/issues/19310))
42+
- Tweak docstrings and signatures of `auth_types_for_event` and `get_catchup_room_event_ids`. ([\#19320](https://github.com/element-hq/synapse/issues/19320))
43+
- Replace usage of deprecated `assertEquals` with `assertEqual` in unit test code. ([\#19345](https://github.com/element-hq/synapse/issues/19345))
44+
- Drop support for Ubuntu 25.04 'Plucky Puffin', add support for Ubuntu 25.10 'Questing Quokka'. ([\#19348](https://github.com/element-hq/synapse/issues/19348))
45+
- Revert "Add an Admin API endpoint for listing quarantined media (#19268)". ([\#19351](https://github.com/element-hq/synapse/issues/19351))
46+
- Bump `mdbook` from 0.4.17 to 0.5.2 and remove our custom table-of-contents plugin in favour of the new default functionality. ([\#19356](https://github.com/element-hq/synapse/issues/19356))
47+
- Replace deprecated usage of PyGitHub's `GitRelease.title` with `.name` in release script. ([\#19358](https://github.com/element-hq/synapse/issues/19358))
48+
- Update the Element logo in Synapse's README to be an absolute URL, allowing it to render on other sites (such as PyPI). ([\#19368](https://github.com/element-hq/synapse/issues/19368))
49+
- Apply minor tweaks to v1.145.0 changelog. ([\#19376](https://github.com/element-hq/synapse/issues/19376))
50+
- Update Grafana dashboard syntax to use the latest from importing/exporting with Grafana 12.3.1. ([\#19381](https://github.com/element-hq/synapse/issues/19381))
51+
- Warn about skipping reactor metrics when using unknown reactor type. ([\#19383](https://github.com/element-hq/synapse/issues/19383))
52+
- Add support for reactor metrics with the `ProxiedReactor` used in worker Complement tests. ([\#19385](https://github.com/element-hq/synapse/issues/19385))
53+
54+
55+
56+
157
# Synapse 1.145.0 (2026-01-13)
258

359
No significant changes since 1.145.0rc4.
@@ -46,17 +102,9 @@ This RC fixes the source distribution packaging for uploading to PyPI.
46102

47103
# Synapse 1.145.0rc1 (2026-01-06)
48104

49-
## End of Life of Ubuntu 25.04 Plucky Puffin
50-
51-
Ubuntu 25.04 (Plucky Puffin) will be end of life on Jan 17, 2026. Synapse will stop building packages for Ubuntu 25.04 shortly thereafter.
52-
53-
## Updates to Locked Dependencies No Longer Included in Changelog
54-
55-
The "Updates to locked dependencies" section has been removed from the changelog due to lack of use and the maintenance burden. ([\#19254](https://github.com/element-hq/synapse/issues/19254))
56-
57105
## Features
58106

59-
- Add `memberships` endpoint to the admin API. This is useful for forensics and T&S purpose. ([\#19260](https://github.com/element-hq/synapse/issues/19260))
107+
- Add `memberships` endpoint to the admin API. This is useful for forensics and T&S purposes. ([\#19260](https://github.com/element-hq/synapse/issues/19260))
60108
- Server admins can bypass the quarantine media check when downloading media by setting the `admin_unsafely_bypass_quarantine` query parameter to `true` on Client-Server API media download requests. ([\#19275](https://github.com/element-hq/synapse/issues/19275))
61109
- Implemented pagination for the [MSC2666](https://github.com/matrix-org/matrix-spec-proposals/pull/2666) mutual rooms endpoint. Contributed by @tulir @ Beeper. ([\#19279](https://github.com/element-hq/synapse/issues/19279))
62110
- Admin API: add worker support to `GET /_synapse/admin/v2/users/<user_id>`. ([\#19281](https://github.com/element-hq/synapse/issues/19281))

book.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
title = "Famedly Synapse"
55
authors = ["Famedly", "The Matrix.org Foundation C.I.C."]
66
language = "en"
7-
multilingual = false
87

98
# The directory that documentation files are stored in
109
src = "docs"
@@ -31,13 +30,10 @@ site-url = "/synapse/"
3130
# Additional HTML, JS, CSS that's injected into each page of the book.
3231
# More information available in docs/website_files/README.md
3332
additional-css = [
34-
"docs/website_files/table-of-contents.css",
35-
"docs/website_files/remove-nav-buttons.css",
3633
"docs/website_files/indent-section-headers.css",
3734
"docs/website_files/version-picker.css",
3835
]
3936
additional-js = [
40-
"docs/website_files/table-of-contents.js",
4137
"docs/website_files/version-picker.js",
4238
"docs/website_files/version.js",
4339
]

0 commit comments

Comments
 (0)