0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 10:23:57 +01:00

1.75.0rc1

This commit is contained in:
David Robertson 2023-01-10 12:18:50 +00:00
parent ba4ea7d13f
commit 9a4c69f59f
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD
73 changed files with 96 additions and 71 deletions

View file

@ -1,3 +1,92 @@
Synapse 1.75.0rc1 (2023-01-10)
==============================
Features
--------
- Add a `cached` function to `synapse.module_api` that returns a decorator to cache return values of functions. ([\#14663](https://github.com/matrix-org/synapse/issues/14663))
- Add experimental support for [MSC3391](https://github.com/matrix-org/matrix-spec-proposals/pull/3391) (removing account data). ([\#14714](https://github.com/matrix-org/synapse/issues/14714))
- Support [RFC7636](https://datatracker.ietf.org/doc/html/rfc7636) Proof Key for Code Exchange for OAuth single sign-on. ([\#14750](https://github.com/matrix-org/synapse/issues/14750))
- Support non-OpenID compliant userinfo claims for subject and picture. ([\#14753](https://github.com/matrix-org/synapse/issues/14753))
- Improve performance of `/sync` when filtering all rooms, message types, or senders. ([\#14786](https://github.com/matrix-org/synapse/issues/14786))
Bugfixes
--------
- Fix the *MAU Limits* section of the Grafana dashboard relying on a specific `job` name for the workers of a Synapse deployment. ([\#14644](https://github.com/matrix-org/synapse/issues/14644))
- Fix a bug introduced in Synapse 1.70.0 which could cause spurious `UNIQUE constraint failed` errors in the `rotate_notifs` background job. ([\#14669](https://github.com/matrix-org/synapse/issues/14669))
- Ensure stream IDs are always updated after caches get invalidated with workers. Contributed by Nick @ Beeper (@fizzadar). ([\#14723](https://github.com/matrix-org/synapse/issues/14723))
- Remove the unspecced `device` field from `/pushrules` responses. ([\#14727](https://github.com/matrix-org/synapse/issues/14727))
- Fix a bug introduced in Synapse 1.73.0 where the `picture_claim` configured under `oidc_providers` was unused (the default value of `"picture"` was used instead). ([\#14751](https://github.com/matrix-org/synapse/issues/14751))
Improved Documentation
----------------------
- Declare support for Python 3.11. ([\#14673](https://github.com/matrix-org/synapse/issues/14673))
- Fix `target_memory_usage` being used in the description for the actual `cache_autotune` sub-option `target_cache_memory_usage`. ([\#14674](https://github.com/matrix-org/synapse/issues/14674))
- Move `email` to Server section in config file documentation. ([\#14730](https://github.com/matrix-org/synapse/issues/14730))
- Fix broken links in the Synapse documentation. ([\#14744](https://github.com/matrix-org/synapse/issues/14744))
- Add missing worker settings to shared configuration documentation. ([\#14748](https://github.com/matrix-org/synapse/issues/14748))
- Document using Twitter as a OAuth 2.0 authentication provider. ([\#14778](https://github.com/matrix-org/synapse/issues/14778))
- Fix Synapse 1.74 upgrade notes to correctly explain how to install pyICU when installing Synapse from PyPI. ([\#14797](https://github.com/matrix-org/synapse/issues/14797))
- Update link to towncrier in contribution guide. ([\#14801](https://github.com/matrix-org/synapse/issues/14801))
Internal Changes
----------------
- Improve performance of the `/hierarchy` endpoint. ([\#14263](https://github.com/matrix-org/synapse/issues/14263))
- Faster remote room joins: stream the un-partial-stating of events over replication. ([\#14545](https://github.com/matrix-org/synapse/issues/14545), [\#14546](https://github.com/matrix-org/synapse/issues/14546))
- Use [ruff](https://github.com/charliermarsh/ruff/) instead of flake8. ([\#14633](https://github.com/matrix-org/synapse/issues/14633), [\#14741](https://github.com/matrix-org/synapse/issues/14741))
- Change `handle_new_client_event` signature so that a 429 does not reach clients on `PartialStateConflictError`, and internally retry when needed instead. ([\#14665](https://github.com/matrix-org/synapse/issues/14665))
- Remove dependency on jQuery on reCAPTCHA page. ([\#14672](https://github.com/matrix-org/synapse/issues/14672))
- Faster joins: make `computer_state_after_events` consistent with other state-fetching functions that take a `StateFilter`. ([\#14676](https://github.com/matrix-org/synapse/issues/14676))
- Add missing type hints. ([\#14680](https://github.com/matrix-org/synapse/issues/14680), [\#14681](https://github.com/matrix-org/synapse/issues/14681), [\#14687](https://github.com/matrix-org/synapse/issues/14687))
- Improve type annotations for the helper methods on a `CachedFunction`. ([\#14685](https://github.com/matrix-org/synapse/issues/14685))
- Check that the SQLite database file exists before porting to PostgreSQL. ([\#14692](https://github.com/matrix-org/synapse/issues/14692))
- Bump JasonEtco/create-an-issue from 2.8.1 to 2.8.2. ([\#14693](https://github.com/matrix-org/synapse/issues/14693))
- Bump anyhow from 1.0.66 to 1.0.68. ([\#14694](https://github.com/matrix-org/synapse/issues/14694))
- Bump blake2 from 0.10.5 to 0.10.6. ([\#14695](https://github.com/matrix-org/synapse/issues/14695))
- Bump serde_json from 1.0.89 to 1.0.91. ([\#14696](https://github.com/matrix-org/synapse/issues/14696))
- Bump serde from 1.0.150 to 1.0.151. ([\#14697](https://github.com/matrix-org/synapse/issues/14697))
- Bump lxml from 4.9.1 to 4.9.2. ([\#14698](https://github.com/matrix-org/synapse/issues/14698))
- Bump types-jsonschema from 4.17.0.1 to 4.17.0.2. ([\#14700](https://github.com/matrix-org/synapse/issues/14700))
- Bump sentry-sdk from 1.11.1 to 1.12.0. ([\#14701](https://github.com/matrix-org/synapse/issues/14701))
- Bump types-setuptools from 65.6.0.1 to 65.6.0.2. ([\#14702](https://github.com/matrix-org/synapse/issues/14702))
- Add `.direnv/` directory to .gitignore to prevent local state generated by the [direnv](https://direnv.net/) development tool from being committed. ([\#14707](https://github.com/matrix-org/synapse/issues/14707))
- Batch up replication requests to request the resyncing of remote users's devices. ([\#14716](https://github.com/matrix-org/synapse/issues/14716))
- Bump minimum PyYAML to 3.13. ([\#14720](https://github.com/matrix-org/synapse/issues/14720))
- If debug logging is enabled, log the `msgid`s of any to-device messages that are returned over `/sync`. ([\#14724](https://github.com/matrix-org/synapse/issues/14724))
- Disable sending confirmation email when 3pid is disabled. ([\#14725](https://github.com/matrix-org/synapse/issues/14725))
- Bump JasonEtco/create-an-issue from 2.8.2 to 2.9.1. ([\#14731](https://github.com/matrix-org/synapse/issues/14731))
- Bump towncrier from 22.8.0 to 22.12.0. ([\#14732](https://github.com/matrix-org/synapse/issues/14732))
- Bump isort from 5.10.1 to 5.11.4. ([\#14733](https://github.com/matrix-org/synapse/issues/14733))
- Bump attrs from 22.1.0 to 22.2.0. ([\#14734](https://github.com/matrix-org/synapse/issues/14734))
- Bump black from 22.10.0 to 22.12.0. ([\#14735](https://github.com/matrix-org/synapse/issues/14735))
- Bump sentry-sdk from 1.12.0 to 1.12.1. ([\#14736](https://github.com/matrix-org/synapse/issues/14736))
- Bump setuptools from 65.3.0 to 65.5.1. ([\#14738](https://github.com/matrix-org/synapse/issues/14738))
- Use `htmltest` to check links in the Synapse documentation. ([\#14743](https://github.com/matrix-org/synapse/issues/14743))
- Bump serde from 1.0.151 to 1.0.152. ([\#14758](https://github.com/matrix-org/synapse/issues/14758))
- Bump ruff from 0.0.189 to 0.0.206. ([\#14759](https://github.com/matrix-org/synapse/issues/14759))
- Bump pydantic from 1.10.2 to 1.10.4. ([\#14760](https://github.com/matrix-org/synapse/issues/14760))
- Bump gitpython from 3.1.29 to 3.1.30. ([\#14761](https://github.com/matrix-org/synapse/issues/14761))
- Bump pillow from 9.3.0 to 9.4.0. ([\#14762](https://github.com/matrix-org/synapse/issues/14762))
- Bump types-requests from 2.28.11.5 to 2.28.11.7. ([\#14763](https://github.com/matrix-org/synapse/issues/14763))
- Change GHA CI job to follow best practices. ([\#14772](https://github.com/matrix-org/synapse/issues/14772))
- Switch to our fork of `dh-virtualenv` to work around an upstream Python 3.11 incompatibility. ([\#14774](https://github.com/matrix-org/synapse/issues/14774))
- Bump dawidd6/action-download-artifact from 2.24.2 to 2.24.3. ([\#14779](https://github.com/matrix-org/synapse/issues/14779))
- Unescape HTML entities in URL preview titles making use of oEmbed responses. ([\#14781](https://github.com/matrix-org/synapse/issues/14781))
- Bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1. ([\#14791](https://github.com/matrix-org/synapse/issues/14791))
- Bump types-pillow from 9.3.0.4 to 9.4.0.0. ([\#14792](https://github.com/matrix-org/synapse/issues/14792))
- Bump pyopenssl from 22.1.0 to 23.0.0. ([\#14793](https://github.com/matrix-org/synapse/issues/14793))
- Bump types-setuptools from 65.6.0.2 to 65.6.0.3. ([\#14794](https://github.com/matrix-org/synapse/issues/14794))
- Bump importlib-metadata from 4.2.0 to 6.0.0. ([\#14795](https://github.com/matrix-org/synapse/issues/14795))
- Bump ruff from 0.0.206 to 0.0.215. ([\#14796](https://github.com/matrix-org/synapse/issues/14796))
- Skip testing built wheels for PyPy 3.7 on Linux x86_64 as we lack new required dependencies in the build environment. ([\#14802](https://github.com/matrix-org/synapse/issues/14802))
Synapse 1.74.0 (2022-12-20)
===========================

View file

@ -1 +0,0 @@
Improve performance of the `/hierarchy` endpoint.

View file

@ -1 +0,0 @@
Faster remote room joins: stream the un-partial-stating of events over replication.

View file

@ -1 +0,0 @@
Faster remote room joins: stream the un-partial-stating of events over replication.

View file

@ -1 +0,0 @@
Use [ruff](https://github.com/charliermarsh/ruff/) instead of flake8.

View file

@ -1 +0,0 @@
Fix the *MAU Limits* section of the Grafana dashboard relying on a specific `job` name for the workers of a Synapse deployment.

View file

@ -1 +0,0 @@
Add a `cached` function to `synapse.module_api` that returns a decorator to cache return values of functions.

View file

@ -1 +0,0 @@
Change `handle_new_client_event` signature so that a 429 does not reach clients on `PartialStateConflictError`, and internally retry when needed instead.

View file

@ -1 +0,0 @@
Fix a bug introduced in Synapse 1.70.0 which could cause spurious `UNIQUE constraint failed` errors in the `rotate_notifs` background job.

View file

@ -1 +0,0 @@
Remove dependency on jQuery on reCAPTCHA page.

View file

@ -1 +0,0 @@
Declare support for Python 3.11.

View file

@ -1 +0,0 @@
Fix `target_memory_usage` being used in the description for the actual `cache_autotune` sub-option `target_cache_memory_usage`.

View file

@ -1 +0,0 @@
Faster joins: make `computer_state_after_events` consistent with other state-fetching functions that take a `StateFilter`.

View file

@ -1 +0,0 @@
Add missing type hints.

View file

@ -1 +0,0 @@
Add missing type hints.

View file

@ -1 +0,0 @@
Improve type annotations for the helper methods on a `CachedFunction`.

View file

@ -1 +0,0 @@
Add missing type hints.

View file

@ -1 +0,0 @@
Check that the SQLite database file exists before porting to PostgreSQL.

View file

@ -1 +0,0 @@
Bump JasonEtco/create-an-issue from 2.8.1 to 2.8.2.

View file

@ -1 +0,0 @@
Bump anyhow from 1.0.66 to 1.0.68.

View file

@ -1 +0,0 @@
Bump blake2 from 0.10.5 to 0.10.6.

View file

@ -1 +0,0 @@
Bump serde_json from 1.0.89 to 1.0.91.

View file

@ -1 +0,0 @@
Bump serde from 1.0.150 to 1.0.151.

View file

@ -1 +0,0 @@
Bump lxml from 4.9.1 to 4.9.2.

View file

@ -1 +0,0 @@
Bump types-jsonschema from 4.17.0.1 to 4.17.0.2.

View file

@ -1 +0,0 @@
Bump sentry-sdk from 1.11.1 to 1.12.0.

View file

@ -1 +0,0 @@
Bump types-setuptools from 65.6.0.1 to 65.6.0.2.

View file

@ -1 +0,0 @@
Add `.direnv/` directory to .gitignore to prevent local state generated by the [direnv](https://direnv.net/) development tool from being committed.

View file

@ -1 +0,0 @@
Add experimental support for [MSC3391](https://github.com/matrix-org/matrix-spec-proposals/pull/3391) (removing account data).

View file

@ -1 +0,0 @@
Batch up replication requests to request the resyncing of remote users's devices.

View file

@ -1 +0,0 @@
Bump minimum PyYAML to 3.13.

View file

@ -1 +0,0 @@
Ensure stream IDs are always updated after caches get invalidated with workers. Contributed by Nick @ Beeper (@fizzadar).

View file

@ -1 +0,0 @@
If debug logging is enabled, log the `msgid`s of any to-device messages that are returned over `/sync`.

View file

@ -1 +0,0 @@
Disable sending confirmation email when 3pid is disabled.

View file

@ -1 +0,0 @@
Remove the unspecced `device` field from `/pushrules` responses.

View file

@ -1 +0,0 @@
Move `email` to Server section in config file documentation.

View file

@ -1 +0,0 @@
Bump JasonEtco/create-an-issue from 2.8.2 to 2.9.1.

View file

@ -1 +0,0 @@
Bump towncrier from 22.8.0 to 22.12.0.

View file

@ -1 +0,0 @@
Bump isort from 5.10.1 to 5.11.4.

View file

@ -1 +0,0 @@
Bump attrs from 22.1.0 to 22.2.0.

View file

@ -1 +0,0 @@
Bump black from 22.10.0 to 22.12.0.

View file

@ -1 +0,0 @@
Bump sentry-sdk from 1.12.0 to 1.12.1.

View file

@ -1 +0,0 @@
Bump setuptools from 65.3.0 to 65.5.1.

View file

@ -1 +0,0 @@
Use [ruff](https://github.com/charliermarsh/ruff/) instead of flake8.

View file

@ -1 +0,0 @@
Use `htmltest` to check links in the Synapse documentation.

View file

@ -1 +0,0 @@
Fix broken links in the Synapse documentation.

View file

@ -1 +0,0 @@
Add missing worker settings to shared configuration documentation.

View file

@ -1 +0,0 @@
Support [RFC7636](https://datatracker.ietf.org/doc/html/rfc7636) Proof Key for Code Exchange for OAuth single sign-on.

View file

@ -1 +0,0 @@
Fix a bug introduced in Synapse 1.73.0 where the `picture_claim` configured under `oidc_providers` was unused (the default value of `"picture"` was used instead).

View file

@ -1 +0,0 @@
Support non-OpenID compliant userinfo claims for subject and picture.

View file

@ -1 +0,0 @@
Bump serde from 1.0.151 to 1.0.152.

View file

@ -1 +0,0 @@
Bump ruff from 0.0.189 to 0.0.206.

View file

@ -1 +0,0 @@
Bump pydantic from 1.10.2 to 1.10.4.

View file

@ -1 +0,0 @@
Bump gitpython from 3.1.29 to 3.1.30.

View file

@ -1 +0,0 @@
Bump pillow from 9.3.0 to 9.4.0.

View file

@ -1 +0,0 @@
Bump types-requests from 2.28.11.5 to 2.28.11.7.

View file

@ -1 +0,0 @@
Change GHA CI job to follow best practices.

View file

@ -1 +0,0 @@
Switch to our fork of `dh-virtualenv` to work around an upstream Python 3.11 incompatibility.

View file

@ -1 +0,0 @@
Document using Twitter as a OAuth 2.0 authentication provider.

View file

@ -1 +0,0 @@
Bump dawidd6/action-download-artifact from 2.24.2 to 2.24.3.

View file

@ -1 +0,0 @@
Unescape HTML entities in URL preview titles making use of oEmbed responses.

View file

@ -1 +0,0 @@
Improve performance of `/sync` when filtering all rooms, message types, or senders.

View file

@ -1 +0,0 @@
Bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1.

View file

@ -1 +0,0 @@
Bump types-pillow from 9.3.0.4 to 9.4.0.0.

View file

@ -1 +0,0 @@
Bump pyopenssl from 22.1.0 to 23.0.0.

View file

@ -1 +0,0 @@
Bump types-setuptools from 65.6.0.2 to 65.6.0.3.

View file

@ -1 +0,0 @@
Bump importlib-metadata from 4.2.0 to 6.0.0.

View file

@ -1 +0,0 @@
Bump ruff from 0.0.206 to 0.0.215.

View file

@ -1 +0,0 @@
Fix Synapse 1.74 upgrade notes to correctly explain how to install pyICU when installing Synapse from PyPI.

View file

@ -1 +0,0 @@
Update link to towncrier in contribution guide.

View file

@ -1 +0,0 @@
Skip testing built wheels for PyPy 3.7 on Linux x86_64 as we lack new required dependencies in the build environment.

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
matrix-synapse-py3 (1.75.0~rc1) stable; urgency=medium
* New Synapse release 1.75.0rc1.
-- Synapse Packaging team <packages@matrix.org> Tue, 10 Jan 2023 12:18:27 +0000
matrix-synapse-py3 (1.74.0) stable; urgency=medium
* New Synapse release 1.74.0.

View file

@ -97,7 +97,7 @@ manifest-path = "rust/Cargo.toml"
[tool.poetry]
name = "matrix-synapse"
version = "1.74.0"
version = "1.75.0rc1"
description = "Homeserver for the Matrix decentralised comms protocol"
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
license = "Apache-2.0"