Skip to content
Tags give the ability to mark specific points in history as being important
  • v0.34.1.1
    5c792ee5 · changelog ·
    Synapse 0.34.1.1 (2019-01-11)
    =============================
    
    This release fixes CVE-2019-5885 and is recommended for all users of Synapse 0.34.1.
    
    This release is compatible with Python 2.7 and 3.5+. Python 3.7 is fully supported.
    
    Bugfixes
    --------
    
    - Fix spontaneous logout on upgrade
      ([\#4374](https://github.com/matrix-org/synapse/issues/4374))
    
  • v0.34.0.1
    2dd30ba8 · notice ·
    Synapse 0.34.0.1 (2019-01-11)
    =============================
    
    This release fixes CVE-2019-5885 and is recommended for all users of Synapse 0.34.0 and below.
    
    Bugfixes
    --------
    
    - Fix problem reading macaroon_secret_key from config
      ([\#4373](https://github.com/matrix-org/synapse/issues/4373))
    
  • v0.34.1+1
  • v0.34.1
    998f5225 · 0.34.1 ·
    Synapse 0.34.1 (2019-01-09)
    ===========================
    
    Features
    --------
    
    - Special-case a support user for use in verifying behaviour of a given server. The support user does not appear in user directory or monthly active user counts. ([\#4141](https://github.com/matrix-org/synapse/issues/4141), [\#4344](https://github.com/matrix-org/synapse/issues/4344))
    - Support for serving .well-known files ([\#4262](https://github.com/matrix-org/synapse/issues/4262))
    - Rework SAML2 authentication ([\#4265](https://github.com/matrix-org/synapse/issues/4265), [\#4267](https://github.com/matrix-org/synapse/issues/4267))
    - SAML2 authentication: Initialise user display name from SAML2 data ([\#4272](https://github.com/matrix-org/synapse/issues/4272))
    - Synapse can now have its conditional/extra dependencies installed by pip. This functionality can be used by using `pip install matrix-synapse[feature]`, where feature is a comma separated list with the possible values `email.enable_notifs`, `matrix-synapse-ldap3`, `postgres`, `resources.consent`, `saml2`, `url_preview`, and `test`. If you want to install all optional dependencies, you can use "all" instead. ([\#4298](https://github.com/matrix-org/synapse/issues/4298), [\#4325](https://github.com/matrix-org/synapse/issues/4325), [\#4327](https://github.com/matrix-org/synapse/issues/4327))
    - Add routes for reading account data. ([\#4303](https://github.com/matrix-org/synapse/issues/4303))
    - Add opt-in support for v2 rooms ([\#4307](https://github.com/matrix-org/synapse/issues/4307))
    - Add a script to generate a clean config file ([\#4315](https://github.com/matrix-org/synapse/issues/4315))
    - Return server data in /login response ([\#4319](https://github.com/matrix-org/synapse/issues/4319))
    
    Bugfixes
    --------
    
    - Fix contains_url check to be consistent with other instances in code-base and check that value is an instance of string. ([\#3405](https://github.com/matrix-org/synapse/issues/3405))
    - Fix CAS login when username is not valid in an MXID ([\#4264](https://github.com/matrix-org/synapse/issues/4264))
    - Send CORS headers for /media/config ([\#4279](https://github.com/matrix-org/synapse/issues/4279))
    - Add 'sandbox' to CSP for media reprository ([\#4284](https://github.com/matrix-org/synapse/issues/4284))
    - Make the new landing page prettier. ([\#4294](https://github.com/matrix-org/synapse/issues/4294))
    - Fix deleting E2E room keys when using old SQLite versions. ([\#4295](https://github.com/matrix-org/synapse/issues/4295))
    - The metric synapse_admin_mau:current previously did not update when config.mau_stats_only was set to True ([\#4305](https://github.com/matrix-org/synapse/issues/4305))
    - Fixed per-room account data filters ([\#4309](https://github.com/matrix-org/synapse/issues/4309))
    - Fix indentation in default config ([\#4313](https://github.com/matrix-org/synapse/issues/4313))
    - Fix synapse:latest docker upload ([\#4316](https://github.com/matrix-org/synapse/issues/4316))
    - Fix test_metric.py compatibility with prometheus_client 0.5. Contributed by Maarten de Vries <maarten@de-vri.es>. ([\#4317](https://github.com/matrix-org/synapse/issues/4317))
    - Avoid packaging _trial_temp directory in -py3 debian packages ([\#4326](https://github.com/matrix-org/synapse/issues/4326))
    - Check jinja version for consent resource ([\#4327](https://github.com/matrix-org/synapse/issues/4327))
    - fix NPE in /messages by checking if all events were filtered out ([\#4330](https://github.com/matrix-org/synapse/issues/4330))
    - Fix `python -m synapse.config` on Python 3. ([\#4356](https://github.com/matrix-org/synapse/issues/4356))
    
    Deprecations and Removals
    -------------------------
    
    - Remove the deprecated v1/register API on Python 2. It was never ported to Python 3. ([\#4334](https://github.com/matrix-org/synapse/issues/4334))
    
    Internal Changes
    ----------------
    
    - Getting URL previews of IP addresses no longer fails on Python 3. ([\#4215](https://github.com/matrix-org/synapse/issues/4215))
    - drop undocumented dependency on dateutil ([\#4266](https://github.com/matrix-org/synapse/issues/4266))
    - Update the example systemd config to use a virtualenv ([\#4273](https://github.com/matrix-org/synapse/issues/4273))
    - Update link to kernel DCO guide ([\#4274](https://github.com/matrix-org/synapse/issues/4274))
    - Make isort tox check print diff when it fails ([\#4283](https://github.com/matrix-org/synapse/issues/4283))
    - Log room_id in Unknown room errors ([\#4297](https://github.com/matrix-org/synapse/issues/4297))
    - Documentation improvements for coturn setup. Contributed by Krithin Sitaram. ([\#4333](https://github.com/matrix-org/synapse/issues/4333))
    - Update pull request template to use absolute links ([\#4341](https://github.com/matrix-org/synapse/issues/4341))
    - Update README to not lie about required restart when updating TLS certificates ([\#4343](https://github.com/matrix-org/synapse/issues/4343))
    - Update debian packaging for compatibility with transitional package ([\#4349](https://github.com/matrix-org/synapse/issues/4349))
    - Fix command hint to generate a config file when trying to start without a config file ([\#4353](https://github.com/matrix-org/synapse/issues/4353))
    - Add better logging for unexpected errors while sending transactions ([\#4358](https://github.com/matrix-org/synapse/issues/4358), [\#4361](https://github.com/matrix-org/synapse/issues/4361), [\#4362](https://github.com/matrix-org/synapse/issues/4362))
    
  • v0.34.1rc1
    32172f22 · clean up changelog ·
    Synapse 0.34.1rc1 (2019-01-08)
    ==============================
    
    Features
    --------
    
    - Special-case a support user for use in verifying behaviour of a given server. The support user does not appear in user directory or monthly active user counts. ([\#4141](https://github.com/matrix-org/synapse/issues/4141), [\#4344](https://github.com/matrix-org/synapse/issues/4344))
    - Support for serving .well-known files ([\#4262](https://github.com/matrix-org/synapse/issues/4262))
    - Rework SAML2 authentication ([\#4265](https://github.com/matrix-org/synapse/issues/4265), [\#4267](https://github.com/matrix-org/synapse/issues/4267))
    - SAML2 authentication: Initialise user display name from SAML2 data ([\#4272](https://github.com/matrix-org/synapse/issues/4272))
    - Synapse can now have its conditional/extra dependencies installed by pip. This functionality can be used by using `pip install matrix-synapse[feature]`, where feature is a comma separated list with the possible values `email.enable_notifs`, `matrix-synapse-ldap3`, `postgres`, `resources.consent`, `saml2`, `url_preview`, and `test`. If you want to install all optional dependencies, you can use "all" instead. ([\#4298](https://github.com/matrix-org/synapse/issues/4298), [\#4325](https://github.com/matrix-org/synapse/issues/4325), [\#4327](https://github.com/matrix-org/synapse/issues/4327))
    - Add routes for reading account data. ([\#4303](https://github.com/matrix-org/synapse/issues/4303))
    - Add opt-in support for v2 rooms ([\#4307](https://github.com/matrix-org/synapse/issues/4307))
    - Add a script to generate a clean config file ([\#4315](https://github.com/matrix-org/synapse/issues/4315))
    - Return server data in /login response ([\#4319](https://github.com/matrix-org/synapse/issues/4319))
    
    Bugfixes
    --------
    
    - Fix contains_url check to be consistent with other instances in code-base and check that value is an instance of string. ([\#3405](https://github.com/matrix-org/synapse/issues/3405))
    - Fix CAS login when username is not valid in an MXID ([\#4264](https://github.com/matrix-org/synapse/issues/4264))
    - Send CORS headers for /media/config ([\#4279](https://github.com/matrix-org/synapse/issues/4279))
    - Add 'sandbox' to CSP for media reprository ([\#4284](https://github.com/matrix-org/synapse/issues/4284))
    - Make the new landing page prettier. ([\#4294](https://github.com/matrix-org/synapse/issues/4294))
    - Fix deleting E2E room keys when using old SQLite versions. ([\#4295](https://github.com/matrix-org/synapse/issues/4295))
    - The metric synapse_admin_mau:current previously did not update when config.mau_stats_only was set to True ([\#4305](https://github.com/matrix-org/synapse/issues/4305))
    - Fixed per-room account data filters ([\#4309](https://github.com/matrix-org/synapse/issues/4309))
    - Fix indentation in default config ([\#4313](https://github.com/matrix-org/synapse/issues/4313))
    - Fix synapse:latest docker upload ([\#4316](https://github.com/matrix-org/synapse/issues/4316))
    - Fix test_metric.py compatibility with prometheus_client 0.5. Contributed by Maarten de Vries <maarten@de-vri.es>. ([\#4317](https://github.com/matrix-org/synapse/issues/4317))
    - Avoid packaging _trial_temp directory in -py3 debian packages ([\#4326](https://github.com/matrix-org/synapse/issues/4326))
    - Check jinja version for consent resource ([\#4327](https://github.com/matrix-org/synapse/issues/4327))
    - fix NPE in /messages by checking if all events were filtered out ([\#4330](https://github.com/matrix-org/synapse/issues/4330))
    - Fix `python -m synapse.config` on Python 3. ([\#4356](https://github.com/matrix-org/synapse/issues/4356))
    
    Deprecations and Removals
    -------------------------
    
    - Remove the deprecated v1/register API on Python 2. It was never ported to Python 3. ([\#4334](https://github.com/matrix-org/synapse/issues/4334))
    
    Internal Changes
    ----------------
    
    - Getting URL previews of IP addresses no longer fails on Python 3. ([\#4215](https://github.com/matrix-org/synapse/issues/4215))
    - drop undocumented dependency on dateutil ([\#4266](https://github.com/matrix-org/synapse/issues/4266))
    - Update the example systemd config to use a virtualenv ([\#4273](https://github.com/matrix-org/synapse/issues/4273))
    - Update link to kernel DCO guide ([\#4274](https://github.com/matrix-org/synapse/issues/4274))
    - Make isort tox check print diff when it fails ([\#4283](https://github.com/matrix-org/synapse/issues/4283))
    - Log room_id in Unknown room errors ([\#4297](https://github.com/matrix-org/synapse/issues/4297))
    - Documentation improvements for coturn setup. Contributed by Krithin Sitaram. ([\#4333](https://github.com/matrix-org/synapse/issues/4333))
    - Update pull request template to use absolute links ([\#4341](https://github.com/matrix-org/synapse/issues/4341))
    - Update README to not lie about required restart when updating TLS certificates ([\#4343](https://github.com/matrix-org/synapse/issues/4343))
    - Update debian packaging for compatibility with transitional package ([\#4349](https://github.com/matrix-org/synapse/issues/4349))
    - Fix command hint to generate a config file when trying to start without a config file ([\#4353](https://github.com/matrix-org/synapse/issues/4353))
    - Add better logging for unexpected errors while sending transactions ([\#4358](https://github.com/matrix-org/synapse/issues/4358))
    
  • v0.34.0
    Synapse 0.34.0 (2018-12-20)
    ===========================
    
    Synapse 0.34.0 is the first release to fully support Python 3. Synapse will now
    run on Python versions 3.5 or 3.6 (as well as 2.7). Support for Python 3.7
    remains experimental.
    
    We recommend upgrading to Python 3, but make sure to read the [upgrade
    notes](UPGRADE.rst#upgrading-to-v0340) when doing so.
    
    Features
    --------
    
    - Add 'sandbox' to CSP for media reprository ([\#4284](https://github.com/matrix-org/synapse/issues/4284))
    - Make the new landing page prettier. ([\#4294](https://github.com/matrix-org/synapse/issues/4294))
    - Fix deleting E2E room keys when using old SQLite versions. ([\#4295](https://github.com/matrix-org/synapse/issues/4295))
    - Add a welcome page for the client API port. Credit to @krombel! ([\#4289](https://github.com/matrix-org/synapse/issues/4289))
    - Remove Matrix console from the default distribution ([\#4290](https://github.com/matrix-org/synapse/issues/4290))
    - Add option to track MAU stats (but not limit people) ([\#3830](https://github.com/matrix-org/synapse/issues/3830))
    - Add an option to enable recording IPs for appservice users ([\#3831](https://github.com/matrix-org/synapse/issues/3831))
    - Rename login type `m.login.cas` to `m.login.sso` ([\#4220](https://github.com/matrix-org/synapse/issues/4220))
    - Add an option to disable search for homeservers that may not be interested in it. ([\#4230](https://github.com/matrix-org/synapse/issues/4230))
    
    Bugfixes
    --------
    
    - Pushrules can now again be made with non-ASCII rule IDs. ([\#4165](https://github.com/matrix-org/synapse/issues/4165))
    - The media repository now no longer fails to decode UTF-8 filenames when downloading remote media. ([\#4176](https://github.com/matrix-org/synapse/issues/4176))
    - URL previews now correctly decode non-UTF-8 text if the header contains a `<meta http-equiv="Content-Type"` header. ([\#4183](https://github.com/matrix-org/synapse/issues/4183))
    - Fix an issue where public consent URLs had two slashes. ([\#4192](https://github.com/matrix-org/synapse/issues/4192))
    - Fallback auth now accepts the session parameter on Python 3. ([\#4197](https://github.com/matrix-org/synapse/issues/4197))
    - Remove riot.im from the list of trusted Identity Servers in the default configuration ([\#4207](https://github.com/matrix-org/synapse/issues/4207))
    - fix start up failure when mau_limit_reserved_threepids set and db is postgres ([\#4211](https://github.com/matrix-org/synapse/issues/4211))
    - Fix auto join failures for servers that require user consent ([\#4223](https://github.com/matrix-org/synapse/issues/4223))
    - Fix exception caused by non-ascii event IDs ([\#4241](https://github.com/matrix-org/synapse/issues/4241))
    - Pushers can now be unsubscribed from on Python 3. ([\#4250](https://github.com/matrix-org/synapse/issues/4250))
    - Fix UnicodeDecodeError when postgres is configured to give non-English errors ([\#4253](https://github.com/matrix-org/synapse/issues/4253))
    
    Internal Changes
    ----------------
    
    - Debian packages utilising a virtualenv with bundled dependencies can now be built. ([\#4212](https://github.com/matrix-org/synapse/issues/4212))
    - Disable pager when running git-show in CI ([\#4291](https://github.com/matrix-org/synapse/issues/4291))
    - A coveragerc file has been added. ([\#4180](https://github.com/matrix-org/synapse/issues/4180))
    - Add a GitHub pull request template and add multiple issue templates ([\#4182](https://github.com/matrix-org/synapse/issues/4182))
    - Update README to reflect the fact that [\#1491](https://github.com/matrix-org/synapse/issues/1491) is fixed ([\#4188](https://github.com/matrix-org/synapse/issues/4188))
    - Run the AS senders as background processes to fix warnings ([\#4189](https://github.com/matrix-org/synapse/issues/4189))
    - Add some diagnostics to the tests to detect logcontext problems ([\#4190](https://github.com/matrix-org/synapse/issues/4190))
    - Add missing `jpeg` package prerequisite for OpenBSD in README. ([\#4193](https://github.com/matrix-org/synapse/issues/4193))
    - Add a note saying you need to manually reclaim disk space after using the Purge History API ([\#4200](https://github.com/matrix-org/synapse/issues/4200))
    - More logcontext checking in unittests ([\#4205](https://github.com/matrix-org/synapse/issues/4205))
    - Ignore `__pycache__` directories in the database schema folder ([\#4214](https://github.com/matrix-org/synapse/issues/4214))
    - Add note to UPGRADE.rst about removing riot.im from list of trusted identity servers ([\#4224](https://github.com/matrix-org/synapse/issues/4224))
    - Added automated coverage reporting to CI. ([\#4225](https://github.com/matrix-org/synapse/issues/4225))
    - Garbage-collect after each unit test to fix logcontext leaks ([\#4227](https://github.com/matrix-org/synapse/issues/4227))
    - add more detail to logging regarding "More than one row matched" error ([\#4234](https://github.com/matrix-org/synapse/issues/4234))
    - Drop sent_transactions table ([\#4244](https://github.com/matrix-org/synapse/issues/4244))
    - Add a basic .editorconfig ([\#4257](https://github.com/matrix-org/synapse/issues/4257))
    - Update README.rst and UPGRADE.rst for Python 3. ([\#4260](https://github.com/matrix-org/synapse/issues/4260))
    - Remove obsolete `verbose` and `log_file` settings from `homeserver.yaml` for Docker image. ([\#4261](https://github.com/matrix-org/synapse/issues/4261))
    
  • dinsic_2018-12-19
  • v0.34.0rc2
    eb835bf6 · 0.34.0rc2 ·
    Synapse 0.34.0rc2 (2018-12-11)
    ==============================
    
    Features
    --------
    
    - Add a welcome page for the client API port. Credit to @krombel! ([\#4289](https://github.com/matrix-org/synapse/issues/4289))
    - Remove Matrix console from the default distribution ([\#4290](https://github.com/matrix-org/synapse/issues/4290))
    
    Internal Changes
    ----------------
    
    - Disable pager when running git-show in CI ([\#4291](https://github.com/matrix-org/synapse/issues/4291))
    
  • saml2_auth/181207
  • v0.34.0rc1
    Synapse 0.34.0rc1 (2018-12-04)
    ==============================
    
    Synapse 0.34 is the first release to fully support Python 3. We recommend
    upgrading to Python 3, but make sure to read the
    [upgrade notes](UPGRADE.rst#upgrading-to-v0340) when doing so.
    
    Features
    --------
    
    - Add option to track MAU stats (but not limit people) ([\#3830](https://github.com/matrix-org/synapse/issues/3830))
    - Add an option to enable recording IPs for appservice users ([\#3831](https://github.com/matrix-org/synapse/issues/3831))
    - Rename login type m.login.cas to m.login.sso ([\#4220](https://github.com/matrix-org/synapse/issues/4220))
    - Add an option to disable search for homeservers that may not be interested in it. ([\#4230](https://github.com/matrix-org/synapse/issues/4230))
    
    Bugfixes
    --------
    
    - Pushrules can now again be made with non-ASCII rule IDs. ([\#4165](https://github.com/matrix-org/synapse/issues/4165))
    - The media repository now no longer fails to decode UTF-8 filenames when downloading remote media. ([\#4176](https://github.com/matrix-org/synapse/issues/4176))
    - URL previews now correctly decode non-UTF-8 text if the header contains a `<meta http-equiv="Content-Type"` header. ([\#4183](https://github.com/matrix-org/synapse/issues/4183))
    - Fix an issue where public consent URLs had two slashes. ([\#4192](https://github.com/matrix-org/synapse/issues/4192))
    - Fallback auth now accepts the session parameter on Python 3. ([\#4197](https://github.com/matrix-org/synapse/issues/4197))
    - Remove riot.im from the list of trusted Identity Servers in the default configuration ([\#4207](https://github.com/matrix-org/synapse/issues/4207))
    - fix start up failure when mau_limit_reserved_threepids set and db is postgres ([\#4211](https://github.com/matrix-org/synapse/issues/4211))
    - Fix auto join failures for servers that require user consent ([\#4223](https://github.com/matrix-org/synapse/issues/4223))
    - Fix exception caused by non-ascii event IDs ([\#4241](https://github.com/matrix-org/synapse/issues/4241))
    - Pushers can now be unsubscribed from on Python 3. ([\#4250](https://github.com/matrix-org/synapse/issues/4250))
    - Fix UnicodeDecodeError when postgres is configured to give non-English errors ([\#4253](https://github.com/matrix-org/synapse/issues/4253))
    
    Internal Changes
    ----------------
    
    - A coveragerc file, as well as the py36-coverage tox target, have been added. ([\#4180](https://github.com/matrix-org/synapse/issues/4180))
    - Add a GitHub pull request template and add multiple issue templates ([\#4182](https://github.com/matrix-org/synapse/issues/4182))
    - Update README to reflect the fact that #1491 is fixed ([\#4188](https://github.com/matrix-org/synapse/issues/4188))
    - Run the AS senders as background processes to fix warnings ([\#4189](https://github.com/matrix-org/synapse/issues/4189))
    - Add some diagnostics to the tests to detect logcontext problems ([\#4190](https://github.com/matrix-org/synapse/issues/4190))
    - Add missing `jpeg` package prerequisite for OpenBSD in README. ([\#4193](https://github.com/matrix-org/synapse/issues/4193))
    - Add a note saying you need to manually reclaim disk space after using the Purge History API ([\#4200](https://github.com/matrix-org/synapse/issues/4200))
    - More logcontext checking in unittests ([\#4205](https://github.com/matrix-org/synapse/issues/4205))
    - Ignore __pycache__ directories in the database schema folder ([\#4214](https://github.com/matrix-org/synapse/issues/4214))
    - Add note to UPGRADE.rst about removing riot.im from list of trusted identity servers ([\#4224](https://github.com/matrix-org/synapse/issues/4224))
    - Added automated coverage reporting to CI. ([\#4225](https://github.com/matrix-org/synapse/issues/4225))
    - Garbage-collect after each unit test to fix logcontext leaks ([\#4227](https://github.com/matrix-org/synapse/issues/4227))
    - add more detail to logging regarding "More than one row matched" error ([\#4234](https://github.com/matrix-org/synapse/issues/4234))
    - Drop sent_transactions table ([\#4244](https://github.com/matrix-org/synapse/issues/4244))
    - Add a basic .editorconfig ([\#4257](https://github.com/matrix-org/synapse/issues/4257))
    - Update README.rst and UPGRADE.rst for Python 3. ([\#4260](https://github.com/matrix-org/synapse/issues/4260))
    - Remove obsolete `verbose` and `log_file` settings from `homeserver.yaml` for Docker image. ([\#4261](https://github.com/matrix-org/synapse/issues/4261))
    
  • 0.34.0rc2
    678ad155 · Merge tag 'v0.33.9' ·
  • v0.33.9
    47e26f5a · towncrier ·
    Features
    --------
    
    - Include flags to optionally add `m.login.terms` to the registration flow when consent tracking is enabled.
    ([\#4004](https://github.com/matrix-org/synapse/issues/4004), [\#4133](https://github.com/matrix-org/synapse/issues/4133),
    [\#4142](https://github.com/matrix-org/synapse/issues/4142), [\#4184](https://github.com/matrix-org/synapse/issues/4184))
    - Support for replacing rooms with new ones ([\#4091](https://github.com/matrix-org/synapse/issues/4091), [\#4099](https://github.com/matrix-org/synapse/issues/4099),
    [\#4100](https://github.com/matrix-org/synapse/issues/4100), [\#4101](https://github.com/matrix-org/synapse/issues/4101))
    
    Bugfixes
    --------
    
    - Fix exceptions when using the email mailer on Python 3. ([\#4095](https://github.com/matrix-org/synapse/issues/4095))
    - Fix e2e key backup with more than 9 backup versions ([\#4113](https://github.com/matrix-org/synapse/issues/4113))
    - Searches that request profile info now no longer fail with a 500. ([\#4122](https://github.com/matrix-org/synapse/issues/4122))
    - fix return code of empty key backups ([\#4123](https://github.com/matrix-org/synapse/issues/4123))
    - If the typing stream ID goes backwards (as on a worker when the master restarts), the worker's typing handler will no longer erroneously report rooms containing new
    typing events. ([\#4127](https://github.com/matrix-org/synapse/issues/4127))
    - Fix table lock of device_lists_remote_cache which could freeze the application ([\#4132](https://github.com/matrix-org/synapse/issues/4132))
    - Fix exception when using state res v2 algorithm ([\#4135](https://github.com/matrix-org/synapse/issues/4135))
    - Generating the user consent URI no longer fails on Python 3. ([\#4140](https://github.com/matrix-org/synapse/issues/4140),
    [\#4163](https://github.com/matrix-org/synapse/issues/4163))
    - Loading URL previews from the DB cache on Postgres will no longer cause Unicode type errors when responding to the request, and URL previews will no longer fail if
    the remote server returns a Content-Type header with the chartype in quotes. ([\#4157](https://github.com/matrix-org/synapse/issues/4157))
    - The hash_password script now works on Python 3. ([\#4161](https://github.com/matrix-org/synapse/issues/4161))
    - Fix noop checks when updating device keys, reducing spurious device list update notifications. ([\#4164](https://github.com/matrix-org/synapse/issues/4164))
    
    Deprecations and Removals
    -------------------------
    
    - The disused and un-specced identicon generator has been removed. ([\#4106](https://github.com/matrix-org/synapse/issues/4106))
    - The obsolete and non-functional /pull federation endpoint has been removed. ([\#4118](https://github.com/matrix-org/synapse/issues/4118))
    - The deprecated v1 key exchange endpoints have been removed. ([\#4119](https://github.com/matrix-org/synapse/issues/4119))
    - Synapse will no longer fetch keys using the fallback deprecated v1 key exchange method and will now always use v2.
    ([\#4120](https://github.com/matrix-org/synapse/issues/4120))
    
    Internal Changes
    ----------------
    
    - Fix build of Docker image with docker-compose ([\#3778](https://github.com/matrix-org/synapse/issues/3778))
    - Delete unreferenced state groups during history purge ([\#4006](https://github.com/matrix-org/synapse/issues/4006))
    - The "Received rdata" log messages on workers is now logged at DEBUG, not INFO. ([\#4108](https://github.com/matrix-org/synapse/issues/4108))
    - Reduce replication traffic for device lists ([\#4109](https://github.com/matrix-org/synapse/issues/4109))
    - Fix `synapse_replication_tcp_protocol_*_commands` metric label to be full command name, rather than just the first character
    ([\#4110](https://github.com/matrix-org/synapse/issues/4110))
    - Log some bits about room creation ([\#4121](https://github.com/matrix-org/synapse/issues/4121))
    - Fix `tox` failure on old systems ([\#4124](https://github.com/matrix-org/synapse/issues/4124))
    - Add STATE_V2_TEST room version ([\#4128](https://github.com/matrix-org/synapse/issues/4128))
    - Clean up event accesses and tests ([\#4137](https://github.com/matrix-org/synapse/issues/4137))
    - The default logging config will now set an explicit log file encoding of UTF-8. ([\#4138](https://github.com/matrix-org/synapse/issues/4138))
    - Add helpers functions for getting prev and auth events of an event ([\#4139](https://github.com/matrix-org/synapse/issues/4139))
    - Add some tests for the HTTP pusher. ([\#4149](https://github.com/matrix-org/synapse/issues/4149))
    - add purge_history.sh and purge_remote_media.sh scripts to contrib/ ([\#4155](https://github.com/matrix-org/synapse/issues/4155))
    - HTTP tests have been refactored to contain less boilerplate. ([\#4156](https://github.com/matrix-org/synapse/issues/4156))
    - Drop incoming events from federation for unknown rooms ([\#4165](https://github.com/matrix-org/synapse/issues/4165))
    
  • v0.33.9rc1
    bf648c37 · release 0.33.9rc1 ·
    Synapse 0.33.9rc1 (2018-11-14)
    ==============================
    
    Features
    --------
    
    - Include flags to optionally add `m.login.terms` to the registration flow when consent tracking is enabled. ([\#4004](https://github.com/matrix-org/synapse/issues/4004), [\#4133](https://github.com/matrix-org/synapse/issues/4133), [\#4142](https://github.com/matrix-org/synapse/issues/4142), [\#4184](https://github.com/matrix-org/synapse/issues/4184))
    - Support for replacing rooms with new ones ([\#4091](https://github.com/matrix-org/synapse/issues/4091), [\#4099](https://github.com/matrix-org/synapse/issues/4099), [\#4100](https://github.com/matrix-org/synapse/issues/4100), [\#4101](https://github.com/matrix-org/synapse/issues/4101))
    
    Bugfixes
    --------
    
    - Fix exceptions when using the email mailer on Python 3. ([\#4095](https://github.com/matrix-org/synapse/issues/4095))
    - Fix e2e key backup with more than 9 backup versions ([\#4113](https://github.com/matrix-org/synapse/issues/4113))
    - Searches that request profile info now no longer fail with a 500. ([\#4122](https://github.com/matrix-org/synapse/issues/4122))
    - fix return code of empty key backups ([\#4123](https://github.com/matrix-org/synapse/issues/4123))
    - If the typing stream ID goes backwards (as on a worker when the master restarts), the worker's typing handler will no longer erroneously report rooms containing new typing events. ([\#4127](https://github.com/matrix-org/synapse/issues/4127))
    - Fix table lock of device_lists_remote_cache which could freeze the application ([\#4132](https://github.com/matrix-org/synapse/issues/4132))
    - Fix exception when using state res v2 algorithm ([\#4135](https://github.com/matrix-org/synapse/issues/4135))
    - Generating the user consent URI no longer fails on Python 3. ([\#4140](https://github.com/matrix-org/synapse/issues/4140), [\#4163](https://github.com/matrix-org/synapse/issues/4163))
    - Loading URL previews from the DB cache on Postgres will no longer cause Unicode type errors when responding to the request, and URL previews will no longer fail if the remote server returns a Content-Type header with the chartype in quotes. ([\#4157](https://github.com/matrix-org/synapse/issues/4157))
    - The hash_password script now works on Python 3. ([\#4161](https://github.com/matrix-org/synapse/issues/4161))
    - Fix noop checks when updating device keys, reducing spurious device list update notifications. ([\#4164](https://github.com/matrix-org/synapse/issues/4164))
    
    Deprecations and Removals
    -------------------------
    
    - The disused and un-specced identicon generator has been removed. ([\#4106](https://github.com/matrix-org/synapse/issues/4106))
    - The obsolete and non-functional /pull federation endpoint has been removed. ([\#4118](https://github.com/matrix-org/synapse/issues/4118))
    - The deprecated v1 key exchange endpoints have been removed. ([\#4119](https://github.com/matrix-org/synapse/issues/4119))
    - Synapse will no longer fetch keys using the fallback deprecated v1 key exchange method and will now always use v2. ([\#4120](https://github.com/matrix-org/synapse/issues/4120))
    
    Internal Changes
    ----------------
    
    - Fix build of Docker image with docker-compose ([\#3778](https://github.com/matrix-org/synapse/issues/3778))
    - Delete unreferenced state groups during history purge ([\#4006](https://github.com/matrix-org/synapse/issues/4006))
    - The "Received rdata" log messages on workers is now logged at DEBUG, not INFO. ([\#4108](https://github.com/matrix-org/synapse/issues/4108))
    - Reduce replication traffic for device lists ([\#4109](https://github.com/matrix-org/synapse/issues/4109))
    - Fix `synapse_replication_tcp_protocol_*_commands` metric label to be full command name, rather than just the first character ([\#4110](https://github.com/matrix-org/synapse/issues/4110))
    - Log some bits about room creation ([\#4121](https://github.com/matrix-org/synapse/issues/4121))
    - Fix `tox` failure on old systems ([\#4124](https://github.com/matrix-org/synapse/issues/4124))
    - Add STATE_V2_TEST room version ([\#4128](https://github.com/matrix-org/synapse/issues/4128))
    - Clean up event accesses and tests ([\#4137](https://github.com/matrix-org/synapse/issues/4137))
    - The default logging config will now set an explicit log file encoding of UTF-8. ([\#4138](https://github.com/matrix-org/synapse/issues/4138))
    - Add helpers functions for getting prev and auth events of an event ([\#4139](https://github.com/matrix-org/synapse/issues/4139))
    - Add some tests for the HTTP pusher. ([\#4149](https://github.com/matrix-org/synapse/issues/4149))
    - add purge_history.sh and purge_remote_media.sh scripts to contrib/ ([\#4155](https://github.com/matrix-org/synapse/issues/4155))
    - HTTP tests have been refactored to contain less boilerplate. ([\#4156](https://github.com/matrix-org/synapse/issues/4156))
    - Drop incoming events from federation for unknown rooms ([\#4165](https://github.com/matrix-org/synapse/issues/4165))
    
  • dinsic_2018-07-20_1
  • dinsic_2018-10-15
    7ed3232b · fix tests ·
  • v0.33.8
    d0ebe828 · changelog ·
    Features
    --------
    
    - Servers with auto-join rooms will now automatically create those rooms when the first user registers ([\#3975](https://github.com/matrix-org/synapse/issues/3975))
    - Add config option to control alias creation ([\#4051](https://github.com/matrix-org/synapse/issues/4051))
    - The register_new_matrix_user script is now ported to Python 3. ([\#4085](https://github.com/matrix-org/synapse/issues/4085))
    - Configure Docker image to listen on both ipv4 and ipv6. ([\#4089](https://github.com/matrix-org/synapse/issues/4089))
    
    Bugfixes
    --------
    
    - Fix HTTP error response codes for federated group requests. ([\#3969](https://github.com/matrix-org/synapse/issues/3969))
    - Fix issue where Python 3 users couldn't paginate /publicRooms ([\#4046](https://github.com/matrix-org/synapse/issues/4046))
    - Fix URL previewing to work in Python 3.7 ([\#4050](https://github.com/matrix-org/synapse/issues/4050))
    - synctl will use the right python executable to run worker processes ([\#4057](https://github.com/matrix-org/synapse/issues/4057))
    - Manhole now works again on Python 3, instead of failing with a "couldn't match all kex parts" when connecting. ([\#4060](https://github.com/matrix-org/synapse/issues/4060), [\#4067](https://github.com/matrix-org/synapse/issues/4067))
    - Fix some metrics being racy and causing exceptions when polled by Prometheus. ([\#4061](https://github.com/matrix-org/synapse/issues/4061))
    - Fix bug which prevented email notifications from being sent unless an absolute path was given for `email_templates`. ([\#4068](https://github.com/matrix-org/synapse/issues/4068))
    - Correctly account for cpu usage by background threads ([\#4074](https://github.com/matrix-org/synapse/issues/4074))
    - Fix race condition where config defined reserved users were not being added to
      the monthly active user list prior to the homeserver reactor firing up ([\#4081](https://github.com/matrix-org/synapse/issues/4081))
    - Fix bug which prevented backslashes being used in event field filters ([\#4083](https://github.com/matrix-org/synapse/issues/4083))
    
    Internal Changes
    ----------------
    
    - Add information about the [matrix-docker-ansible-deploy](https://github.com/spantaleev/matrix-docker-ansible-deploy) playbook ([\#3698](https://github.com/matrix-org/synapse/issues/3698))
    - Add initial implementation of new state resolution algorithm ([\#3786](https://github.com/matrix-org/synapse/issues/3786))
    - Reduce database load when fetching state groups ([\#4011](https://github.com/matrix-org/synapse/issues/4011))
    - Various cleanups in the federation client code ([\#4031](https://github.com/matrix-org/synapse/issues/4031))
    - Run the CircleCI builds in docker containers ([\#4041](https://github.com/matrix-org/synapse/issues/4041))
    - Only colourise synctl output when attached to tty ([\#4049](https://github.com/matrix-org/synapse/issues/4049))
    - Refactor room alias creation code ([\#4063](https://github.com/matrix-org/synapse/issues/4063))
    - Make the Python scripts in the top-level scripts folders meet pep8 and pass flake8. ([\#4068](https://github.com/matrix-org/synapse/issues/4068))
    - The README now contains example for the Caddy web server. Contributed by steamp0rt. ([\#4072](https://github.com/matrix-org/synapse/issues/4072))
    - Add psutil as an explicit dependency ([\#4073](https://github.com/matrix-org/synapse/issues/4073))
    - Clean up threading and logcontexts in pushers ([\#4075](https://github.com/matrix-org/synapse/issues/4075))
    - Correctly manage logcontexts during startup to fix some "Unexpected logging context" warnings ([\#4076](https://github.com/matrix-org/synapse/issues/4076))
    - Give some more things logcontexts ([\#4077](https://github.com/matrix-org/synapse/issues/4077))
    - Clean up some bits of code which were flagged by the linter ([\#4082](https://github.com/matrix-org/synapse/issues/4082))
    
  • v0.33.8rc2
    e615e955 · changelog ·
    Bugfixes
    --------
    
    - Searches that request profile info now no longer fail with a 500. Fixes
      a regression in 0.33.8rc1. ([\#4122](https://github.com/matrix-org/synapse/issues/4122))
    
  • v0.33.8rc1
    3b0a85fc · changelog ·
    Features
    --------
    
    - Servers with auto-join rooms will now automatically create those rooms when the first user registers ([\#3975](https://github.com/matrix-org/synapse/issues/3975))
    - Add config option to control alias creation ([\#4051](https://github.com/matrix-org/synapse/issues/4051))
    - The register_new_matrix_user script is now ported to Python 3. ([\#4085](https://github.com/matrix-org/synapse/issues/4085))
    - Configure Docker image to listen on both ipv4 and ipv6. ([\#4089](https://github.com/matrix-org/synapse/issues/4089))
    
    Bugfixes
    --------
    
    - Fix HTTP error response codes for federated group requests. ([\#3969](https://github.com/matrix-org/synapse/issues/3969))
    - Fix issue where Python 3 users couldn't paginate /publicRooms ([\#4046](https://github.com/matrix-org/synapse/issues/4046))
    - Fix URL previewing to work in Python 3.7 ([\#4050](https://github.com/matrix-org/synapse/issues/4050))
    - synctl will use the right python executable to run worker processes ([\#4057](https://github.com/matrix-org/synapse/issues/4057))
    - Manhole now works again on Python 3, instead of failing with a "couldn't match all kex parts" when connecting. ([\#4060](https://github.com/matrix-org/synapse/issues/4060), [\#4067](https://github.com/matrix-org/synapse/issues/4067))
    - Fix some metrics being racy and causing exceptions when polled by Prometheus. ([\#4061](https://github.com/matrix-org/synapse/issues/4061))
    - Fix bug which prevented email notifications from being sent unless an absolute path was given for `email_templates`. ([\#4068](https://github.com/matrix-org/synapse/issues/4068))
    - Correctly account for cpu usage by background threads ([\#4074](https://github.com/matrix-org/synapse/issues/4074))
    - Fix race condition where config defined reserved users were not being added to
      the monthly active user list prior to the homeserver reactor firing up ([\#4081](https://github.com/matrix-org/synapse/issues/4081))
    - Fix bug which prevented backslashes being used in event field filters ([\#4083](https://github.com/matrix-org/synapse/issues/4083))
    
    Internal Changes
    ----------------
    
    - Add information about the [matrix-docker-ansible-deploy](https://github.com/spantaleev/matrix-docker-ansible-deploy) playbook ([\#3698](https://github.com/matrix-org/synapse/issues/3698))
    - Add initial implementation of new state resolution algorithm ([\#3786](https://github.com/matrix-org/synapse/issues/3786))
    - Reduce database load when fetching state groups ([\#4011](https://github.com/matrix-org/synapse/issues/4011))
    - Various cleanups in the federation client code ([\#4031](https://github.com/matrix-org/synapse/issues/4031))
    - Run the CircleCI builds in docker containers ([\#4041](https://github.com/matrix-org/synapse/issues/4041))
    - Only colourise synctl output when attached to tty ([\#4049](https://github.com/matrix-org/synapse/issues/4049))
    - Refactor room alias creation code ([\#4063](https://github.com/matrix-org/synapse/issues/4063))
    - Make the Python scripts in the top-level scripts folders meet pep8 and pass flake8. ([\#4068](https://github.com/matrix-org/synapse/issues/4068))
    - The README now contains example for the Caddy web server. Contributed by steamp0rt. ([\#4072](https://github.com/matrix-org/synapse/issues/4072))
    - Add psutil as an explicit dependency ([\#4073](https://github.com/matrix-org/synapse/issues/4073))
    - Clean up threading and logcontexts in pushers ([\#4075](https://github.com/matrix-org/synapse/issues/4075))
    - Correctly manage logcontexts during startup to fix some "Unexpected logging context" warnings ([\#4076](https://github.com/matrix-org/synapse/issues/4076))
    - Give some more things logcontexts ([\#4077](https://github.com/matrix-org/synapse/issues/4077))
    - Clean up some bits of code which were flagged by the linter ([\#4082](https://github.com/matrix-org/synapse/issues/4082))
    
  • v0.33.7
    926da4dd · 0.33.7 ·
    **Warning**: This release removes the example email notification templates from
    `res/templates` (they are now internal to the python package). This should only
    affect you if you (a) deploy your Synapse instance from a git checkout or a
    github snapshot URL, and (b) have email notifications enabled.
    
    If you have email notifications enabled, you should ensure that
    `email.template_dir` is either configured to point at a directory where you
    have installed customised templates, or leave it unset to use the default
    templates.
    
    The configuration parser will try to detect the situation where
    `email.template_dir` is incorrectly set to `res/templates` and do the right
    thing, but will warn about this.
    
    Features
    --------
    
    - Ship the example email templates as part of the package ([\#4052](https://github.com/matrix-org/synapse/issues/4052))
    - Add support for end-to-end key backup (MSC1687) ([\#4019](https://github.com/matrix-org/synapse/issues/4019))
    
    Bugfixes
    --------
    
    - Fix bug which made get_missing_events return too few events ([\#4045](https://github.com/matrix-org/synapse/issues/4045))
    - Fix bug in event persistence logic which caused 'NoneType is not iterable' ([\#3995](https://github.com/matrix-org/synapse/issues/3995))
    - Fix exception in background metrics collection ([\#3996](https://github.com/matrix-org/synapse/issues/3996))
    - Fix exception handling in fetching remote profiles ([\#3997](https://github.com/matrix-org/synapse/issues/3997))
    - Fix handling of rejected threepid invites ([\#3999](https://github.com/matrix-org/synapse/issues/3999))
    - Workers now start on Python 3. ([\#4027](https://github.com/matrix-org/synapse/issues/4027))
    - Synapse now starts on Python 3.7. ([\#4033](https://github.com/matrix-org/synapse/issues/4033))
    
    Internal Changes
    ----------------
    
    - Log exceptions in looping calls ([\#4008](https://github.com/matrix-org/synapse/issues/4008))
    - Optimisation for serving federation requests ([\#4017](https://github.com/matrix-org/synapse/issues/4017))
    - Add metric to count number of non-empty sync responses ([\#4022](https://github.com/matrix-org/synapse/issues/4022))
    
  • v0.33.7rc2
    8c2b8d7f · fix changelog formatting ·
    Features
    --------
    
    - Ship the example email templates as part of the package ([\#4052](https://github.com/matrix-org/synapse/issues/4052))
    
    Bugfixes
    --------
    
    - Fix bug which made get_missing_events return too few events ([\#4045](https://github.com/matrix-org/synapse/issues/4045))