1.39.0rc1

This commit is contained in:
Andrew Morgan 2021-07-20 12:31:51 +01:00
parent 97c8ae90f7
commit 12623cf38c
52 changed files with 72 additions and 51 deletions

View File

@ -1,3 +1,74 @@
Synapse 1.39.0rc1 (2021-07-20)
==============================
Note that Third-Party Event Rules module interface is deprecated in favour of the generic module interface introduced in Synapse v1.37.0. Support for the old interface is planned to be rmeoved in September 2021. See the [upgrade notes](https://matrix-org.github.io/synapse/latest/upgrade.html#upgrading-to-v1390) for more information.
Features
--------
- Add a module type for the account validity feature. ([\#9884](https://github.com/matrix-org/synapse/issues/9884))
- The spaces summary API now returns any joinable rooms, not only rooms which are world-readable. ([\#10298](https://github.com/matrix-org/synapse/issues/10298), [\#10305](https://github.com/matrix-org/synapse/issues/10305))
- Add a new version of the R30 phone-home metric, which removes a false impression of retention given by the old R30 metric. ([\#10332](https://github.com/matrix-org/synapse/issues/10332), [\#10427](https://github.com/matrix-org/synapse/issues/10427))
- Allow providing credentials to `http_proxy`. ([\#10360](https://github.com/matrix-org/synapse/issues/10360))
Bugfixes
--------
- Add base starting insertion event when no chunk ID is specified in the historical batch send API. ([\#10250](https://github.com/matrix-org/synapse/issues/10250))
- Fix historical batch send endpoint (MSC2716) rejecting batches with messages from multiple senders. ([\#10276](https://github.com/matrix-org/synapse/issues/10276))
- Fix purging rooms that other homeservers are still sending events for. Contributed by @ilmari. ([\#10317](https://github.com/matrix-org/synapse/issues/10317))
- Fix errors during backfill caused by previously purged redaction events. Contributed by Andreas Rammhold (@andir). ([\#10343](https://github.com/matrix-org/synapse/issues/10343))
- Fix the user directory becoming broken (and noisy errors being logged) when knocking and room statistics are in use. ([\#10344](https://github.com/matrix-org/synapse/issues/10344))
- Fix newly added `synapse_federation_server_oldest_inbound_pdu_in_staging` prometheus metric to measure age rather than timestamp. ([\#10355](https://github.com/matrix-org/synapse/issues/10355))
- Fix PostgreSQL sometimes using table scans for queries against `state_groups_state` table, taking a long time and a large amount of IO. ([\#10359](https://github.com/matrix-org/synapse/issues/10359))
- Fix `make_room_admin` failing for users that have left a private room. ([\#10367](https://github.com/matrix-org/synapse/issues/10367))
- Fix a number of logged errors caused by remote servers being down. ([\#10400](https://github.com/matrix-org/synapse/issues/10400), [\#10414](https://github.com/matrix-org/synapse/issues/10414))
- Responses from `/make_{join,leave,knock}` no longer include signatures, which will turn out to be invalid after events are returned to `/send_{join,leave,knock}`. ([\#10404](https://github.com/matrix-org/synapse/issues/10404))
Improved Documentation
----------------------
- Updated installation dependencies for newer macOS versions and ARM Macs. Contributed by Luke Walsh. ([\#9971](https://github.com/matrix-org/synapse/issues/9971))
- Simplify structure of room admin API. ([\#10313](https://github.com/matrix-org/synapse/issues/10313))
- Fix a broken link in the admin api docs. ([\#10322](https://github.com/matrix-org/synapse/issues/10322))
- Fix formatting in the logcontext documentation. ([\#10337](https://github.com/matrix-org/synapse/issues/10337))
- Refresh the logcontext dev documentation. ([\#10353](https://github.com/matrix-org/synapse/issues/10353))
- Add delegation example for caddy in the reverse proxy documentation. Contributed by @moritzdietz. ([\#10368](https://github.com/matrix-org/synapse/issues/10368))
- Fix some links in `docs` and `contrib`. ([\#10370](https://github.com/matrix-org/synapse/issues/10370))
- Make deprecation notice of the spam checker doc more obvious. ([\#10395](https://github.com/matrix-org/synapse/issues/10395))
- Add instructructions on installing Debian packages for release candidates. ([\#10396](https://github.com/matrix-org/synapse/issues/10396))
- Rewrite the text of links to be clearer in the documentation. ([\#10399](https://github.com/matrix-org/synapse/issues/10399))
Deprecations and Removals
-------------------------
- Remove functionality associated with the unused `room_stats_historical` and `user_stats_historical` tables. Contributed by @xmunoz. ([\#9721](https://github.com/matrix-org/synapse/issues/9721))
- The third-party event rules module interface is deprecated in favour of the generic module interface introduced in Synapse v1.37.0. See the [upgrade notes](https://matrix-org.github.io/synapse/latest/upgrade.html#upgrading-to-v1390) for more information. ([\#10386](https://github.com/matrix-org/synapse/issues/10386))
Internal Changes
----------------
- Convert `room_depth.min_depth` column to a `BIGINT`. ([\#10289](https://github.com/matrix-org/synapse/issues/10289))
- Add tests to characterise the current behaviour of R30 phone-home metrics. ([\#10315](https://github.com/matrix-org/synapse/issues/10315))
- Rebuild event context and auth when processing specific results from `ThirdPartyEventRules` modules. ([\#10316](https://github.com/matrix-org/synapse/issues/10316))
- Minor change to the code that populates `user_daily_visits`. ([\#10324](https://github.com/matrix-org/synapse/issues/10324))
- Re-enable Sytests that were disabled for the 1.37.1 release. ([\#10345](https://github.com/matrix-org/synapse/issues/10345), [\#10357](https://github.com/matrix-org/synapse/issues/10357))
- Run `pyupgrade` on the codebase. ([\#10347](https://github.com/matrix-org/synapse/issues/10347), [\#10348](https://github.com/matrix-org/synapse/issues/10348))
- Switch `application_services_txns.txn_id` database column to `BIGINT`. ([\#10349](https://github.com/matrix-org/synapse/issues/10349))
- Convert internal type variable syntax to reflect wider ecosystem use. ([\#10350](https://github.com/matrix-org/synapse/issues/10350), [\#10380](https://github.com/matrix-org/synapse/issues/10380), [\#10381](https://github.com/matrix-org/synapse/issues/10381), [\#10382](https://github.com/matrix-org/synapse/issues/10382), [\#10418](https://github.com/matrix-org/synapse/issues/10418))
- Make the Github Actions workflow configuration more efficient. ([\#10383](https://github.com/matrix-org/synapse/issues/10383))
- Add type hints to `get_{domain,localpart}_from_id`. ([\#10385](https://github.com/matrix-org/synapse/issues/10385))
- When building Debian packages for prerelease versions, set the Section accordingly. ([\#10391](https://github.com/matrix-org/synapse/issues/10391))
- Add type hints and comments to event auth code. ([\#10393](https://github.com/matrix-org/synapse/issues/10393))
- Stagger sending of presence update to remote servers, reducing CPU spikes caused by starting many connections to remote servers at once. ([\#10398](https://github.com/matrix-org/synapse/issues/10398))
- Remove unused `events_by_room` code (tech debt). ([\#10421](https://github.com/matrix-org/synapse/issues/10421))
- Add a github actions job which records success of other jobs. ([\#10430](https://github.com/matrix-org/synapse/issues/10430))
Synapse 1.38.0 (2021-07-13) Synapse 1.38.0 (2021-07-13)
=========================== ===========================

View File

@ -1 +0,0 @@
Add base starting insertion event when no chunk ID is specified in the historical batch send API.

View File

@ -1 +0,0 @@
Fix historical batch send endpoint (MSC2716) rejecting batches with messages from multiple senders.

View File

@ -1 +0,0 @@
Convert `room_depth.min_depth` column to a `BIGINT`.

View File

@ -1 +0,0 @@
The spaces summary API now returns any joinable rooms, not only rooms which are world-readable.

View File

@ -1 +0,0 @@
The spaces summary API now returns any joinable rooms, not only rooms which are world-readable.

View File

@ -1 +0,0 @@
Simplify structure of room admin API.

View File

@ -1 +0,0 @@
Add tests to characterise the current behaviour of R30 phone-home metrics.

View File

@ -1 +0,0 @@
Rebuild event context and auth when processing specific results from `ThirdPartyEventRules` modules.

View File

@ -1 +0,0 @@
Fix purging rooms that other homeservers are still sending events for. Contributed by @ilmari.

View File

@ -1 +0,0 @@
Fix a broken link in the admin api docs.

View File

@ -1 +0,0 @@
Minor change to the code that populates `user_daily_visits`.

View File

@ -1 +0,0 @@
Add a new version of the R30 phone-home metric, which removes a false impression of retention given by the old R30 metric.

View File

@ -1 +0,0 @@
Fix formatting in the logcontext documentation.

View File

@ -1 +0,0 @@
Fix errors during backfill caused by previously purged redaction events. Contributed by Andreas Rammhold (@andir).

View File

@ -1 +0,0 @@
Fix the user directory becoming broken (and noisy errors being logged) when knocking and room statistics are in use.

View File

@ -1 +0,0 @@
Re-enable Sytests that were disabled for the 1.37.1 release.

View File

@ -1 +0,0 @@
Run `pyupgrade` on the codebase.

View File

@ -1 +0,0 @@
Run `pyupgrade` on the codebase.

View File

@ -1 +0,0 @@
Switch `application_services_txns.txn_id` database column to `BIGINT`.

View File

@ -1 +0,0 @@
Convert internal type variable syntax to reflect wider ecosystem use.

View File

@ -1 +0,0 @@
Refresh the logcontext dev documentation.

View File

@ -1 +0,0 @@
Fix newly added `synapse_federation_server_oldest_inbound_pdu_in_staging` prometheus metric to measure age rather than timestamp.

View File

@ -1 +0,0 @@
Re-enable Sytests that were disabled for the 1.37.1 release.

View File

@ -1 +0,0 @@
Fix PostgreSQL sometimes using table scans for queries against `state_groups_state` table, taking a long time and a large amount of IO.

View File

@ -1 +0,0 @@
Allow providing credentials to `http_proxy`.

View File

@ -1 +0,0 @@
Bugfix `make_room_admin` fails for users that have left a private room.

View File

@ -1 +0,0 @@
Add delegation example for caddy in the reverse proxy documentation. Contributed by @moritzdietz.

View File

@ -1 +0,0 @@
Fix some links in `docs` and `contrib`.

View File

@ -1 +0,0 @@
Convert internal type variable syntax to reflect wider ecosystem use.

View File

@ -1 +0,0 @@
Convert internal type variable syntax to reflect wider ecosystem use.

View File

@ -1 +0,0 @@
Convert internal type variable syntax to reflect wider ecosystem use.

View File

@ -1 +0,0 @@
Make the Github Actions workflow configuration more efficient.

View File

@ -1 +0,0 @@
Add type hints to `get_{domain,localpart}_from_id`.

View File

@ -1 +0,0 @@
The third-party event rules module interface is deprecated in favour of the generic module interface introduced in Synapse v1.37.0. See the [upgrade notes](https://matrix-org.github.io/synapse/latest/upgrade.html#upgrading-to-v1390) for more information.

View File

@ -1 +0,0 @@
When building Debian packages for prerelease versions, set the Section accordingly.

View File

@ -1 +0,0 @@
Add type hints and comments to event auth code.

View File

@ -1 +0,0 @@
Make deprecation notice of the spam checker doc more obvious.

View File

@ -1 +0,0 @@
Add instructructions on installing Debian packages for release candidates.

View File

@ -1 +0,0 @@
Stagger sending of presence update to remote servers, reducing CPU spikes caused by starting many connections to remote servers at once.

View File

@ -1 +0,0 @@
Rewrite the text of links to be clearer in the documentation.

View File

@ -1 +0,0 @@
Fix a number of logged errors caused by remote servers being down.

View File

@ -1 +0,0 @@
Responses from `/make_{join,leave,knock}` no longer include signatures, which will turn out to be invalid after events are returned to `/send_{join,leave,knock}`.

View File

@ -1 +0,0 @@
Fix a number of logged errors caused by remote servers being down.

View File

@ -1 +0,0 @@
Convert internal type variable syntax to reflect wider ecosystem use.

View File

@ -1 +0,0 @@
Remove unused `events_by_room` code (tech debt).

View File

@ -1 +0,0 @@
Add a new version of the R30 phone-home metric, which removes a false impression of retention given by the old R30 metric.

View File

@ -1 +0,0 @@
Add a github actions job recording success of other jobs.

View File

@ -1 +0,0 @@
Remove functionality associated with the unused `room_stats_historical` and `user_stats_historical` tables. Contributed by @xmunoz.

View File

@ -1 +0,0 @@
Add a module type for the account validity feature.

View File

@ -1 +0,0 @@
Updated installation dependencies for newer macOS versions and ARM Macs. Contributed by Luke Walsh.

View File

@ -47,7 +47,7 @@ try:
except ImportError: except ImportError:
pass pass
__version__ = "1.38.0" __version__ = "1.39.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