Skip to content

Commit

Permalink
Bump UPGRADES and CHANGES
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Dec 16, 2014
1 parent 2e44714 commit d2ca240
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -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)
======================================

Expand Down
16 changes: 16 additions & 0 deletions UPGRADE.rst
Original file line number Diff line number Diff line change
@@ -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
===================

Expand Down
2 changes: 2 additions & 0 deletions scripts/upgrade_db_to_v0.6.0.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d2ca240

Please sign in to comment.