Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 45b1c58

Browse files
committed
Merge tag 'v1.30.0rc1' into hs/hacked-together-event-cache
Synapse 1.30.0rc1 (2021-03-16) ============================== Note that this release deprecates the ability for appservices to call `POST /_matrix/client/r0/register` without the body parameter `type`. Appservice developers should use a `type` value of `m.login.application_service` as per [the spec](https://matrix.org/docs/spec/application_service/r0.1.2#server-admin-style-permissions). In future releases, calling this endpoint with an access token - but without a `m.login.application_service` type - will fail. Features -------- - Add prometheus metrics for number of users successfully registering and logging in. ([\#9510](#9510), [\#9511](#9511), [\#9573](#9573)) - Add `synapse_federation_last_sent_pdu_time` and `synapse_federation_last_received_pdu_time` prometheus metrics, which monitor federation delays by reporting the timestamps of messages sent and received to a set of remote servers. ([\#9540](#9540)) - Add support for generating JSON Web Tokens dynamically for use as OIDC client secrets. ([\#9549](#9549)) - Optimise handling of incomplete room history for incoming federation. ([\#9601](#9601)) - Finalise support for allowing clients to pick an SSO Identity Provider ([MSC2858](matrix-org/matrix-spec-proposals#2858)). ([\#9617](#9617)) - Tell spam checker modules about the SSO IdP a user registered through if one was used. ([\#9626](#9626)) Bugfixes -------- - Fix long-standing bug when generating thumbnails for some images with transparency: `TypeError: cannot unpack non-iterable int object`. ([\#9473](#9473)) - Purge chain cover indexes for events that were purged prior to Synapse v1.29.0. ([\#9542](#9542), [\#9583](#9583)) - Fix bug where federation requests were not correctly retried on 5xx responses. ([\#9567](#9567)) - Fix re-activating an account via the admin API when local passwords are disabled. ([\#9587](#9587)) - Fix a bug introduced in Synapse 1.20 which caused incoming federation transactions to stack up, causing slow recovery from outages. ([\#9597](#9597)) - Fix a bug introduced in v1.28.0 where the OpenID Connect callback endpoint could error with a `MacaroonInitException`. ([\#9620](#9620)) - Fix Internal Server Error on `GET /_synapse/client/saml2/authn_response` request. ([\#9623](#9623)) Updates to the Docker image --------------------------- - Use jemalloc if available in docker. ([\#8553](#8553)) Improved Documentation ---------------------- - Add relayd entry to reverse proxy example configurations. ([\#9508](#9508)) - Improve the SAML2 upgrade notes for 1.27.0. ([\#9550](#9550)) - Link to the "List user's media" admin API from the media admin API docs. ([\#9571](#9571)) - Clarify the spam checker modules documentation example to mention that `parse_config` is a required method. ([\#9580](#9580)) - Clarify the sample configuration for `stats` settings. ([\#9604](#9604)) Deprecations and Removals ------------------------- - The `synapse_federation_last_sent_pdu_age` and `synapse_federation_last_received_pdu_age` prometheus metrics have been removed. They are replaced by `synapse_federation_last_sent_pdu_time` and `synapse_federation_last_received_pdu_time`. ([\#9540](#9540)) - Registering an Application Service user without using the `m.login.application_service` login type will be unsupported in an upcoming Synapse release. ([\#9559](#9559)) Internal Changes ---------------- - Add tests to ResponseCache. ([\#9458](#9458)) - Add type hints to purge room and server notice admin API. ([\#9520](#9520)) - Add extra logging to ObservableDeferred when callbacks throw exceptions. ([\#9523](#9523)) - Fix incorrect type hints. ([\#9528](#9528), [\#9543](#9543), [\#9591](#9591), [\#9608](#9608), [\#9618](#9618)) - Add an additional test for purging a room. ([\#9541](#9541)) - Add a `.git-blame-ignore-revs` file with the hashes of auto-formatting. ([\#9560](#9560)) - Increase the threshold before which outbound federation to a server goes into "catch up" mode, which is expensive for the remote server to handle. ([\#9561](#9561)) - Fix spurious errors reported by the `config-lint.sh` script. ([\#9562](#9562)) - Fix type hints and tests for BlacklistingAgentWrapper and BlacklistingReactorWrapper. ([\#9563](#9563)) - Do not have mypy ignore type hints from unpaddedbase64. ([\#9568](#9568)) - Improve efficiency of calculating the auth chain in large rooms. ([\#9576](#9576)) - Convert `synapse.types.Requester` to an `attrs` class. ([\#9586](#9586)) - Add logging for redis connection setup. ([\#9590](#9590)) - Improve logging when processing incoming transactions. ([\#9596](#9596)) - Remove unused `stats.retention` setting, and emit a warning if stats are disabled. ([\#9604](#9604)) - Prevent attempting to bundle aggregations for state events in /context APIs. ([\#9619](#9619))
2 parents 316db51 + e3bc0e6 commit 45b1c58

File tree

143 files changed

+2761
-981
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+2761
-981
lines changed

.git-blame-ignore-revs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Black reformatting (#5482).
2+
32e7c9e7f20b57dd081023ac42d6931a8da9b3a3
3+
4+
# Target Python 3.5 with black (#8664).
5+
aff1eb7c671b0a3813407321d2702ec46c71fa56
6+
7+
# Update black to 20.8b1 (#9381).
8+
0a00b7ff14890987f09112a2ae696c61001e6cf1

CHANGES.md

+136-2

MANIFEST.in

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ recursive-include scripts *
2020
recursive-include scripts-dev *
2121
recursive-include synapse *.pyi
2222
recursive-include tests *.py
23-
include tests/http/ca.crt
24-
include tests/http/ca.key
25-
include tests/http/server.key
23+
recursive-include tests *.pem
24+
recursive-include tests *.p8
25+
recursive-include tests *.crt
26+
recursive-include tests *.key
2627

2728
recursive-include synapse/res *
2829
recursive-include synapse/static *.css

README.rst

+3-2

UPGRADE.rst

+10-3

changelog.d/8957.feature

-1
This file was deleted.

changelog.d/8978.feature

-1
This file was deleted.

changelog.d/9203.feature

-1
This file was deleted.

changelog.d/9285.bugfix

-1
This file was deleted.

changelog.d/9372.feature

-1
This file was deleted.

changelog.d/9383.feature

-1
This file was deleted.

changelog.d/9385.feature

-1
This file was deleted.

changelog.d/9402.bugfix

-1
This file was deleted.

changelog.d/9416.bugfix

-1
This file was deleted.

changelog.d/9432.misc

-1
This file was deleted.

changelog.d/9436.bugfix

-1
This file was deleted.

changelog.d/9438.feature

-1
This file was deleted.

changelog.d/9440.bugfix

-1
This file was deleted.

changelog.d/9449.bugfix

-1
This file was deleted.

changelog.d/9462.misc

-1
This file was deleted.

changelog.d/9463.doc

-1
This file was deleted.

changelog.d/9464.misc

-1
This file was deleted.

changelog.d/9465.bugfix

-1
This file was deleted.

changelog.d/9466.bugfix

-1
This file was deleted.

changelog.d/9470.bugfix

-1
This file was deleted.

changelog.d/9472.feature

-1
This file was deleted.

changelog.d/9479.bugfix

-1
This file was deleted.

changelog.d/9496.misc

-1
This file was deleted.

changelog.d/9497.bugfix

-1
This file was deleted.

changelog.d/9498.bugfix

-1
This file was deleted.

changelog.d/9501.feature

-1
This file was deleted.

changelog.d/9502.misc

-1
This file was deleted.

changelog.d/9503.bugfix

-1
This file was deleted.

changelog.d/9506.bugfix

-1
This file was deleted.

changelog.d/9512.feature

-1
This file was deleted.

changelog.d/9515.misc

-1
This file was deleted.

changelog.d/9516.bugfix

-1
This file was deleted.

changelog.d/9518.misc

-1
This file was deleted.

changelog.d/9519.misc

-1
This file was deleted.

changelog.d/9521.misc

-1
This file was deleted.

changelog.d/9529.misc

-1
This file was deleted.

changelog.d/9530.bugfix

-1
This file was deleted.

changelog.d/9536.bugfix

-1
This file was deleted.

changelog.d/9537.bugfix

-1
This file was deleted.

changelog.d/9539.feature

-1
This file was deleted.

0 commit comments

Comments
 (0)