From bb5f5eadf42258e5cf5e4a5c4f708ae5c01035aa Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Tue, 31 May 2022 09:32:26 -0400 Subject: [PATCH 1/2] matrix-synapse: 1.59.1 -> 1.60.0 https://github.com/matrix-org/synapse/releases/tag/v1.60.0 --- pkgs/servers/matrix-synapse/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix index ce2009c4ed79..7a0297757bae 100644 --- a/pkgs/servers/matrix-synapse/default.nix +++ b/pkgs/servers/matrix-synapse/default.nix @@ -11,11 +11,11 @@ in with python3.pkgs; buildPythonApplication rec { pname = "matrix-synapse"; - version = "1.59.1"; + version = "1.60.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-EASd+tlPIYQpQP2OOHJSPDzgJZyVoigVfcC2b2c2A2o="; + sha256 = "sha256-sR+DZhpAkPpurPs6jSBVphYp12z8qulcQSl3ngcCrcs="; }; buildInputs = [ openssl ]; From d0eda68f5b8bb5e3803c925aff973c4aeb288fa6 Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Tue, 31 May 2022 13:54:58 -0400 Subject: [PATCH 2/2] matrix-synapse: Warn about state_group_edges changes in release notes --- .../manual/from_md/release-notes/rl-2211.section.xml | 11 +++++++++++ nixos/doc/manual/release-notes/rl-2211.section.md | 1 + 2 files changed, 12 insertions(+) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml index 55c20427cfde..b0a84de57e0b 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml @@ -98,6 +98,17 @@ hardware.saleae-logic.package. + + + Matrix Synapse now requires entries in the + state_group_edges table to be unique, in + order to prevent accidentally introducing duplicate + information (for example, because a database backup was + restored multiple times). If your Synapse database already has + duplicate rows in this table, this could fail with an error + and require manual remediation. + + diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md index 97ecb725dfb5..acad456a4fd3 100644 --- a/nixos/doc/manual/release-notes/rl-2211.section.md +++ b/nixos/doc/manual/release-notes/rl-2211.section.md @@ -45,5 +45,6 @@ In addition to numerous new and upgraded packages, this release has the followin ## Other Notable Changes {#sec-release-22.11-notable-changes} * A new module was added for the Saleae Logic device family, providing the options `hardware.saleae-logic.enable` and `hardware.saleae-logic.package`. +* Matrix Synapse now requires entries in the `state_group_edges` table to be unique, in order to prevent accidentally introducing duplicate information (for example, because a database backup was restored multiple times). If your Synapse database already has duplicate rows in this table, this could fail with an error and require manual remediation.