Skip to content
Tags give the ability to mark specific points in history as being important
  • v0.33.7rc1
    24bc15ea · update changelog ·
    Features
    --------
    
    - Add support for end-to-end key backup (MSC1687) ([\#4019](https://github.com/matrix-org/synapse/issues/4019))
    
    Bugfixes
    --------
    
    - 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.6
    92faeb2a · changelog ·
    Features
    --------
    
    - Adding the ability to change MAX_UPLOAD_SIZE for the docker container
    variables. ([\#3883](https://github.com/matrix-org/synapse/issues/3883))
    - Report "python_version" in the phone home stats
    ([\#3894](https://github.com/matrix-org/synapse/issues/3894))
    - Always LL ourselves if we're in a room
    ([\#3916](https://github.com/matrix-org/synapse/issues/3916))
    - Include eventid in log lines when processing incoming federation
    transactions
    ([\#3959](https://github.com/matrix-org/synapse/issues/3959))
    - Remove spurious check which made 'localhost' servers not work
    ([\#3964](https://github.com/matrix-org/synapse/issues/3964))
    
    Bugfixes
    --------
    
    - Fix problem when playing media from Chrome using direct URL (thanks
    @remjey!) ([\#3578](https://github.com/matrix-org/synapse/issues/3578))
    - support registering regular users non-interactively with
    register_new_matrix_user script
    ([\#3836](https://github.com/matrix-org/synapse/issues/3836))
    - Fix broken invite email links for self hosted riots
    ([\#3868](https://github.com/matrix-org/synapse/issues/3868))
    - Don't ratelimit autojoins
    ([\#3879](https://github.com/matrix-org/synapse/issues/3879))
    - Fix 500 error when deleting unknown room alias
    ([\#3889](https://github.com/matrix-org/synapse/issues/3889))
    - Fix some b'abcd' noise in logs and metrics
    ([\#3892](https://github.com/matrix-org/synapse/issues/3892),
    [\#3895](https://github.com/matrix-org/synapse/issues/3895))
    - When we join a room, always try the server we used for the alias
    lookup first, to avoid unresponsive and out-of-date servers.
    ([\#3899](https://github.com/matrix-org/synapse/issues/3899))
    - Fix incorrect server-name indication for outgoing federation requests
    ([\#3907](https://github.com/matrix-org/synapse/issues/3907))
    - Fix adding client IPs to the database failing on Python 3.
    ([\#3908](https://github.com/matrix-org/synapse/issues/3908))
    - Fix bug where things occaisonally were not being timed out correctly.
    ([\#3910](https://github.com/matrix-org/synapse/issues/3910))
    - Fix bug where outbound federation would stop talking to some servers
    when using workers
    ([\#3914](https://github.com/matrix-org/synapse/issues/3914))
    - Fix some instances of ExpiringCache not expiring cache items
    ([\#3932](https://github.com/matrix-org/synapse/issues/3932),
    [\#3980](https://github.com/matrix-org/synapse/issues/3980))
    - Fix out-of-bounds error when LLing yourself
    ([\#3936](https://github.com/matrix-org/synapse/issues/3936))
    - Sending server notices regarding user consent now works on Python 3.
    ([\#3938](https://github.com/matrix-org/synapse/issues/3938))
    - Fix exceptions from metrics handler
    ([\#3956](https://github.com/matrix-org/synapse/issues/3956))
    - Fix error message for events with m.room.create missing from
    auth_events
    ([\#3960](https://github.com/matrix-org/synapse/issues/3960))
    - Fix errors due to concurrent monthly_active_user upserts
    ([\#3961](https://github.com/matrix-org/synapse/issues/3961))
    - Fix exceptions when processing incoming events over federation
    ([\#3968](https://github.com/matrix-org/synapse/issues/3968))
    - Replaced all occurences of e.message with str(e). Contributed by
    Schnuffle ([\#3970](https://github.com/matrix-org/synapse/issues/3970))
    - Fix lazy loaded sync in the presence of rejected state events
    ([\#3986](https://github.com/matrix-org/synapse/issues/3986))
    - Fix error when logging incomplete HTTP requests
    ([\#3990](https://github.com/matrix-org/synapse/issues/3990))
    
    Internal Changes
    ----------------
    
    - Unit tests can now be run under PostgreSQL in Docker using
    ``test_postgresql.sh``.
    ([\#3699](https://github.com/matrix-org/synapse/issues/3699))
    - Speed up calculation of typing updates for replication
    ([\#3794](https://github.com/matrix-org/synapse/issues/3794))
    - Remove documentation regarding installation on Cygwin, the use of WSL
    is recommended instead.
    ([\#3873](https://github.com/matrix-org/synapse/issues/3873))
    - Fix typo in README, synaspse -> synapse
    ([\#3897](https://github.com/matrix-org/synapse/issues/3897))
    - Increase the timeout when filling missing events in federation
    requests ([\#3903](https://github.com/matrix-org/synapse/issues/3903))
    - Improve the logging when handling a federation transaction
    ([\#3904](https://github.com/matrix-org/synapse/issues/3904),
    [\#3966](https://github.com/matrix-org/synapse/issues/3966))
    - Improve logging of outbound federation requests
    ([\#3906](https://github.com/matrix-org/synapse/issues/3906),
    [\#3909](https://github.com/matrix-org/synapse/issues/3909))
    - Fix the docker image building on python 3
    ([\#3911](https://github.com/matrix-org/synapse/issues/3911))
    - Add a regression test for logging failed HTTP requests on Python 3.
    ([\#3912](https://github.com/matrix-org/synapse/issues/3912))
    - Comments and interface cleanup for on_receive_pdu
    ([\#3924](https://github.com/matrix-org/synapse/issues/3924))
    - Fix spurious exceptions when remote http client closes conncetion
    ([\#3925](https://github.com/matrix-org/synapse/issues/3925))
    - Log exceptions thrown by background tasks
    ([\#3927](https://github.com/matrix-org/synapse/issues/3927))
    - Add a cache to get_destination_retry_timings
    ([\#3933](https://github.com/matrix-org/synapse/issues/3933),
    [\#3991](https://github.com/matrix-org/synapse/issues/3991))
    - Automate pushes to docker hub
    ([\#3946](https://github.com/matrix-org/synapse/issues/3946))
    - Require attrs 16.0.0 or later
    ([\#3947](https://github.com/matrix-org/synapse/issues/3947))
    - Fix incompatibility with python3 on alpine
    ([\#3948](https://github.com/matrix-org/synapse/issues/3948))
    - Run the test suite on the oldest supported versions of our
    dependencies in CI.
    ([\#3952](https://github.com/matrix-org/synapse/issues/3952))
    - CircleCI now only runs merged jobs on PRs, and commit jobs on develop,
    master, and release branches.
    ([\#3957](https://github.com/matrix-org/synapse/issues/3957))
    - Fix docstrings and add tests for state store methods
    ([\#3958](https://github.com/matrix-org/synapse/issues/3958))
    - fix docstring for FederationClient.get_state_for_room
    ([\#3963](https://github.com/matrix-org/synapse/issues/3963))
    - Run notify_app_services as a bg process
    ([\#3965](https://github.com/matrix-org/synapse/issues/3965))
    - Clarifications in FederationHandler
    ([\#3967](https://github.com/matrix-org/synapse/issues/3967))
    - Further reduce the docker image size
    ([\#3972](https://github.com/matrix-org/synapse/issues/3972))
    - Build py3 docker images for docker hub too
    ([\#3976](https://github.com/matrix-org/synapse/issues/3976))
    - Updated the installation instructions to point to the matrix-synapse
    package on PyPI.
    ([\#3985](https://github.com/matrix-org/synapse/issues/3985))
    - Disable USE_FROZEN_DICTS for unittests by default.
    ([\#3987](https://github.com/matrix-org/synapse/issues/3987))
    - Remove unused Jenkins and development related files from the repo.
    ([\#3988](https://github.com/matrix-org/synapse/issues/3988))
    - Improve stacktraces in certain exceptions in the logs
    ([\#3989](https://github.com/matrix-org/synapse/issues/3989))
    - Pin to prometheus_client<0.4 to avoid renaming all of our metrics
    ([\#4002](https://github.com/matrix-org/synapse/issues/4002))
    
  • v0.33.6rc1
    ccce6f26 · changelog ·
    Features
    --------
    
    - Adding the ability to change MAX_UPLOAD_SIZE for the docker container variables. ([\#3883](https://github.com/matrix-org/synapse/issues/3883))
    - Report "python_version" in the phone home stats ([\#3894](https://github.com/matrix-org/synapse/issues/3894))
    - Always LL ourselves if we're in a room ([\#3916](https://github.com/matrix-org/synapse/issues/3916))
    - Include eventid in log lines when processing incoming federation transactions ([\#3959](https://github.com/matrix-org/synapse/issues/3959))
    - Remove spurious check which made 'localhost' servers not work ([\#3964](https://github.com/matrix-org/synapse/issues/3964))
    
    Bugfixes
    --------
    
    - Fix problem when playing media from Chrome using direct URL (thanks @remjey!) ([\#3578](https://github.com/matrix-org/synapse/issues/3578))
    - support registering regular users non-interactively with register_new_matrix_user script ([\#3836](https://github.com/matrix-org/synapse/issues/3836))
    - Fix broken invite email links for self hosted riots ([\#3868](https://github.com/matrix-org/synapse/issues/3868))
    - Don't ratelimit autojoins ([\#3879](https://github.com/matrix-org/synapse/issues/3879))
    - Fix 500 error when deleting unknown room alias ([\#3889](https://github.com/matrix-org/synapse/issues/3889))
    - Fix some b'abcd' noise in logs and metrics ([\#3892](https://github.com/matrix-org/synapse/issues/3892), [\#3895](https://github.com/matrix-org/synapse/issues/3895))
    - When we join a room, always try the server we used for the alias lookup first, to avoid unresponsive and out-of-date servers. ([\#3899](https://github.com/matrix-org/synapse/issues/3899))
    - Fix incorrect server-name indication for outgoing federation requests ([\#3907](https://github.com/matrix-org/synapse/issues/3907))
    - Fix adding client IPs to the database failing on Python 3. ([\#3908](https://github.com/matrix-org/synapse/issues/3908))
    - Fix bug where things occaisonally were not being timed out correctly. ([\#3910](https://github.com/matrix-org/synapse/issues/3910))
    - Fix bug where outbound federation would stop talking to some servers when using workers ([\#3914](https://github.com/matrix-org/synapse/issues/3914))
    - Fix some instances of ExpiringCache not expiring cache items ([\#3932](https://github.com/matrix-org/synapse/issues/3932), [\#3980](https://github.com/matrix-org/synapse/issues/3980))
    - Fix out-of-bounds error when LLing yourself ([\#3936](https://github.com/matrix-org/synapse/issues/3936))
    - Sending server notices regarding user consent now works on Python 3. ([\#3938](https://github.com/matrix-org/synapse/issues/3938))
    - Fix exceptions from metrics handler ([\#3956](https://github.com/matrix-org/synapse/issues/3956))
    - Fix error message for events with m.room.create missing from auth_events ([\#3960](https://github.com/matrix-org/synapse/issues/3960))
    - Fix errors due to concurrent monthly_active_user upserts ([\#3961](https://github.com/matrix-org/synapse/issues/3961))
    - Fix exceptions when processing incoming events over federation ([\#3968](https://github.com/matrix-org/synapse/issues/3968))
    - Replaced all occurences of e.message with str(e). Contributed by Schnuffle ([\#3970](https://github.com/matrix-org/synapse/issues/3970))
    - Fix lazy loaded sync in the presence of rejected state events ([\#3986](https://github.com/matrix-org/synapse/issues/3986))
    - Fix error when logging incomplete HTTP requests ([\#3990](https://github.com/matrix-org/synapse/issues/3990))
    - Add a cache to get_destination_retry_timings ([\#3991](https://github.com/matrix-org/synapse/issues/3991))
    
    Internal Changes
    ----------------
    
    - Unit tests can now be run under PostgreSQL in Docker using
      ``test_postgresql.sh``. ([\#3699](https://github.com/matrix-org/synapse/issues/3699))
    - Speed up calculation of typing updates for replication ([\#3794](https://github.com/matrix-org/synapse/issues/3794))
    - Remove documentation regarding installation on Cygwin, the use of WSL is
      recommended instead. ([\#3873](https://github.com/matrix-org/synapse/issues/3873))
    - Fix typo in README, synaspse -> synapse ([\#3897](https://github.com/matrix-org/synapse/issues/3897))
    - Increase the timeout when filling missing events in federation requests ([\#3903](https://github.com/matrix-org/synapse/issues/3903))
    - Improve the logging when handling a federation transaction ([\#3904](https://github.com/matrix-org/synapse/issues/3904), [\#3966](https://github.com/matrix-org/synapse/issues/3966))
    - Improve logging of outbound federation requests ([\#3906](https://github.com/matrix-org/synapse/issues/3906), [\#3909](https://github.com/matrix-org/synapse/issues/3909))
    - Fix the docker image building on python 3 ([\#3911](https://github.com/matrix-org/synapse/issues/3911))
    - Add a regression test for logging failed HTTP requests on Python 3. ([\#3912](https://github.com/matrix-org/synapse/issues/3912))
    - Comments and interface cleanup for on_receive_pdu ([\#3924](https://github.com/matrix-org/synapse/issues/3924))
    - Fix spurious exceptions when remote http client closes conncetion ([\#3925](https://github.com/matrix-org/synapse/issues/3925))
    - Log exceptions thrown by background tasks ([\#3927](https://github.com/matrix-org/synapse/issues/3927))
    - Add a cache to get_destination_retry_timings ([\#3933](https://github.com/matrix-org/synapse/issues/3933))
    - Automate pushes to docker hub ([\#3946](https://github.com/matrix-org/synapse/issues/3946))
    - Require attrs 16.0.0 or later ([\#3947](https://github.com/matrix-org/synapse/issues/3947))
    - Fix incompatibility with python3 on alpine ([\#3948](https://github.com/matrix-org/synapse/issues/3948))
    - Run the test suite on the oldest supported versions of our dependencies in CI. ([\#3952](https://github.com/matrix-org/synapse/issues/3952))
    - CircleCI now only runs merged jobs on PRs, and commit jobs on develop, master, and release branches. ([\#3957](https://github.com/matrix-org/synapse/issues/3957))
    - Fix docstrings and add tests for state store methods ([\#3958](https://github.com/matrix-org/synapse/issues/3958))
    - fix docstring for FederationClient.get_state_for_room ([\#3963](https://github.com/matrix-org/synapse/issues/3963))
    - Run notify_app_services as a bg process ([\#3965](https://github.com/matrix-org/synapse/issues/3965))
    - Clarifications in FederationHandler ([\#3967](https://github.com/matrix-org/synapse/issues/3967))
    - Further reduce the docker image size ([\#3972](https://github.com/matrix-org/synapse/issues/3972))
    - Build py3 docker images for docker hub too ([\#3976](https://github.com/matrix-org/synapse/issues/3976))
    - Updated the installation instructions to point to the matrix-synapse package on PyPI. ([\#3985](https://github.com/matrix-org/synapse/issues/3985))
    - Disable USE_FROZEN_DICTS for unittests by default. ([\#3987](https://github.com/matrix-org/synapse/issues/3987))
    - Remove unused Jenkins and development related files from the repo. ([\#3988](https://github.com/matrix-org/synapse/issues/3988))
    - Improve stacktraces in certain exceptions in the logs ([\#3989](https://github.com/matrix-org/synapse/issues/3989))
    
  • v0.33.5.1
    fc691ca9 · changelog ·
    Internal Changes
    ----------------
    
    - Fix incompatibility with older Twisted version in tests. Thanks
      @OlegGirko!
    ([\#3940](https://github.com/matrix-org/synapse/issues/3940))
    
  • v0.33.5
    e3aa2c0b · towncrier ·
    Features
    --------
    
    - Python 3.5 and 3.6 support is now in beta.
    ([\#3576](https://github.com/matrix-org/synapse/issues/3576))
    - Implement `event_format` filter param in `/sync`
    ([\#3790](https://github.com/matrix-org/synapse/issues/3790))
    - Add synapse_admin_mau:registered_reserved_users metric to expose
    number of real reaserved users
    ([\#3846](https://github.com/matrix-org/synapse/issues/3846))
    
    Bugfixes
    --------
    
    - Remove connection ID for replication prometheus metrics, as it creates
    a large number of new series.
    ([\#3788](https://github.com/matrix-org/synapse/issues/3788))
    - guest users should not be part of mau total
    ([\#3800](https://github.com/matrix-org/synapse/issues/3800))
    - Bump dependency on pyopenssl 16.x, to avoid incompatibility with
    recent Twisted.
    ([\#3804](https://github.com/matrix-org/synapse/issues/3804))
    - Fix existing room tags not coming down sync when joining a room
    ([\#3810](https://github.com/matrix-org/synapse/issues/3810))
    - Fix jwt import check
    ([\#3824](https://github.com/matrix-org/synapse/issues/3824))
    - fix VOIP crashes under Python 3 (#3821)
    ([\#3835](https://github.com/matrix-org/synapse/issues/3835))
    - Fix manhole so that it works with latest openssh clients
    ([\#3841](https://github.com/matrix-org/synapse/issues/3841))
    - Fix outbound requests occasionally wedging, which can result in
    federation breaking between servers.
    ([\#3845](https://github.com/matrix-org/synapse/issues/3845))
    - Show heroes if room name/canonical alias has been deleted
    ([\#3851](https://github.com/matrix-org/synapse/issues/3851))
    - Fix handling of redacted events from federation
    ([\#3859](https://github.com/matrix-org/synapse/issues/3859))
    -  ([\#3874](https://github.com/matrix-org/synapse/issues/3874))
    - Mitigate outbound federation randomly becoming wedged
    ([\#3875](https://github.com/matrix-org/synapse/issues/3875))
    
    Internal Changes
    ----------------
    
    - CircleCI tests now run on the potential merge of a PR.
    ([\#3704](https://github.com/matrix-org/synapse/issues/3704))
    - http/ is now ported to Python 3.
    ([\#3771](https://github.com/matrix-org/synapse/issues/3771))
    - Improve human readable error messages for threepid
    registration/account update
    ([\#3789](https://github.com/matrix-org/synapse/issues/3789))
    - Make /sync slightly faster by avoiding needless copies
    ([\#3795](https://github.com/matrix-org/synapse/issues/3795))
    - handlers/ is now ported to Python 3.
    ([\#3803](https://github.com/matrix-org/synapse/issues/3803))
    - Limit the number of PDUs/EDUs per federation transaction
    ([\#3805](https://github.com/matrix-org/synapse/issues/3805))
    - Only start postgres instance for postgres tests on Travis CI
    ([\#3806](https://github.com/matrix-org/synapse/issues/3806))
    - tests/ is now ported to Python 3.
    ([\#3808](https://github.com/matrix-org/synapse/issues/3808))
    - crypto/ is now ported to Python 3.
    ([\#3822](https://github.com/matrix-org/synapse/issues/3822))
    - rest/ is now ported to Python 3.
    ([\#3823](https://github.com/matrix-org/synapse/issues/3823))
    - add some logging for the keyring queue
    ([\#3826](https://github.com/matrix-org/synapse/issues/3826))
    - speed up lazy loading by 2-3x
    ([\#3827](https://github.com/matrix-org/synapse/issues/3827))
    - Improved Dockerfile to remove build requirements after building
    reducing the image size.
    ([\#3834](https://github.com/matrix-org/synapse/issues/3834))
    - Disable lazy loading for incremental syncs for now
    ([\#3840](https://github.com/matrix-org/synapse/issues/3840))
    - federation/ is now ported to Python 3.
    ([\#3847](https://github.com/matrix-org/synapse/issues/3847))
    - Log when we retry outbound requests
    ([\#3853](https://github.com/matrix-org/synapse/issues/3853))
    - Removed some excess logging messages.
    ([\#3855](https://github.com/matrix-org/synapse/issues/3855))
    - Speed up purge history for rooms that have been previously purged
    ([\#3856](https://github.com/matrix-org/synapse/issues/3856))
    - Refactor some HTTP timeout code.
    ([\#3857](https://github.com/matrix-org/synapse/issues/3857))
    - Fix running merged builds on CircleCI
    ([\#3858](https://github.com/matrix-org/synapse/issues/3858))
    - Fix typo in replication stream exception.
    ([\#3860](https://github.com/matrix-org/synapse/issues/3860))
    - Add in flight real time metrics for Measure blocks
    ([\#3871](https://github.com/matrix-org/synapse/issues/3871))
    - Disable buffering and automatic retrying in treq requests to prevent
    timeouts. ([\#3872](https://github.com/matrix-org/synapse/issues/3872))
    - mention jemalloc in the README
    ([\#3877](https://github.com/matrix-org/synapse/issues/3877))
    - Remove unmaintained "nuke-room-from-db.sh" script
    ([\#3888](https://github.com/matrix-org/synapse/issues/3888))
    
  • v0.33.5rc1
    1e70f1db · changelog ·
    Features
    --------
    
    - Python 3.5 and 3.6 support is now in beta.
    ([\#3576](https://github.com/matrix-org/synapse/issues/3576))
    - Implement `event_format` filter param in `/sync`
    ([\#3790](https://github.com/matrix-org/synapse/issues/3790))
    - Add synapse_admin_mau:registered_reserved_users metric to expose
    number of real reaserved users
    ([\#3846](https://github.com/matrix-org/synapse/issues/3846))
    
    Bugfixes
    --------
    
    - Remove connection ID for replication prometheus metrics, as it creates
    a large number of new series.
    ([\#3788](https://github.com/matrix-org/synapse/issues/3788))
    - guest users should not be part of mau total
    ([\#3800](https://github.com/matrix-org/synapse/issues/3800))
    - Bump dependency on pyopenssl 16.x, to avoid incompatibility with
    recent Twisted.
    ([\#3804](https://github.com/matrix-org/synapse/issues/3804))
    - Fix existing room tags not coming down sync when joining a room
    ([\#3810](https://github.com/matrix-org/synapse/issues/3810))
    - Fix jwt import check
    ([\#3824](https://github.com/matrix-org/synapse/issues/3824))
    - fix VOIP crashes under Python 3 (#3821)
    ([\#3835](https://github.com/matrix-org/synapse/issues/3835))
    - Fix manhole so that it works with latest openssh clients
    ([\#3841](https://github.com/matrix-org/synapse/issues/3841))
    - Fix outbound requests occasionally wedging, which can result in
    federation breaking between servers.
    ([\#3845](https://github.com/matrix-org/synapse/issues/3845))
    - Show heroes if room name/canonical alias has been deleted
    ([\#3851](https://github.com/matrix-org/synapse/issues/3851))
    - Fix handling of redacted events from federation
    ([\#3859](https://github.com/matrix-org/synapse/issues/3859))
    -  ([\#3874](https://github.com/matrix-org/synapse/issues/3874))
    - Mitigate outbound federation randomly becoming wedged
    ([\#3875](https://github.com/matrix-org/synapse/issues/3875))
    
    Internal Changes
    ----------------
    
    - CircleCI tests now run on the potential merge of a PR.
    ([\#3704](https://github.com/matrix-org/synapse/issues/3704))
    - http/ is now ported to Python 3.
    ([\#3771](https://github.com/matrix-org/synapse/issues/3771))
    - Improve human readable error messages for threepid
    registration/account update
    ([\#3789](https://github.com/matrix-org/synapse/issues/3789))
    - Make /sync slightly faster by avoiding needless copies
    ([\#3795](https://github.com/matrix-org/synapse/issues/3795))
    - handlers/ is now ported to Python 3.
    ([\#3803](https://github.com/matrix-org/synapse/issues/3803))
    - Limit the number of PDUs/EDUs per federation transaction
    ([\#3805](https://github.com/matrix-org/synapse/issues/3805))
    - Only start postgres instance for postgres tests on Travis CI
    ([\#3806](https://github.com/matrix-org/synapse/issues/3806))
    - tests/ is now ported to Python 3.
    ([\#3808](https://github.com/matrix-org/synapse/issues/3808))
    - crypto/ is now ported to Python 3.
    ([\#3822](https://github.com/matrix-org/synapse/issues/3822))
    - rest/ is now ported to Python 3.
    ([\#3823](https://github.com/matrix-org/synapse/issues/3823))
    - add some logging for the keyring queue
    ([\#3826](https://github.com/matrix-org/synapse/issues/3826))
    - speed up lazy loading by 2-3x
    ([\#3827](https://github.com/matrix-org/synapse/issues/3827))
    - Improved Dockerfile to remove build requirements after building
    reducing the image size.
    ([\#3834](https://github.com/matrix-org/synapse/issues/3834))
    - Disable lazy loading for incremental syncs for now
    ([\#3840](https://github.com/matrix-org/synapse/issues/3840))
    - federation/ is now ported to Python 3.
    ([\#3847](https://github.com/matrix-org/synapse/issues/3847))
    - Log when we retry outbound requests
    ([\#3853](https://github.com/matrix-org/synapse/issues/3853))
    - Removed some excess logging messages.
    ([\#3855](https://github.com/matrix-org/synapse/issues/3855))
    - Speed up purge history for rooms that have been previously purged
    ([\#3856](https://github.com/matrix-org/synapse/issues/3856))
    - Refactor some HTTP timeout code.
    ([\#3857](https://github.com/matrix-org/synapse/issues/3857))
    - Fix running merged builds on CircleCI
    ([\#3858](https://github.com/matrix-org/synapse/issues/3858))
    - Fix typo in replication stream exception.
    ([\#3860](https://github.com/matrix-org/synapse/issues/3860))
    - Add in flight real time metrics for Measure blocks
    ([\#3871](https://github.com/matrix-org/synapse/issues/3871))
    - Disable buffering and automatic retrying in treq requests to prevent
    timeouts. ([\#3872](https://github.com/matrix-org/synapse/issues/3872))
    - mention jemalloc in the README
    ([\#3877](https://github.com/matrix-org/synapse/issues/3877))
    - Remove unmaintained "nuke-room-from-db.sh" script
    ([\#3888](https://github.com/matrix-org/synapse/issues/3888))
    
  • hhs-8
  • hhs-7
  • v0.33.4
    b60749a1 · changelog ·
    Features
    --------
    
    - Support profile API endpoints on workers
    ([\#3659](https://github.com/matrix-org/synapse/issues/3659))
    - Server notices for resource limit blocking
    ([\#3680](https://github.com/matrix-org/synapse/issues/3680))
    - Allow guests to use /rooms/:roomId/event/:eventId
    ([\#3724](https://github.com/matrix-org/synapse/issues/3724))
    - Add mau_trial_days config param, so that users only get counted as MAU
    after N days.
    ([\#3749](https://github.com/matrix-org/synapse/issues/3749))
    - Require twisted 17.1 or later (fixes
    [#3741](https://github.com/matrix-org/synapse/issues/3741)).
    ([\#3751](https://github.com/matrix-org/synapse/issues/3751))
    
    Bugfixes
    --------
    
    - Fix error collecting prometheus metrics when run on dedicated thread
    due to threading concurrency issues
    ([\#3722](https://github.com/matrix-org/synapse/issues/3722))
    - Fix bug where we resent "limit exceeded" server notices repeatedly
    ([\#3747](https://github.com/matrix-org/synapse/issues/3747))
    - Fix bug where we broke sync when using limit_usage_by_mau but hadn't
    configured server notices
    ([\#3753](https://github.com/matrix-org/synapse/issues/3753))
    - Fix 'federation_domain_whitelist' such that an empty list correctly
    blocks all outbound federation traffic
    ([\#3754](https://github.com/matrix-org/synapse/issues/3754))
    - Fix tagging of server notice rooms
    ([\#3755](https://github.com/matrix-org/synapse/issues/3755),
    [\#3756](https://github.com/matrix-org/synapse/issues/3756))
    - Fix 'admin_uri' config variable and error parameter to be
    'admin_contact' to match the spec.
    ([\#3758](https://github.com/matrix-org/synapse/issues/3758))
    - Don't return non-LL-member state in incremental sync state blocks
    ([\#3760](https://github.com/matrix-org/synapse/issues/3760))
    - Fix bug in sending presence over federation
    ([\#3768](https://github.com/matrix-org/synapse/issues/3768))
    - Fix bug where preserved threepid user comes to sign up and server is
    mau blocked
    ([\#3777](https://github.com/matrix-org/synapse/issues/3777))
    
    Internal Changes
    ----------------
    
    - Removed the link to the unmaintained matrix-synapse-auto-deploy
    project from the readme.
    ([\#3378](https://github.com/matrix-org/synapse/issues/3378))
    - Refactor state module to support multiple room versions
    ([\#3673](https://github.com/matrix-org/synapse/issues/3673))
    - The synapse.storage module has been ported to Python 3.
    ([\#3725](https://github.com/matrix-org/synapse/issues/3725))
    - Split the state_group_cache into member and non-member state events
    (and so speed up LL /sync)
    ([\#3726](https://github.com/matrix-org/synapse/issues/3726))
    - Log failure to authenticate remote servers as warnings (without stack
    traces) ([\#3727](https://github.com/matrix-org/synapse/issues/3727))
    - The CONTRIBUTING guidelines have been updated to mention our use of
    Markdown and that .misc files have content.
    ([\#3730](https://github.com/matrix-org/synapse/issues/3730))
    - Reference the need for an HTTP replication port when using the
    federation_reader worker
    ([\#3734](https://github.com/matrix-org/synapse/issues/3734))
    - Fix minor spelling error in federation client documentation.
    ([\#3735](https://github.com/matrix-org/synapse/issues/3735))
    - Remove redundant state resolution function
    ([\#3737](https://github.com/matrix-org/synapse/issues/3737))
    - The test suite now passes on PostgreSQL.
    ([\#3740](https://github.com/matrix-org/synapse/issues/3740))
    - Fix MAU cache invalidation due to missing yield
    ([\#3746](https://github.com/matrix-org/synapse/issues/3746))
    - Make sure that we close db connections opened during init
    ([\#3764](https://github.com/matrix-org/synapse/issues/3764))
    
  • hhs-6
  • v0.33.4rc2
    Synapse 0.33.4rc2 (2018-09-06)
    ==============================
    
    Pull in security fixes from v0.33.3.1
    
  • v0.33.2.1
    42044c1a · prepare v0.33.2.1 ·
    Synapse 0.33.2.1 (2018-09-06)
    =============================
    
    SECURITY FIXES
    --------------
    
    - Fix an issue where event signatures were not always correctly validated ([\#3796](https://github.com/matrix-org/synapse/issues/3796))
    - Fix an issue where server_acls could be circumvented for incoming events ([\#3796](https://github.com/matrix-org/synapse/issues/3796))
    
  • v0.33.3.1
    80189ed2 · prepare v0.33.3.1 ·
    Synapse 0.33.3.1 (2018-09-06)
    =============================
    
    SECURITY FIXES
    --------------
    
    - Fix an issue where event signatures were not always correctly validated ([\#3796](https://github.com/matrix-org/synapse/issues/3796))
    - Fix an issue where server_acls could be circumvented for incoming events ([\#3796](https://github.com/matrix-org/synapse/issues/3796))
    
    Internal Changes
    ----------------
    
    - Unignore synctl in .dockerignore to fix docker builds ([\#3802](https://github.com/matrix-org/synapse/issues/3802))
    
  • hhs-5
    hhs-5
    
  • v0.33.4rc1
    7e9ced41 · version and towncrier ·
    Synapse 0.33.4rc1 (2018-09-04)
    ==============================
    
    Features
    --------
    
    - Support profile API endpoints on workers ([\#3659](https://github.com/matrix-org/synapse/issues/3659))
    - Server notices for resource limit blocking ([\#3680](https://github.com/matrix-org/synapse/issues/3680))
    - Allow guests to use /rooms/:roomId/event/:eventId ([\#3724](https://github.com/matrix-org/synapse/issues/3724))
    - Add mau_trial_days config param, so that users only get counted as MAU after N days. ([\#3749](https://github.com/matrix-org/synapse/issues/3749))
    - Require twisted 17.1 or later (fixes [#3741](https://github.com/matrix-org/synapse/issues/3741)). ([\#3751](https://github.com/matrix-org/synapse/issues/3751))
    
    Bugfixes
    --------
    
    - Fix error collecting prometheus metrics when run on dedicated thread due to threading concurrency issues ([\#3722](https://github.com/matrix-org/synapse/issues/3722))
    - Fix bug where we resent "limit exceeded" server notices repeatedly ([\#3747](https://github.com/matrix-org/synapse/issues/3747))
    - Fix bug where we broke sync when using limit_usage_by_mau but hadn't configured server notices ([\#3753](https://github.com/matrix-org/synapse/issues/3753))
    - Fix 'federation_domain_whitelist' such that an empty list correctly blocks all outbound federation traffic ([\#3754](https://github.com/matrix-org/synapse/issues/3754))
    - Fix tagging of server notice rooms ([\#3755](https://github.com/matrix-org/synapse/issues/3755), [\#3756](https://github.com/matrix-org/synapse/issues/3756))
    - Fix 'admin_uri' config variable and error parameter to be 'admin_contact' to match the spec. ([\#3758](https://github.com/matrix-org/synapse/issues/3758))
    - Don't return non-LL-member state in incremental sync state blocks ([\#3760](https://github.com/matrix-org/synapse/issues/3760))
    - Fix bug in sending presence over federation ([\#3768](https://github.com/matrix-org/synapse/issues/3768))
    - Fix bug where preserved threepid user comes to sign up and server is mau blocked ([\#3777](https://github.com/matrix-org/synapse/issues/3777))
    
    Internal Changes
    ----------------
    
    - Removed the link to the unmaintained matrix-synapse-auto-deploy project from the readme. ([\#3378](https://github.com/matrix-org/synapse/issues/3378))
    - Refactor state module to support multiple room versions ([\#3673](https://github.com/matrix-org/synapse/issues/3673))
    - The synapse.storage module has been ported to Python 3. ([\#3725](https://github.com/matrix-org/synapse/issues/3725))
    - Split the state_group_cache into member and non-member state events (and so speed up LL /sync) ([\#3726](https://github.com/matrix-org/synapse/issues/3726))
    - Log failure to authenticate remote servers as warnings (without stack traces) ([\#3727](https://github.com/matrix-org/synapse/issues/3727))
    - The CONTRIBUTING guidelines have been updated to mention our use of Markdown and that .misc files have content. ([\#3730](https://github.com/matrix-org/synapse/issues/3730))
    - Reference the need for an HTTP replication port when using the federation_reader worker ([\#3734](https://github.com/matrix-org/synapse/issues/3734))
    - Fix minor spelling error in federation client documentation. ([\#3735](https://github.com/matrix-org/synapse/issues/3735))
    - Remove redundant state resolution function ([\#3737](https://github.com/matrix-org/synapse/issues/3737))
    - The test suite now passes on PostgreSQL. ([\#3740](https://github.com/matrix-org/synapse/issues/3740))
    - Fix MAU cache invalidation due to missing yield ([\#3746](https://github.com/matrix-org/synapse/issues/3746))
    - Make sure that we close db connections opened during init ([\#3764](https://github.com/matrix-org/synapse/issues/3764))
    
  • hhs-4
    301cb60d · assert rather than warn ·
  • hhs-3
    HHS tag 3
    
  • hhs-2
    HHS tag 2
    
  • hhs-1
    HHS tag 1
    
  • v0.33.3
    3504982c · changelog for 0.33.3 ·
    Features
    --------
    
    - Add support for the SNI extension to federation TLS connections. Thanks to @vojeroen! ([\#3439](https://github.com/matrix-org/synapse/issues/3439))
    - Add /_media/r0/config ([\#3184](https://github.com/matrix-org/synapse/issues/3184))
    - speed up /members API and add `at` and `membership` params as per MSC1227 ([\#3568](https://github.com/matrix-org/synapse/issues/3568))
    - implement `summary` block in /sync response as per MSC688 ([\#3574](https://github.com/matrix-org/synapse/issues/3574))
    - Add lazy-loading support to /messages as per MSC1227 ([\#3589](https://github.com/matrix-org/synapse/issues/3589))
    - Add ability to limit number of monthly active users on the server ([\#3633](https://github.com/matrix-org/synapse/issues/3633))
    - Support more federation endpoints on workers ([\#3653](https://github.com/matrix-org/synapse/issues/3653))
    - Basic support for room versioning ([\#3654](https://github.com/matrix-org/synapse/issues/3654))
    - Ability to disable client/server Synapse via conf toggle ([\#3655](https://github.com/matrix-org/synapse/issues/3655))
    - Ability to whitelist specific threepids against monthly active user limiting ([\#3662](https://github.com/matrix-org/synapse/issues/3662))
    - Add some metrics for the appservice and federation event sending loops ([\#3664](https://github.com/matrix-org/synapse/issues/3664))
    - Where server is disabled, block ability for locked out users to read new messages ([\#3670](https://github.com/matrix-org/synapse/issues/3670))
    - set admin uri via config, to be used in error messages where the user should contact the administrator ([\#3687](https://github.com/matrix-org/synapse/issues/3687))
    - Synapse's presence functionality can now be disabled with the "use_presence" configuration option. ([\#3694](https://github.com/matrix-org/synapse/issues/3694))
    - For resource limit blocked users, prevent writing into rooms ([\#3708](https://github.com/matrix-org/synapse/issues/3708))
    
    Bugfixes
    --------
    
    - Fix occasional glitches in the synapse_event_persisted_position metric ([\#3658](https://github.com/matrix-org/synapse/issues/3658))
    - Fix bug on deleting 3pid when using identity servers that don't support unbind API ([\#3661](https://github.com/matrix-org/synapse/issues/3661))
    - Make the tests pass on Twisted < 18.7.0 ([\#3676](https://github.com/matrix-org/synapse/issues/3676))
    - Don’t ship recaptcha_ajax.js, use it directly from Google ([\#3677](https://github.com/matrix-org/synapse/issues/3677))
    - Fixes test_reap_monthly_active_users so it passes under postgres ([\#3681](https://github.com/matrix-org/synapse/issues/3681))
    - Fix mau blocking calulation bug on login ([\#3689](https://github.com/matrix-org/synapse/issues/3689))
    - Fix missing yield in synapse.storage.monthly_active_users.initialise_reserved_users ([\#3692](https://github.com/matrix-org/synapse/issues/3692))
    - Improve HTTP request logging to include all requests ([\#3700](https://github.com/matrix-org/synapse/issues/3700))
    - Avoid timing out requests while we are streaming back the response ([\#3701](https://github.com/matrix-org/synapse/issues/3701))
    - Support more federation endpoints on workers ([\#3705](https://github.com/matrix-org/synapse/issues/3705), [\#3713](https://github.com/matrix-org/synapse/issues/3713))
    - Fix "Starting db txn 'get_all_updated_receipts' from sentinel context" warning ([\#3710](https://github.com/matrix-org/synapse/issues/3710))
    - Fix bug where `state_cache` cache factor ignored environment variables ([\#3719](https://github.com/matrix-org/synapse/issues/3719))
    - Fix bug in v0.33.3rc1 which caused infinite loops and OOMs ([\#3723](https://github.com/matrix-org/synapse/issues/3723))
    - Fix bug introduced in v0.33.3rc1 which made the ToS give a 500 error ([\#3732](https://github.com/matrix-org/synapse/issues/3732))
    
    Deprecations and Removals
    -------------------------
    
    - The Shared-Secret registration method of the legacy v1/register REST endpoint has been removed. For a replacement, please see [the admin/register API documentation](https://github.com/matrix-org/synapse/blob/master/docs/admin_api/register_api.rst). ([\#3703](https://github.com/matrix-org/synapse/issues/3703))
    
    Internal Changes
    ----------------
    
    - The test suite now can run under PostgreSQL. ([\#3423](https://github.com/matrix-org/synapse/issues/3423))
    - Refactor HTTP replication endpoints to reduce code duplication ([\#3632](https://github.com/matrix-org/synapse/issues/3632))
    - Tests now correctly execute on Python 3. ([\#3647](https://github.com/matrix-org/synapse/issues/3647))
    - Sytests can now be run inside a Docker container. ([\#3660](https://github.com/matrix-org/synapse/issues/3660))
    - Port over enough to Python 3 to allow the sytests to start. ([\#3668](https://github.com/matrix-org/synapse/issues/3668))
    - Update docker base image from alpine 3.7 to 3.8. ([\#3669](https://github.com/matrix-org/synapse/issues/3669))
    - Rename synapse.util.async to synapse.util.async_helpers to mitigate async becoming a keyword on Python 3.7. ([\#3678](https://github.com/matrix-org/synapse/issues/3678))
    - Synapse's tests are now formatted with the black autoformatter. ([\#3679](https://github.com/matrix-org/synapse/issues/3679))
    - Implemented a new testing base class to reduce test boilerplate. ([\#3684](https://github.com/matrix-org/synapse/issues/3684))
    - Rename MAU prometheus metrics ([\#3690](https://github.com/matrix-org/synapse/issues/3690))
    - add new error type ResourceLimit ([\#3707](https://github.com/matrix-org/synapse/issues/3707))
    - Logcontexts for replication command handlers ([\#3709](https://github.com/matrix-org/synapse/issues/3709))
    - Update admin register API documentation to reference a real user ID. ([\#3712](https://github.com/matrix-org/synapse/issues/3712))