diff --git a/_service b/_service
index 2f83ff8..f5d2888 100644
--- a/_service
+++ b/_service
@@ -4,11 +4,11 @@
@PARENT_TAG@
https://github.com/matrix-org/synapse.git
git
- v1.56.0
+ v1.57.1
v(.*)
\1
diff --git a/dont-bump-cryptography-with-system-openssl.patch b/dont-bump-cryptography-with-system-openssl.patch
index 891d4fd..a3a4a21 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
-@@ -69,7 +69,7 @@ REQUIREMENTS = [
+@@ -68,7 +68,7 @@ REQUIREMENTS = [
"msgpack>=0.5.2",
"phonenumbers>=8.2.0",
# we use GaugeHistogramMetric, which was added in prom-client 0.4.0.
@@ -11,7 +11,7 @@ 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",
-@@ -83,7 +83,8 @@ REQUIREMENTS = [
+@@ -82,7 +82,8 @@ REQUIREMENTS = [
"typing-extensions>=3.10.0",
# We enforce that we have a `cryptography` version that bundles an `openssl`
# with the latest security patches.
diff --git a/matrix-synapse-1.4.1-paths.patch b/matrix-synapse-1.4.1-paths.patch
index b464d2e..d562cac 100644
--- a/matrix-synapse-1.4.1-paths.patch
+++ b/matrix-synapse-1.4.1-paths.patch
@@ -15,7 +15,7 @@ Index: synapse/synapse/config/key.py
===================================================================
--- synapse.orig/synapse/config/key.py
+++ synapse/synapse/config/key.py
-@@ -104,7 +104,7 @@ class KeyConfig(Config):
+@@ -110,7 +110,7 @@ class KeyConfig(Config):
signing_key_path = config.get("signing_key_path")
if signing_key_path is None:
signing_key_path = os.path.join(
@@ -24,10 +24,10 @@ Index: synapse/synapse/config/key.py
)
self.signing_key = self.read_signing_keys(signing_key_path, "signing_key")
-@@ -171,7 +171,7 @@ class KeyConfig(Config):
- def generate_config_section(
- self, config_dir_path, server_name, generate_secrets=False, **kwargs
- ):
+@@ -181,7 +181,7 @@ class KeyConfig(Config):
+ generate_secrets: bool = False,
+ **kwargs: Any,
+ ) -> str:
- base_key_name = os.path.join(config_dir_path, server_name)
+ base_key_name = os.path.join('/etc/matrix-synapse/keys.d', server_name)
@@ -37,10 +37,10 @@ Index: synapse/synapse/config/logger.py
===================================================================
--- synapse.orig/synapse/config/logger.py
+++ synapse/synapse/config/logger.py
-@@ -154,7 +154,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:
+@@ -157,7 +157,7 @@ class LoggingConfig(Config):
+ def generate_config_section(
+ self, config_dir_path: str, server_name: str, **kwargs: Any
+ ) -> str:
- log_config = os.path.join(config_dir_path, server_name + ".log.config")
+ log_config = os.path.join('/etc/matrix-synapse/', server_name + ".log.config")
return (
@@ -50,7 +50,7 @@ Index: synapse/synapse/config/server.py
===================================================================
--- synapse.orig/synapse/config/server.py
+++ synapse/synapse/config/server.py
-@@ -703,7 +703,7 @@ class ServerConfig(Config):
+@@ -715,7 +715,7 @@ class ServerConfig(Config):
bind_port = 8448
unsecure_port = 8008
@@ -63,7 +63,7 @@ Index: synapse/synapse/config/tls.py
===================================================================
--- synapse.orig/synapse/config/tls.py
+++ synapse/synapse/config/tls.py
-@@ -152,7 +152,7 @@ class TlsConfig(Config):
+@@ -153,7 +153,7 @@ class TlsConfig(Config):
"""If the TLS paths are not specified the default will be certs in the
config directory"""
diff --git a/matrix-synapse-1.56.0.obscpio b/matrix-synapse-1.56.0.obscpio
deleted file mode 100644
index d9cc41f..0000000
--- a/matrix-synapse-1.56.0.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8215af9bf17ac2f78bf97638ee607edbee2940fb2ad34b083d16f5591151fff4
-size 32585741
diff --git a/matrix-synapse-1.57.1.obscpio b/matrix-synapse-1.57.1.obscpio
new file mode 100644
index 0000000..d537514
--- /dev/null
+++ b/matrix-synapse-1.57.1.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fbcd018048e9e4dc06a077bc46ad2503b232e63f652ab1dc823ab6dc516392ac
+size 32897549
diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec
index 4a43aa1..e5ac7d5 100644
--- a/matrix-synapse-test.spec
+++ b/matrix-synapse-test.spec
@@ -27,7 +27,7 @@
%define pkgname matrix-synapse
Name: %{pkgname}-test
-Version: 1.56.0
+Version: 1.57.1
Release: 0
Summary: Test package for %{pkgname}
License: Apache-2.0
diff --git a/matrix-synapse.changes b/matrix-synapse.changes
index bd1bde7..8a382cc 100644
--- a/matrix-synapse.changes
+++ b/matrix-synapse.changes
@@ -1,3 +1,176 @@
+-------------------------------------------------------------------
+Thu Apr 21 10:19:32 UTC 2022 - Marcus Rueckert
+
+- Update to 1.57.1
+ - Updates to the Docker image
+ - Include version 0.2.0 of the Synapse LDAP Auth Provider
+ module in the Docker image. This matches the version that was
+ present in the Docker image for Synapse v1.56.0.
+
+-------------------------------------------------------------------
+Tue Apr 19 13:18:59 UTC 2022 - Marcus Rueckert
+
+- Update to 1.57.0
+ This version includes a change to the way transaction IDs are
+ managed for application services. If your deployment uses a
+ dedicated worker for application service traffic, it must be
+ stopped when the database is upgraded (which normally happens
+ when the main process is upgraded), to ensure the change is made
+ safely without any risk of reusing transaction IDs.
+
+ See the upgrade notes for more details.
+ https://github.com/matrix-org/synapse/blob/v1.57.0rc1/docs/upgrade.md#upgrading-to-v1570
+
+ - Features
+ - Send device list changes to application services as specified
+ by MSC3202, using unstable prefixes. The
+ msc3202_transaction_extensions experimental homeserver config
+ option must be enabled and org.matrix.msc3202: true must be
+ present in the application service registration file for
+ device list changes to be sent. The "left" field is currently
+ always empty. (#11881)
+ - Optimise fetching large quantities of missing room state over
+ federation. (#12040)
+ - Offload the update_client_ip background job from the main
+ process to the background worker, when using Redis-based
+ replication. (#12251)
+ - Move update_client_ip background job from the main process to
+ the background worker. (#12252)
+ - Add a module callback to react to new 3PID (email address,
+ phone number) associations. (#12302)
+ - Add a configuration option to remove a specific set of rooms
+ from sync responses. (#12310)
+ - Add a module callback to react to account data changes.
+ (#12327)
+ - Allow setting user admin status using the module API.
+ Contributed by Famedly. (#12341)
+ - Reduce overhead of restarting synchrotrons. (#12367, #12372)
+ - Update /messages to use historic pagination tokens if no from
+ query parameter is given. (#12370)
+ - Add a module API for reading and writing global account data.
+ (#12391)
+ - Support the stable v1 endpoint for /relations, per MSC2675.
+ (#12403)
+ - Include bundled aggregations in search results (MSC3666).
+ (#12436)
+ - Bugfixes
+ - Fix a long-standing bug where updates to the server notices
+ user profile (display name/avatar URL) in the configuration
+ would not be applied to pre-existing rooms. Contributed by
+ Jorge Florian. (#12115)
+ - Fix a long-standing bug where events from ignored users were
+ still considered for bundled aggregations. (#12235, #12338)
+ - Fix non-member state events not resolving for historical
+ events when used in MSC2716 /batch_send
+ state_events_at_start. (#12329)
+ - Fix a long-standing bug affecting URL previews that would
+ generate a 500 response instead of a 403 if the previewed URL
+ includes a port that isn't allowed by the relevant blacklist.
+ (#12333)
+ - Default to private room visibility rather than public when a
+ client does not specify one, according to spec. (#12350)
+ - Fix a spec compliance issue where requests to the
+ /publicRooms federation API would specify limit as a string.
+ (#12364, #12410)
+ - Fix a bug introduced in Synapse 1.49.0 which caused the
+ synapse_event_persisted_position metric to have invalid
+ values. (#12390)
+ - Updates to the Docker image
+ - Bundle locked versions of dependencies into the Docker image.
+ (#12385, #12439)
+ - Fix up healthcheck generation for workers docker image.
+ (#12405)
+ - Improved Documentation
+ - Clarify documentation for running SyTest against Synapse,
+ including use of Postgres and worker mode. (#12271)
+ - Document the behaviour of LoggingTransaction.call_after and
+ LoggingTransaction.call_on_exception methods when
+ transactions are retried. (#12315)
+ - Update dead links in check-newsfragment.sh to point to the
+ correct documentation URL. (#12331)
+ - Upgrade the version of mdbook in CI to 0.4.17. (#12339)
+ - Updates to the Room DAG concepts development document to
+ clarify that we mark events as outliers because we don't have
+ any state for them. (#12345)
+ - Update the link to Redis pub/sub documentation in the workers
+ documentation. (#12369)
+ - Remove documentation for converting a legacy structured
+ logging configuration to the new format. (#12392)
+ - Deprecations and Removals
+ - Remove the unused and unstable /aggregations endpoint which
+ was removed from MSC2675. (#12293)
+ - Internal Changes
+ - Remove lingering unstable references to MSC2403 (knocking).
+ (#12165)
+ - Avoid trying to calculate the state at outlier events.
+ (#12191, #12316, #12330, #12332, #12409)
+ - Omit sending "offline" presence updates to application
+ services after they are initially configured. (#12193)
+ - Switch to using a sequence to generate AS transaction IDs.
+ Contributed by Nick @ Beeper. If running synapse with a
+ dedicated appservice worker, this MUST be stopped before
+ upgrading the main process and database. (#12209)
+ - Add missing type hints for storage. (#12267)
+ - Add missing type definitions for scripts in docker folder.
+ Contributed by Jorge Florian. (#12280)
+ - Move MSC2654 support behind an experimental configuration
+ flag. (#12295)
+ - Update docstrings to explain how to decipher live and
+ historic pagination tokens. (#12317)
+ - Add ground work for speeding up device list updates for users
+ in large numbers of rooms. (#12321)
+ - Fix typechecker problems exposed by signedjson 1.1.2.
+ (#12326)
+ - Remove the tox packaging job: it will be redundant once
+ #11537 lands. (#12334)
+ - Ignore .envrc for direnv users. (#12335)
+ - Remove the (broadly unused, dev-only) dockerfile for pg
+ tests. (#12336)
+ - Remove redundant get_success calls in test code. (#12346)
+ - Add type annotations for tests/unittest.py. (#12347)
+ - Move single-use methods out of TestCase. (#12348)
+ - Remove broken and unused development scripts. (#12349,
+ #12351, #12355)
+ - Convert Linearizer tests from inlineCallbacks to async.
+ (#12353)
+ - Update docstrings for ReadWriteLock tests. (#12354)
+ - Refactor Linearizer, convert methods to async and use an
+ async context manager. (#12357)
+ - Fix a long-standing bug where Linearizers could get stuck if
+ a cancellation were to happen at the wrong time. (#12358)
+ - Make StreamToken.from_string and RoomStreamToken.parse
+ propagate cancellations instead of replacing them with
+ SynapseErrors. (#12366)
+ - Add type hints to tests files. (#12371)
+ - Allow specifying the Postgres database's port when running
+ unit tests with Postgres. (#12376)
+ - Remove temporary pin of signedjson<=1.1.1 that was added in
+ Synapse 1.56.0. (#12379)
+ - Add opentracing spans to calls to external cache. (#12380)
+ - Lay groundwork for using poetry to manage Synapse's
+ dependencies. (#12381, #12407, #12412, #12418)
+ - Make missing importlib_metadata dependency explicit. (#12384,
+ #12400)
+ - Update type annotations for compatiblity with
+ prometheus_client 0.14. (#12389)
+ - Remove support for the unstable identifiers specified in
+ MSC3288. (#12398)
+ - Add missing type hints to configuration classes. (#12402)
+ - Add files used to build the Docker image used for complement
+ testing into the Synapse repository. (#12404)
+ - Do not include groups in the sync response when disabled.
+ (#12408)
+ - Improve type hints related to HTTP query parameters. (#12415)
+ - Stop maintaining a list of lint targets. (#12420)
+ - Make synapse._scripts pass type checks. (#12421, #12422)
+ - Add some type hints to datastore. (#12423)
+ - Enable certificate checking during complement tests. (#12435)
+ - Explicitly specify the tls extra for Twisted dependency.
+ (#12444)
+- refreshed patches:
+ dont-bump-cryptography-with-system-openssl.patch
+ matrix-synapse-1.4.1-paths.patch
+
-------------------------------------------------------------------
Tue Apr 5 14:16:27 UTC 2022 - Marcus Rueckert
diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo
index 7ce0b1e..5c969e4 100644
--- a/matrix-synapse.obsinfo
+++ b/matrix-synapse.obsinfo
@@ -1,4 +1,4 @@
name: matrix-synapse
-version: 1.56.0
-mtime: 1649159715
-commit: ac80bfba4252c3bb8138cc3711271be63182eed8
+version: 1.57.1
+mtime: 1650466085
+commit: f8f06fc773e6d1dd9674be77d3e6a3665830a33a
diff --git a/matrix-synapse.spec b/matrix-synapse.spec
index cc87256..a039fed 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.56.0
+Version: 1.57.1
Release: 0
Summary: Matrix protocol reference homeserver
License: Apache-2.0
@@ -133,7 +133,7 @@ BuildRequires: %{use_python}-pymacaroons >= 0.13.0
%requires_peq %{use_python}-pymacaroons
BuildRequires: %{use_python}-service_identity >= 18.1.0
%requires_peq %{use_python}-service_identity
-BuildRequires: (%{use_python}-signedjson >= 1.1.0 with %{use_python}-signedjson <= 1.1.1)
+BuildRequires: %{use_python}-signedjson >= 1.1.0
%requires_peq %{use_python}-signedjson
BuildRequires: %{use_python}-six >= 1.10
%requires_peq %{use_python}-six