diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-16 14:36:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-16 14:36:31 +0000 |
commit | d2ca24087fe6fdd91535602ffe493a92c3a468c6 (patch) | |
tree | 181ee18a09d6695a2de86d652e5a6482ffb427ee | |
parent | Make failure to run appropraite upgrade scripts more helpful. (diff) | |
download | synapse-d2ca24087fe6fdd91535602ffe493a92c3a468c6.tar.xz |
Bump UPGRADES and CHANGES
Diffstat (limited to '')
-rw-r--r-- | CHANGES.rst | 9 | ||||
-rw-r--r-- | UPGRADE.rst | 16 | ||||
-rw-r--r-- | scripts/upgrade_db_to_v0.6.0.py | 2 |
3 files changed, 27 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 0d36e8eeff..23bdac6a8a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,12 @@ +Changes in synapse 0.6.0 (2014-12-16) +===================================== + + * Add new API for media upload and download that supports thumbnailing. + * Implement typing notifications. + * Fix bugs where we sent events with invalid signatures due to bugs where + we incorrectly persisted events. + * Improve performance of database queries involving retrieving events. + Changes in synapse 0.5.4a (2014-12-13) ====================================== diff --git a/UPGRADE.rst b/UPGRADE.rst index 5ebdd455c1..a602a9f3eb 100644 --- a/UPGRADE.rst +++ b/UPGRADE.rst @@ -1,3 +1,19 @@ +Upgrading to v0.6.0 +=================== + +This update includes a change to the database schema. To upgrade you first need +to upgrade the database by running:: + + python scripts/upgrade_db_to_v0.6.0.py <db> <server_name> <signing_key> + +Where `<db>` is the location of the database, `<server_name>` is the +server name as specified in the synapse configuration, and `<signing_key>` is +the location of the signing key as specified in the synapse configuration. + +This may take some time to complete. Failures of signatures and content hashes +can safely be ignored. + + Upgrading to v0.5.1 =================== diff --git a/scripts/upgrade_db_to_v0.6.0.py b/scripts/upgrade_db_to_v0.6.0.py index 8f371bb4bb..add088a818 100644 --- a/scripts/upgrade_db_to_v0.6.0.py +++ b/scripts/upgrade_db_to_v0.6.0.py @@ -284,6 +284,8 @@ def main(database, server_name, signing_key): reinsert_events(cursor, server_name, signing_key) conn.commit() + print "Success!" + if __name__ == "__main__": parser = argparse.ArgumentParser() |