Commit graph

24 commits

Author SHA1 Message Date
7f5755b537 fix: Remove hostnames from docker-compose configs (#76)
- [x] This fixes services being not reachable from inside their own container
- [x] Container name must be different to URL hostname

Reviewed-on: #76
2024-09-30 17:27:30 +02:00
c75c2a9e1d chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.115.0 (#68)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.114.0` -> `v1.115.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.115.0`](https://github.com/element-hq/synapse/releases/tag/v1.115.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.114.0...v1.115.0)

### Synapse 1.115.0 (2024-09-17)

No significant changes since 1.115.0rc2.

### Synapse 1.115.0rc2 (2024-09-12)

##### Internal Changes

-   Pre-populate room data used in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint for quick filtering/sorting. ([#&#8203;17652](https://github.com/element-hq/synapse/issues/17652))
-   Speed up sliding sync by reducing amount of data pulled out of the database for large rooms. ([#&#8203;17683](https://github.com/element-hq/synapse/issues/17683))

### Synapse 1.115.0rc1 (2024-09-10)

##### Features

-   Improve cross-signing upload when using [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) to use a custom UIA flow stage, with web fallback support. ([#&#8203;17509](https://github.com/element-hq/synapse/issues/17509))

##### Bugfixes

-   Return `400 M_BAD_JSON` upon attempting to complete various room actions with a non-local user ID and unknown room ID, rather than an internal server error. ([#&#8203;17607](https://github.com/element-hq/synapse/issues/17607))
-   Fix authenticated media responses using a wrong limit when following redirects over federation. ([#&#8203;17626](https://github.com/element-hq/synapse/issues/17626))
-   Fix bug where we returned the wrong `bump_stamp` for invites in sliding sync response, causing incorrect ordering of invites in the room list. ([#&#8203;17674](https://github.com/element-hq/synapse/issues/17674))

##### Improved Documentation

-   Clarify that the admin api resource is only loaded on the main process and not workers. ([#&#8203;17590](https://github.com/element-hq/synapse/issues/17590))
-   Fixed typo in `saml2_config` config [example](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#saml2\_config). ([#&#8203;17594](https://github.com/element-hq/synapse/issues/17594))

##### Deprecations and Removals

-   Stabilise [MSC4156](https://github.com/matrix-org/matrix-spec-proposals/pull/4156) by removing the `msc4156_enabled` config setting and defaulting it to `true`. ([#&#8203;17650](https://github.com/element-hq/synapse/issues/17650))

##### Internal Changes

-   Update [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) implementation: load the issuer and account management URLs from OIDC discovery. ([#&#8203;17407](https://github.com/element-hq/synapse/issues/17407))
-   Pre-populate room data used in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint for quick filtering/sorting. ([#&#8203;17512](https://github.com/element-hq/synapse/issues/17512), [#&#8203;17632](https://github.com/element-hq/synapse/issues/17632), [#&#8203;17633](https://github.com/element-hq/synapse/issues/17633), [#&#8203;17634](https://github.com/element-hq/synapse/issues/17634), [#&#8203;17635](https://github.com/element-hq/synapse/issues/17635), [#&#8203;17636](https://github.com/element-hq/synapse/issues/17636), [#&#8203;17641](https://github.com/element-hq/synapse/issues/17641), [#&#8203;17654](https://github.com/element-hq/synapse/issues/17654), [#&#8203;17673](https://github.com/element-hq/synapse/issues/17673))
-   Store sliding sync per-connection state in the database. ([#&#8203;17599](https://github.com/element-hq/synapse/issues/17599), [#&#8203;17631](https://github.com/element-hq/synapse/issues/17631))
-   Make the sliding sync `PerConnectionState` class immutable. ([#&#8203;17600](https://github.com/element-hq/synapse/issues/17600))
-   Replace `isort` and `black` with `ruff`. ([#&#8203;17620](https://github.com/element-hq/synapse/issues/17620), [#&#8203;17643](https://github.com/element-hq/synapse/issues/17643))
-   Sliding Sync: Split up `get_room_membership_for_user_at_to_token`. ([#&#8203;17629](https://github.com/element-hq/synapse/issues/17629))
-   Use new database tables for sliding sync. ([#&#8203;17630](https://github.com/element-hq/synapse/issues/17630), [#&#8203;17649](https://github.com/element-hq/synapse/issues/17649))
-   Prevent duplicate tags being added to Sliding Sync traces. ([#&#8203;17655](https://github.com/element-hq/synapse/issues/17655))
-   Get `bump_stamp` from [new sliding sync tables](https://github.com/element-hq/synapse/pull/17512) which should be faster. ([#&#8203;17658](https://github.com/element-hq/synapse/issues/17658))
-   Speed up incremental Sliding Sync requests by avoiding extra work. ([#&#8203;17665](https://github.com/element-hq/synapse/issues/17665))
-   Small performance improvement in speeding up sliding sync. ([#&#8203;17666](https://github.com/element-hq/synapse/issues/17666), [#&#8203;17670](https://github.com/element-hq/synapse/issues/17670), [#&#8203;17672](https://github.com/element-hq/synapse/issues/17672))
-   Speed up sliding sync by reducing number of database calls. ([#&#8203;17684](https://github.com/element-hq/synapse/issues/17684))
-   Speed up sync by pulling out fewer events from the database. ([#&#8203;17688](https://github.com/element-hq/synapse/issues/17688))

##### Updates to locked dependencies

-   Bump authlib from 1.3.1 to 1.3.2. ([#&#8203;17679](https://github.com/element-hq/synapse/issues/17679))
-   Bump idna from 3.7 to 3.8. ([#&#8203;17682](https://github.com/element-hq/synapse/issues/17682))
-   Bump ruff from 0.6.2 to 0.6.4. ([#&#8203;17680](https://github.com/element-hq/synapse/issues/17680))
-   Bump towncrier from 24.7.1 to 24.8.0. ([#&#8203;17645](https://github.com/element-hq/synapse/issues/17645))
-   Bump twisted from 24.7.0rc1 to 24.7.0. ([#&#8203;17647](https://github.com/element-hq/synapse/issues/17647))
-   Bump types-pillow from 10.2.0.20240520 to 10.2.0.20240822. ([#&#8203;17644](https://github.com/element-hq/synapse/issues/17644))
-   Bump types-psycopg2 from 2.9.21.20240417 to 2.9.21.20240819. ([#&#8203;17646](https://github.com/element-hq/synapse/issues/17646))
-   Bump types-setuptools from 71.1.0.20240818 to 74.1.0.20240907. ([#&#8203;17681](https://github.com/element-hq/synapse/issues/17681))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43OS4wIiwidXBkYXRlZEluVmVyIjoiMzguNzkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #68
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-09-26 19:40:43 +02:00
15e39593a5 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.114.0 (#62)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.113.0` -> `v1.114.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.114.0`](https://github.com/element-hq/synapse/releases/tag/v1.114.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.113.0...v1.114.0)

### Synapse 1.114.0 (2024-09-02)

This release enables support for
[MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186) —
Simplified Sliding Sync. This allows using the upcoming releases of the Element
X mobile apps without having to run a Sliding Sync Proxy.

##### Features

-   Enable native sliding sync support ([MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) and [MSC4186](https://github.com/matrix-org/matrix-spec-proposals/pull/4186)) by default. ([#&#8203;17648](https://github.com/element-hq/synapse/issues/17648))

### Synapse 1.114.0rc3 (2024-08-30)

##### Bugfixes

-   Fix regression in v1.114.0rc2 that caused workers to fail to start. ([#&#8203;17626](https://github.com/element-hq/synapse/issues/17626))

### Synapse 1.114.0rc2 (2024-08-30)

##### Features

-   Improve cross-signing upload when using [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) to use a custom UIA flow stage, with web fallback support. ([#&#8203;17509](https://github.com/element-hq/synapse/issues/17509))
-   Make `hash_password` script accept password input from stdin. ([#&#8203;17608](https://github.com/element-hq/synapse/issues/17608))

##### Bugfixes

-   Fix hierarchy returning 403 when room is accessible through federation. Contributed by Krishan ([@&#8203;kfiven](https://github.com/kfiven)). ([#&#8203;17194](https://github.com/element-hq/synapse/issues/17194))
-   Fix content-length on federation `/thumbnail` responses. ([#&#8203;17532](https://github.com/element-hq/synapse/issues/17532))
-   Fix authenticated media responses using a wrong limit when following redirects over federation. ([#&#8203;17543](https://github.com/element-hq/synapse/issues/17543))

##### Internal Changes

-   MSC3861: load the issuer and account management URLs from OIDC discovery. ([#&#8203;17407](https://github.com/element-hq/synapse/issues/17407))
-   Refactor sliding sync class into multiple files. ([#&#8203;17595](https://github.com/element-hq/synapse/issues/17595))
-   Store sliding sync per-connection state in the database. ([#&#8203;17599](https://github.com/element-hq/synapse/issues/17599))
-   Make the sliding sync `PerConnectionState` class immutable. ([#&#8203;17600](https://github.com/element-hq/synapse/issues/17600))
-   Add support to `@tag_args` for standalone functions. ([#&#8203;17604](https://github.com/element-hq/synapse/issues/17604))
-   Speed up incremental syncs in sliding sync by adding some more caching. ([#&#8203;17606](https://github.com/element-hq/synapse/issues/17606))
-   Always return the user's own read receipts in sliding sync. ([#&#8203;17617](https://github.com/element-hq/synapse/issues/17617))
-   Replace `isort` and `black` with `ruff`. ([#&#8203;17620](https://github.com/element-hq/synapse/issues/17620))
-   Refactor sliding sync code to move room list logic out into a separate class. ([#&#8203;17622](https://github.com/element-hq/synapse/issues/17622))

##### Updates to locked dependencies

-   Bump attrs from 23.2.0 to 24.2.0. ([#&#8203;17609](https://github.com/element-hq/synapse/issues/17609))
-   Bump cryptography from 42.0.8 to 43.0.0. ([#&#8203;17584](https://github.com/element-hq/synapse/issues/17584))
-   Bump phonenumbers from 8.13.43 to 8.13.44. ([#&#8203;17610](https://github.com/element-hq/synapse/issues/17610))
-   Bump pygithub from 2.3.0 to 2.4.0. ([#&#8203;17612](https://github.com/element-hq/synapse/issues/17612))
-   Bump pyyaml from 6.0.1 to 6.0.2. ([#&#8203;17611](https://github.com/element-hq/synapse/issues/17611))
-   Bump sentry-sdk from 2.12.0 to 2.13.0. ([#&#8203;17585](https://github.com/element-hq/synapse/issues/17585))
-   Bump serde from 1.0.206 to 1.0.208. ([#&#8203;17581](https://github.com/element-hq/synapse/issues/17581))
-   Bump serde from 1.0.208 to 1.0.209. ([#&#8203;17613](https://github.com/element-hq/synapse/issues/17613))
-   Bump serde_json from 1.0.124 to 1.0.125. ([#&#8203;17582](https://github.com/element-hq/synapse/issues/17582))
-   Bump serde_json from 1.0.125 to 1.0.127. ([#&#8203;17614](https://github.com/element-hq/synapse/issues/17614))
-   Bump types-jsonschema from 4.23.0.20240712 to 4.23.0.20240813. ([#&#8203;17583](https://github.com/element-hq/synapse/issues/17583))
-   Bump types-setuptools from 71.1.0.20240726 to 71.1.0.20240818. ([#&#8203;17586](https://github.com/element-hq/synapse/issues/17586))

### Synapse 1.114.0rc1 (2024-08-20)

##### Features

-   Add a flag to `/versions`, `org.matrix.simplified_msc3575`, to indicate whether experimental sliding sync support has been enabled. ([#&#8203;17571](https://github.com/element-hq/synapse/issues/17571))
-   Handle changes in `timeline_limit` in experimental sliding sync. ([#&#8203;17579](https://github.com/element-hq/synapse/issues/17579))
-   Correctly track read receipts that should be sent down in experimental sliding sync. ([#&#8203;17575](https://github.com/element-hq/synapse/issues/17575), [#&#8203;17589](https://github.com/element-hq/synapse/issues/17589), [#&#8203;17592](https://github.com/element-hq/synapse/issues/17592))

##### Bugfixes

-   Start handlers for new media endpoints when media resource configured. ([#&#8203;17483](https://github.com/element-hq/synapse/issues/17483))
-   Fix timeline ordering (using `stream_ordering` instead of topological ordering) in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17510](https://github.com/element-hq/synapse/issues/17510))
-   Fix experimental sliding sync implementation to remember any updates in rooms that were not sent down immediately. ([#&#8203;17535](https://github.com/element-hq/synapse/issues/17535))
-   Better exclude partially stated rooms if we must await full state in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17538](https://github.com/element-hq/synapse/issues/17538))
-   Handle lower-case http headers in `_Mulitpart_Parser_Protocol`. ([#&#8203;17545](https://github.com/element-hq/synapse/issues/17545))
-   Fix fetching federation signing keys from servers that omit `old_verify_keys`. Contributed by [@&#8203;tulir](https://github.com/tulir) @&#8203; Beeper. ([#&#8203;17568](https://github.com/element-hq/synapse/issues/17568))
-   Fix bug where we would respond with an error when a remote server asked for media that had a length of 0, using the new multipart federation media endpoint. ([#&#8203;17570](https://github.com/element-hq/synapse/issues/17570))

##### Improved Documentation

-   Clarify default behaviour of the
    [`auto_accept_invites.worker_to_run_on`](https://element-hq.github.io/synapse/develop/usage/configuration/config_documentation.html#auto-accept-invites)
    option. ([#&#8203;17515](https://github.com/element-hq/synapse/issues/17515))
-   Improve docstrings for profile methods. ([#&#8203;17559](https://github.com/element-hq/synapse/issues/17559))

##### Internal Changes

-   Add more tracing to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17514](https://github.com/element-hq/synapse/issues/17514))
-   Fixup comment in sliding sync implementation. ([#&#8203;17531](https://github.com/element-hq/synapse/issues/17531))
-   Replace override of deprecated method `HTTPAdapter.get_connection` with `get_connection_with_tls_context`. ([#&#8203;17536](https://github.com/element-hq/synapse/issues/17536))
-   Fix performance of device lists in `/key/changes` and sliding sync. ([#&#8203;17537](https://github.com/element-hq/synapse/issues/17537), [#&#8203;17548](https://github.com/element-hq/synapse/issues/17548))
-   Bump setuptools from 67.6.0 to 72.1.0. ([#&#8203;17542](https://github.com/element-hq/synapse/issues/17542))
-   Add a utility function for generating random event IDs. ([#&#8203;17557](https://github.com/element-hq/synapse/issues/17557))
-   Speed up responding to media requests. ([#&#8203;17558](https://github.com/element-hq/synapse/issues/17558), [#&#8203;17561](https://github.com/element-hq/synapse/issues/17561), [#&#8203;17564](https://github.com/element-hq/synapse/issues/17564), [#&#8203;17566](https://github.com/element-hq/synapse/issues/17566), [#&#8203;17567](https://github.com/element-hq/synapse/issues/17567), [#&#8203;17569](https://github.com/element-hq/synapse/issues/17569))
-   Test github token before running release script steps. ([#&#8203;17562](https://github.com/element-hq/synapse/issues/17562))
-   Reduce log spam of multipart files. ([#&#8203;17563](https://github.com/element-hq/synapse/issues/17563))
-   Refactor per-connection state in experimental sliding sync handler. ([#&#8203;17574](https://github.com/element-hq/synapse/issues/17574))
-   Add histogram metrics for sliding sync processing time. ([#&#8203;17593](https://github.com/element-hq/synapse/issues/17593))

##### Updates to locked dependencies

-   Bump bytes from 1.6.1 to 1.7.1. ([#&#8203;17526](https://github.com/element-hq/synapse/issues/17526))
-   Bump lxml from 5.2.2 to 5.3.0. ([#&#8203;17550](https://github.com/element-hq/synapse/issues/17550))
-   Bump phonenumbers from 8.13.42 to 8.13.43. ([#&#8203;17551](https://github.com/element-hq/synapse/issues/17551))
-   Bump regex from 1.10.5 to 1.10.6. ([#&#8203;17527](https://github.com/element-hq/synapse/issues/17527))
-   Bump sentry-sdk from 2.10.0 to 2.12.0. ([#&#8203;17553](https://github.com/element-hq/synapse/issues/17553))
-   Bump serde from 1.0.204 to 1.0.206. ([#&#8203;17556](https://github.com/element-hq/synapse/issues/17556))
-   Bump serde_json from 1.0.122 to 1.0.124. ([#&#8203;17555](https://github.com/element-hq/synapse/issues/17555))
-   Bump sigstore/cosign-installer from 3.5.0 to 3.6.0. ([#&#8203;17549](https://github.com/element-hq/synapse/issues/17549))
-   Bump types-pyyaml from 6.0.12.20240311 to 6.0.12.20240808. ([#&#8203;17552](https://github.com/element-hq/synapse/issues/17552))
-   Bump types-requests from 2.31.0.20240406 to 2.32.0.20240712. ([#&#8203;17524](https://github.com/element-hq/synapse/issues/17524))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #62
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-09-03 22:52:41 +02:00
57939efedf chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.113.0 (#61)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.112.0` -> `v1.113.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.113.0`](https://github.com/element-hq/synapse/releases/tag/v1.113.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.112.0...v1.113.0)

### Synapse 1.113.0 (2024-08-13)

No significant changes since 1.113.0rc1.

### Synapse 1.113.0rc1 (2024-08-06)

##### Features

-   Track which rooms have been sent to clients in the experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17447](https://github.com/element-hq/synapse/issues/17447))
-   Add Account Data extension support to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17477](https://github.com/element-hq/synapse/issues/17477))
-   Add receipts extension support to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17489](https://github.com/element-hq/synapse/issues/17489))
-   Add typing notification extension support to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17505](https://github.com/element-hq/synapse/issues/17505))

##### Bugfixes

-   Update experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint to handle invite/knock rooms when filtering. ([#&#8203;17450](https://github.com/element-hq/synapse/issues/17450))
-   Fix a bug introduced in v1.110.0 which caused `/keys/query` to return incomplete results, leading to high network activity and CPU usage on Matrix clients. ([#&#8203;17499](https://github.com/element-hq/synapse/issues/17499))

##### Improved Documentation

-   Update the [`allowed_local_3pids`](https://element-hq.github.io/synapse/v1.112/usage/configuration/config_documentation.html#allowed_local\_3pids) config option's msisdn address to a working example. ([#&#8203;17476](https://github.com/element-hq/synapse/issues/17476))

##### Internal Changes

-   Change sliding sync to use their own token format in preparation for storing per-connection state. ([#&#8203;17452](https://github.com/element-hq/synapse/issues/17452))
-   Ensure we don't send down negative `bump_stamp` in experimental sliding sync endpoint. ([#&#8203;17478](https://github.com/element-hq/synapse/issues/17478))
-   Do not send down empty room entries down experimental sliding sync endpoint. ([#&#8203;17479](https://github.com/element-hq/synapse/issues/17479))
-   Refactor Sliding Sync tests to better utilize the `SlidingSyncBase`. ([#&#8203;17481](https://github.com/element-hq/synapse/issues/17481), [#&#8203;17482](https://github.com/element-hq/synapse/issues/17482))
-   Add some opentracing tags and logging to the experimental sliding sync implementation. ([#&#8203;17501](https://github.com/element-hq/synapse/issues/17501))
-   Split and move Sliding Sync tests so we have some more sane test file sizes. ([#&#8203;17504](https://github.com/element-hq/synapse/issues/17504))
-   Update the `limited` field description in the Sliding Sync response to accurately describe what it actually represents. ([#&#8203;17507](https://github.com/element-hq/synapse/issues/17507))
-   Easier to understand `timeline` assertions in Sliding Sync tests. ([#&#8203;17511](https://github.com/element-hq/synapse/issues/17511))
-   Reset the sliding sync connection if we don't recognize the per-connection state position. ([#&#8203;17529](https://github.com/element-hq/synapse/issues/17529))

##### Updates to locked dependencies

-   Bump bcrypt from 4.1.3 to 4.2.0. ([#&#8203;17495](https://github.com/element-hq/synapse/issues/17495))
-   Bump black from 24.4.2 to 24.8.0. ([#&#8203;17522](https://github.com/element-hq/synapse/issues/17522))
-   Bump phonenumbers from 8.13.39 to 8.13.42. ([#&#8203;17521](https://github.com/element-hq/synapse/issues/17521))
-   Bump ruff from 0.5.4 to 0.5.5. ([#&#8203;17494](https://github.com/element-hq/synapse/issues/17494))
-   Bump serde_json from 1.0.120 to 1.0.121. ([#&#8203;17493](https://github.com/element-hq/synapse/issues/17493))
-   Bump serde_json from 1.0.121 to 1.0.122. ([#&#8203;17525](https://github.com/element-hq/synapse/issues/17525))
-   Bump towncrier from 23.11.0 to 24.7.1. ([#&#8203;17523](https://github.com/element-hq/synapse/issues/17523))
-   Bump types-pyopenssl from 24.1.0.20240425 to 24.1.0.20240722. ([#&#8203;17496](https://github.com/element-hq/synapse/issues/17496))
-   Bump types-setuptools from 70.1.0.20240627 to 71.1.0.20240726. ([#&#8203;17497](https://github.com/element-hq/synapse/issues/17497))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #61
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-08-16 22:59:29 +02:00
08ac8e5733 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.112.0 (#57)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.111.0` -> `v1.112.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.112.0`](https://github.com/element-hq/synapse/releases/tag/v1.112.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.111.1...v1.112.0)

### Synapse 1.112.0 (2024-07-30)

This security release is to update our locked dependency on Twisted to 24.7.0rc1, which includes a security fix for [CVE-2024-41671 / GHSA-c8m8-j448-xjx7: Disordered HTTP pipeline response in twisted.web, again](https://github.com/twisted/twisted/security/advisories/GHSA-c8m8-j448-xjx7).

Note that this security fix is also available as **Synapse 1.111.1**, which does not include the rest of the changes in Synapse 1.112.0.

This issue means that, if multiple HTTP requests are pipelined in the same TCP connection, Synapse can send responses to the wrong HTTP request.
If a reverse proxy was configured to use HTTP pipelining, this could result in responses being sent to the wrong user, severely harming confidentiality.

With that said, despite being a high severity issue, **we consider it unlikely that Synapse installations will be affected**.
The use of HTTP pipelining in this fashion would cause worse performance for clients (request-response latencies would be increased as users' responses would be artificially blocked behind other users' slow requests). Further, Nginx and Haproxy, two common reverse proxies, do not appear to support configuring their upstreams to use HTTP pipelining and thus would not be affected. For both of these reasons, we consider it unlikely that a Synapse deployment would be set up in such a configuration.

Despite that, we cannot rule out that some installations may exist with this unusual setup and so we are releasing this security update today.

**pip users:** Note that by default, upgrading Synapse using pip will not automatically upgrade Twisted. **Please manually install the new version of Twisted** using `pip install Twisted==24.7.0rc1`. Note also that even the `--upgrade-strategy=eager` flag to `pip install -U matrix-synapse` will not upgrade Twisted to a patched version because it is only a release candidate at this time.

##### Internal Changes

-   Upgrade locked dependency on Twisted to 24.7.0rc1. ([#&#8203;17502](https://github.com/element-hq/synapse/issues/17502))

### Synapse 1.112.0rc1 (2024-07-23)

Please note that this release candidate does not include the security dependency update
included in version 1.111.1 as this version was released before 1.111.1.
The same security fix can be found in the full release of 1.112.0.

##### Features

-   Add to-device extension support to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17416](https://github.com/element-hq/synapse/issues/17416))
-   Populate `name`/`avatar` fields in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17418](https://github.com/element-hq/synapse/issues/17418))
-   Populate `heroes` and room summary fields (`joined_count`, `invited_count`) in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17419](https://github.com/element-hq/synapse/issues/17419))
-   Populate `is_dm` room field in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17429](https://github.com/element-hq/synapse/issues/17429))
-   Add room subscriptions to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17432](https://github.com/element-hq/synapse/issues/17432))
-   Prepare for authenticated media freeze. ([#&#8203;17433](https://github.com/element-hq/synapse/issues/17433))
-   Add E2EE extension support to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17454](https://github.com/element-hq/synapse/issues/17454))

##### Bugfixes

-   Add configurable option to always include offline users in presence sync results. Contributed by [@&#8203;Michael-Hollister](https://github.com/Michael-Hollister). ([#&#8203;17231](https://github.com/element-hq/synapse/issues/17231))
-   Fix bug in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint when using room type filters and the user has one or more remote invites. ([#&#8203;17434](https://github.com/element-hq/synapse/issues/17434))
-   Order `heroes` by `stream_ordering` as the Matrix specification states (applies to `/sync`). ([#&#8203;17435](https://github.com/element-hq/synapse/issues/17435))
-   Fix rare bug where `/sync` would break for a user when using workers with multiple stream writers. ([#&#8203;17438](https://github.com/element-hq/synapse/issues/17438))

##### Improved Documentation

-   Update the readme image to have a white background, so that it is readable in dark mode. ([#&#8203;17387](https://github.com/element-hq/synapse/issues/17387))
-   Add Red Hat Enterprise Linux and Rocky Linux 8 and 9 installation instructions. ([#&#8203;17423](https://github.com/element-hq/synapse/issues/17423))
-   Improve documentation for the [`default_power_level_content_override`](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#default_power_level_content_override) config option. ([#&#8203;17451](https://github.com/element-hq/synapse/issues/17451))

##### Internal Changes

-   Make sure we always use the right logic for enabling the media repo. ([#&#8203;17424](https://github.com/element-hq/synapse/issues/17424))
-   Fix argument documentation for method `RateLimiter.record_action`. ([#&#8203;17426](https://github.com/element-hq/synapse/issues/17426))
-   Reduce volume of 'Waiting for current token' logs, which were introduced in v1.109.0. ([#&#8203;17428](https://github.com/element-hq/synapse/issues/17428))
-   Limit concurrent remote downloads to 6 per IP address, and decrement remote downloads without a content-length from the ratelimiter after the download is complete. ([#&#8203;17439](https://github.com/element-hq/synapse/issues/17439))
-   Remove unnecessary call to resume producing in fake channel. ([#&#8203;17449](https://github.com/element-hq/synapse/issues/17449))
-   Update experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint to bump room when it is created. ([#&#8203;17453](https://github.com/element-hq/synapse/issues/17453))
-   Speed up generating sliding sync responses. ([#&#8203;17458](https://github.com/element-hq/synapse/issues/17458))
-   Add cache to `get_rooms_for_local_user_where_membership_is` to speed up sliding sync. ([#&#8203;17460](https://github.com/element-hq/synapse/issues/17460))
-   Speed up fetching room keys from backup. ([#&#8203;17461](https://github.com/element-hq/synapse/issues/17461))
-   Speed up sorting of the room list in sliding sync. ([#&#8203;17468](https://github.com/element-hq/synapse/issues/17468))
-   Implement handling of `$ME` as a state key in sliding sync. ([#&#8203;17469](https://github.com/element-hq/synapse/issues/17469))

##### Updates to locked dependencies

-   Bump bytes from 1.6.0 to 1.6.1. ([#&#8203;17441](https://github.com/element-hq/synapse/issues/17441))
-   Bump hiredis from 2.3.2 to 3.0.0. ([#&#8203;17464](https://github.com/element-hq/synapse/issues/17464))
-   Bump jsonschema from 4.22.0 to 4.23.0. ([#&#8203;17444](https://github.com/element-hq/synapse/issues/17444))
-   Bump matrix-org/done-action from 2 to 3. ([#&#8203;17440](https://github.com/element-hq/synapse/issues/17440))
-   Bump mypy from 1.9.0 to 1.10.1. ([#&#8203;17445](https://github.com/element-hq/synapse/issues/17445))
-   Bump pyopenssl from 24.1.0 to 24.2.1. ([#&#8203;17465](https://github.com/element-hq/synapse/issues/17465))
-   Bump ruff from 0.5.0 to 0.5.4. ([#&#8203;17466](https://github.com/element-hq/synapse/issues/17466))
-   Bump sentry-sdk from 2.6.0 to 2.8.0. ([#&#8203;17456](https://github.com/element-hq/synapse/issues/17456))
-   Bump sentry-sdk from 2.8.0 to 2.10.0. ([#&#8203;17467](https://github.com/element-hq/synapse/issues/17467))
-   Bump setuptools from 67.6.0 to 70.0.0. ([#&#8203;17448](https://github.com/element-hq/synapse/issues/17448))
-   Bump twine from 5.1.0 to 5.1.1. ([#&#8203;17443](https://github.com/element-hq/synapse/issues/17443))
-   Bump types-jsonschema from 4.22.0.20240610 to 4.23.0.20240712. ([#&#8203;17446](https://github.com/element-hq/synapse/issues/17446))
-   Bump ulid from 1.1.2 to 1.1.3. ([#&#8203;17442](https://github.com/element-hq/synapse/issues/17442))
-   Bump zipp from 3.15.0 to 3.19.1. ([#&#8203;17427](https://github.com/element-hq/synapse/issues/17427))

### [`v1.111.1`](https://github.com/element-hq/synapse/releases/tag/v1.111.1)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.111.0...v1.111.1)

### Synapse 1.111.1 (2024-07-30)

This security release is to update our locked dependency on Twisted to 24.7.0rc1, which includes a security fix for [CVE-2024-41671 / GHSA-c8m8-j448-xjx7: Disordered HTTP pipeline response in twisted.web, again](https://github.com/twisted/twisted/security/advisories/GHSA-c8m8-j448-xjx7).

This issue means that, if multiple HTTP requests are pipelined in the same TCP connection, Synapse can send responses to the wrong HTTP request.
If a reverse proxy was configured to use HTTP pipelining, this could result in responses being sent to the wrong user, severely harming confidentiality.

With that said, despite being a high severity issue, **we consider it unlikely that Synapse installations will be affected**.
The use of HTTP pipelining in this fashion would cause worse performance for clients (request-response latencies would be increased as users' responses would be artificially blocked behind other users' slow requests). Further, Nginx and Haproxy, two common reverse proxies, do not appear to support configuring their upstreams to use HTTP pipelining and thus would not be affected. For both of these reasons, we consider it unlikely that a Synapse deployment would be set up in such a configuration.

Despite that, we cannot rule out that some installations may exist with this unusual setup and so we are releasing this security update today.

**pip users:** Note that by default, upgrading Synapse using pip will not automatically upgrade Twisted. **Please manually install the new version of Twisted** using `pip install Twisted==24.7.0rc1`. Note also that even the `--upgrade-strategy=eager` flag to `pip install -U matrix-synapse` will not upgrade Twisted to a patched version because it is only a release candidate at this time.

##### Internal Changes

-   Upgrade locked dependency on Twisted to 24.7.0rc1. ([#&#8203;17502](https://github.com/element-hq/synapse/issues/17502))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #57
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-07-31 23:48:14 +02:00
3424004910 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.111.0 (#55)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.110.0` -> `v1.111.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.111.0`](https://github.com/element-hq/synapse/releases/tag/v1.111.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.110.0...v1.111.0)

### Synapse 1.111.0 (2024-07-16)

No significant changes since 1.111.0rc2.

### Synapse 1.111.0rc2 (2024-07-10)

##### Bugfixes

-   Fix bug where using `synapse.app.media_repository` worker configuration would break the new media endpoints. ([#&#8203;17420](https://github.com/element-hq/synapse/issues/17420))

##### Improved Documentation

-   Document the new federation media worker endpoints in the [upgrade notes](https://element-hq.github.io/synapse/v1.111/upgrade.html) and [worker docs](https://element-hq.github.io/synapse/v1.111/workers.html). ([#&#8203;17421](https://github.com/element-hq/synapse/issues/17421))

##### Internal Changes

-   Route authenticated federation media requests to media repository workers in Complement tests. ([#&#8203;17422](https://github.com/element-hq/synapse/issues/17422))

### Synapse 1.111.0rc1 (2024-07-09)

##### Features

-   Add `rooms` data to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17320](https://github.com/element-hq/synapse/issues/17320))
-   Add `room_types`/`not_room_types` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17337](https://github.com/element-hq/synapse/issues/17337))
-   Return "required state" in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17342](https://github.com/element-hq/synapse/issues/17342))
-   Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3916-authentication-for-media.md) by adding [`_matrix/client/v1/media/download`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediadownloadservernamemediaid) endpoint. ([#&#8203;17365](https://github.com/element-hq/synapse/issues/17365))
-   Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/rav/authentication-for-media/proposals/3916-authentication-for-media.md)
    by adding [`_matrix/client/v1/media/thumbnail`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediathumbnailservernamemediaid), [`_matrix/federation/v1/media/thumbnail`](https://spec.matrix.org/v1.11/server-server-api/#get_matrixfederationv1mediathumbnailmediaid) endpoints and stabilizing the
    remaining [`_matrix/client/v1/media`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediaconfig) endpoints. ([#&#8203;17388](https://github.com/element-hq/synapse/issues/17388))
-   Add `rooms.bump_stamp` for easier client-side sorting in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17395](https://github.com/element-hq/synapse/issues/17395))
-   Forget all of a user's rooms upon deactivation, preventing local room purges from being blocked on deactivated users. ([#&#8203;17400](https://github.com/element-hq/synapse/issues/17400))
-   Declare support for [Matrix 1.11](https://matrix.org/blog/2024/06/20/matrix-v1.11-release/). ([#&#8203;17403](https://github.com/element-hq/synapse/issues/17403))
-   [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861): allow overriding the introspection endpoint. ([#&#8203;17406](https://github.com/element-hq/synapse/issues/17406))

##### Bugfixes

-   Fix rare race which caused no new to-device messages to be received from remote server. ([#&#8203;17362](https://github.com/element-hq/synapse/issues/17362))
-   Fix bug in experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint when using an old database. ([#&#8203;17398](https://github.com/element-hq/synapse/issues/17398))

##### Improved Documentation

-   Clarify that `url_preview_url_blacklist` is a usability feature. ([#&#8203;17356](https://github.com/element-hq/synapse/issues/17356))
-   Fix broken links in README. ([#&#8203;17379](https://github.com/element-hq/synapse/issues/17379))
-   Clarify that changelog content *and file extension* need to match in order for entries to merge. ([#&#8203;17399](https://github.com/element-hq/synapse/issues/17399))

##### Internal Changes

-   Make the release script create a release branch for Complement as well. ([#&#8203;17318](https://github.com/element-hq/synapse/issues/17318))
-   Fix uploading packages to PyPi. ([#&#8203;17363](https://github.com/element-hq/synapse/issues/17363))
-   Add CI check for the README. ([#&#8203;17367](https://github.com/element-hq/synapse/issues/17367))
-   Fix linting errors from new `ruff` version. ([#&#8203;17381](https://github.com/element-hq/synapse/issues/17381), [#&#8203;17411](https://github.com/element-hq/synapse/issues/17411))
-   Fix building debian packages on non-clean checkouts. ([#&#8203;17390](https://github.com/element-hq/synapse/issues/17390))
-   Finish up work to allow per-user feature flags. ([#&#8203;17392](https://github.com/element-hq/synapse/issues/17392), [#&#8203;17410](https://github.com/element-hq/synapse/issues/17410))
-   Allow enabling sliding sync per-user. ([#&#8203;17393](https://github.com/element-hq/synapse/issues/17393))

##### Updates to locked dependencies

-   Bump certifi from 2023.7.22 to 2024.7.4. ([#&#8203;17404](https://github.com/element-hq/synapse/issues/17404))
-   Bump cryptography from 42.0.7 to 42.0.8. ([#&#8203;17382](https://github.com/element-hq/synapse/issues/17382))
-   Bump ijson from 3.2.3 to 3.3.0. ([#&#8203;17413](https://github.com/element-hq/synapse/issues/17413))
-   Bump log from 0.4.21 to 0.4.22. ([#&#8203;17384](https://github.com/element-hq/synapse/issues/17384))
-   Bump mypy-zope from 1.0.4 to 1.0.5. ([#&#8203;17414](https://github.com/element-hq/synapse/issues/17414))
-   Bump pillow from 10.3.0 to 10.4.0. ([#&#8203;17412](https://github.com/element-hq/synapse/issues/17412))
-   Bump pydantic from 2.7.1 to 2.8.2. ([#&#8203;17415](https://github.com/element-hq/synapse/issues/17415))
-   Bump ruff from 0.3.7 to 0.5.0. ([#&#8203;17381](https://github.com/element-hq/synapse/issues/17381))
-   Bump serde from 1.0.203 to 1.0.204. ([#&#8203;17409](https://github.com/element-hq/synapse/issues/17409))
-   Bump serde_json from 1.0.117 to 1.0.120. ([#&#8203;17385](https://github.com/element-hq/synapse/issues/17385), [#&#8203;17408](https://github.com/element-hq/synapse/issues/17408))
-   Bump types-setuptools from 69.5.0.20240423 to 70.1.0.20240627. ([#&#8203;17380](https://github.com/element-hq/synapse/issues/17380))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #55
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-07-21 21:52:54 +02:00
9044901484 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.110.0 (#53)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.109.0` -> `v1.110.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.110.0`](https://github.com/element-hq/synapse/releases/tag/v1.110.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.109.0...v1.110.0)

### Synapse 1.110.0 (2024-07-03)

No significant changes since 1.110.0rc3.

### Synapse 1.110.0rc3 (2024-07-02)

##### Bugfixes

-   Fix bug where `/sync` requests could get blocked indefinitely after an upgrade from Synapse versions before v1.109.0. ([#&#8203;17386](https://github.com/element-hq/synapse/issues/17386), [#&#8203;17391](https://github.com/element-hq/synapse/issues/17391))

##### Internal Changes

-   Limit size of presence EDUs to 50 entries. ([#&#8203;17371](https://github.com/element-hq/synapse/issues/17371))
-   Fix building debian package for debian sid. ([#&#8203;17389](https://github.com/element-hq/synapse/issues/17389))

### Synapse 1.110.0rc2 (2024-06-26)

##### Internal Changes

-   Fix uploading packages to PyPi. ([#&#8203;17363](https://github.com/element-hq/synapse/issues/17363))

### Synapse 1.110.0rc1 (2024-06-26)

##### Features

-   Add initial implementation of an experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17187](https://github.com/element-hq/synapse/issues/17187), [#&#8203;17301](https://github.com/element-hq/synapse/issues/17301))
    -   Native sliding sync support is coming, but is not yet ready for usage outside of initial client development and testing. Expect to see much more on this feature in the next few Synapse releases.
-   Add experimental support for [MSC3823](https://github.com/matrix-org/matrix-spec-proposals/pull/3823) - Account suspension. ([#&#8203;17255](https://github.com/element-hq/synapse/issues/17255))
-   Improve ratelimiting in Synapse. ([#&#8203;17256](https://github.com/element-hq/synapse/issues/17256))
-   Add support for the unstable [MSC4151](https://github.com/matrix-org/matrix-spec-proposals/pull/4151) report room API. ([#&#8203;17270](https://github.com/element-hq/synapse/issues/17270), [#&#8203;17296](https://github.com/element-hq/synapse/issues/17296))
-   Filter for public and empty rooms added to Admin-API [List Room API](https://element-hq.github.io/synapse/latest/admin_api/rooms.html#list-room-api). ([#&#8203;17276](https://github.com/element-hq/synapse/issues/17276))
-   Add `is_dm` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17277](https://github.com/element-hq/synapse/issues/17277))
-   Add `is_encrypted` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17281](https://github.com/element-hq/synapse/issues/17281))
-   Include user membership in events served to clients, per [MSC4115](https://github.com/matrix-org/matrix-spec-proposals/pull/4115). ([#&#8203;17282](https://github.com/element-hq/synapse/issues/17282))
-   Do not require user-interactive authentication for uploading cross-signing keys for the first time, per [MSC3967](https://github.com/matrix-org/matrix-spec-proposals/pull/3967). ([#&#8203;17284](https://github.com/element-hq/synapse/issues/17284))
-   Add `stream_ordering` sort to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17293](https://github.com/element-hq/synapse/issues/17293))
-   `register_new_matrix_user` now supports a --password-file flag, which
    is useful for scripting. ([#&#8203;17294](https://github.com/element-hq/synapse/issues/17294))
-   `register_new_matrix_user` now supports a --exists-ok flag to allow registration of users that already exist in the database.
    This is useful for scripts that bootstrap user accounts with initial passwords. ([#&#8203;17304](https://github.com/element-hq/synapse/issues/17304))
-   Add support for via query parameter from [MSC4156](https://github.com/matrix-org/matrix-spec-proposals/pull/4156). ([#&#8203;17322](https://github.com/element-hq/synapse/issues/17322))
-   Add `is_invite` filtering to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. ([#&#8203;17335](https://github.com/element-hq/synapse/issues/17335))
-   Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/rav/authentication-for-media/proposals/3916-authentication-for-media.md) by adding a federation /download endpoint. ([#&#8203;17350](https://github.com/element-hq/synapse/issues/17350))

##### Bugfixes

-   Fix searching for users with their exact localpart whose ID includes a hyphen. ([#&#8203;17254](https://github.com/element-hq/synapse/issues/17254))
-   Fix wrong retention policy being used when filtering events. ([#&#8203;17272](https://github.com/element-hq/synapse/issues/17272))
-   Fix bug where OTKs were not always included in `/sync` response when using workers. ([#&#8203;17275](https://github.com/element-hq/synapse/issues/17275))
-   Fix a long-standing bug where an invalid 'from' parameter to [`/notifications`](https://spec.matrix.org/v1.10/client-server-api/#get_matrixclientv3notifications) would result in an Internal Server Error. ([#&#8203;17283](https://github.com/element-hq/synapse/issues/17283))
-   Fix edge case in `/sync` returning the wrong the state when using sharded event persisters. ([#&#8203;17295](https://github.com/element-hq/synapse/issues/17295))
-   Fix email notification subject when invited to a space. ([#&#8203;17336](https://github.com/element-hq/synapse/issues/17336))

##### Improved Documentation

-   Add missing quotes for example for `exclude_rooms_from_sync`. ([#&#8203;17308](https://github.com/element-hq/synapse/issues/17308))
-   Update header in the README to visually fix the the auto-generated table of contents. ([#&#8203;17329](https://github.com/element-hq/synapse/issues/17329))
-   Fix stale references to the Foundation's Security Disclosure Policy. ([#&#8203;17341](https://github.com/element-hq/synapse/issues/17341))
-   Add default values for `rc_invites.per_issuer` to docs. ([#&#8203;17347](https://github.com/element-hq/synapse/issues/17347))
-   Fix an error in the docs for `search_all_users` parameter under `user_directory`. ([#&#8203;17348](https://github.com/element-hq/synapse/issues/17348))

##### Internal Changes

-   Remove unused `expire_access_token` option in the Synapse Docker config file. Contributed by [@&#8203;AaronDewes](https://github.com/AaronDewes). ([#&#8203;17198](https://github.com/element-hq/synapse/issues/17198))
-   Use fully-qualified `PersistedEventPosition` when returning `RoomsForUser` to facilitate proper comparisons and `RoomStreamToken` generation. ([#&#8203;17265](https://github.com/element-hq/synapse/issues/17265))
-   Add debug logging for when room keys are uploaded, including whether they are replacing other room keys. ([#&#8203;17266](https://github.com/element-hq/synapse/issues/17266))
-   Handle OTK uploads off master. ([#&#8203;17271](https://github.com/element-hq/synapse/issues/17271))
-   Don't try and resync devices for remote users whose servers are marked as down. ([#&#8203;17273](https://github.com/element-hq/synapse/issues/17273))
-   Re-organize Pydantic models and types used in handlers. ([#&#8203;17279](https://github.com/element-hq/synapse/issues/17279))
-   Expose the worker instance that persisted the event on `event.internal_metadata.instance_name`. ([#&#8203;17300](https://github.com/element-hq/synapse/issues/17300))
-   Update the README with Element branding, improve headers and fix the #synapse:matrix.org support room link rendering. ([#&#8203;17324](https://github.com/element-hq/synapse/issues/17324))
-   Change path of the experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync implementation to `/org.matrix.simplified_msc3575/sync` since our simplified API is slightly incompatible with what's in the current MSC. ([#&#8203;17331](https://github.com/element-hq/synapse/issues/17331))
-   Handle device lists notifications for large accounts more efficiently in worker mode. ([#&#8203;17333](https://github.com/element-hq/synapse/issues/17333), [#&#8203;17358](https://github.com/element-hq/synapse/issues/17358))
-   Do not block event sending/receiving while calculating large event auth chains. ([#&#8203;17338](https://github.com/element-hq/synapse/issues/17338))
-   Tidy up `parse_integer` docs and call sites to reflect the fact that they require non-negative integers by default, and bring `parse_integer_from_args` default in alignment. Contributed by Denis Kasak ([@&#8203;dkasak](https://github.com/dkasak)). ([#&#8203;17339](https://github.com/element-hq/synapse/issues/17339))

##### Updates to locked dependencies

-   Bump authlib from 1.3.0 to 1.3.1. ([#&#8203;17343](https://github.com/element-hq/synapse/issues/17343))
-   Bump dawidd6/action-download-artifact from 3.1.4 to 5. ([#&#8203;17289](https://github.com/element-hq/synapse/issues/17289))
-   Bump dawidd6/action-download-artifact from 5 to 6. ([#&#8203;17313](https://github.com/element-hq/synapse/issues/17313))
-   Bump docker/build-push-action from 5 to 6. ([#&#8203;17312](https://github.com/element-hq/synapse/issues/17312))
-   Bump jinja2 from 3.1.3 to 3.1.4. ([#&#8203;17287](https://github.com/element-hq/synapse/issues/17287))
-   Bump lazy_static from 1.4.0 to 1.5.0. ([#&#8203;17355](https://github.com/element-hq/synapse/issues/17355))
-   Bump msgpack from 1.0.7 to 1.0.8. ([#&#8203;17317](https://github.com/element-hq/synapse/issues/17317))
-   Bump netaddr from 1.2.1 to 1.3.0. ([#&#8203;17353](https://github.com/element-hq/synapse/issues/17353))
-   Bump packaging from 24.0 to 24.1. ([#&#8203;17352](https://github.com/element-hq/synapse/issues/17352))
-   Bump phonenumbers from 8.13.37 to 8.13.39. ([#&#8203;17315](https://github.com/element-hq/synapse/issues/17315))
-   Bump regex from 1.10.4 to 1.10.5. ([#&#8203;17290](https://github.com/element-hq/synapse/issues/17290))
-   Bump requests from 2.31.0 to 2.32.2. ([#&#8203;17345](https://github.com/element-hq/synapse/issues/17345))
-   Bump sentry-sdk from 2.1.1 to 2.3.1. ([#&#8203;17263](https://github.com/element-hq/synapse/issues/17263))
-   Bump sentry-sdk from 2.3.1 to 2.6.0. ([#&#8203;17351](https://github.com/element-hq/synapse/issues/17351))
-   Bump tornado from 6.4 to 6.4.1. ([#&#8203;17344](https://github.com/element-hq/synapse/issues/17344))
-   Bump mypy from 1.8.0 to 1.9.0. ([#&#8203;17297](https://github.com/element-hq/synapse/issues/17297))
-   Bump types-jsonschema from 4.21.0.20240311 to 4.22.0.20240610. ([#&#8203;17288](https://github.com/element-hq/synapse/issues/17288))
-   Bump types-netaddr from 1.2.0.20240219 to 1.3.0.20240530. ([#&#8203;17314](https://github.com/element-hq/synapse/issues/17314))
-   Bump types-pillow from 10.2.0.20240423 to 10.2.0.20240520. ([#&#8203;17285](https://github.com/element-hq/synapse/issues/17285))
-   Bump types-pyyaml from 6.0.12.12 to 6.0.12.20240311. ([#&#8203;17316](https://github.com/element-hq/synapse/issues/17316))
-   Bump typing-extensions from 4.11.0 to 4.12.2. ([#&#8203;17354](https://github.com/element-hq/synapse/issues/17354))
-   Bump urllib3 from 2.0.7 to 2.2.2. ([#&#8203;17346](https://github.com/element-hq/synapse/issues/17346))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #53
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-07-07 17:16:34 +02:00
84b09a91cc chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.109.0 (#49)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.108.0` -> `v1.109.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.109.0`](https://github.com/element-hq/synapse/releases/tag/v1.109.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.108.0...v1.109.0)

### Synapse 1.109.0 (2024-06-18)

##### Internal Changes

-   Fix the building of binary wheels for macOS by switching to macOS 12 CI runners. ([#&#8203;17319](https://github.com/element-hq/synapse/issues/17319))

### Synapse 1.109.0rc3 (2024-06-17)

##### Bugfixes

-   When rolling back to a previous Synapse version and then forwards again to this release, don't require server operators to manually run SQL. ([#&#8203;17305](https://github.com/element-hq/synapse/issues/17305), [#&#8203;17309](https://github.com/element-hq/synapse/issues/17309))

##### Internal Changes

-   Use the release branch for sytest in release-branch PRs. ([#&#8203;17306](https://github.com/element-hq/synapse/issues/17306))

### Synapse 1.109.0rc2 (2024-06-11)

##### Bugfixes

-   Fix bug where one-time-keys were not always included in `/sync` response when using workers. Introduced in v1.109.0rc1. ([#&#8203;17275](https://github.com/element-hq/synapse/issues/17275))
-   Fix bug where `/sync` could get stuck due to edge case in device lists handling. Introduced in v1.109.0rc1. ([#&#8203;17292](https://github.com/element-hq/synapse/issues/17292))

### Synapse 1.109.0rc1 (2024-06-04)

##### Features

-   Add the ability to auto-accept invites on the behalf of users. See the [`auto_accept_invites`](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#auto-accept-invites) config option for details. ([#&#8203;17147](https://github.com/element-hq/synapse/issues/17147))
-   Add experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync/e2ee` endpoint for to-device messages and device encryption info. ([#&#8203;17167](https://github.com/element-hq/synapse/issues/17167))
-   Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/issues/3916) by adding unstable media endpoints to `/_matrix/client`. ([#&#8203;17213](https://github.com/element-hq/synapse/issues/17213))
-   Add logging to tasks managed by the task scheduler, showing CPU and database usage. ([#&#8203;17219](https://github.com/element-hq/synapse/issues/17219))

##### Bugfixes

-   Fix deduplicating of membership events to not create unused state groups. ([#&#8203;17164](https://github.com/element-hq/synapse/issues/17164))
-   Fix bug where duplicate events could be sent down sync when using workers that are overloaded. ([#&#8203;17215](https://github.com/element-hq/synapse/issues/17215))
-   Ignore attempts to send to-device messages to bad users, to avoid log spam when we try to connect to the bad server. ([#&#8203;17240](https://github.com/element-hq/synapse/issues/17240))
-   Fix handling of duplicate concurrent uploading of device one-time-keys. ([#&#8203;17241](https://github.com/element-hq/synapse/issues/17241))
-   Fix reporting of default tags to Sentry, such as worker name. Broke in v1.108.0. ([#&#8203;17251](https://github.com/element-hq/synapse/issues/17251))
-   Fix bug where typing updates would not be sent when using workers after a restart. ([#&#8203;17252](https://github.com/element-hq/synapse/issues/17252))

##### Improved Documentation

-   Update the LemonLDAP documentation to say that claims should be explicitly included in the returned `id_token`, as Synapse won't request them. ([#&#8203;17204](https://github.com/element-hq/synapse/issues/17204))

##### Internal Changes

-   Improve DB usage when fetching related events. ([#&#8203;17083](https://github.com/element-hq/synapse/issues/17083))
-   Log exceptions when failing to auto-join new user according to the `auto_join_rooms` option. ([#&#8203;17176](https://github.com/element-hq/synapse/issues/17176))
-   Reduce work of calculating outbound device lists updates. ([#&#8203;17211](https://github.com/element-hq/synapse/issues/17211))
-   Improve performance of calculating device lists changes in `/sync`. ([#&#8203;17216](https://github.com/element-hq/synapse/issues/17216))
-   Move towards using `MultiWriterIdGenerator` everywhere. ([#&#8203;17226](https://github.com/element-hq/synapse/issues/17226))
-   Replaces all usages of `StreamIdGenerator` with `MultiWriterIdGenerator`. ([#&#8203;17229](https://github.com/element-hq/synapse/issues/17229))
-   Change the `allow_unsafe_locale` config option to also apply when setting up new databases. ([#&#8203;17238](https://github.com/element-hq/synapse/issues/17238))
-   Fix errors in logs about closing incorrect logging contexts when media gets rejected by a module. ([#&#8203;17239](https://github.com/element-hq/synapse/issues/17239), [#&#8203;17246](https://github.com/element-hq/synapse/issues/17246))
-   Clean out invalid destinations from `device_federation_outbox` table. ([#&#8203;17242](https://github.com/element-hq/synapse/issues/17242))
-   Stop logging errors when receiving invalid User IDs in key querys requests. ([#&#8203;17250](https://github.com/element-hq/synapse/issues/17250))

##### Updates to locked dependencies

-   Bump anyhow from 1.0.83 to 1.0.86. ([#&#8203;17220](https://github.com/element-hq/synapse/issues/17220))
-   Bump bcrypt from 4.1.2 to 4.1.3. ([#&#8203;17224](https://github.com/element-hq/synapse/issues/17224))
-   Bump lxml from 5.2.1 to 5.2.2. ([#&#8203;17261](https://github.com/element-hq/synapse/issues/17261))
-   Bump mypy-zope from 1.0.3 to 1.0.4. ([#&#8203;17262](https://github.com/element-hq/synapse/issues/17262))
-   Bump phonenumbers from 8.13.35 to 8.13.37. ([#&#8203;17235](https://github.com/element-hq/synapse/issues/17235))
-   Bump prometheus-client from 0.19.0 to 0.20.0. ([#&#8203;17233](https://github.com/element-hq/synapse/issues/17233))
-   Bump pyasn1 from 0.5.1 to 0.6.0. ([#&#8203;17223](https://github.com/element-hq/synapse/issues/17223))
-   Bump pyicu from 2.13 to 2.13.1. ([#&#8203;17236](https://github.com/element-hq/synapse/issues/17236))
-   Bump pyopenssl from 24.0.0 to 24.1.0. ([#&#8203;17234](https://github.com/element-hq/synapse/issues/17234))
-   Bump serde from 1.0.201 to 1.0.202. ([#&#8203;17221](https://github.com/element-hq/synapse/issues/17221))
-   Bump serde from 1.0.202 to 1.0.203. ([#&#8203;17232](https://github.com/element-hq/synapse/issues/17232))
-   Bump twine from 5.0.0 to 5.1.0. ([#&#8203;17225](https://github.com/element-hq/synapse/issues/17225))
-   Bump types-psycopg2 from 2.9.21.20240311 to 2.9.21.20240417. ([#&#8203;17222](https://github.com/element-hq/synapse/issues/17222))
-   Bump types-pyopenssl from 24.0.0.20240311 to 24.1.0.20240425. ([#&#8203;17260](https://github.com/element-hq/synapse/issues/17260))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDguMiIsInVwZGF0ZWRJblZlciI6IjM3LjQwOC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#49
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-06-24 19:01:31 +02:00
80a98fde7e chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.108.0 (#44)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.107.0` -> `v1.108.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.108.0`](https://github.com/element-hq/synapse/releases/tag/v1.108.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.107.0...v1.108.0)

### Synapse 1.108.0 (2024-05-28)

No significant changes since 1.108.0rc1.

### Synapse 1.108.0rc1 (2024-05-21)

##### Features

-   Add a feature that allows clients to query the configured federation whitelist. Disabled by default. ([#&#8203;16848](https://github.com/element-hq/synapse/issues/16848), [#&#8203;17199](https://github.com/element-hq/synapse/issues/17199))
-   Add the ability to allow numeric user IDs with a specific prefix when in the CAS flow. Contributed by Aurélien Grimpard. ([#&#8203;17098](https://github.com/element-hq/synapse/issues/17098))

##### Bugfixes

-   Fix bug where push rules would be empty in `/sync` for some accounts. Introduced in v1.93.0. ([#&#8203;17142](https://github.com/element-hq/synapse/issues/17142))
-   Add support for optional whitespace around the Federation API's `Authorization` header's parameter commas. ([#&#8203;17145](https://github.com/element-hq/synapse/issues/17145))
-   Fix bug where disabling room publication prevented public rooms being created on workers. ([#&#8203;17177](https://github.com/element-hq/synapse/issues/17177), [#&#8203;17184](https://github.com/element-hq/synapse/issues/17184))

##### Improved Documentation

-   Document [`/v1/make_knock`](https://spec.matrix.org/v1.10/server-server-api/#get_matrixfederationv1make_knockroomiduserid) and [`/v1/send_knock/`](https://spec.matrix.org/v1.10/server-server-api/#put_matrixfederationv1send_knockroomideventid) federation endpoints as worker-compatible. ([#&#8203;17058](https://github.com/element-hq/synapse/issues/17058))
-   Update User Admin API with note about prefixing OIDC external_id providers. ([#&#8203;17139](https://github.com/element-hq/synapse/issues/17139))
-   Clarify the state of the created room when using the `autocreate_auto_join_room_preset` config option. ([#&#8203;17150](https://github.com/element-hq/synapse/issues/17150))
-   Update the Admin FAQ with the current libjemalloc version for latest Debian stable. Additionally update the name of the "push_rules" stream in the Workers documentation. ([#&#8203;17171](https://github.com/element-hq/synapse/issues/17171))

##### Internal Changes

-   Add note to reflect that [MSC3886](https://github.com/matrix-org/matrix-spec-proposals/pull/3886) is closed but will remain supported for some time. ([#&#8203;17151](https://github.com/element-hq/synapse/issues/17151))
-   Update dependency PyO3 to 0.21. ([#&#8203;17162](https://github.com/element-hq/synapse/issues/17162))
-   Fixes linter errors found in PR [#&#8203;17147](https://github.com/element-hq/synapse/issues/17147). ([#&#8203;17166](https://github.com/element-hq/synapse/issues/17166))
-   Bump black from 24.2.0 to 24.4.2. ([#&#8203;17170](https://github.com/element-hq/synapse/issues/17170))
-   Cache literal sync filter validation for performance. ([#&#8203;17186](https://github.com/element-hq/synapse/issues/17186))
-   Improve performance by fixing a reactor pause. ([#&#8203;17192](https://github.com/element-hq/synapse/issues/17192))
-   Route `/make_knock` and `/send_knock` federation APIs to the federation reader worker in Complement test runs. ([#&#8203;17195](https://github.com/element-hq/synapse/issues/17195))
-   Prepare sync handler to be able to return different sync responses (`SyncVersion`). ([#&#8203;17200](https://github.com/element-hq/synapse/issues/17200))
-   Organize the sync cache key parameter outside of the sync config (separate concerns). ([#&#8203;17201](https://github.com/element-hq/synapse/issues/17201))
-   Refactor `SyncResultBuilder` assembly to its own function. ([#&#8203;17202](https://github.com/element-hq/synapse/issues/17202))
-   Rename to be obvious: `joined_rooms` -> `joined_room_ids`. ([#&#8203;17203](https://github.com/element-hq/synapse/issues/17203), [#&#8203;17208](https://github.com/element-hq/synapse/issues/17208))
-   Add a short pause when rate-limiting a request. ([#&#8203;17210](https://github.com/element-hq/synapse/issues/17210))

##### Updates to locked dependencies

-   Bump cryptography from 42.0.5 to 42.0.7. ([#&#8203;17180](https://github.com/element-hq/synapse/issues/17180))
-   Bump gitpython from 3.1.41 to 3.1.43. ([#&#8203;17181](https://github.com/element-hq/synapse/issues/17181))
-   Bump immutabledict from 4.1.0 to 4.2.0. ([#&#8203;17179](https://github.com/element-hq/synapse/issues/17179))
-   Bump sentry-sdk from 1.40.3 to 2.1.1. ([#&#8203;17178](https://github.com/element-hq/synapse/issues/17178))
-   Bump serde from 1.0.200 to 1.0.201. ([#&#8203;17183](https://github.com/element-hq/synapse/issues/17183))
-   Bump serde_json from 1.0.116 to 1.0.117. ([#&#8203;17182](https://github.com/element-hq/synapse/issues/17182))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#44
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-06-13 14:47:49 +02:00
611949ab8a chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.107.0 (#43)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.106.0` -> `v1.107.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.107.0`](https://github.com/element-hq/synapse/releases/tag/v1.107.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.106.0...v1.107.0)

# Synapse 1.107.0 (2024-05-14)

No significant changes since 1.107.0rc1.

### Synapse 1.107.0rc1 (2024-05-07)

##### Features

-   Add preliminary support for [MSC3823: Account Suspension](https://github.com/matrix-org/matrix-spec-proposals/pull/3823). ([#&#8203;17051](https://github.com/element-hq/synapse/issues/17051))
-   Declare support for [Matrix v1.10](https://matrix.org/blog/2024/03/22/matrix-v1.10-release/). Contributed by [@&#8203;clokep](https://github.com/clokep). ([#&#8203;17082](https://github.com/element-hq/synapse/issues/17082))
-   Add support for [MSC4115: membership metadata on events](https://github.com/matrix-org/matrix-spec-proposals/pull/4115). ([#&#8203;17104](https://github.com/element-hq/synapse/issues/17104), [#&#8203;17137](https://github.com/element-hq/synapse/issues/17137))

##### Bugfixes

-   Fixed search feature of Element Android on homesevers using SQLite by returning search terms as search highlights. ([#&#8203;17000](https://github.com/element-hq/synapse/issues/17000))
-   Fixes a bug introduced in v1.52.0 where the `destination` query parameter for the  [Destination Rooms Admin API](https://element-hq.github.io/synapse/v1.105/usage/administration/admin_api/federation.html#destination-rooms) failed to actually filter returned rooms. ([#&#8203;17077](https://github.com/element-hq/synapse/issues/17077))
-   For MSC3266 room summaries, support queries at the recommended endpoint of `/_matrix/client/unstable/im.nheko.summary/summary/{roomIdOrAlias}`. The existing endpoint of `/_matrix/client/unstable/im.nheko.summary/rooms/{roomIdOrAlias}/summary` is deprecated. ([#&#8203;17078](https://github.com/element-hq/synapse/issues/17078))
-   Apply user email & picture during OIDC registration if present & selected. ([#&#8203;17120](https://github.com/element-hq/synapse/issues/17120))
-   Improve error message for cross signing reset with [MSC3861](https://github.com/matrix-org/matrix-spec-proposals/pull/3861) enabled. ([#&#8203;17121](https://github.com/element-hq/synapse/issues/17121))
-   Fix a bug which meant that to-device messages received over federation could be dropped when the server was under load or networking problems caused problems between Synapse processes or the database. ([#&#8203;17127](https://github.com/element-hq/synapse/issues/17127))
-   Fix bug where `StreamChangeCache` would not respect configured cache factors. ([#&#8203;17152](https://github.com/element-hq/synapse/issues/17152))

##### Updates to the Docker image

-   Correct licensing metadata on Docker image. ([#&#8203;17141](https://github.com/element-hq/synapse/issues/17141))

##### Improved Documentation

-   Update the `event_cache_size` and `global_factor` configuration options' documentation. ([#&#8203;17071](https://github.com/element-hq/synapse/issues/17071))
-   Remove broken sphinx docs. ([#&#8203;17073](https://github.com/element-hq/synapse/issues/17073), [#&#8203;17148](https://github.com/element-hq/synapse/issues/17148))
-   Add RuntimeDirectory to example matrix-synapse.service systemd unit. ([#&#8203;17084](https://github.com/element-hq/synapse/issues/17084))
-   Fix various small typos throughout the docs. ([#&#8203;17114](https://github.com/element-hq/synapse/issues/17114))
-   Update enable_notifs configuration documentation. ([#&#8203;17116](https://github.com/element-hq/synapse/issues/17116))
-   Update the Upgrade Notes with the latest minimum supported Rust version of 1.66.0. Contributed by [@&#8203;jahway603](https://github.com/jahway603). ([#&#8203;17140](https://github.com/element-hq/synapse/issues/17140))

##### Internal Changes

-   Enable [MSC3266](https://github.com/matrix-org/matrix-spec-proposals/pull/3266) by default in the Synapse Complement image. ([#&#8203;17105](https://github.com/element-hq/synapse/issues/17105))
-   Add optimisation to `StreamChangeCache.get_entities_changed(..)`. ([#&#8203;17130](https://github.com/element-hq/synapse/issues/17130))

##### Updates to locked dependencies

-   Bump furo from 2024.1.29 to 2024.4.27. ([#&#8203;17133](https://github.com/element-hq/synapse/issues/17133))
-   Bump idna from 3.6 to 3.7. ([#&#8203;17136](https://github.com/element-hq/synapse/issues/17136))
-   Bump jsonschema from 4.21.1 to 4.22.0. ([#&#8203;17157](https://github.com/element-hq/synapse/issues/17157))
-   Bump lxml from 5.1.0 to 5.2.1. ([#&#8203;17158](https://github.com/element-hq/synapse/issues/17158))
-   Bump phonenumbers from 8.13.29 to 8.13.35. ([#&#8203;17106](https://github.com/element-hq/synapse/issues/17106))

<!---->

-   Bump pillow from 10.2.0 to 10.3.0. ([#&#8203;17146](https://github.com/element-hq/synapse/issues/17146))

<!---->

-   Bump pydantic from 2.6.4 to 2.7.0. ([#&#8203;17107](https://github.com/element-hq/synapse/issues/17107))
-   Bump pydantic from 2.7.0 to 2.7.1. ([#&#8203;17160](https://github.com/element-hq/synapse/issues/17160))
-   Bump pyicu from 2.12 to 2.13. ([#&#8203;17109](https://github.com/element-hq/synapse/issues/17109))
-   Bump serde from 1.0.197 to 1.0.198. ([#&#8203;17111](https://github.com/element-hq/synapse/issues/17111))
-   Bump serde from 1.0.198 to 1.0.199. ([#&#8203;17132](https://github.com/element-hq/synapse/issues/17132))
-   Bump serde from 1.0.199 to 1.0.200. ([#&#8203;17161](https://github.com/element-hq/synapse/issues/17161))
-   Bump serde_json from 1.0.115 to 1.0.116. ([#&#8203;17112](https://github.com/element-hq/synapse/issues/17112))

<!---->

-   Update `tornado` Python dependency from 6.2 to 6.4. ([#&#8203;17131](https://github.com/element-hq/synapse/issues/17131))

<!---->

-   Bump twisted from 23.10.0 to 24.3.0. ([#&#8203;17135](https://github.com/element-hq/synapse/issues/17135))
-   Bump types-bleach from 6.1.0.1 to 6.1.0.20240331. ([#&#8203;17110](https://github.com/element-hq/synapse/issues/17110))
-   Bump types-pillow from 10.2.0.20240415 to 10.2.0.20240423. ([#&#8203;17159](https://github.com/element-hq/synapse/issues/17159))
-   Bump types-setuptools from 69.0.0.20240125 to 69.5.0.20240423. ([#&#8203;17134](https://github.com/element-hq/synapse/issues/17134))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM1Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#43
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-05-19 14:45:14 +02:00
aa3d9cc31b chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.106.0 (#41)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.105.1` -> `v1.106.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.106.0`](https://github.com/element-hq/synapse/releases/tag/v1.106.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.105.1...v1.106.0)

### Synapse 1.106.0 (2024-04-30)

No significant changes since 1.106.0rc1.

### Synapse 1.106.0rc1 (2024-04-25)

##### Features

-   Send an email if the address is already bound to an user account. ([#&#8203;16819](https://github.com/element-hq/synapse/issues/16819))
-   Implement the rendezvous mechanism described by [MSC4108](https://github.com/matrix-org/matrix-spec-proposals/issues/4108). ([#&#8203;17056](https://github.com/element-hq/synapse/issues/17056))
-   Support delegating the rendezvous mechanism described [MSC4108](https://github.com/matrix-org/matrix-spec-proposals/issues/4108) to an external implementation. ([#&#8203;17086](https://github.com/element-hq/synapse/issues/17086))

##### Bugfixes

-   Add validation to ensure that the `limit` parameter on `/publicRooms` is non-negative. ([#&#8203;16920](https://github.com/element-hq/synapse/issues/16920))
-   Return `400 M_NOT_JSON` upon receiving invalid JSON in query parameters across various client and admin endpoints, rather than an internal server error. ([#&#8203;16923](https://github.com/element-hq/synapse/issues/16923))
-   Make the CSAPI endpoint `/keys/device_signing/upload` idempotent. ([#&#8203;16943](https://github.com/element-hq/synapse/issues/16943))
-   Redact membership events if the user requested erasure upon deactivating. ([#&#8203;17076](https://github.com/element-hq/synapse/issues/17076))

##### Improved Documentation

-   Add a prompt in the contributing guide to manually configure icu4c. ([#&#8203;17069](https://github.com/element-hq/synapse/issues/17069))
-   Clarify what part of message retention is still experimental. ([#&#8203;17099](https://github.com/element-hq/synapse/issues/17099))

##### Internal Changes

-   Use new receipts column to optimise receipt and push action SQL queries. Contributed by Nick @&#8203; Beeper ([@&#8203;fizzadar](https://github.com/fizzadar)). ([#&#8203;17032](https://github.com/element-hq/synapse/issues/17032), [#&#8203;17096](https://github.com/element-hq/synapse/issues/17096))
-   Fix mypy with latest Twisted release. ([#&#8203;17036](https://github.com/element-hq/synapse/issues/17036))
-   Bump minimum supported Rust version to 1.66.0. ([#&#8203;17079](https://github.com/element-hq/synapse/issues/17079))
-   Add helpers to transform Twisted requests to Rust http Requests/Responses. ([#&#8203;17081](https://github.com/element-hq/synapse/issues/17081))
-   Fix type annotation for `visited_chains` after `mypy` upgrade. ([#&#8203;17125](https://github.com/element-hq/synapse/issues/17125))

##### Updates to locked dependencies

-   Bump anyhow from 1.0.81 to 1.0.82. ([#&#8203;17095](https://github.com/element-hq/synapse/issues/17095))
-   Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0. ([#&#8203;17087](https://github.com/element-hq/synapse/issues/17087))
-   Bump peaceiris/actions-mdbook from 1.2.0 to 2.0.0. ([#&#8203;17089](https://github.com/element-hq/synapse/issues/17089))
-   Bump pyasn1-modules from 0.3.0 to 0.4.0. ([#&#8203;17093](https://github.com/element-hq/synapse/issues/17093))
-   Bump pygithub from 2.2.0 to 2.3.0. ([#&#8203;17092](https://github.com/element-hq/synapse/issues/17092))
-   Bump ruff from 0.3.5 to 0.3.7. ([#&#8203;17094](https://github.com/element-hq/synapse/issues/17094))
-   Bump sigstore/cosign-installer from 3.4.0 to 3.5.0. ([#&#8203;17088](https://github.com/element-hq/synapse/issues/17088))
-   Bump twine from 4.0.2 to 5.0.0. ([#&#8203;17091](https://github.com/element-hq/synapse/issues/17091))
-   Bump types-pillow from 10.2.0.20240406 to 10.2.0.20240415. ([#&#8203;17090](https://github.com/element-hq/synapse/issues/17090))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjYuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMyNi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#41
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-05-04 21:07:56 +02:00
65cab84f41 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.105.1 (#37)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.104.0` -> `v1.105.1` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.105.1`](https://github.com/element-hq/synapse/releases/tag/v1.105.1)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.105.0...v1.105.1)

### Synapse 1.105.1 (2024-04-23)

#### Security advisory

The following issues are fixed in 1.105.1.

-   [GHSA-3h7q-rfh9-xm4v](https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v) / [CVE-2024-31208](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31208) — High Severity

    Weakness in auth chain indexing allows DoS from remote room members through disk fill and high CPU usage.

See the advisories for more details. If you have any questions, email security@element.io.

### [`v1.105.0`](https://github.com/element-hq/synapse/releases/tag/v1.105.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.104.0...v1.105.0)

### Synapse 1.105.0 (2024-04-16)

No significant changes since 1.105.0rc1.

### Synapse 1.105.0rc1 (2024-04-11)

##### Features

-   Stabilize support for [MSC4010](https://github.com/matrix-org/matrix-spec-proposals/pull/4010) which clarifies the interaction of push rules and account data. Contributed by [@&#8203;clokep](https://github.com/clokep). ([#&#8203;17022](https://github.com/element-hq/synapse/issues/17022))
-   Stabilize support for [MSC3981](https://github.com/matrix-org/matrix-spec-proposals/pull/3981): `/relations` recursion. Contributed by [@&#8203;clokep](https://github.com/clokep). ([#&#8203;17023](https://github.com/element-hq/synapse/issues/17023))
-   Add support for moving `/pushrules` off of main process. ([#&#8203;17037](https://github.com/element-hq/synapse/issues/17037), [#&#8203;17038](https://github.com/element-hq/synapse/issues/17038))

##### Bugfixes

-   Fix various long-standing bugs which could cause incorrect state to be returned from `/sync` in certain situations. ([#&#8203;16930](https://github.com/element-hq/synapse/issues/16930), [#&#8203;16932](https://github.com/element-hq/synapse/issues/16932), [#&#8203;16942](https://github.com/element-hq/synapse/issues/16942), [#&#8203;17064](https://github.com/element-hq/synapse/issues/17064), [#&#8203;17065](https://github.com/element-hq/synapse/issues/17065), [#&#8203;17066](https://github.com/element-hq/synapse/issues/17066))
-   Fix server notice rooms not always being created as unencrypted rooms, even when `encryption_enabled_by_default_for_room_type` is in use (server notices are always unencrypted). ([#&#8203;17033](https://github.com/element-hq/synapse/issues/17033))
-   Fix the `.m.rule.encrypted_room_one_to_one` and `.m.rule.room_one_to_one` default underride push rules being in the wrong order. Contributed by [@&#8203;Sumpy1](https://github.com/Sumpy1). ([#&#8203;17043](https://github.com/element-hq/synapse/issues/17043))

##### Internal Changes

-   Refactor auth chain fetching to reduce duplication. ([#&#8203;17044](https://github.com/element-hq/synapse/issues/17044))
-   Improve database performance by adding a missing index to `access_tokens.refresh_token_id`. ([#&#8203;17045](https://github.com/element-hq/synapse/issues/17045), [#&#8203;17054](https://github.com/element-hq/synapse/issues/17054))
-   Improve database performance by reducing number of receipts fetched when sending push notifications. ([#&#8203;17049](https://github.com/element-hq/synapse/issues/17049))

##### Updates to locked dependencies

-   Bump packaging from 23.2 to 24.0. ([#&#8203;17027](https://github.com/element-hq/synapse/issues/17027))
-   Bump regex from 1.10.3 to 1.10.4. ([#&#8203;17028](https://github.com/element-hq/synapse/issues/17028))
-   Bump ruff from 0.3.2 to 0.3.5. ([#&#8203;17060](https://github.com/element-hq/synapse/issues/17060))
-   Bump serde_json from 1.0.114 to 1.0.115. ([#&#8203;17041](https://github.com/element-hq/synapse/issues/17041))
-   Bump types-pillow from 10.2.0.20240125 to 10.2.0.20240406. ([#&#8203;17061](https://github.com/element-hq/synapse/issues/17061))
-   Bump types-requests from 2.31.0.20240125 to 2.31.0.20240406. ([#&#8203;17063](https://github.com/element-hq/synapse/issues/17063))
-   Bump typing-extensions from 4.9.0 to 4.11.0. ([#&#8203;17062](https://github.com/element-hq/synapse/issues/17062))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#37
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-04-25 17:34:33 +02:00
be3d4174e1 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.104.0 (#36)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.103.0` -> `v1.104.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.104.0`](https://github.com/element-hq/synapse/releases/tag/v1.104.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.103.0...v1.104.0)

### Synapse 1.104.0 (2024-04-02)

##### Bugfixes

-   Fix regression when using OIDC provider. Introduced in v1.104.0rc1. ([#&#8203;17031](https://github.com/element-hq/synapse/issues/17031))

### Synapse 1.104.0rc1 (2024-03-26)

##### Features

-   Add an OIDC config to specify extra parameters for the authorization grant URL. IT can be useful to pass an ACR value for example. ([#&#8203;16971](https://github.com/element-hq/synapse/issues/16971))
-   Add support for OIDC provider returning JWT. ([#&#8203;16972](https://github.com/element-hq/synapse/issues/16972), [#&#8203;17031](https://github.com/element-hq/synapse/issues/17031))

##### Bugfixes

-   Fix a bug which meant that, under certain circumstances, we might never retry sending events or to-device messages over federation after a failure. ([#&#8203;16925](https://github.com/element-hq/synapse/issues/16925))
-   Fix various long-standing bugs which could cause incorrect state to be returned from `/sync` in certain situations. ([#&#8203;16949](https://github.com/element-hq/synapse/issues/16949))
-   Fix case in which `m.fully_read` marker would not get updated. Contributed by [@&#8203;SpiritCroc](https://github.com/SpiritCroc). ([#&#8203;16990](https://github.com/element-hq/synapse/issues/16990))
-   Fix bug which did not retract a user's pending knocks at rooms when their account was deactivated. Contributed by [@&#8203;hanadi92](https://github.com/hanadi92). ([#&#8203;17010](https://github.com/element-hq/synapse/issues/17010))

##### Updates to the Docker image

-   Updated `start.py` to generate config using the correct user ID when running as root (fixes [#&#8203;16824](https://github.com/element-hq/synapse/issues/16824), [#&#8203;15202](https://github.com/element-hq/synapse/issues/15202)). ([#&#8203;16978](https://github.com/element-hq/synapse/issues/16978))

##### Improved Documentation

-   Add a query to force a refresh of a remote user's device list to the "Useful SQL for Admins" documentation page. ([#&#8203;16892](https://github.com/element-hq/synapse/issues/16892))
-   Minor grammatical corrections to the upgrade documentation. ([#&#8203;16965](https://github.com/element-hq/synapse/issues/16965))
-   Fix the sort order for the documentation version picker, so that newer releases appear above older ones. ([#&#8203;16966](https://github.com/element-hq/synapse/issues/16966))
-   Remove recommendation for a specific poetry version from contributing guide. ([#&#8203;17002](https://github.com/element-hq/synapse/issues/17002))

##### Internal Changes

-   Improve lock performance when a lot of locks are all waiting for a single lock to be released. ([#&#8203;16840](https://github.com/element-hq/synapse/issues/16840))
-   Update power level default for public rooms. ([#&#8203;16907](https://github.com/element-hq/synapse/issues/16907))
-   Improve event validation. ([#&#8203;16908](https://github.com/element-hq/synapse/issues/16908))
-   Multi-worker-docker-container: disable log buffering. ([#&#8203;16919](https://github.com/element-hq/synapse/issues/16919))
-   Refactor state delta calculation in `/sync` handler. ([#&#8203;16929](https://github.com/element-hq/synapse/issues/16929))
-   Clarify docs for some room state functions. ([#&#8203;16950](https://github.com/element-hq/synapse/issues/16950))
-   Specify IP subnets in canonical form. ([#&#8203;16953](https://github.com/element-hq/synapse/issues/16953))
-   As done for SAML mapping provider, let's pass the module API to the OIDC one so the mapper can do more logic in its code. ([#&#8203;16974](https://github.com/element-hq/synapse/issues/16974))
-   Allow containers building on top of Synapse's Complement container is use the included PostgreSQL cluster. ([#&#8203;16985](https://github.com/element-hq/synapse/issues/16985))
-   Raise poetry-core version cap to 1.9.0. ([#&#8203;16986](https://github.com/element-hq/synapse/issues/16986))
-   Patch the db conn pool sooner in tests. ([#&#8203;17017](https://github.com/element-hq/synapse/issues/17017))

##### Updates to locked dependencies

-   Bump anyhow from 1.0.80 to 1.0.81. ([#&#8203;17009](https://github.com/element-hq/synapse/issues/17009))
-   Bump black from 23.10.1 to 24.2.0. ([#&#8203;16936](https://github.com/element-hq/synapse/issues/16936))
-   Bump cryptography from 41.0.7 to 42.0.5. ([#&#8203;16958](https://github.com/element-hq/synapse/issues/16958))
-   Bump dawidd6/action-download-artifact from 3.1.1 to 3.1.2. ([#&#8203;16960](https://github.com/element-hq/synapse/issues/16960))
-   Bump dawidd6/action-download-artifact from 3.1.2 to 3.1.4. ([#&#8203;17008](https://github.com/element-hq/synapse/issues/17008))
-   Bump jinja2 from 3.1.2 to 3.1.3. ([#&#8203;17005](https://github.com/element-hq/synapse/issues/17005))
-   Bump log from 0.4.20 to 0.4.21. ([#&#8203;16977](https://github.com/element-hq/synapse/issues/16977))
-   Bump mypy from 1.5.1 to 1.8.0. ([#&#8203;16901](https://github.com/element-hq/synapse/issues/16901))
-   Bump netaddr from 0.9.0 to 1.2.1. ([#&#8203;17006](https://github.com/element-hq/synapse/issues/17006))
-   Bump pydantic from 2.6.0 to 2.6.4. ([#&#8203;17004](https://github.com/element-hq/synapse/issues/17004))
-   Bump pyo3 from 0.20.2 to 0.20.3. ([#&#8203;16962](https://github.com/element-hq/synapse/issues/16962))
-   Bump ruff from 0.1.14 to 0.3.2. ([#&#8203;16994](https://github.com/element-hq/synapse/issues/16994))
-   Bump serde from 1.0.196 to 1.0.197. ([#&#8203;16963](https://github.com/element-hq/synapse/issues/16963))
-   Bump serde_json from 1.0.113 to 1.0.114. ([#&#8203;16961](https://github.com/element-hq/synapse/issues/16961))
-   Bump types-jsonschema from 4.21.0.20240118 to 4.21.0.20240311. ([#&#8203;17007](https://github.com/element-hq/synapse/issues/17007))
-   Bump types-psycopg2 from 2.9.21.16 to 2.9.21.20240311. ([#&#8203;16995](https://github.com/element-hq/synapse/issues/16995))
-   Bump types-pyopenssl from 23.3.0.0 to 24.0.0.20240311. ([#&#8203;17003](https://github.com/element-hq/synapse/issues/17003))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjI3OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#36
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-04-04 18:00:49 +02:00
9da582e0d8 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.103.0 (#29)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.102.0` -> `v1.103.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.103.0`](https://github.com/element-hq/synapse/releases/tag/v1.103.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.102.0...v1.103.0)

### Synapse 1.103.0 (2024-03-19)

No significant changes since 1.103.0rc1.

### Synapse 1.103.0rc1 (2024-03-12)

##### Features

-   Add a new [List Accounts v3](https://element-hq.github.io/synapse/v1.103/admin_api/user_admin_api.html#list-accounts-v3) Admin API with improved deactivated user filtering capabilities. ([#&#8203;16874](https://github.com/element-hq/synapse/issues/16874))
-   Include `Retry-After` header by default per [MSC4041](https://github.com/matrix-org/matrix-spec-proposals/pull/4041). Contributed by [@&#8203;clokep](https://github.com/clokep). ([#&#8203;16947](https://github.com/element-hq/synapse/issues/16947))

##### Bugfixes

-   Fix joining remote rooms when a module uses the `on_new_event` callback. This callback may now pass partial state events instead of the full state for remote rooms. Introduced in v1.76.0. ([#&#8203;16973](https://github.com/element-hq/synapse/issues/16973))
-   Fix performance issue when joining very large rooms that can cause the server to lock up. Introduced in v1.100.0. Contributed by [@&#8203;ggogel](https://github.com/ggogel). ([#&#8203;16968](https://github.com/element-hq/synapse/issues/16968))

##### Improved Documentation

-   Add HAProxy example for single port operation to reverse proxy documentation. Contributed by Georg Pfuetzenreuter ([@&#8203;tacerus](https://github.com/tacerus)). ([#&#8203;16768](https://github.com/element-hq/synapse/issues/16768))
-   Improve the documentation around running Complement tests with new configuration parameters. ([#&#8203;16946](https://github.com/element-hq/synapse/issues/16946))
-   Add docs on upgrading from a very old version. ([#&#8203;16951](https://github.com/element-hq/synapse/issues/16951))

##### Updates to locked dependencies

-   Bump JasonEtco/create-an-issue from 2.9.1 to 2.9.2. ([#&#8203;16934](https://github.com/element-hq/synapse/issues/16934))
-   Bump anyhow from 1.0.79 to 1.0.80. ([#&#8203;16935](https://github.com/element-hq/synapse/issues/16935))
-   Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.1. ([#&#8203;16933](https://github.com/element-hq/synapse/issues/16933))
-   Bump furo from 2023.9.10 to 2024.1.29. ([#&#8203;16939](https://github.com/element-hq/synapse/issues/16939))
-   Bump pyopenssl from 23.3.0 to 24.0.0. ([#&#8203;16937](https://github.com/element-hq/synapse/issues/16937))
-   Bump types-netaddr from 0.10.0.20240106 to 1.2.0.20240219. ([#&#8203;16938](https://github.com/element-hq/synapse/issues/16938))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI1MC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#29
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-03-21 22:01:30 +01:00
c6e63f1b6a chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.102.0 (#27)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.101.0` -> `v1.102.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.102.0`](https://github.com/element-hq/synapse/releases/tag/v1.102.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.101.0...v1.102.0)

### Synapse 1.102.0 (2024-03-05)

##### Bugfixes

-   Revert https://github.com/element-hq/synapse/pull/16756, which caused incorrect notification counts on mobile clients since v1.100.0. ([#&#8203;16979](https://github.com/element-hq/synapse/issues/16979))

### Synapse 1.102.0rc1 (2024-02-20)

##### Features

-   A metric was added for emails sent by Synapse, broken down by type: `synapse_emails_sent_total`. Contributed by Remi Rampin. ([#&#8203;16881](https://github.com/element-hq/synapse/issues/16881))

##### Bugfixes

-   Do not send multiple concurrent requests for keys for the same server. ([#&#8203;16894](https://github.com/element-hq/synapse/issues/16894))
-   Fix performance issue when joining very large rooms that can cause the server to lock up. Introduced in v1.100.0. ([#&#8203;16903](https://github.com/element-hq/synapse/issues/16903))
-   Always prefer unthreaded receipt when >1 exist ([MSC4102](https://github.com/matrix-org/matrix-spec-proposals/pull/4102)). ([#&#8203;16927](https://github.com/element-hq/synapse/issues/16927))

##### Improved Documentation

-   Fix a small typo in the Rooms section of the Admin API documentation. Contributed by [@&#8203;RainerZufall187](https://github.com/RainerZufall187). ([#&#8203;16857](https://github.com/element-hq/synapse/issues/16857))

##### Internal Changes

-   Don't invalidate the entire event cache when we purge history. ([#&#8203;16905](https://github.com/element-hq/synapse/issues/16905))
-   Add experimental config option to not send device list updates for specific users. ([#&#8203;16909](https://github.com/element-hq/synapse/issues/16909))
-   Fix incorrect docker hub link in release script. ([#&#8203;16910](https://github.com/element-hq/synapse/issues/16910))

##### Updates to locked dependencies

-   Bump attrs from 23.1.0 to 23.2.0. ([#&#8203;16899](https://github.com/element-hq/synapse/issues/16899))
-   Bump bcrypt from 4.0.1 to 4.1.2. ([#&#8203;16900](https://github.com/element-hq/synapse/issues/16900))
-   Bump pygithub from 2.1.1 to 2.2.0. ([#&#8203;16902](https://github.com/element-hq/synapse/issues/16902))
-   Bump sentry-sdk from 1.40.0 to 1.40.3. ([#&#8203;16898](https://github.com/element-hq/synapse/issues/16898))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjQuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyNC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#27
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-03-10 19:42:50 +01:00
e9b064ef2c chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.101.0 (#23)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.100.0` -> `v1.101.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.101.0`](https://github.com/element-hq/synapse/releases/tag/v1.101.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.100.0...v1.101.0)

### Synapse 1.101.0 (2024-02-13)

##### Bugfixes

-   Fix performance regression when fetching auth chains from the DB. Introduced in v1.100.0. ([#&#8203;16893](https://github.com/element-hq/synapse/issues/16893))

### Synapse 1.101.0rc1 (2024-02-06)

##### Improved Documentation

-   Fix broken links in the documentation. ([#&#8203;16853](https://github.com/element-hq/synapse/issues/16853))
-   Update MacOS installation instructions to mention that libicu is optional. ([#&#8203;16854](https://github.com/element-hq/synapse/issues/16854))
-   The version picker now correctly lists versions after `v1.98.0`. ([#&#8203;16880](https://github.com/element-hq/synapse/issues/16880))

##### Internal Changes

-   Add support for stabilised [MSC3981](https://github.com/matrix-org/matrix-spec-proposals/pull/3981) that adds a `recurse` parameter on the `/relations` API. ([#&#8203;16842](https://github.com/element-hq/synapse/issues/16842))

##### Updates to locked dependencies

-   Bump dorny/paths-filter from 2 to 3. ([#&#8203;16869](https://github.com/element-hq/synapse/issues/16869))
-   Bump gitpython from 3.1.40 to 3.1.41. ([#&#8203;16850](https://github.com/element-hq/synapse/issues/16850))
-   Bump hiredis from 2.2.3 to 2.3.2. ([#&#8203;16862](https://github.com/element-hq/synapse/issues/16862))
-   Bump jsonschema from 4.20.0 to 4.21.1. ([#&#8203;16887](https://github.com/element-hq/synapse/issues/16887))
-   Bump lxml-stubs from 0.4.0 to 0.5.1. ([#&#8203;16885](https://github.com/element-hq/synapse/issues/16885))
-   Bump mypy-zope from 1.0.1 to 1.0.3. ([#&#8203;16865](https://github.com/element-hq/synapse/issues/16865))
-   Bump phonenumbers from 8.13.26 to 8.13.29. ([#&#8203;16868](https://github.com/element-hq/synapse/issues/16868))
-   Bump pydantic from 2.5.3 to 2.6.0. ([#&#8203;16888](https://github.com/element-hq/synapse/issues/16888))
-   Bump sentry-sdk from 1.39.1 to 1.40.0. ([#&#8203;16889](https://github.com/element-hq/synapse/issues/16889))
-   Bump serde from 1.0.195 to 1.0.196. ([#&#8203;16867](https://github.com/element-hq/synapse/issues/16867))
-   Bump serde_json from 1.0.111 to 1.0.113. ([#&#8203;16866](https://github.com/element-hq/synapse/issues/16866))
-   Bump sigstore/cosign-installer from 3.3.0 to 3.4.0. ([#&#8203;16890](https://github.com/element-hq/synapse/issues/16890))
-   Bump types-pillow from 10.1.0.2 to 10.2.0.20240125. ([#&#8203;16864](https://github.com/element-hq/synapse/issues/16864))
-   Bump types-requests from 2.31.0.10 to 2.31.0.20240125. ([#&#8203;16886](https://github.com/element-hq/synapse/issues/16886))
-   Bump types-setuptools from 69.0.0.0 to 69.0.0.20240125. ([#&#8203;16863](https://github.com/element-hq/synapse/issues/16863))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE4Mi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#23
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-02-14 22:33:57 +01:00
59902bb3db chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.100.0 (#18)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.99.0` -> `v1.100.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.100.0`](https://github.com/element-hq/synapse/compare/v1.99.0...v1.100.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.99.0...v1.100.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#18
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-01-31 20:04:28 +01:00
f36d23ec70 chore(deps): update ghcr.io/element-hq/synapse docker tag to v1.99.0 (#13)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/element-hq/synapse](https://matrix.org/docs/projects/server/synapse) ([source](https://github.com/element-hq/synapse)) | minor | `v1.98.0` -> `v1.99.0` |

---

### Release Notes

<details>
<summary>element-hq/synapse (ghcr.io/element-hq/synapse)</summary>

### [`v1.99.0`](https://github.com/element-hq/synapse/releases/tag/v1.99.0)

[Compare Source](https://github.com/element-hq/synapse/compare/v1.98.0...v1.99.0)

### Synapse 1.99.0 (2024-01-16)

Synapse 1.99.0 is the first Synapse release under an AGPLv3.0 licence (with CLA to enable Element to sell AGPL exceptions). You can read more about this here:

-   https://matrix.org/blog/2023/11/06/future-of-synapse-dendrite/
-   https://element.io/blog/element-to-adopt-agplv3/
-   https://element.io/blog/synapse-now-lives-at-github-com-element-hq-synapse/

No significant changes since 1.99.0rc1.

### Synapse 1.99.0rc1 (2024-01-09)

-   Add [config options](https://element-hq.github.io/synapse/v1.99/usage/configuration/config_documentation.html#server_notices) to set the avatar and the topic of the server notices room, as well as the avatar of the server notices user. ([https://github.com/element-hq/synapse/issues/16679](https://github.com/matrix-org/synapse/pull/16679))

-   Add config option [`email.notif_delay_before_mail`](https://element-hq.github.io/synapse/v1.99/usage/configuration/config_documentation.html#email) to tweak the delay before an email is sent following a notification. ([https://github.com/element-hq/synapse/issues/16696](https://github.com/matrix-org/synapse/pull/16696))

-   Add new configuration option [`sentry.environment`](https://element-hq.github.io/synapse/v1.99/usage/configuration/config_documentation.html#sentry) for improved system monitoring. Contributed by [@&#8203;zeeshanrafiqrana](https://github.com/zeeshanrafiqrana). ([https://github.com/element-hq/synapse/issues/16738](https://github.com/matrix-org/synapse/pull/16738))

-   Filter out rooms from the room directory being served to other homeservers when those rooms block that homeserver by their Access Control Lists. ([#&#8203;16759](https://github.com/element-hq/synapse/pull/16759))

-   Fix a long-standing bug where the signing keys generated by Synapse were world-readable. Contributed by Fabian Klemp. ([https://github.com/element-hq/synapse/issues/16740](https://github.com/matrix-org/synapse/pull/16740))

-   Fix email verification redirection. Contributed by Fadhlan Ridhwanallah. ([#&#8203;16761](https://github.com/element-hq/synapse/pull/16761))

-   Fixed a bug that prevented users from being queried by display name if it contains non-ASCII characters. ([#&#8203;16767](https://github.com/element-hq/synapse/pull/16767))

-   Allow reactivate user without password with Admin API in some edge cases. ([#&#8203;16770](https://github.com/element-hq/synapse/pull/16770))

-   Adds the `recursion_depth` parameter to the response of the /relations endpoint if [MSC3981](https://github.com/matrix-org/matrix-spec-proposals/pull/3981) recursion is being performed. ([#&#8203;16775](https://github.com/element-hq/synapse/pull/16775))

-   Added version picker for Synapse documentation. Contributed by [@&#8203;Dmytro27Ind](https://github.com/Dmytro27Ind). ([https://github.com/element-hq/synapse/issues/16533](https://github.com/matrix-org/synapse/pull/16533))

-   Clarify that `password_config.enabled: "only_for_reauth"` does not allow new logins to be created using password auth. ([https://github.com/element-hq/synapse/issues/16737](https://github.com/matrix-org/synapse/pull/16737))

-   Remove value from header in configuration documentation for `refresh_token_lifetime`. ([#&#8203;16763](https://github.com/element-hq/synapse/pull/16763))

-   Add another custom statistics collection server to the documentation. Contributed by [@&#8203;loelkes](https://github.com/loelkes). ([#&#8203;16769](https://github.com/element-hq/synapse/pull/16769))

-   Remove run-once workflow after adding the version picker to the documentation. ([#&#8203;9453](https://github.com/element-hq/synapse/pull/9453))

-   Update the implementation of \[[MSC2965](https://github.com/matrix-org/matrix-spec-proposals/pull/2965)]\(https://github.com/matrix-org/matrix-spec-proposals/pull/2965) (OIDC Provider discovery). ([https://github.com/element-hq/synapse/issues/16726](https://github.com/matrix-org/synapse/pull/16726))

-   Move the rust stubs inline for better IDE integration. ([#&#8203;16757](https://github.com/element-hq/synapse/pull/16757))

-   Fix sample config doc CI. ([#&#8203;16758](https://github.com/element-hq/synapse/pull/16758))

-   Simplify event internal metadata class. ([#&#8203;16762](https://github.com/element-hq/synapse/pull/16762), [#&#8203;16780](https://github.com/element-hq/synapse/pull/16780))

-   Sign the published docker image using [cosign](https://docs.sigstore.dev/). ([#&#8203;16774](https://github.com/element-hq/synapse/pull/16774))

-   Port `EventInternalMetadata` class to Rust. ([#&#8203;16782](https://github.com/element-hq/synapse/pull/16782))

<!---->

-   Bump actions/setup-go from 4 to 5. ([https://github.com/element-hq/synapse/issues/16749](https://github.com/matrix-org/synapse/pull/16749))
-   Bump actions/setup-python from 4 to 5. ([https://github.com/element-hq/synapse/issues/16748](https://github.com/matrix-org/synapse/pull/16748))
-   Bump immutabledict from 3.0.0 to 4.0.0. ([https://github.com/element-hq/synapse/issues/16743](https://github.com/matrix-org/synapse/pull/16743))
-   Bump isort from 5.12.0 to 5.13.0. ([https://github.com/element-hq/synapse/issues/16745](https://github.com/matrix-org/synapse/pull/16745))
-   Bump isort from 5.13.0 to 5.13.1. ([https://github.com/element-hq/synapse/issues/16752](https://github.com/matrix-org/synapse/pull/16752))
-   Bump pydantic from 2.5.1 to 2.5.2. ([https://github.com/element-hq/synapse/issues/16747](https://github.com/matrix-org/synapse/pull/16747))
-   Bump ruff from 0.1.6 to 0.1.7. ([https://github.com/element-hq/synapse/issues/16746](https://github.com/matrix-org/synapse/pull/16746))
-   Bump types-setuptools from 68.2.0.2 to 69.0.0.0. ([https://github.com/element-hq/synapse/issues/16744](https://github.com/matrix-org/synapse/pull/16744))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE0MC4xNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: carsten/container-server#13
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-01-23 17:42:14 +01:00
1cae697520 chore(deps): update postgres docker tag to v16 (#11)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgres | major | `15-alpine` -> `16-alpine` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMTguMCIsInVwZGF0ZWRJblZlciI6IjM3LjExOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#11
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-01-03 18:56:26 +01:00
e1b1b90bbb service: remove psql version varaible to make it renovate compatible 2024-01-03 18:02:16 +01:00
5115b86532 misc: set specfic version numbers where possible 2024-01-03 17:03:24 +01:00
d96dab07b8 General deployment (#1)
General deployment done

Reviewed-on: carsten/container-server#1
2023-09-13 22:33:47 +02:00
8662a26098 Make psql version configurable, add dump/restore commands 2022-12-11 23:24:48 +01:00
ecfbce28d3 setup-docs (#1)
- Add documentation about host setup
- Refactor task files
- Improve documentation

Reviewed-on: carsten/docker-server#1
2022-11-13 00:10:26 +00:00
Renamed from matrix/docker-compose.yml (Browse further)