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

Commit

Permalink
Remove workaround introduced in Synapse v1.50.0rc1 for Mjolnir compat…
Browse files Browse the repository at this point in the history
…ibility. Breaks compatibility with Mjolnir v1.3.1 and earlier. (#11700)
  • Loading branch information
reivilibre authored Mar 10, 2022
1 parent ea27528 commit 72e7f1c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions changelog.d/11700.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove workaround introduced in Synapse 1.50.0 for Mjolnir compatibility. Breaks compatibility with Mjolnir 1.3.1 and earlier.
8 changes: 8 additions & 0 deletions docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ You will need to ensure `synctl` is on your `PATH`.
automatically, though you might need to activate a virtual environment
depending on how you installed Synapse.


## Compatibility dropped for Mjolnir 1.3.1 and earlier

Synapse v1.55.0 drops support for Mjolnir 1.3.1 and earlier.
If you use the Mjolnir module to moderate your homeserver,
please upgrade Mjolnir to version 1.3.2 or later before upgrading Synapse.


# Upgrading to v1.54.0

## Legacy structured logging configuration removal
Expand Down
7 changes: 0 additions & 7 deletions synapse/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@
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__)


Expand Down

0 comments on commit 72e7f1c

Please sign in to comment.