diff --git a/_service b/_service
index bd82889..f2f7bc7 100644
--- a/_service
+++ b/_service
@@ -4,11 +4,11 @@
@PARENT_TAG@
https://github.com/matrix-org/synapse.git
git
- v1.52.0
+ v1.53.0
v(.*)
\1
diff --git a/dont-bump-cryptography-with-system-openssl.patch b/dont-bump-cryptography-with-system-openssl.patch
index 1f55e50..bb7a928 100644
--- a/dont-bump-cryptography-with-system-openssl.patch
+++ b/dont-bump-cryptography-with-system-openssl.patch
@@ -2,25 +2,16 @@ Index: synapse/synapse/python_dependencies.py
===================================================================
--- synapse.orig/synapse/python_dependencies.py
+++ synapse/synapse/python_dependencies.py
-@@ -51,7 +51,7 @@ REQUIREMENTS = [
- # we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0
- "jsonschema>=3.0.0",
- # frozendict 2.1.2 is broken on Debian 10: https://github.com/Marco-Sulla/python-frozendict/issues/41
-- "frozendict>=1,<2.1.2",
-+ "frozendict>=2.1.3",
- "unpaddedbase64>=1.1.0",
- "canonicaljson>=1.4.0",
- # we use the type definitions added in signedjson 1.1.
-@@ -77,7 +77,7 @@ REQUIREMENTS = [
+@@ -76,7 +76,7 @@ REQUIREMENTS = [
+ "msgpack>=0.5.2",
"phonenumbers>=8.2.0",
# we use GaugeHistogramMetric, which was added in prom-client 0.4.0.
- # 0.13.0 has an incorrect type annotation, see #11832.
-- "prometheus_client>=0.4.0,<0.13.0",
+- "prometheus_client>=0.4.0",
+ "prometheus_client>=0.13.1",
# 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",
-@@ -87,7 +87,8 @@ REQUIREMENTS = [
+@@ -86,7 +86,8 @@ REQUIREMENTS = [
"typing-extensions>=3.7.4",
# We enforce that we have a `cryptography` version that bundles an `openssl`
# with the latest security patches.
@@ -28,5 +19,5 @@ Index: synapse/synapse/python_dependencies.py
+ # opensuse we do not bump here as we do not use the intree copy
+ "cryptography",
"ijson>=3.1",
- "matrix-common==1.0.0",
+ "matrix-common~=1.1.0",
]
diff --git a/matrix-synapse-1.4.1-paths.patch b/matrix-synapse-1.4.1-paths.patch
index 34d66da..8d3c3b8 100644
--- a/matrix-synapse-1.4.1-paths.patch
+++ b/matrix-synapse-1.4.1-paths.patch
@@ -37,7 +37,7 @@ Index: synapse/synapse/config/logger.py
===================================================================
--- synapse.orig/synapse/config/logger.py
+++ synapse/synapse/config/logger.py
-@@ -150,7 +150,7 @@ class LoggingConfig(Config):
+@@ -149,7 +149,7 @@ class LoggingConfig(Config):
self.no_redirect_stdio = config.get("no_redirect_stdio", False)
def generate_config_section(self, config_dir_path, server_name, **kwargs) -> str:
@@ -50,7 +50,7 @@ Index: synapse/synapse/config/server.py
===================================================================
--- synapse.orig/synapse/config/server.py
+++ synapse/synapse/config/server.py
-@@ -717,7 +717,7 @@ class ServerConfig(Config):
+@@ -699,7 +699,7 @@ class ServerConfig(Config):
bind_port = 8448
unsecure_port = 8008
diff --git a/matrix-synapse-1.52.0.obscpio b/matrix-synapse-1.52.0.obscpio
deleted file mode 100644
index 6170cd6..0000000
--- a/matrix-synapse-1.52.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6bf81e506b16cf6f1bd1d311c123bb62324becf11f759b286a6444882b393478
-size 32205325
diff --git a/matrix-synapse-1.53.0.obscpio b/matrix-synapse-1.53.0.obscpio
new file mode 100644
index 0000000..7bd531e
--- /dev/null
+++ b/matrix-synapse-1.53.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2eec17d82f801e6b4d7594c1a7f3e612a9361ce79a8439109316bbf45343450d
+size 32292365
diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec
index aa07291..4ecc80d 100644
--- a/matrix-synapse-test.spec
+++ b/matrix-synapse-test.spec
@@ -27,7 +27,7 @@
%define pkgname matrix-synapse
Name: %{pkgname}-test
-Version: 1.52.0
+Version: 1.53.0
Release: 0
Summary: Test package for %{pkgname}
License: Apache-2.0
diff --git a/matrix-synapse.changes b/matrix-synapse.changes
index 1210c1f..5335b3e 100644
--- a/matrix-synapse.changes
+++ b/matrix-synapse.changes
@@ -1,3 +1,122 @@
+-------------------------------------------------------------------
+Tue Feb 22 12:11:45 UTC 2022 - Marcus Rueckert
+
+- Update to 1.53.0
+ - Features
+ - Add experimental support for sending to-device messages to
+ application services, as specified by MSC2409. (#11215,
+ #11966)
+ - Add a background database update to purge account data for
+ deactivated users. (#11655)
+ - Experimental support for MSC3666: including bundled
+ aggregations in server side search results. (#11837)
+ - Enable cache time-based expiry by default. The expiry_time
+ config flag has been superseded by expire_caches and
+ cache_entry_ttl. (#11849)
+ - Add a callback to allow modules to allow or forbid a 3PID
+ (email address, phone number) from being associated to a
+ local account. (#11854)
+ - Stabilize support and remove unstable endpoints for MSC3231.
+ Clients must switch to the stable identifier and endpoint.
+ See the upgrade notes for more information. (#11867)
+ - Allow modules to retrieve the current instance's server name
+ and worker name. (#11868)
+ - Use a dedicated configurable rate limiter for 3PID invites.
+ (#11892)
+ - Support the stable API endpoint for MSC3283: new settings in
+ /capabilities endpoint. (#11933, #11989)
+ - Support the dir parameter on the /relations endpoint, per
+ MSC3715. (#11941)
+ - Experimental implementation of MSC3706: extensions to
+ /send_join to support reduced response size. (#11967)
+ - Bugfixes
+ - Fix MSC2716 historical messages backfilling in random order
+ on remote homeservers. (#11114)
+ - 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.
+ (#11890)
+ - Fix a long-standing bug where some unknown endpoints would
+ return HTML error pages instead of JSON M_UNRECOGNIZED
+ errors. (#11930)
+ - Implement an allow list of content types for which we will
+ attempt to preview a URL. This prevents Synapse from making
+ useless longer-lived connections to streaming media servers.
+ (#11936)
+ - Fix a long-standing bug where pagination tokens from /sync
+ and /messages could not be provided to the /relations API.
+ (#11952)
+ - Require that modules register their callbacks using keyword
+ arguments. (#11975)
+ - Fix a long-standing bug where M_WRONG_ROOM_KEYS_VERSION
+ errors would not include the specced current_version field.
+ (#11988)
+ - Improved Documentation
+ - Fix typo in User Admin API: unpind -> unbind. (#11859)
+ - Document images returned by the User List Media Admin API can
+ include those generated by URL previews. (#11862)
+ - Remove outdated MSC1711 FAQ document. (#11907)
+ - Correct the structured logging configuration example.
+ Contributed by Brad Jones. (#11946)
+ - Add information on the Synapse release cycle. (#11954)
+ - Fix broken link in the README to the admin API for password
+ reset. (#11955)
+ - Deprecations and Removals
+ - Drop support for webclient listeners and configuring
+ web_client_location to a non-HTTP(S) URL. Deprecated
+ configurations are a configuration error. (#11895)
+ - Remove deprecated user_may_create_room_with_invites spam
+ checker callback. See the upgrade notes for more information.
+ (#11950)
+ - No longer build .deb packages for Ubuntu 21.04 Hirsute Hippo,
+ which has now EOLed. (#11961)
+ - Internal Changes
+ - Enhance user registration test helpers to make them more
+ useful for tests involving application services and devices.
+ (#11615, #11616)
+ - Improve performance when fetching bundled aggregations for
+ multiple events. (#11660, #11752)
+ - Fix type errors introduced by new annotations in the
+ Prometheus Client library. (#11832)
+ - Add missing type hints to replication code. (#11856, #11938)
+ - Ensure that opentracing scopes are activated and closed at
+ the right time. (#11869)
+ - Improve opentracing for incoming federation requests.
+ (#11870)
+ - Improve internal docstrings in synapse.util.caches. (#11876)
+ - Do not needlessly clear the get_users_in_room and
+ get_users_in_room_with_profiles caches when any room state
+ changes. (#11878)
+ - Convert ApplicationServiceTestCase to use simple_async_mock.
+ (#11880)
+ - Remove experimental changes to the default push rules which
+ were introduced in Synapse 1.19.0 but never enabled. (#11884)
+ - Disable coverage calculation for olddeps build. (#11888)
+ - Preparation to support sending device list updates to
+ application services. (#11905)
+ - Add a test that checks users receive their own device list
+ updates down /sync. (#11909)
+ - Run Complement tests sequentially. (#11910)
+ - Various refactors to the application service notifier code.
+ (#11911, #11912)
+ - Tests: replace mocked Authenticator with the real thing.
+ (#11913)
+ - Various refactors to the typing notifications code. (#11914)
+ - Use the proper type for the Content-Length header in the
+ UploadResource. (#11927)
+ - Remove an unnecessary ignoring of type hints due to fixes in
+ upstream packages. (#11939)
+ - Add missing type hints. (#11953)
+ - Fix an import cycle in synapse.event_auth. (#11965)
+ - Unpin frozendict but exclude the known bad version 2.1.2.
+ (#11969)
+ - Prepare for rename of default Complement branch. (#11971)
+ - Fetch Synapse's version using a helper from matrix-common.
+ (#11979)
+- refresh patches:
+ dont-bump-cryptography-with-system-openssl.patch
+ matrix-synapse-1.4.1-paths.patch
+
-------------------------------------------------------------------
Wed Feb 9 23:24:56 UTC 2022 - Marcus Rueckert
diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo
index 6c5fff5..016454b 100644
--- a/matrix-synapse.obsinfo
+++ b/matrix-synapse.obsinfo
@@ -1,4 +1,4 @@
name: matrix-synapse
-version: 1.52.0
-mtime: 1644320855
-commit: 5cdd4913100961f943f6432d9fbdaa20907142c2
+version: 1.53.0
+mtime: 1645529531
+commit: 551dd8c9f8d10681dc535ec43d652bbadf60de48
diff --git a/matrix-synapse.spec b/matrix-synapse.spec
index 5d6d06e..d016764 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.52.0
+Version: 1.53.0
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0
@@ -111,7 +111,7 @@ BuildRequires: %{use_python}-ijson >= 3.1
%requires_peq %{use_python}-ijson
BuildRequires: %{use_python}-jsonschema >= 3.0.0
%requires_peq %{use_python}-jsonschema
-BuildRequires: %{use_python}-matrix_common >= 1.0.0
+BuildRequires: %{use_python}-matrix_common >= 1.1.0
%requires_peq %{use_python}-matrix_common
BuildRequires: %{use_python}-msgpack >= 0.5.2
%requires_peq %{use_python}-msgpack