diff --git a/CHANGES.rst b/CHANGES.rst index cf6c984d5..f0bb973dc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,9 +1,52 @@ -Changes in synapse vX -===================== +Changes in synapse v0.9.0 (2015-05-07) +====================================== -* Changed config option from ``disable_registration`` to - ``enable_registration``. Old option will be ignored. +General: +* Add support for using a PostgreSQL database instead of SQLite. See + `docs/postgres.rst`_ for details. +* Add password change and reset APIs. See `Registration`_ in the spec. +* Fix memory leak due to not releasing stale notifiers - SYN-339. +* Fix race in caches that occasionally caused some presence updates to be + dropped - SYN-369. +* Check server name has not changed on restart. + +Federation: + +* Add key distribution mechanisms for fetching public keys of unavailable + remote home servers. See `Retrieving Server Keys`_ in the spec. + +Configuration: + +* Add support for multiple config files. +* Add support for dictionaries in config files. +* Remove support for specifying config options on the command line, except + for: + + * ``--daemonize`` - Daemonize the home server. + * ``--manhole`` - Turn on the twisted telnet manhole service on the given + port. + * ``--database-path`` - The path to a sqlite database to use. + * ``--verbose`` - The verbosity level. + * ``--log-file`` - File to log to. + * ``--log-config`` - Python logging config file. + * ``--enable-registration`` - Enable registration for new users. + +Application services: + +* Reliably retry sending of events from Synapse to application services, as per + `Application Services`_ spec. +* Application services can no longer register via the ``/register`` API, + instead their configuration should be saved to a file and listed in the + synapse ``app_service_config_files`` config option. The AS configuration file + has the same format as the old ``/register`` request. + See `docs/application_services.rst`_ for more information. + +.. _`docs/postgres.rst`: docs/postgres.rst +.. _`docs/application_services.rst`: docs/application_services.rst +.. _`Registration`: https://github.com/matrix-org/matrix-doc/blob/master/specification/10_client_server_api.rst#registration +.. _`Retrieving Server Keys`: https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys +.. _`Application Services`: https://github.com/matrix-org/matrix-doc/blob/0c6bd9/specification/25_application_service_api.rst#home-server---application-service-api Changes in synapse v0.8.1 (2015-03-18) ====================================== diff --git a/CAPTCHA_SETUP b/docs/CAPTCHA_SETUP similarity index 100% rename from CAPTCHA_SETUP rename to docs/CAPTCHA_SETUP diff --git a/docs/application_services.rst b/docs/application_services.rst new file mode 100644 index 000000000..a57bae619 --- /dev/null +++ b/docs/application_services.rst @@ -0,0 +1,36 @@ +Registering an Application Service +================================== + +The registration of new application services depends on the homeserver used. +In synapse, you need to create a new configuration file for your AS and add it +to the list specified under the ``app_service_config_files`` config +option in your synapse config. + +For example: + +.. code-block:: yaml + + app_service_config_files: + - /home/matrix/.synapse/.yaml + + +The format of the AS configuration file is as follows: + +.. code-block:: yaml + + url: + as_token: + hs_token: + sender_localpart: + namespaces: + users: # List of users we're interested in + - exclusive: + regex: + - ... + aliases: [] # List of aliases we're interested in + rooms: [] # List of room ids we're interested in + +See the spec_ for further details on how application services work. + +.. _spec: https://github.com/matrix-org/matrix-doc/blob/master/specification/25_application_service_api.rst#application-service-api + diff --git a/synapse/__init__.py b/synapse/__init__.py index 56c10a84e..c89f444f4 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -16,4 +16,4 @@ """ This is a reference implementation of a Matrix home server. """ -__version__ = "0.8.1-r4" +__version__ = "0.9.0" diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index 0d0db4d54..a45dd3c93 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -33,7 +33,7 @@ REQUIREMENTS = { } CONDITIONAL_REQUIREMENTS = { "web_client": { - "matrix_angular_sdk>=0.6.5": ["syweb>=0.6.5"], + "matrix_angular_sdk>=0.6.6": ["syweb>=0.6.6"], } } @@ -57,8 +57,8 @@ DEPENDENCY_LINKS = [ ), github_link( project="matrix-org/matrix-angular-sdk", - version="v0.6.5", - egg="matrix_angular_sdk-0.6.5", + version="v0.6.6", + egg="matrix_angular_sdk-0.6.6", ), ]