Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package matrix-synapse for openSUSE:Factory 
checked in at 2026-07-23 23:10:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old)
 and      /work/SRC/openSUSE:Factory/.matrix-synapse.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "matrix-synapse"

Thu Jul 23 23:10:25 2026 rev:164 rq:1367187 version:1.157.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes    
2026-07-21 23:13:55.117516411 +0200
+++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.2004/matrix-synapse.changes  
2026-07-23 23:13:32.391011050 +0200
@@ -1,0 +2,8 @@
+Wed Jul 22 21:57:00 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to 1.157.1
+  - Bugfixes
+    - Fix config regression around falsy experimental_features no
+      longer being accepted. (#19987)
+
+-------------------------------------------------------------------

Old:
----
  matrix-synapse-1.157.0.obscpio

New:
----
  matrix-synapse-1.157.1.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ matrix-synapse-test.spec ++++++
--- /var/tmp/diff_new_pack.V9Zo13/_old  2026-07-23 23:13:35.079105579 +0200
+++ /var/tmp/diff_new_pack.V9Zo13/_new  2026-07-23 23:13:35.083105719 +0200
@@ -27,7 +27,7 @@
 
 %define         pkgname matrix-synapse
 Name:           %{pkgname}-test
-Version:        1.157.0
+Version:        1.157.1
 Release:        0
 Summary:        Test package for %{pkgname}
 License:        AGPL-3.0-or-later

++++++ matrix-synapse.spec ++++++
--- /var/tmp/diff_new_pack.V9Zo13/_old  2026-07-23 23:13:35.139107689 +0200
+++ /var/tmp/diff_new_pack.V9Zo13/_new  2026-07-23 23:13:35.143107829 +0200
@@ -231,7 +231,7 @@
 %define         pkgname matrix-synapse
 %define         eggname matrix_synapse
 Name:           %{pkgname}
-Version:        1.157.0
+Version:        1.157.1
 Release:        0
 Summary:        Matrix protocol reference homeserver
 License:        AGPL-3.0-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.V9Zo13/_old  2026-07-23 23:13:35.235111065 +0200
+++ /var/tmp/diff_new_pack.V9Zo13/_new  2026-07-23 23:13:35.239111205 +0200
@@ -4,11 +4,11 @@
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="url">https://github.com/element-hq/synapse.git</param>
     <param name="scm">git</param>
-    <param name="revision">v1.157.0</param>
+    <param name="revision">v1.157.1</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="versionrewrite-replacement">\1</param>
     <!--
-    <param name="revision">v1.157.1rc1</param>
+    <param name="revision">v1.157.2rc1</param>
     <param name="versionrewrite-pattern">v([\.\d]+)(rc.*)</param>
     <param name="versionrewrite-replacement">\1~\2</param>
     -->

++++++ matrix-synapse-1.157.0.obscpio -> matrix-synapse-1.157.1.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/matrix-synapse-1.157.0/CHANGES.md 
new/matrix-synapse-1.157.1/CHANGES.md
--- old/matrix-synapse-1.157.0/CHANGES.md       2026-07-21 17:21:37.000000000 
+0200
+++ new/matrix-synapse-1.157.1/CHANGES.md       2026-07-22 16:31:47.000000000 
+0200
@@ -1,4 +1,11 @@
-# synapse 1.157.0 (2026-07-21)
+# Synapse 1.157.1 (2026-07-22)
+
+## Bugfixes
+
+- Fix config regression around falsy `experimental_features` no longer being 
accepted. ([\#19987](https://github.com/element-hq/synapse/issues/19987))
+
+
+# Synapse 1.157.0 (2026-07-21)
 
 No significant changes since 1.157.0rc1.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/matrix-synapse-1.157.0/debian/changelog 
new/matrix-synapse-1.157.1/debian/changelog
--- old/matrix-synapse-1.157.0/debian/changelog 2026-07-21 17:21:37.000000000 
+0200
+++ new/matrix-synapse-1.157.1/debian/changelog 2026-07-22 16:31:47.000000000 
+0200
@@ -1,3 +1,9 @@
+matrix-synapse-py3 (1.157.1) stable; urgency=medium
+
+  * New synapse release 1.157.1.
+
+ -- Synapse Packaging team <[email protected]>  Wed, 22 Jul 2026 14:30:55 
+0000
+
 matrix-synapse-py3 (1.157.0) stable; urgency=medium
 
   * New synapse release 1.157.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/matrix-synapse-1.157.0/pyproject.toml 
new/matrix-synapse-1.157.1/pyproject.toml
--- old/matrix-synapse-1.157.0/pyproject.toml   2026-07-21 17:21:37.000000000 
+0200
+++ new/matrix-synapse-1.157.1/pyproject.toml   2026-07-22 16:31:47.000000000 
+0200
@@ -1,6 +1,6 @@
 [project]
 name = "matrix-synapse"
-version = "1.157.0"
+version = "1.157.1"
 description = "Homeserver for the Matrix decentralised comms protocol"
 readme = "README.rst"
 authors = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/matrix-synapse-1.157.0/synapse/config/server.py 
new/matrix-synapse-1.157.1/synapse/config/server.py
--- old/matrix-synapse-1.157.0/synapse/config/server.py 2026-07-21 
17:21:37.000000000 +0200
+++ new/matrix-synapse-1.157.1/synapse/config/server.py 2026-07-22 
16:31:47.000000000 +0200
@@ -966,9 +966,10 @@
 
         # The maximum number of delayed events a user may have scheduled at a 
time.
         # (Defined here despite being experimental to be near the other 
MSC4140 config)
-        self.max_delayed_events_per_user: int = config.get(
-            "experimental_features", {}
-        ).get("msc4140_max_delayed_events_per_user", 100)
+        experimental = config.get("experimental_features") or {}
+        self.max_delayed_events_per_user: int = experimental.get(
+            "msc4140_max_delayed_events_per_user", 100
+        )
         if (
             not isinstance(self.max_delayed_events_per_user, int)
             or self.max_delayed_events_per_user < 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/matrix-synapse-1.157.0/tests/config/test_experimental.py 
new/matrix-synapse-1.157.1/tests/config/test_experimental.py
--- old/matrix-synapse-1.157.0/tests/config/test_experimental.py        
1970-01-01 01:00:00.000000000 +0100
+++ new/matrix-synapse-1.157.1/tests/config/test_experimental.py        
2026-07-22 16:31:47.000000000 +0200
@@ -0,0 +1,71 @@
+#
+# This file is licensed under the Affero General Public License (AGPL) version 
3.
+#
+# Copyright (C) 2026 Element Creations Ltd.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# See the GNU Affero General Public License for more details:
+# <https://www.gnu.org/licenses/agpl-3.0.html>.
+
+
+import yaml
+from parameterized import parameterized
+
+from synapse.config._base import RootConfig
+from synapse.config.experimental import ExperimentalConfig
+from synapse.config.homeserver import HomeServerConfig
+from synapse.types import JsonDict
+
+from tests import unittest
+
+
+class ExperimentalConfigTestCase(unittest.TestCase):
+    @parameterized.expand(
+        [
+            [
+                "single",
+                {
+                    "experimental_features": {
+                        "msc3575_enabled": True,
+                    }
+                },
+            ],
+            [
+                "multi",
+                {
+                    "experimental_features": {
+                        "msc3575_enabled": True,
+                        "msc3030_enabled": True,
+                    }
+                },
+            ],
+            # This has historically worked and this is being added as a 
regression test
+            ["none", {"experimental_features": None}],
+        ]
+    )
+    def test_experimental_features_parsing(
+        self, test_description: str, config_values: JsonDict
+    ) -> None:
+        """
+        Test the that `experimental_features` parses with these values
+        """
+
+        _read_config(config_values)
+
+
+def _read_config(config_values: JsonDict) -> None:
+    ExperimentalConfig(RootConfig()).read_config(
+        yaml.safe_load(
+            HomeServerConfig().generate_config(
+                config_dir_path="CONFDIR",
+                data_dir_path="/data_dir_path",
+                server_name="che.org",
+            )
+        )
+        | config_values,
+        allow_secrets_in_config=False,
+    )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/matrix-synapse-1.157.0/tests/config/test_server.py 
new/matrix-synapse-1.157.1/tests/config/test_server.py
--- old/matrix-synapse-1.157.0/tests/config/test_server.py      2026-07-21 
17:21:37.000000000 +0200
+++ new/matrix-synapse-1.157.1/tests/config/test_server.py      2026-07-22 
16:31:47.000000000 +0200
@@ -22,6 +22,7 @@
 from typing import Any
 
 import yaml
+from parameterized import parameterized
 
 from synapse.config._base import ConfigError, RootConfig
 from synapse.config.homeserver import HomeServerConfig
@@ -228,6 +229,29 @@
             with self.assertRaises(ConfigError):
                 _read_config(generate_config(disallowed_value))
 
+    @parameterized.expand(
+        [
+            [
+                "single",
+                {
+                    "experimental_features": {
+                        "msc4140_max_delayed_events_per_user": 3,
+                    }
+                },
+            ],
+            # This has historically worked and this is being added as a 
regression test
+            ["none", {"experimental_features": None}],
+        ]
+    )
+    def test_experimental_features_parsing(
+        self, test_description: str, config_values: JsonDict
+    ) -> None:
+        """
+        Test the that `experimental_features` parses with these values
+        """
+
+        _read_config(config_values)
+
 
 def _read_config(config_values: JsonDict) -> None:
     ServerConfig(RootConfig()).read_config(

++++++ matrix-synapse.obsinfo ++++++
--- /var/tmp/diff_new_pack.V9Zo13/_old  2026-07-23 23:13:38.187214877 +0200
+++ /var/tmp/diff_new_pack.V9Zo13/_new  2026-07-23 23:13:38.199215299 +0200
@@ -1,5 +1,5 @@
 name: matrix-synapse
-version: 1.157.0
-mtime: 1784647297
-commit: e0f251ce2c0e20eff7af423c68ee349923f6d719
+version: 1.157.1
+mtime: 1784730707
+commit: 2b5a0623bace645cd524676211393aa1caf26a2e
 

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/matrix-synapse/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.matrix-synapse.new.2004/vendor.tar.zst differ: char 
7, line 1

Reply via email to