Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release-v1.13.0' of github.com:matrix-org/synapse into …
Browse files Browse the repository at this point in the history
…anoa/amorgan.xyz

* 'release-v1.13.0' of github.com:matrix-org/synapse: (30 commits)
  Update changelog based on feedback.
  Move warnings in the changelog and re-iterate changes to branches.
  1.13.0
  update dh-virtualenv (#7526)
  1.13.0rc3
  Hash passwords earlier in the registration process (#7523)
  1.13.0rc2
  1.13.0rc2
  Stop `get_joined_users` corruption from custom statuses (#7376)
  Do not validate that the client dict is stable during UI Auth. (#7483)
  Fix new flake8 errors (#7489)
  Don't UPGRADE database rows
  RST indenting
  Put rollback instructions in upgrade notes
  Fix changelog typo
  Oh yeah, RST
  Absolute URL it is then
  Fix upgrade notes link
  Provide summary of upgrade issues in changelog. Fix )
  Move next version notes from changelog to upgrade notes
  ...
  • Loading branch information
anoadragon453 committed May 20, 2020
2 parents d334de7 + 45c8b1c commit 066f2f6
Show file tree
Hide file tree
Showing 165 changed files with 776 additions and 400 deletions.
213 changes: 201 additions & 12 deletions CHANGES.md

Large diffs are not rendered by default.

41 changes: 39 additions & 2 deletions UPGRADE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,13 @@ for example:
Upgrading to v1.13.0
====================


Incorrect database migration in old synapse versions
----------------------------------------------------

A bug was introduced in Synapse 1.4.0 which could cause the room directory to
be incomplete or empty if Synapse was upgraded directly from v1.2.1 or earlier,
to versions between v1.4.0 and v1.12.x.
be incomplete or empty if Synapse was upgraded directly from v1.2.1 or
earlier, to versions between v1.4.0 and v1.12.x.

This will *not* be a problem for Synapse installations which were:
* created at v1.4.0 or later,
Expand All @@ -105,6 +106,42 @@ affected can be repaired as follows:
2. Restart synapse.

New Single Sign-on HTML Templates
---------------------------------

New templates (``sso_auth_confirm.html``, ``sso_auth_success.html``, and
``sso_account_deactivated.html``) were added to Synapse. If your Synapse is
configured to use SSO and a custom ``sso_redirect_confirm_template_dir``
configuration then these templates will need to be copied from
`synapse/res/templates <synapse/res/templates>`_ into that directory.

Synapse SSO Plugins Method Deprecation
--------------------------------------

Plugins using the ``complete_sso_login`` method of
``synapse.module_api.ModuleApi`` should update to using the async/await
version ``complete_sso_login_async`` which includes additional checks. The
non-async version is considered deprecated.

Rolling back to v1.12.4 after a failed upgrade
----------------------------------------------

v1.13.0 includes a lot of large changes. If something problematic occurs, you
may want to roll-back to a previous version of Synapse. Because v1.13.0 also
includes a new database schema version, reverting that version is also required
alongside the generic rollback instructions mentioned above. In short, to roll
back to v1.12.4 you need to:

1. Stop the server
2. Decrease the schema version in the database:

.. code:: sql
UPDATE schema_version SET version = 57;
3. Downgrade Synapse by following the instructions for your installation method
in the "Rolling back to older versions" section above.


Upgrading to v1.12.0
====================
Expand Down
1 change: 0 additions & 1 deletion changelog.d/6446.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6573.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6634.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6639.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6881.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6892.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6899.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6946.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/6988.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7006.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7009.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7010.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7011.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7024.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7040.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7051.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7068.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7089.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7091.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7096.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7102.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7107.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7109.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7110.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7115.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7116.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7117.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7118.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7119.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7120.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7128.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7133.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7136.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7137.removal

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7141.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7146.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7147.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7150.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7151.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7152.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7153.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7155.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7157.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7158.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7159.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7167.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7171.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7172.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7177.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7178.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7181.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7183.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7184.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7185.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7186.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7187.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7188.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7190.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7191.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7192.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7193.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7195.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7199.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7203.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7207.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7213.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7219.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7225.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7226.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7228.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7230.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7233.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7234.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7235.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7236.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7237.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7238.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7239.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7240.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7241.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7243.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7248.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7249.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7251.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7259.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7260.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7261.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7265.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7268.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7272.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7274.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7278.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7279.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7286.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7290.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7291.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7295.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7300.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7302.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7303.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7315.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7316.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7318.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7319.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7321.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7325.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7326.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7337.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7338.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7341.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7343.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7344.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7352.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7357.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7358.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7359.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7361.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7363.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7364.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7367.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7368.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7369.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7378.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7387.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7393.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7394.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7395.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7401.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7404.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7408.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7420.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7421.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7423.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7427.feature

This file was deleted.

1 change: 0 additions & 1 deletion debian/build_virtualenv
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ esac
dh_virtualenv \
--install-suffix "matrix-synapse" \
--builtin-venv \
--setuptools \
--python "$SNAKE" \
--upgrade-pip \
--preinstall="lxml" \
Expand Down
12 changes: 7 additions & 5 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
<<<<<<< HEAD
matrix-synapse-py3 (1.12.3ubuntu1) UNRELEASED; urgency=medium
matrix-synapse-py3 (1.13.0) stable; urgency=medium

[ Patrick Cloke ]
* Add information about .well-known files to Debian installation scripts.

-- Patrick Cloke <[email protected]> Mon, 06 Apr 2020 10:10:38 -0400
=======
[ Synapse Packaging team ]
* New synapse release 1.13.0.

-- Synapse Packaging team <[email protected]> Tue, 19 May 2020 09:16:56 -0400

matrix-synapse-py3 (1.12.4) stable; urgency=medium

* New synapse release 1.12.4.

-- Synapse Packaging team <[email protected]> Thu, 23 Apr 2020 10:58:14 -0400
>>>>>>> master

matrix-synapse-py3 (1.12.3) stable; urgency=medium

Expand Down
Loading

0 comments on commit 066f2f6

Please sign in to comment.