Merge branch 'release-v1.85' into develop

This commit is contained in:
David Robertson 2023-05-30 16:08:33 +01:00
commit 6fc3deb029
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD
54 changed files with 84 additions and 51 deletions

View File

@ -1,3 +1,78 @@
Synapse 1.85.0rc1 (2023-05-30)
==============================
Features
--------
- Improve performance of backfill requests by performing backfill of previously failed requests in the background. ([\#15585](https://github.com/matrix-org/synapse/issues/15585))
- Add a new [admin API](https://matrix-org.github.io/synapse/v1.85/usage/administration/admin_api/index.html) to [create a new device for a user](https://matrix-org.github.io/synapse/v1.85/admin_api/user_admin_api.html#create-a-device). ([\#15611](https://github.com/matrix-org/synapse/issues/15611))
- Add Unix socket support for Redis connections. Contributed by Jason Little. ([\#15644](https://github.com/matrix-org/synapse/issues/15644))
Bugfixes
--------
- Fix a long-standing bug where setting the read marker could fail when using message retention. Contributed by Nick @ Beeper (@fizzadar). ([\#15464](https://github.com/matrix-org/synapse/issues/15464))
- Fix a long-standing bug where the `url_preview_url_blacklist` configuration setting was not applied to oEmbed or image URLs found while previewing a URL. ([\#15601](https://github.com/matrix-org/synapse/issues/15601))
- Fix a long-standing bug where filters with multiple backslashes were rejected. ([\#15607](https://github.com/matrix-org/synapse/issues/15607))
- Fix a bug introduced in Synapse 1.82.0 where the error message displayed when validation of the `app_service_config_files` config option fails would be incorrectly formatted. ([\#15614](https://github.com/matrix-org/synapse/issues/15614))
- Fix a long-standing bug where deactivated users were still able to login using the custom `org.matrix.login.jwt` login type (if enabled). ([\#15624](https://github.com/matrix-org/synapse/issues/15624))
- Fix a long-standing bug where deactivated users were able to login in uncommon situations. ([\#15634](https://github.com/matrix-org/synapse/issues/15634))
Improved Documentation
----------------------
- Warn users that at least 3.75GB of space is needed for the nix Synapse development environment. ([\#15613](https://github.com/matrix-org/synapse/issues/15613))
- Remove outdated comment from the generated and sample homeserver log configs. ([\#15648](https://github.com/matrix-org/synapse/issues/15648))
- Improve contributor docs to make it more clear that Rust is a necessary prerequisite. Contributed by @grantm. ([\#15668](https://github.com/matrix-org/synapse/issues/15668))
Deprecations and Removals
-------------------------
- Remove the old version of the R30 (30-day retained users) phone-home metric. ([\#10428](https://github.com/matrix-org/synapse/issues/10428))
Internal Changes
----------------
- Create dependabot changelogs at release time. ([\#15481](https://github.com/matrix-org/synapse/issues/15481))
- Add not null constraint to column `full_user_id` of tables `profiles` and `user_filters`. ([\#15537](https://github.com/matrix-org/synapse/issues/15537))
- Allow connecting to HTTP Replication Endpoints by using `worker_name` when constructing the request. ([\#15578](https://github.com/matrix-org/synapse/issues/15578))
- Make the `thread_id` column on `event_push_actions`, `event_push_actions_staging`, and `event_push_summary` non-null. ([\#15597](https://github.com/matrix-org/synapse/issues/15597))
- Run mypy type checking with the minimum supported Python version to catch new usage that isn't backwards-compatible. ([\#15602](https://github.com/matrix-org/synapse/issues/15602))
- Fix subscriptable type usage in Python <3.9. ([\#15604](https://github.com/matrix-org/synapse/issues/15604))
- Update internal terminology. ([\#15606](https://github.com/matrix-org/synapse/issues/15606), [\#15620](https://github.com/matrix-org/synapse/issues/15620))
- Instrument `state` and `state_group` storage-related operations to better picture what's happening when tracing. ([\#15610](https://github.com/matrix-org/synapse/issues/15610), [\#15647](https://github.com/matrix-org/synapse/issues/15647))
- Trace how many new events from the backfill response we need to process. ([\#15633](https://github.com/matrix-org/synapse/issues/15633))
- Re-type config paths in `ConfigError`s to be `StrSequence`s instead of `Iterable[str]`s. ([\#15615](https://github.com/matrix-org/synapse/issues/15615))
- Update Mutual Rooms ([MSC2666](https://github.com/matrix-org/matrix-spec-proposals/pull/2666)) implementation to match new proposal text. ([\#15621](https://github.com/matrix-org/synapse/issues/15621))
- Remove the unstable identifiers from faster joins ([MSC3706](https://github.com/matrix-org/matrix-spec-proposals/pull/3706)). ([\#15625](https://github.com/matrix-org/synapse/issues/15625))
- Fix the olddeps CI. ([\#15626](https://github.com/matrix-org/synapse/issues/15626))
- Remove duplicate timestamp from test logs (`_trial_temp/test.log`). ([\#15636](https://github.com/matrix-org/synapse/issues/15636))
- Fix two memory leaks in `trial` test runs. ([\#15630](https://github.com/matrix-org/synapse/issues/15630))
- Limit the size of the `HomeServerConfig` cache in trial test runs. ([\#15646](https://github.com/matrix-org/synapse/issues/15646))
- Improve type hints. ([\#15658](https://github.com/matrix-org/synapse/issues/15658), [\#15659](https://github.com/matrix-org/synapse/issues/15659))
- Add requesting user id parameter to key claim methods in `TransportLayerClient`. ([\#15663](https://github.com/matrix-org/synapse/issues/15663))
- Speed up rebuilding of the user directory for local users. ([\#15665](https://github.com/matrix-org/synapse/issues/15665))
- Implement "option 2" for [MSC3820](https://github.com/matrix-org/matrix-spec-proposals/pull/3820): Room version 11. ([\#15666](https://github.com/matrix-org/synapse/issues/15666), [\#15678](https://github.com/matrix-org/synapse/issues/15678))
### Updates to locked dependencies
* Bump furo from 2023.3.27 to 2023.5.20. ([\#15642](https://github.com/matrix-org/synapse/issues/15642))
* Bump log from 0.4.17 to 0.4.18. ([\#15681](https://github.com/matrix-org/synapse/issues/15681))
* Bump prometheus-client from 0.16.0 to 0.17.0. ([\#15682](https://github.com/matrix-org/synapse/issues/15682))
* Bump pydantic from 1.10.7 to 1.10.8. ([\#15685](https://github.com/matrix-org/synapse/issues/15685))
* Bump pygithub from 1.58.1 to 1.58.2. ([\#15643](https://github.com/matrix-org/synapse/issues/15643))
* Bump requests from 2.28.2 to 2.31.0. ([\#15651](https://github.com/matrix-org/synapse/issues/15651))
* Bump sphinx from 6.1.3 to 6.2.1. ([\#15641](https://github.com/matrix-org/synapse/issues/15641))
* Bump types-bleach from 6.0.0.1 to 6.0.0.3. ([\#15686](https://github.com/matrix-org/synapse/issues/15686))
* Bump types-pillow from 9.5.0.2 to 9.5.0.4. ([\#15640](https://github.com/matrix-org/synapse/issues/15640))
* Bump types-pyyaml from 6.0.12.9 to 6.0.12.10. ([\#15683](https://github.com/matrix-org/synapse/issues/15683))
* Bump types-requests from 2.30.0.0 to 2.31.0.0. ([\#15684](https://github.com/matrix-org/synapse/issues/15684))
* Bump types-setuptools from 67.7.0.2 to 67.8.0.0. ([\#15639](https://github.com/matrix-org/synapse/issues/15639))
Synapse 1.84.1 (2023-05-26)
===========================

View File

@ -1 +0,0 @@
Remove the old version of the R30 (30-day retained users) phone-home metric.

View File

@ -1 +0,0 @@
Fix a long-standing bug where setting the read marker could fail when using message retention. Contributed by Nick @ Beeper (@fizzadar).

View File

@ -1 +0,0 @@
Create dependabot changelogs at release time.

View File

@ -1 +0,0 @@
Add not null constraint to column full_user_id of tables profiles and user_filters.

View File

@ -1 +0,0 @@
Allow connecting to HTTP Replication Endpoints by using `worker_name` when constructing the request.

View File

@ -1 +0,0 @@
Process previously failed backfill events in the background to avoid blocking requests for something that is bound to fail again.

View File

@ -1 +0,0 @@
Make the `thread_id` column on `event_push_actions`, `event_push_actions_staging`, and `event_push_summary` non-null.

View File

@ -1 +0,0 @@
Print full error and stack-trace of any exception that occurs during startup/initialization.

View File

@ -1 +0,0 @@
Fix a long-standing bug where the `url_preview_url_blacklist` configuration setting was not applied to oEmbed or image URLs found while previewing a URL.

View File

@ -1 +0,0 @@
Run mypy type checking with the minimum supported Python version to catch new usage that isn't backwards-compatible.

View File

@ -1 +0,0 @@
Fix subscriptable type usage in Python <3.9.

View File

@ -1 +0,0 @@
Update internal terminology.

View File

@ -1 +0,0 @@
Fix a long-standing bug where filters with multiple backslashes were rejected.

View File

@ -1 +0,0 @@
Instrument `state` and `state_group` storage-related operations to better picture what's happening when tracing.

View File

@ -1 +0,0 @@
Add a new admin API to create a new device for a user.

View File

@ -1 +0,0 @@
Warn users that at least 3.75GB of space is needed for the nix Synapse development environment.

View File

@ -1 +0,0 @@
Fix a bug introduced in Synapse 1.82.0 where the error message displayed when validation of the `app_service_config_files` config option fails would be incorrectly formatted.

View File

@ -1 +0,0 @@
Re-type config paths in `ConfigError`s to be `StrSequence`s instead of `Iterable[str]`s.

View File

@ -1 +0,0 @@
Update internal terminology.

View File

@ -1 +0,0 @@
Update Mutual Rooms (MSC2666) implementation to match new proposal text.

View File

@ -1 +0,0 @@
Fix a long-standing bug where deactivated users were still able to login using the custom `org.matrix.login.jwt` login type (if enabled).

View File

@ -1 +0,0 @@
Remove the unstable identifiers from faster joins ([MSC3706](https://github.com/matrix-org/matrix-spec-proposals/pull/3706).

View File

@ -1 +0,0 @@
Fix the olddeps CI.

View File

@ -1 +0,0 @@
Fix two memory leaks in `trial` test runs.

View File

@ -1 +0,0 @@
Trace how many new events from the backfill response we need to process.

View File

@ -1 +0,0 @@
Fix a long-standing bug where deactivated users were able to login in uncommon situations.

View File

@ -1 +0,0 @@
Remove duplicate timestamp from test logs (`_trial_temp/test.log`).

View File

@ -1 +0,0 @@
Bump types-setuptools from 67.7.0.2 to 67.8.0.0.

View File

@ -1 +0,0 @@
Bump types-pillow from 9.5.0.2 to 9.5.0.4.

View File

@ -1 +0,0 @@
Bump sphinx from 6.1.3 to 6.2.1.

View File

@ -1 +0,0 @@
Bump furo from 2023.3.27 to 2023.5.20.

View File

@ -1 +0,0 @@
Bump pygithub from 1.58.1 to 1.58.2.

View File

@ -1 +0,0 @@
Add Unix socket support for Redis connections. Contributed by Jason Little.

View File

@ -1 +0,0 @@
Limit the size of the `HomeServerConfig` cache in trial test runs.

View File

@ -1 +0,0 @@
Instrument `state` and `state_group` storage-related operations to better picture what's happening when tracing.

View File

@ -1 +0,0 @@
Remove outdated comment from the generated and sample homeserver log configs.

View File

@ -1 +0,0 @@
Bump requests from 2.28.2 to 2.31.0.

View File

@ -1 +0,0 @@
Improve type hints.

View File

@ -1 +0,0 @@
Improve type hints.

View File

@ -1 +0,0 @@
Add requesting user id parameter to key claim methods in `TransportLayerClient`.

View File

@ -1 +0,0 @@
Speed up rebuilding of the user directory for local users.

View File

@ -1 +0,0 @@
Implement "option 2" for [MSC3820](https://github.com/matrix-org/matrix-spec-proposals/pull/3820): Room version 11.

View File

@ -1 +0,0 @@
Improve contributor docs to make it more clear that Rust is a necessary prerequisite. Contributed by @grantm.

View File

@ -1 +0,0 @@
Implement "option 2" for [MSC3820](https://github.com/matrix-org/matrix-spec-proposals/pull/3820): Room version 11.

View File

@ -1 +0,0 @@
Bump log from 0.4.17 to 0.4.18.

View File

@ -1 +0,0 @@
Bump prometheus-client from 0.16.0 to 0.17.0.

View File

@ -1 +0,0 @@
Bump types-pyyaml from 6.0.12.9 to 6.0.12.10.

View File

@ -1 +0,0 @@
Bump types-requests from 2.30.0.0 to 2.31.0.0.

View File

@ -1 +0,0 @@
Bump pydantic from 1.10.7 to 1.10.8.

View File

@ -1 +0,0 @@
Bump types-bleach from 6.0.0.1 to 6.0.0.3.

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
matrix-synapse-py3 (1.85.0~rc1) stable; urgency=medium
* New Synapse release 1.85.0rc1.
-- Synapse Packaging team <packages@matrix.org> Tue, 30 May 2023 13:56:54 +0100
matrix-synapse-py3 (1.84.1) stable; urgency=medium
* New Synapse release 1.84.1.

View File

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

View File

@ -875,6 +875,8 @@ def build_dependabot_changelog(repo: Repo, current_version: version.Version) ->
for i, message in enumerate(messages):
messages[i] = re.sub(r"(.*) \(#(\d+)\)$", replacer, message)
messages.insert(0, "### Updates to locked dependencies\n")
# Add an extra blank line to the bottom of the section
messages.append("")
return "\n".join(messages)