Bump UPGRADES and CHANGES

This commit is contained in:
Erik Johnston 2014-12-16 14:36:31 +00:00
parent 2e44714214
commit d2ca24087f
3 changed files with 27 additions and 0 deletions

View File

@ -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) Changes in synapse 0.5.4a (2014-12-13)
====================================== ======================================

View File

@ -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 Upgrading to v0.5.1
=================== ===================

View File

@ -284,6 +284,8 @@ def main(database, server_name, signing_key):
reinsert_events(cursor, server_name, signing_key) reinsert_events(cursor, server_name, signing_key)
conn.commit() conn.commit()
print "Success!"
if __name__ == "__main__": if __name__ == "__main__":
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()