1.56.0rc1

This commit is contained in:
Brendan Abolivier 2022-03-29 10:41:04 +01:00
parent 6f2943714b
commit b690fe749b
46 changed files with 66 additions and 44 deletions

View File

@ -1,3 +1,62 @@
Synapse 1.56.0rc1 (2022-03-29)
==============================
Features
--------
- Allow modules to store already existing 3PID associations. ([\#12195](https://github.com/matrix-org/synapse/issues/12195))
- Allow registering admin users using the module API. Contributed by Famedly. ([\#12250](https://github.com/matrix-org/synapse/issues/12250))
Bugfixes
--------
- Fix a long-standing bug which caused the `/_matrix/federation/v1/state` and `.../state_ids` endpoints to return incorrect or invalid data when called for an event which we have stored as an "outlier". ([\#12087](https://github.com/matrix-org/synapse/issues/12087))
- Fix a long-standing bug where events from ignored users were still considered for relations. ([\#12227](https://github.com/matrix-org/synapse/issues/12227), [\#12232](https://github.com/matrix-org/synapse/issues/12232), [\#12285](https://github.com/matrix-org/synapse/issues/12285))
- Fix a bug introduced in v1.53.0 where an unnecessary query could be performed when fetching bundled aggregations for threads. ([\#12228](https://github.com/matrix-org/synapse/issues/12228))
- Fix a bug introduced in Synapse 1.52 where admins could not deactivate and GDPR-erase a user if Synapse was configured with limits on avatars. ([\#12261](https://github.com/matrix-org/synapse/issues/12261))
Improved Documentation
----------------------
- Fix the link to the module documentation in the legacy spam checker warning message. ([\#12231](https://github.com/matrix-org/synapse/issues/12231))
- Remove incorrect prefixes in the worker documentation for some endpoints. ([\#12243](https://github.com/matrix-org/synapse/issues/12243))
- Correct `check_username_for_spam` annotations and docs. ([\#12246](https://github.com/matrix-org/synapse/issues/12246))
- Corrected Authentik OpenID typo, added helpful note for troubleshooting. Contributed by @IronTooch. ([\#12275](https://github.com/matrix-org/synapse/issues/12275))
- HAProxy reverse proxy guide update to stop sending IPv4-mapped address to homeserver. Contributed by @villepeh. ([\#12279](https://github.com/matrix-org/synapse/issues/12279))
Internal Changes
----------------
- Rename `shared_rooms` to `mutual_rooms` (MSC2666), as per proposal changes. ([\#12036](https://github.com/matrix-org/synapse/issues/12036))
- Remove check on `update_user_directory` for shared rooms handler (MSC2666), and update/expand documentation. ([\#12038](https://github.com/matrix-org/synapse/issues/12038))
- Refactor `create_new_client_event` to use a new parameter, `state_event_ids`, which accurately describes the usage with [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) instead of abusing `auth_event_ids`. ([\#12083](https://github.com/matrix-org/synapse/issues/12083), [\#12304](https://github.com/matrix-org/synapse/issues/12304))
- Refuse to start if registration is enabled without email, captcha, or token-based verification unless new config flag `enable_registration_without_verification` is set. ([\#12091](https://github.com/matrix-org/synapse/issues/12091))
- Add tests for database transaction callbacks. ([\#12198](https://github.com/matrix-org/synapse/issues/12198))
- Handle cancellation in `DatabasePool.runInteraction()`. ([\#12199](https://github.com/matrix-org/synapse/issues/12199))
- Add missing type hints for cache storage. ([\#12216](https://github.com/matrix-org/synapse/issues/12216))
- Clean-up logic around rebasing URLs for URL image previews. ([\#12219](https://github.com/matrix-org/synapse/issues/12219))
- Add type hints to tests files. ([\#12224](https://github.com/matrix-org/synapse/issues/12224), [\#12240](https://github.com/matrix-org/synapse/issues/12240), [\#12256](https://github.com/matrix-org/synapse/issues/12256))
- Use the `ignored_users` table in additional places instead of re-parsing the account data. ([\#12225](https://github.com/matrix-org/synapse/issues/12225))
- Refactor the relations endpoints to add a `RelationsHandler`. ([\#12237](https://github.com/matrix-org/synapse/issues/12237))
- Generate announcement links in the release script. ([\#12242](https://github.com/matrix-org/synapse/issues/12242))
- Improve error message when dependencies check finds a broken installation. ([\#12244](https://github.com/matrix-org/synapse/issues/12244))
- Add missing type hints for storage. ([\#12248](https://github.com/matrix-org/synapse/issues/12248), [\#12255](https://github.com/matrix-org/synapse/issues/12255))
- Compress metrics HTTP resource when enabled. Contributed by Nick @ Beeper. ([\#12258](https://github.com/matrix-org/synapse/issues/12258))
- Refuse to start if DB has non-`C` locale, unless config flag `allow_unsafe_db_locale` is set to true. ([\#12262](https://github.com/matrix-org/synapse/issues/12262), [\#12288](https://github.com/matrix-org/synapse/issues/12288))
- Optionally include account validity expiration information to experimental [MSC3720](https://github.com/matrix-org/matrix-doc/pull/3720) account status responses. ([\#12266](https://github.com/matrix-org/synapse/issues/12266))
- Use type stubs for `psycopg2`. ([\#12269](https://github.com/matrix-org/synapse/issues/12269))
- Add a new cache `_get_membership_from_event_id` to speed up push rule calculations in large rooms. ([\#12272](https://github.com/matrix-org/synapse/issues/12272))
- Re-enable Complement concurrency in CI. ([\#12283](https://github.com/matrix-org/synapse/issues/12283))
- Remove unused test utilities. ([\#12291](https://github.com/matrix-org/synapse/issues/12291))
- Enhance logging for inbound federation events. ([\#12301](https://github.com/matrix-org/synapse/issues/12301))
- Improve type annotations for `execute_values`. ([\#12311](https://github.com/matrix-org/synapse/issues/12311))
- Fix compatibility with the recently-released Jinja 3.1. ([\#12313](https://github.com/matrix-org/synapse/issues/12313))
- Avoid trying to calculate the state at outlier events. ([\#12314](https://github.com/matrix-org/synapse/issues/12314))
Synapse 1.55.2 (2022-03-24) Synapse 1.55.2 (2022-03-24)
=========================== ===========================

View File

@ -1 +0,0 @@
Rename `shared_rooms` to `mutual_rooms` (MSC2666), as per proposal changes.

View File

@ -1 +0,0 @@
Remove check on `update_user_directory` for shared rooms handler (MSC2666), and update/expand documentation.

View File

@ -1 +0,0 @@
Refactor `create_new_client_event` to use a new parameter, `state_event_ids`, which accurately describes the usage with [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) instead of abusing `auth_event_ids`.

View File

@ -1 +0,0 @@
Fix a long-standing bug which caused the `/_matrix/federation/v1/state` and `.../state_ids` endpoints to return incorrect or invalid data when called for an event which we have stored as an "outlier".

View File

@ -1 +0,0 @@
Refuse to start if registration is enabled without email, captcha, or token-based verification unless new config flag `enable_registration_without_verification` is set.

View File

@ -1 +0,0 @@
Allow modules to store already existing 3PID associations.

View File

@ -1 +0,0 @@
Add tests for database transaction callbacks.

View File

@ -1 +0,0 @@
Handle cancellation in `DatabasePool.runInteraction()`.

View File

@ -1 +0,0 @@
Add missing type hints for cache storage.

View File

@ -1 +0,0 @@
Clean-up logic around rebasing URLs for URL image previews.

View File

@ -1 +0,0 @@
Add type hints to tests files.

View File

@ -1 +0,0 @@
Use the `ignored_users` table in additional places instead of re-parsing the account data.

View File

@ -1 +0,0 @@
Fix a long-standing bug where events from ignored users were still considered for relations.

View File

@ -1 +0,0 @@
Fix a bug introduced in v1.53.0 where an unnecessary query could be performed when fetching bundled aggregations for threads.

View File

@ -1 +0,0 @@
Fix the link to the module documentation in the legacy spam checker warning message.

View File

@ -1 +0,0 @@
Fix a long-standing bug where events from ignored users were still considered for relations.

View File

@ -1 +0,0 @@
Refactor the relations endpoints to add a `RelationsHandler`.

View File

@ -1 +0,0 @@
Add type hints to tests files.

View File

@ -1 +0,0 @@
Generate announcement links in the release script.

View File

@ -1 +0,0 @@
Remove incorrect prefixes in the worker documentation for some endpoints.

View File

@ -1 +0,0 @@
Improve error message when dependencies check finds a broken installation.

View File

@ -1 +0,0 @@
Correct `check_username_for_spam` annotations and docs.

View File

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

View File

@ -1 +0,0 @@
Allow registering admin users using the module API. Contributed by Famedly.

View File

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

View File

@ -1 +0,0 @@
Add type hints to tests files.

View File

@ -1 +0,0 @@
Compress metrics HTTP resource when enabled. Contributed by Nick @ Beeper.

View File

@ -1 +0,0 @@
Fix a bug introduced in Synapse 1.52 where admins could not deactivate and GDPR-erase a user if Synapse was configured with limits on avatars.

View File

@ -1 +0,0 @@
Refuse to start if DB has non-`C` locale, unless config flag `allow_unsafe_db_locale` is set to true.

View File

@ -1 +0,0 @@
Optionally include account validity expiration information to experimental [MSC3720](https://github.com/matrix-org/matrix-doc/pull/3720) account status responses.

View File

@ -1 +0,0 @@
Use type stubs for `psycopg2`.

View File

@ -1 +0,0 @@
Add a new cache `_get_membership_from_event_id` to speed up push rule calculations in large rooms.

View File

@ -1 +0,0 @@
Corrected Authentik OpenID typo, added helpful note for troubleshooting. Contributed by @IronTooch.

View File

@ -1 +0,0 @@
HAProxy reverse proxy guide update to stop sending IPv4-mapped address to homeserver. Contributed by @villepeh.

View File

@ -1 +0,0 @@
Re-enable Complement concurrency in CI.

View File

@ -1 +0,0 @@
Fix a long-standing bug where events from ignored users were still considered for relations.

View File

@ -1 +0,0 @@
Refuse to start if DB has non-`C` locale, unless config flag `allow_unsafe_db_locale` is set to true.

View File

@ -1 +0,0 @@
Remove unused test utilities.

View File

@ -1 +0,0 @@
Enhance logging for inbound federation events.

View File

@ -1 +0,0 @@
Refactor `create_new_client_event` to use a new parameter, `state_event_ids`, which accurately describes the usage with [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) instead of abusing `auth_event_ids`.

View File

@ -1 +0,0 @@
Improve type annotations for `execute_values`.

View File

@ -1 +0,0 @@
Fix compatibility with the recently-released Jinja 3.1.

View File

@ -1 +0,0 @@
Avoid trying to calculate the state at outlier events.

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
matrix-synapse-py3 (1.56.0~rc1) stable; urgency=medium
* New synapse release 1.56.0~rc1.
-- Synapse Packaging team <packages@matrix.org> Tue, 29 Mar 2022 10:40:50 +0100
matrix-synapse-py3 (1.55.2) stable; urgency=medium matrix-synapse-py3 (1.55.2) stable; urgency=medium
* New synapse release 1.55.2. * New synapse release 1.55.2.

View File

@ -68,7 +68,7 @@ try:
except ImportError: except ImportError:
pass pass
__version__ = "1.55.2" __version__ = "1.56.0rc1"
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
# We import here so that we don't have to install a bunch of deps when # We import here so that we don't have to install a bunch of deps when