diff --git a/CHANGES.md b/CHANGES.md index d29027bbfb..3912cfb38c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,53 @@ +# Synapse 1.131.0rc1 (2025-05-28) + +### Features + +- Add `msc4263_limit_key_queries_to_users_who_share_rooms` config option as per [MSC4263](https://github.com/matrix-org/matrix-spec-proposals/pull/4263). ([\#18180](https://github.com/element-hq/synapse/issues/18180)) +- Add option to allow registrations that begin with `_`. Contributed by `_` (@hex5f). ([\#18262](https://github.com/element-hq/synapse/issues/18262)) +- Include room ID in room deletion status response. ([\#18318](https://github.com/element-hq/synapse/issues/18318)) +- Add support for calling Policy Servers ([MSC4284](https://github.com/matrix-org/matrix-spec-proposals/pull/4284)) to mark events as spam. ([\#18387](https://github.com/element-hq/synapse/issues/18387)) + +### Bugfixes + +- Prevent race-condition in `_maybe_retry_device_resync` entrance. ([\#18391](https://github.com/element-hq/synapse/issues/18391)) +- Fix the `tests.handlers.test_worker_lock.WorkerLockTestCase.test_lock_contention` test which could spuriously time out on RISC-V architectures due to performance differences. ([\#18430](https://github.com/element-hq/synapse/issues/18430)) +- Fix admin redaction endpoint not redacting encrypted messages. ([\#18434](https://github.com/element-hq/synapse/issues/18434)) + +### Improved Documentation + +- Update `room_list_publication_rules` docs to consider defaults that changed in v1.126.0. Contributed by @HarHarLinks. ([\#18286](https://github.com/element-hq/synapse/issues/18286)) +- Add advice for upgrading between major PostgreSQL versions to the database documentation. ([\#18445](https://github.com/element-hq/synapse/issues/18445)) + +### Internal Changes + +- Fix a memory leak in `_NotifierUserStream`. ([\#18380](https://github.com/element-hq/synapse/issues/18380)) +- Fix a couple type annotations in the `RootConfig`/`Config`. ([\#18409](https://github.com/element-hq/synapse/issues/18409)) +- Explicitly enable PyPy builds in `cibuildwheel`s config to avoid it being disabled on a future upgrade to `cibuildwheel` v3. ([\#18417](https://github.com/element-hq/synapse/issues/18417)) +- Update the PR review template to remove an erroneous line break from the final bullet point. ([\#18419](https://github.com/element-hq/synapse/issues/18419)) +- Explain why we `flush_buffer()` for Python `print(...)` output. ([\#18420](https://github.com/element-hq/synapse/issues/18420)) +- Add lint to ensure we don't add a `CREATE/DROP INDEX` in a schema delta. ([\#18440](https://github.com/element-hq/synapse/issues/18440)) +- Allow checking only for the existence of a field in an SSO provider's response, rather than requiring the value(s) to check. ([\#18454](https://github.com/element-hq/synapse/issues/18454)) +- Add unit tests for homeserver usage statistics. ([\#18463](https://github.com/element-hq/synapse/issues/18463)) +- Don't move invited users to new room when shutting down room. ([\#18471](https://github.com/element-hq/synapse/issues/18471)) + + + +### Updates to locked dependencies + +* Bump actions/setup-python from 5.5.0 to 5.6.0. ([\#18398](https://github.com/element-hq/synapse/issues/18398)) +* Bump authlib from 1.5.1 to 1.5.2. ([\#18452](https://github.com/element-hq/synapse/issues/18452)) +* Bump docker/build-push-action from 6.15.0 to 6.17.0. ([\#18397](https://github.com/element-hq/synapse/issues/18397), [\#18449](https://github.com/element-hq/synapse/issues/18449)) +* Bump lxml from 5.3.0 to 5.4.0. ([\#18480](https://github.com/element-hq/synapse/issues/18480)) +* Bump mypy-zope from 1.0.9 to 1.0.11. ([\#18428](https://github.com/element-hq/synapse/issues/18428)) +* Bump pyo3 from 0.23.5 to 0.24.2. ([\#18460](https://github.com/element-hq/synapse/issues/18460)) +* Bump pyo3-log from 0.12.3 to 0.12.4. ([\#18453](https://github.com/element-hq/synapse/issues/18453)) +* Bump pyopenssl from 25.0.0 to 25.1.0. ([\#18450](https://github.com/element-hq/synapse/issues/18450)) +* Bump ruff from 0.7.3 to 0.11.11. ([\#18451](https://github.com/element-hq/synapse/issues/18451), [\#18482](https://github.com/element-hq/synapse/issues/18482)) +* Bump tornado from 6.4.2 to 6.5.0. ([\#18459](https://github.com/element-hq/synapse/issues/18459)) +* Bump setuptools from 72.1.0 to 78.1.1. ([\#18461](https://github.com/element-hq/synapse/issues/18461)) +* Bump types-jsonschema from 4.23.0.20241208 to 4.23.0.20250516. ([\#18481](https://github.com/element-hq/synapse/issues/18481)) +* Bump types-requests from 2.32.0.20241016 to 2.32.0.20250328. ([\#18427](https://github.com/element-hq/synapse/issues/18427)) + # Synapse 1.130.0 (2025-05-20) ### Bugfixes diff --git a/changelog.d/18180.feature b/changelog.d/18180.feature deleted file mode 100644 index fbf226e51c..0000000000 --- a/changelog.d/18180.feature +++ /dev/null @@ -1 +0,0 @@ -Add `msc4263_limit_key_queries_to_users_who_share_rooms` config option as per [MSC4263](https://github.com/matrix-org/matrix-spec-proposals/pull/4263). diff --git a/changelog.d/18262.feature b/changelog.d/18262.feature deleted file mode 100644 index c8249faa76..0000000000 --- a/changelog.d/18262.feature +++ /dev/null @@ -1 +0,0 @@ -Add option to allow registrations that begin with `_`. Contributed by `_` (@hex5f). diff --git a/changelog.d/18286.doc b/changelog.d/18286.doc deleted file mode 100644 index 37728351c5..0000000000 --- a/changelog.d/18286.doc +++ /dev/null @@ -1 +0,0 @@ -Update `room_list_publication_rules` docs to consider defaults that changed in v1.126.0. Contributed by @HarHarLinks. diff --git a/changelog.d/18318.feature b/changelog.d/18318.feature deleted file mode 100644 index fba0e83577..0000000000 --- a/changelog.d/18318.feature +++ /dev/null @@ -1 +0,0 @@ -Include room ID in room deletion status response. diff --git a/changelog.d/18380.misc b/changelog.d/18380.misc deleted file mode 100644 index 5d6017be26..0000000000 --- a/changelog.d/18380.misc +++ /dev/null @@ -1 +0,0 @@ -Fix a memory leak in `_NotifierUserStream`. \ No newline at end of file diff --git a/changelog.d/18387.feature b/changelog.d/18387.feature deleted file mode 100644 index 2d9ff2cea2..0000000000 --- a/changelog.d/18387.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for calling Policy Servers ([MSC4284](https://github.com/matrix-org/matrix-spec-proposals/pull/4284)) to mark events as spam. \ No newline at end of file diff --git a/changelog.d/18391.bugfix b/changelog.d/18391.bugfix deleted file mode 100644 index bbcb7b7a28..0000000000 --- a/changelog.d/18391.bugfix +++ /dev/null @@ -1 +0,0 @@ -Prevent race-condition in `_maybe_retry_device_resync` entrance. diff --git a/changelog.d/18409.misc b/changelog.d/18409.misc deleted file mode 100644 index bbb9bdbb1b..0000000000 --- a/changelog.d/18409.misc +++ /dev/null @@ -1 +0,0 @@ -Fix a couple type annotations in the `RootConfig`/`Config`. diff --git a/changelog.d/18417.misc b/changelog.d/18417.misc deleted file mode 100644 index 5f650a202a..0000000000 --- a/changelog.d/18417.misc +++ /dev/null @@ -1 +0,0 @@ -Explicitly enable PyPy builds in `cibuildwheel`s config to avoid it being disabled on a future upgrade to `cibuildwheel` v3. \ No newline at end of file diff --git a/changelog.d/18419.misc b/changelog.d/18419.misc deleted file mode 100644 index 0ff36e27b8..0000000000 --- a/changelog.d/18419.misc +++ /dev/null @@ -1 +0,0 @@ -Update the PR review template to remove an erroneous line break from the final bullet point. \ No newline at end of file diff --git a/changelog.d/18420.misc b/changelog.d/18420.misc deleted file mode 100644 index d52175af91..0000000000 --- a/changelog.d/18420.misc +++ /dev/null @@ -1 +0,0 @@ -Explain why we `flush_buffer()` for Python `print(...)` output. diff --git a/changelog.d/18430.bugfix b/changelog.d/18430.bugfix deleted file mode 100644 index d61fd56c33..0000000000 --- a/changelog.d/18430.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix the `tests.handlers.test_worker_lock.WorkerLockTestCase.test_lock_contention` test which could spuriously time out on RISC-V architectures due to performance differences. \ No newline at end of file diff --git a/changelog.d/18434.bugfix b/changelog.d/18434.bugfix deleted file mode 100644 index dd094c83e8..0000000000 --- a/changelog.d/18434.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix admin redaction endpoint not redacting encrypted messages. \ No newline at end of file diff --git a/changelog.d/18440.misc b/changelog.d/18440.misc deleted file mode 100644 index 6aaa6dde5c..0000000000 --- a/changelog.d/18440.misc +++ /dev/null @@ -1 +0,0 @@ -Add lint to ensure we don't add a `CREATE/DROP INDEX` in a schema delta. diff --git a/changelog.d/18445.doc b/changelog.d/18445.doc deleted file mode 100644 index 1e05a791b2..0000000000 --- a/changelog.d/18445.doc +++ /dev/null @@ -1 +0,0 @@ -Add advice for upgrading between major PostgreSQL versions to the database documentation. diff --git a/changelog.d/18451.misc b/changelog.d/18451.misc deleted file mode 100644 index 593e83eb7f..0000000000 --- a/changelog.d/18451.misc +++ /dev/null @@ -1 +0,0 @@ -Bump ruff from 0.7.3 to 0.11.10. \ No newline at end of file diff --git a/changelog.d/18454.misc b/changelog.d/18454.misc deleted file mode 100644 index 892fbd1d94..0000000000 --- a/changelog.d/18454.misc +++ /dev/null @@ -1 +0,0 @@ -Allow checking only for the existence of a field in an SSO provider's response, rather than requiring the value(s) to check. \ No newline at end of file diff --git a/changelog.d/18459.misc b/changelog.d/18459.misc deleted file mode 100644 index e148825696..0000000000 --- a/changelog.d/18459.misc +++ /dev/null @@ -1 +0,0 @@ -Bump tornado from 6.4.2 to 6.5.0. \ No newline at end of file diff --git a/changelog.d/18460.misc b/changelog.d/18460.misc deleted file mode 100644 index 5aa19683eb..0000000000 --- a/changelog.d/18460.misc +++ /dev/null @@ -1 +0,0 @@ -Bump pyo3 from 0.23.5 to 0.24.2. \ No newline at end of file diff --git a/changelog.d/18463.misc b/changelog.d/18463.misc deleted file mode 100644 index 1264758d7c..0000000000 --- a/changelog.d/18463.misc +++ /dev/null @@ -1 +0,0 @@ -Add unit tests for homeserver usage statistics. \ No newline at end of file diff --git a/changelog.d/18471.misc b/changelog.d/18471.misc deleted file mode 100644 index b36712bea3..0000000000 --- a/changelog.d/18471.misc +++ /dev/null @@ -1 +0,0 @@ -Don't move invited users to new room when shutting down room. \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 56776a7d86..294e5e449b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +matrix-synapse-py3 (1.131.0~rc1) stable; urgency=medium + + * New synapse release 1.131.0rc1. + + -- Synapse Packaging team Wed, 28 May 2025 10:25:44 +0000 + matrix-synapse-py3 (1.130.0) stable; urgency=medium * New Synapse release 1.130.0. diff --git a/pyproject.toml b/pyproject.toml index e7a5e9c183..762a095926 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,7 @@ module-name = "synapse.synapse_rust" [tool.poetry] name = "matrix-synapse" -version = "1.130.0" +version = "1.131.0rc1" description = "Homeserver for the Matrix decentralised comms protocol" authors = ["Matrix.org Team and Contributors "] license = "AGPL-3.0-or-later"