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 2021-05-11 23:04:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old)
 and      /work/SRC/openSUSE:Factory/.matrix-synapse.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "matrix-synapse"

Tue May 11 23:04:00 2021 rev:34 rq:892262 version:1.33.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes    
2021-04-26 16:40:27.734158129 +0200
+++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.2988/matrix-synapse.changes  
2021-05-11 23:04:06.604971448 +0200
@@ -1,0 +2,101 @@
+Tue May 11 13:46:25 UTC 2021 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to 1.33.2
+  Due to the security issue highlighted below, server
+  administrators are encouraged to update Synapse. We are not aware
+  of these vulnerabilities being exploited in the wild.
+
+  Security advisory
+  This release fixes a denial of service attack (CVE-2021-29471)
+  against Synapse's push rules implementation. Server admins are
+  encouraged to upgrade.
+
+  - Internal Changes
+    - Unpin attrs dependency. (#9946)
+
+-------------------------------------------------------------------
+Thu May  6 14:44:02 UTC 2021 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to 1.33.1
+  - Bugfixes
+    - Fix bug where /sync would break if using the latest version
+      of attrs dependency, by pinning to a previous version.
+      (#9937)
+- sync BuildRequires with synapse/python_dependencies.py
+  - Jinja2 dep is now always required
+
+-------------------------------------------------------------------
+Wed May  5 18:45:30 UTC 2021 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to 1.33.0
+  - Features
+    - Update experimental support for MSC3083: restricting room
+      access via group membership. (#9800, #9814)
+    - Add experimental support for handling presence on a worker.
+      (#9819, #9820, #9828, #9850)
+    - Return a new template when an user attempts to renew their
+      account multiple times with the same token, stating that
+      their account is set to expire. This replaces the invalid
+      token template that would previously be shown in this case.
+      This change concerns the optional account validity feature.
+      (#9832)
+  - Bugfixes
+    - Fix tight loop when handling presence replication when using
+      workers. Introduced in v1.33.0rc1. (#9900)
+    - Fixes the OIDC SSO flow when using a public_baseurl value
+      including a non-root URL path. (#9726)
+    - Fix thumbnail generation for some sites with non-standard
+      content types. Contributed by @rkfg. (#9788)
+    - Add some sanity checks to identity server passed to 3PID
+      bind/unbind endpoints. (#9802)
+    - Limit the size of HTTP responses read over federation.
+      (#9833)
+    - Fix a bug which could cause Synapse to get stuck in a loop of
+      resyncing device lists. (#9867)
+    - Fix a long-standing bug where errors from federation did not
+      propagate to the client. (#9868)
+  - Improved Documentation
+    - Add a note to the docker docs mentioning that we mirror
+      upstream's supported Docker platforms. (#9801)
+  - Internal Changes
+    - Add a dockerfile for running Synapse in worker-mode under
+      Complement. (#9162)
+    - Apply pyupgrade across the codebase. (#9786)
+    - Move some replication processing out of generic_worker.
+      (#9796)
+    - Replace HomeServer.get_config() with inline references.
+      (#9815)
+    - Rename some handlers and config modules to not duplicate the
+      top-level module. (#9816)
+    - Fix a long-standing bug which caused max_upload_size to not
+      be correctly enforced. (#9817)
+    - Reduce CPU usage of the user directory by reusing existing
+      calculated room membership. (#9821)
+    - Small speed up for joining large remote rooms. (#9825)
+    - Introduce flake8-bugbear to the test suite and fix some of
+      its lint violations. (#9838)
+    - Only store the raw data in the in-memory caches, rather than
+      objects that include references to e.g. the data stores.
+      (#9845)
+    - Limit length of accepted email addresses. (#9855)
+    - Remove redundant synapse.types.Collection type definition.
+      (#9856)
+    - Handle recently added rate limits correctly when using
+      --no-rate-limit with the demo scripts. (#9858)
+    - Disable invite rate-limiting by default when running the unit
+      tests. (#9871)
+    - Pass a reactor into SynapseSite to make testing easier.
+      (#9874)
+    - Make DomainSpecificString an attrs class. (#9875)
+    - Add type hints to synapse.api.auth and
+      synapse.api.auth_blocking modules. (#9876)
+    - Remove redundant _PushHTTPChannel test class. (#9878)
+    - Remove backwards-compatibility code for Python versions <
+      3.6. (#9879)
+    - Small performance improvement around handling new local
+      presence updates. (#9887)
+- refreshed patches:
+  dont-bump-cryptography-with-system-openssl.patch
+  matrix-synapse-1.4.1-paths.patch
+
+-------------------------------------------------------------------

Old:
----
  matrix-synapse-1.32.2.obscpio

New:
----
  matrix-synapse-1.33.2.obscpio

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

Other differences:
------------------
++++++ matrix-synapse-test.spec ++++++
--- /var/tmp/diff_new_pack.jOJ8VO/_old  2021-05-11 23:04:07.692966485 +0200
+++ /var/tmp/diff_new_pack.jOJ8VO/_new  2021-05-11 23:04:07.696966467 +0200
@@ -27,7 +27,7 @@
 
 %define         pkgname matrix-synapse
 Name:           %{pkgname}-test
-Version:        1.32.2
+Version:        1.33.2
 Release:        0
 Summary:        Test package for %{pkgname}
 License:        Apache-2.0

++++++ matrix-synapse.spec ++++++
--- /var/tmp/diff_new_pack.jOJ8VO/_old  2021-05-11 23:04:07.720966358 +0200
+++ /var/tmp/diff_new_pack.jOJ8VO/_new  2021-05-11 23:04:07.724966339 +0200
@@ -45,7 +45,7 @@
 %define         pkgname matrix-synapse
 %define         eggname matrix_synapse
 Name:           %{pkgname}
-Version:        1.32.2
+Version:        1.33.2
 Release:        0
 Summary:        Matrix protocol reference homeserver
 License:        Apache-2.0
@@ -74,6 +74,8 @@
 Requires(pre):  shadow
 Requires:       python3-base >= 3.5
 # NOTE: Keep this is in the same order as synapse/python_dependencie.py.
+BuildRequires:  python3-Jinja2 >= 2.9
+%requires_eq    python3-Jinja2
 BuildRequires:  python3-Pillow >= 4.3.0
 %requires_eq    python3-Pillow
 BuildRequires:  python3-PyNaCl >= 1.2.1
@@ -82,14 +84,16 @@
 %requires_eq    python3-PyYAML
 BuildRequires:  python3-Twisted >= 20.3.0
 %requires_eq    python3-Twisted
-BuildRequires:  python3-attrs >= 17.4.0
+BuildRequires:  ((python3-attrs >= 19.1.0 with python3-attrs < 21.1.0) or 
python3-attrs > 21.1.0)
 %requires_eq    python3-attrs
 BuildRequires:  python3-bcrypt >= 3.2.0
 %requires_eq    python3-bcrypt
 BuildRequires:  python3-bleach >= 1.4.3
 %requires_eq    python3-bleach
-BuildRequires:  python3-canonicaljson >= 1.3.0
+BuildRequires:  python3-canonicaljson >= 1.4.0
 %requires_eq    python3-canonicaljson
+BuildRequires:  python3-cryptography
+%requires_eq    python3-cryptography
 BuildRequires:  python3-frozendict >= 1
 %requires_eq    python3-frozendict
 BuildRequires:  python3-idna >= 2.5
@@ -132,10 +136,6 @@
 %requires_eq    python3-unpaddedbase64
 # Specify all CONDITIONAL_REQUIREMENTS (we Require them to avoid no-recommends
 # breaking very commonly-used bits of matrix-synapse such as postgresql).
-%if %{with email_notifs}
-BuildRequires:  python3-Jinja2 >= 2.9
-%requires_eq    python3-Jinja2
-%endif
 %if %{with ldap}
 BuildRequires:  python3-matrix-synapse-ldap3 >= 0.1
 %requires_eq    python3-matrix-synapse-ldap3

++++++ _service ++++++
--- /var/tmp/diff_new_pack.jOJ8VO/_old  2021-05-11 23:04:07.760966175 +0200
+++ /var/tmp/diff_new_pack.jOJ8VO/_new  2021-05-11 23:04:07.764966157 +0200
@@ -4,11 +4,11 @@
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="url">https://github.com/matrix-org/synapse.git</param>
     <param name="scm">git</param>
-    <param name="revision">v1.32.2</param>
+    <param name="revision">v1.33.2</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="versionrewrite-replacement">\1</param>
     <!--
-    <param name="revision">v1.32.0rc1</param>
+    <param name="revision">v1.33.0rc2</param>
     <param name="versionrewrite-pattern">v([\.\d]+)(rc.*)</param>
     <param name="versionrewrite-replacement">\1~\2</param>
     -->

++++++ dont-bump-cryptography-with-system-openssl.patch ++++++
--- /var/tmp/diff_new_pack.jOJ8VO/_old  2021-05-11 23:04:07.772966120 +0200
+++ /var/tmp/diff_new_pack.jOJ8VO/_new  2021-05-11 23:04:07.772966120 +0200
@@ -1,13 +1,14 @@
-diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
-index 14ddaed02..eb2137c93 100644
---- a/synapse/python_dependencies.py
-+++ b/synapse/python_dependencies.py
-@@ -84,7 +84,7 @@ REQUIREMENTS = [
+Index: synapse/synapse/python_dependencies.py
+===================================================================
+--- synapse.orig/synapse/python_dependencies.py
++++ synapse/synapse/python_dependencies.py
+@@ -85,7 +85,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;python_version>='3.6'",
-+    # "cryptography>=3.4.7;python_version>='3.6'",
+-    "cryptography>=3.4.7",
++    # opensuse we do not bump here as we do not use the intree copy
++    "cryptography",
  ]
  
  CONDITIONAL_REQUIREMENTS = {

++++++ matrix-synapse-1.32.2.obscpio -> matrix-synapse-1.33.2.obscpio ++++++
/work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse-1.32.2.obscpio 
/work/SRC/openSUSE:Factory/.matrix-synapse.new.2988/matrix-synapse-1.33.2.obscpio
 differ: char 49, line 1

++++++ matrix-synapse-1.4.1-paths.patch ++++++
--- /var/tmp/diff_new_pack.jOJ8VO/_old  2021-05-11 23:04:07.796966011 +0200
+++ /var/tmp/diff_new_pack.jOJ8VO/_new  2021-05-11 23:04:07.800965993 +0200
@@ -1,7 +1,7 @@
-Index: matrix-synapse-1.4.1/contrib/example_log_config.yaml
+Index: synapse/contrib/example_log_config.yaml
 ===================================================================
---- matrix-synapse-1.4.1.orig/contrib/example_log_config.yaml
-+++ matrix-synapse-1.4.1/contrib/example_log_config.yaml
+--- synapse.orig/contrib/example_log_config.yaml
++++ synapse/contrib/example_log_config.yaml
 @@ -26,7 +26,7 @@ handlers:
    file:
      class: logging.handlers.RotatingFileHandler
@@ -11,11 +11,11 @@
      maxBytes: 100000000
      backupCount: 3
      filters: [context]
-Index: matrix-synapse-1.4.1/synapse/config/key.py
+Index: synapse/synapse/config/key.py
 ===================================================================
---- matrix-synapse-1.4.1.orig/synapse/config/key.py
-+++ matrix-synapse-1.4.1/synapse/config/key.py
-@@ -100,7 +100,7 @@ class KeyConfig(Config):
+--- synapse.orig/synapse/config/key.py
++++ synapse/synapse/config/key.py
+@@ -101,7 +101,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,7 +24,7 @@
                  )
  
              self.signing_key = self.read_signing_keys(signing_key_path, 
"signing_key")
-@@ -165,7 +165,7 @@ class KeyConfig(Config):
+@@ -166,7 +166,7 @@ class KeyConfig(Config):
      def generate_config_section(
          self, config_dir_path, server_name, generate_secrets=False, **kwargs
      ):
@@ -33,11 +33,11 @@
  
          if generate_secrets:
              macaroon_secret_key = 'macaroon_secret_key: "%s"' % (
-Index: matrix-synapse-1.4.1/synapse/config/logger.py
+Index: synapse/synapse/config/logger.py
 ===================================================================
---- matrix-synapse-1.4.1.orig/synapse/config/logger.py
-+++ matrix-synapse-1.4.1/synapse/config/logger.py
-@@ -89,7 +89,7 @@ class LoggingConfig(Config):
+--- synapse.orig/synapse/config/logger.py
++++ synapse/synapse/config/logger.py
+@@ -131,7 +131,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):
@@ -46,11 +46,11 @@
          return (
              """\
          ## Logging ##
-Index: matrix-synapse-1.4.1/synapse/config/server.py
+Index: synapse/synapse/config/server.py
 ===================================================================
---- matrix-synapse-1.4.1.orig/synapse/config/server.py
-+++ matrix-synapse-1.4.1/synapse/config/server.py
-@@ -379,7 +379,7 @@ class ServerConfig(Config):
+--- synapse.orig/synapse/config/server.py
++++ synapse/synapse/config/server.py
+@@ -725,7 +725,7 @@ class ServerConfig(Config):
              bind_port = 8448
              unsecure_port = 8008
  
@@ -59,11 +59,11 @@
  
          # Bring DEFAULT_ROOM_VERSION into the local-scope for use in the
          # default config string
-Index: matrix-synapse-1.4.1/synapse/config/tls.py
+Index: synapse/synapse/config/tls.py
 ===================================================================
---- matrix-synapse-1.4.1.orig/synapse/config/tls.py
-+++ matrix-synapse-1.4.1/synapse/config/tls.py
-@@ -259,7 +259,7 @@ class TlsConfig(Config):
+--- synapse.orig/synapse/config/tls.py
++++ synapse/synapse/config/tls.py
+@@ -275,7 +275,7 @@ class TlsConfig(Config):
          If the TLS paths are not specified the default will be certs in the
          config directory"""
  
@@ -72,7 +72,7 @@
  
          if bool(tls_certificate_path) != bool(tls_private_key_path):
              raise ConfigError(
-@@ -278,7 +278,7 @@ class TlsConfig(Config):
+@@ -294,7 +294,7 @@ class TlsConfig(Config):
          acme_enabled = bool(acme_domain)
          acme_domain = "matrix.example.com"
  

++++++ matrix-synapse.obsinfo ++++++
--- /var/tmp/diff_new_pack.jOJ8VO/_old  2021-05-11 23:04:07.824965883 +0200
+++ /var/tmp/diff_new_pack.jOJ8VO/_new  2021-05-11 23:04:07.824965883 +0200
@@ -1,5 +1,5 @@
 name: matrix-synapse
-version: 1.32.2
-mtime: 1619086171
-commit: dac44459348bd1d771a2dd6970f2a9e6532ee85f
+version: 1.33.2
+mtime: 1620738586
+commit: d1473f7362e9b146dbd256076c8e3c7d163e7d94
 

++++++ series ++++++
--- /var/tmp/diff_new_pack.jOJ8VO/_old  2021-05-11 23:04:07.868965683 +0200
+++ /var/tmp/diff_new_pack.jOJ8VO/_new  2021-05-11 23:04:07.868965683 +0200
@@ -1 +1,2 @@
 matrix-synapse-1.4.1-paths.patch
+dont-bump-cryptography-with-system-openssl.patch

Reply via email to