Merge branch 'release-v1.50' into matrix-org-hotfixes
This commit is contained in:
+2
-1
@@ -24,7 +24,6 @@ Bugfixes
|
||||
- Fix a long-standing bug where responses included bundled aggregations when they should not, per [MSC2675](https://github.com/matrix-org/matrix-doc/pull/2675). ([\#11592](https://github.com/matrix-org/synapse/issues/11592), [\#11623](https://github.com/matrix-org/synapse/issues/11623))
|
||||
- Fix a long-standing bug that some unknown endpoints would return HTML error pages instead of JSON `M_UNRECOGNIZED` errors. ([\#11602](https://github.com/matrix-org/synapse/issues/11602))
|
||||
- Fix a bug introduced in Synapse 1.19.3 which could sometimes cause `AssertionError`s when backfilling rooms over federation. ([\#11632](https://github.com/matrix-org/synapse/issues/11632))
|
||||
- Fix a bug in `SimpleHttpClient.get_json` that results in the `Accept` request header being absent. ([\#11677](https://github.com/matrix-org/synapse/issues/11677))
|
||||
|
||||
|
||||
Improved Documentation
|
||||
@@ -83,6 +82,8 @@ Internal Changes
|
||||
- Improve the error messages from `get_create_event_for_room`. ([\#11638](https://github.com/matrix-org/synapse/issues/11638))
|
||||
- Remove redundant `get_current_events_token` method. ([\#11643](https://github.com/matrix-org/synapse/issues/11643))
|
||||
- Convert `namedtuples` to `attrs`. ([\#11665](https://github.com/matrix-org/synapse/issues/11665), [\#11574](https://github.com/matrix-org/synapse/issues/11574))
|
||||
- Update the `/capabilities` response to include whether support for [MSC3440](https://github.com/matrix-org/matrix-doc/pull/3440) is available. ([\#11690](https://github.com/matrix-org/synapse/issues/11690))
|
||||
- Send the `Accept` header in HTTP requests made using `SimpleHttpClient.get_json`. ([\#11677](https://github.com/matrix-org/synapse/issues/11677))
|
||||
|
||||
|
||||
Synapse 1.49.2 (2021-12-21)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Work around Mjolnir compatibility issue by adding an import for `glob_to_regex` in `synapse.util`, where it moved from.
|
||||
@@ -73,6 +73,9 @@ class CapabilitiesRestServlet(RestServlet):
|
||||
"enabled": self.config.registration.enable_3pid_changes
|
||||
}
|
||||
|
||||
if self.config.experimental.msc3440_enabled:
|
||||
response["capabilities"]["io.element.thread"] = {"enabled": True}
|
||||
|
||||
return 200, response
|
||||
|
||||
|
||||
|
||||
@@ -31,6 +31,13 @@ from synapse.logging import context
|
||||
if typing.TYPE_CHECKING:
|
||||
pass
|
||||
|
||||
# FIXME Mjolnir imports glob_to_regex from this file, but it was moved to
|
||||
# matrix_common.
|
||||
# As a temporary workaround, we import glob_to_regex here for
|
||||
# compatibility with current versions of Mjolnir.
|
||||
# See https://github.com/matrix-org/mjolnir/pull/174
|
||||
from matrix_common.regex import glob_to_regex # noqa
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user