diff --git a/_service b/_service
index f2f7bc7..1ff88da 100644
--- a/_service
+++ b/_service
@@ -4,11 +4,11 @@
@PARENT_TAG@
https://github.com/matrix-org/synapse.git
git
- v1.53.0
+ v1.54.0
v(.*)
\1
diff --git a/dont-bump-cryptography-with-system-openssl.patch b/dont-bump-cryptography-with-system-openssl.patch
index bb7a928..3410ab1 100644
--- a/dont-bump-cryptography-with-system-openssl.patch
+++ b/dont-bump-cryptography-with-system-openssl.patch
@@ -2,7 +2,7 @@ Index: synapse/synapse/python_dependencies.py
===================================================================
--- synapse.orig/synapse/python_dependencies.py
+++ synapse/synapse/python_dependencies.py
-@@ -76,7 +76,7 @@ REQUIREMENTS = [
+@@ -69,7 +69,7 @@ REQUIREMENTS = [
"msgpack>=0.5.2",
"phonenumbers>=8.2.0",
# we use GaugeHistogramMetric, which was added in prom-client 0.4.0.
@@ -11,13 +11,13 @@ Index: synapse/synapse/python_dependencies.py
# we use `order`, which arrived in attrs 19.2.0.
# Note: 21.1.0 broke `/sync`, see #9936
"attrs>=19.2.0,!=21.1.0",
-@@ -86,7 +86,8 @@ REQUIREMENTS = [
+@@ -79,7 +79,8 @@ REQUIREMENTS = [
"typing-extensions>=3.7.4",
# We enforce that we have a `cryptography` version that bundles an `openssl`
# with the latest security patches.
- "cryptography>=3.4.7",
+ # opensuse we do not bump here as we do not use the intree copy
+ "cryptography",
- "ijson>=3.1",
+ # ijson 3.1.4 fixes a bug with "." in property names
+ "ijson>=3.1.4",
"matrix-common~=1.1.0",
- ]
diff --git a/matrix-synapse-1.53.0.obscpio b/matrix-synapse-1.53.0.obscpio
deleted file mode 100644
index 7bd531e..0000000
--- a/matrix-synapse-1.53.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2eec17d82f801e6b4d7594c1a7f3e612a9361ce79a8439109316bbf45343450d
-size 32292365
diff --git a/matrix-synapse-1.54.0.obscpio b/matrix-synapse-1.54.0.obscpio
new file mode 100644
index 0000000..4aeee0c
--- /dev/null
+++ b/matrix-synapse-1.54.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:df71d3e206fc785fea11f8395f2af7cdbb2c08e0e58b43c4f35924959942542d
+size 32438285
diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec
index 4ecc80d..ffbdc25 100644
--- a/matrix-synapse-test.spec
+++ b/matrix-synapse-test.spec
@@ -27,7 +27,7 @@
%define pkgname matrix-synapse
Name: %{pkgname}-test
-Version: 1.53.0
+Version: 1.54.0
Release: 0
Summary: Test package for %{pkgname}
License: Apache-2.0
diff --git a/matrix-synapse.changes b/matrix-synapse.changes
index 5335b3e..ff6e7a8 100644
--- a/matrix-synapse.changes
+++ b/matrix-synapse.changes
@@ -1,3 +1,168 @@
+-------------------------------------------------------------------
+Tue Mar 8 18:44:40 UTC 2022 - Marcus Rueckert
+
+- Update to 1.54.0
+ Please note that this will be the last release of Synapse that is
+ compatible with Mjolnir 1.3.1 and earlier. Administrators of
+ servers which have the Mjolnir module installed are advised to
+ upgrade Mjolnir to version 1.3.2 or later.
+
+ - Features
+ - Add support for MSC3202: sending one-time key counts and
+ fallback key usage states to Application Services. (#11617)
+ - Improve the generated URL previews for some web pages.
+ Contributed by @AndrewRyanChama. (#11985)
+ - Track cache invalidations in Prometheus metrics, as already
+ happens for cache eviction based on size or time. (#12000)
+ - Implement experimental support for MSC3720 (account status
+ endpoints). (#12001, #12067)
+ - Enable modules to set a custom display name when registering
+ a user. (#12009)
+ - Advertise Matrix 1.1 and 1.2 support on
+ /_matrix/client/versions. (#12020, (#12022)
+ - Support only the stable identifier for MSC3069's is_guest on
+ /_matrix/client/v3/account/whoami. (#12021)
+ - Use room version 9 as the default room version (per MSC3589).
+ (#12058)
+ - Add module callbacks to react to user deactivation status
+ changes (i.e. deactivations and reactivations) and profile
+ updates. (#12062)
+ - Bugfixes
+ - Fix a bug introduced in Synapse 1.54.0rc1 preventing the new
+ module callbacks introduced in this release from being
+ registered by modules. (#12141)
+ - Fix a bug introduced in Synapse 1.54.0rc1 where runtime
+ dependency version checks would mistakenly check development
+ dependencies if they were present and would not accept
+ pre-release versions of dependencies. (#12129, #12177)
+ - Fix a bug introduced in Synapse 1.48.0 where an edit of the
+ latest event in a thread would not be properly applied to the
+ thread summary. (#11992)
+ - Fix long-standing bug where the get_rooms_for_user cache was
+ not correctly invalidated for remote users when the server
+ left a room. (#11999)
+ - Fix a 500 error with Postgres when looking backwards with the
+ MSC3030 /timestamp_to_event?dir=b endpoint. (#12024)
+ - Properly fix a long-standing bug where wrong data could be
+ inserted into the event_search table when using SQLite. This
+ could block running synapse_port_db with an argument of type
+ 'int' is not iterable error. This bug was partially fixed by
+ a change in Synapse 1.44.0. (#12037)
+ - Fix slow performance of /logout in some cases where refresh
+ tokens are in use. The slowness existed since the initial
+ implementation of refresh tokens in version 1.38.0. (#12056)
+ - Fix a long-standing bug where Synapse would make additional
+ failing requests over federation for missing data. (#12077)
+ - Fix occasional Unhandled error in Deferred error message.
+ (#12089)
+ - Fix a bug introduced in Synapse 1.51.0 where incoming
+ federation transactions containing at least one EDU would be
+ dropped if debug logging was enabled for synapse.8631_debug.
+ (#12098)
+ - Fix a long-standing bug which could cause push notifications
+ to malfunction if use_frozen_dicts was set in the
+ configuration. (#12100)
+ - Fix an extremely rare, long-standing bug in ReadWriteLock
+ that would cause an error when a newly unblocked writer
+ completes instantly. (#12105)
+ - Make a POST to /rooms//receipt/m.read/
+ only trigger a push notification if the count of unread
+ messages is different to the one in the last successfully
+ sent push. This reduces server load and load on the receiving
+ device. (#11835)
+ - Updates to the Docker image
+ - The Docker image no longer automatically creates a temporary
+ volume at /data. This is not expected to affect normal usage.
+ (#11997)
+ - Use Python 3.9 in Docker images by default. (#12112)
+ - Improved Documentation
+ - Document support for the to_device, account_data, receipts,
+ and presence stream writers for workers. (#11599)
+ - Explain the meaning of spam checker callbacks' return values.
+ (#12003)
+ - Clarify information about external Identity Provider IDs.
+ (#12004)
+ - Deprecations and Removals
+ - Deprecate using synctl with the config option
+ synctl_cache_factor and print a warning if a user still uses
+ this option. (#11865)
+ - Remove support for the legacy structured logging
+ configuration (please see the the upgrade notes if you are
+ using structured: true in the Synapse configuration).
+ (#12008)
+ - Drop support for MSC3283 unstable flags now that the stable
+ flags are supported. (#12018)
+ - Remove the unstable /spaces endpoint from MSC2946. (#12073)
+ - Internal Changes
+ - Update release script to insert the previous version when
+ writing "No significant changes" line in the changelog.
+ (#12127)
+ - Relax the version guard for "packaging" added in #12088.
+ (#12166)
+ - Make the get_room_version method use get_room_version_id to
+ benefit from caching. (#11808)
+ - Remove unnecessary condition on knock -> leave auth rule
+ check. (#11900)
+ - Add tests for device list changes between local users.
+ (#11972)
+ - Optimise calculating device_list changes in /sync. (#11974)
+ - Add missing type hints to storage classes. (#11984)
+ - Refactor the search code for improved readability. (#11991)
+ - Move common deduplication code down into
+ _auth_and_persist_outliers. (#11994)
+ - Limit concurrent joins from applications services. (#11996)
+ - Preparation for faster-room-join work: when parsing the
+ send_join response, get the m.room.create event from state,
+ not auth_chain. (#12005, #12039)
+ - Preparation for faster-room-join work: parse MSC3706 fields
+ in send_join response. (#12011)
+ - Preparation for faster-room-join work: persist information on
+ which events and rooms have partial state to the database.
+ (#12012)
+ - Preparation for faster-room-join work: Support for calling
+ /federation/v1/state on a remote server. (#12013)
+ - Configure tox to use venv rather than virtualenv. (#12015)
+ - Fix bug in StateFilter.return_expanded() and add some tests.
+ (#12016)
+ - Use Matrix v1.1 endpoints (/_matrix/client/v3/auth/...) in
+ fallback auth HTML forms. (#12019)
+ - Update the olddeps CI job to use an old version of
+ markupsafe. (#12025)
+ - Upgrade Mypy to version 0.931. (#12030)
+ - Remove legacy HomeServer.get_datastore(). (#12031, #12070)
+ - Minor typing fixes. (#12034, #12069)
+ - After joining a room, create a dedicated logcontext to
+ process the queued events. (#12041)
+ - Tidy up GitHub Actions config which builds distributions for
+ PyPI. (#12051)
+ - Move configuration out of setup.cfg. (#12052, #12059)
+ - Fix error message when a worker process fails to talk to
+ another worker process. (#12060)
+ - Fix using the complement.sh script without specifying a
+ directory or a branch. Contributed by Nico on behalf of
+ Famedly. (#12063)
+ - Add type hints to tests/rest/client. (#12066, #12072, #12084,
+ #12094)
+ - Add some logging to /sync to try and track down #11916.
+ (#12068)
+ - Inspect application dependencies using importlib.metadata or
+ its backport. (#12088)
+ - Use assertEqual instead of the deprecated assertEquals in
+ test code. (#12092)
+ - Move experimental support for MSC3440 to /versions. (#12099)
+ - Add stop_cancellation utility function to stop Deferreds from
+ being cancelled. (#12106)
+ - Improve exception handling for concurrent execution. (#12109)
+ - Advertise support for Python 3.10 in packaging files.
+ (#12111)
+ - Move CI checks out of tox, to facilitate a move to using
+ poetry. (#12119)
+- bump dependencies to follow upstream
+ ijson >= 3.1.4 from 3.1
+ packaging >= 16.1
+- refreshed patches:
+ - dont-bump-cryptography-with-system-openssl.patch
+
-------------------------------------------------------------------
Tue Feb 22 12:11:45 UTC 2022 - Marcus Rueckert
diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo
index 016454b..0a9a196 100644
--- a/matrix-synapse.obsinfo
+++ b/matrix-synapse.obsinfo
@@ -1,4 +1,4 @@
name: matrix-synapse
-version: 1.53.0
-mtime: 1645529531
-commit: 551dd8c9f8d10681dc535ec43d652bbadf60de48
+version: 1.54.0
+mtime: 1646748079
+commit: b1989ced00cc0bc6214bfd1a393c7e8f8eda660c
diff --git a/matrix-synapse.spec b/matrix-synapse.spec
index d016764..4315cc2 100644
--- a/matrix-synapse.spec
+++ b/matrix-synapse.spec
@@ -50,7 +50,7 @@
%define pkgname matrix-synapse
%define eggname matrix_synapse
Name: %{pkgname}
-Version: 1.53.0
+Version: 1.54.0
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0
@@ -107,7 +107,7 @@ BuildRequires: %{use_python}-frozendict >= 2.1.3
%requires_peq %{use_python}-frozendict
BuildRequires: %{use_python}-idna >= 2.5
%requires_peq %{use_python}-idna
-BuildRequires: %{use_python}-ijson >= 3.1
+BuildRequires: %{use_python}-ijson >= 3.1.4
%requires_peq %{use_python}-ijson
BuildRequires: %{use_python}-jsonschema >= 3.0.0
%requires_peq %{use_python}-jsonschema
@@ -153,6 +153,8 @@ BuildRequires: %{use_python}-unpaddedbase64 >= 1.1.0
BuildRequires: %{use_python}-matrix-synapse-ldap3 >= 0.1
%requires_peq %{use_python}-matrix-synapse-ldap3
%endif
+BuildRequires: %{use_python}-packaging >= 16.1
+%requires_peq %{use_python}-packaging
BuildRequires: %{use_python}-psycopg2 >= 2.8
%requires_peq %{use_python}-psycopg2
BuildRequires: %{use_python}-pysaml2 >= 4.5.0