Skip to content
Tags give the ability to mark specific points in history as being important
  • dinsic_2019-04-04
  • v0.99.3
    35442efb · 0.99.3 ·
    Synapse 0.99.3 (2019-04-01)
    No significant changes.
    
    Synapse 0.99.3rc1 (2019-03-27)
    Features
    The user directory has been rewritten to make it faster, with less chance of falling behind on a large server. (#4537, #4846, #4864, #4887, #4900, #4944)
    Add configurable rate limiting to the /register endpoint. (#4735, #4804)
    Move server key queries to federation reader. (#4757)
    Add support for /account/3pid REST endpoint to client_reader worker. (#4759)
    Add an endpoint to the admin API for querying the server version. Contributed by Joseph Weston. (#4772)
    Include a default configuration file in the 'docs' directory. (#4791, #4801)
    Synapse is now permissive about trailing slashes on some of its federation endpoints, allowing zero or more to be present. (#4793)
    Add support for /keys/query and /keys/changes REST endpoints to client_reader worker. (#4796)
    Add checks to incoming events over federation for events evading auth (aka "soft fail"). (#4814)
    Add configurable rate limiting to the /login endpoint. (#4821, #4865)
    Remove trailing slashes from certain outbound federation requests. Retry if receiving a 404. Context: #3622. (#4840)
    Allow passing --daemonize flags to workers in the same way as with master. (#4853)
    Batch up outgoing read-receipts to reduce federation traffic. (#4890, #4927)
    Add option to disable searching the user directory. (#4895)
    Add option to disable searching of local and remote public room lists. (#4896)
    Add ability for password providers to login/register a user via 3PID (email, phone). (#4931)
    Bugfixes
    Fix a bug where media with spaces in the name would get a corrupted name. (#2090)
    Fix attempting to paginate in rooms where server cannot see any events, to avoid unnecessarily pulling in lots of redacted events. (#4699)
    'event_id' is now a required parameter in federated state requests, as per the matrix spec. (#4740)
    Fix tightloop over connecting to replication server. (#4749)
    Fix parsing of Content-Disposition headers on remote media requests and URL previews. (#4763)
    Fix incorrect log about not persisting duplicate state event. (#4776)
    Fix v4v6 option in HAProxy example config. Contributed by Flakebi. (#4790)
    Handle batch updates in worker replication protocol. (#4792)
    Fix bug where we didn't correctly throttle sending of USER_IP commands over replication. (#4818)
    Fix potential race in handling missing updates in device list updates. (#4829)
    Fix bug where synapse expected an un-specced prev_state field on state events. (#4837)
    Transfer a user's notification settings (push rules) on room upgrade. (#4838)
    fix test_auto_create_auto_join_where_no_consent. (#4886)
    Fix a bug where hs_disabled_message was sometimes not correctly enforced. (#4888)
    Fix bug in shutdown room admin API where it would fail if a user in the room hadn't consented to the privacy policy. (#4904)
    Fix bug where blocked world-readable rooms were still peekable. (#4908)
    Internal Changes
    Add a systemd setup that supports synapse workers. Contributed by Luca Corbatto. (#4662)
    Change from TravisCI to Buildkite for CI. (#4752)
    When presence is disabled don't send over replication. (#4757)
    Minor docstring fixes for MatrixFederationAgent. (#4765)
    Optimise EDU transmission for the federation_sender worker. (#4770)
    Update test_typing to use HomeserverTestCase. (#4771)
    Update URLs for riot.im icons and logos in the default notification templates. (#4779)
    Removed unnecessary $ from some federation endpoint path regexes. (#4794)
    Remove link to deleted title in README. (#4795)
    Clean up read-receipt handling. (#4797)
    Add some debug about processing read receipts. (#4798)
    Clean up some replication code. (#4799)
    Add some docstrings. (#4815)
    Add debug logger to try and track down #4422. (#4816)
    Make shutdown API send explanation message to room after users have been forced joined. (#4817)
    Update example_log_config.yaml. (#4820)
    Document the generate option for the docker image. (#4824)
    Fix check-newsfragment for debian-only changes. (#4825)
    Add some debug logging for device list updates to help with #4828. (#4828)
    Improve federation documentation, specifically .well-known support. Many thanks to @vaab. (#4832)
    Disable captcha registration by default in unit tests. (#4839)
    Add stuff back to the .gitignore. (#4843)
    Clarify what registration_shared_secret allows for. (#4844)
    Correctly log expected errors when fetching server keys. (#4847)
    Update install docs to explicitly state a full-chain (not just the top-level) TLS certificate must be provided to Synapse. This caused some people's Synapse ports to appear correct in a browser but still (rightfully so) upset the federation tester. (#4849)
    Move client read-receipt processing to federation sender worker. (#4852)
    Refactor federation TransactionQueue. (#4855)
    Comment out most options in the generated config. (#4863)
    Fix yaml library warnings by using safe_load. (#4869)
    Update Apache setup to remove location syntax. Thanks to @cwmke! (#4870)
    Reinstate test case that runs unit tests against oldest supported dependencies. (#4879)
    Update link to federation docs. (#4881)
    fix test_auto_create_auto_join_where_no_consent. (#4886)
    Use a regular HomeServerConfig object for unit tests rater than a Mock. (#4889)
    Add some notes about tuning postgres for larger deployments. (#4895)
    Add a config option for torture-testing worker replication. (#4902)
    Log requests which are simulated by the unit tests. (#4905)
    Allow newsfragments to end with exclamation marks. Exciting! (#4912)
    Refactor some more tests to use HomeserverTestCase. (#4913)
    Refactor out the state deltas portion of the user directory store and handler. (#4917)
    Fix nginx example in ACME doc. (#4923)
    Use an explicit dbname for postgres connections in the tests. (#4928)
    Fix ClientReplicationStreamProtocol.__str__(). (#4929)
    
  • v0.99.3rc1
    6a69bf67 · 0.99.3rc1 ·
    Synapse 0.99.3rc1 (2019-03-27)
    -----------------------------
    
    Features
    --------
    
    - The user directory has been rewritten to make it faster, with less chance of falling behind on a large server. ([\#4537](https://github.com/matrix-org/synapse/issues/4537), [\#4846](https://github.com/matrix-org/synapse/issues/4846), [\#4864](https://github.com/matrix-org/synapse/issues/4864), [\#4887](https://github.com/matrix-org/synapse/issues/4887), [\#4900](https://github.com/matrix-org/synapse/issues/4900), [\#4944](https://github.com/matrix-org/synapse/issues/4944))
    - Add configurable rate limiting to the /register endpoint. ([\#4735](https://github.com/matrix-org/synapse/issues/4735), [\#4804](https://github.com/matrix-org/synapse/issues/4804))
    - Move server key queries to federation reader. ([\#4757](https://github.com/matrix-org/synapse/issues/4757))
    - Add support for /account/3pid REST endpoint to client_reader worker. ([\#4759](https://github.com/matrix-org/synapse/issues/4759))
    - Add an endpoint to the admin API for querying the server version. Contributed by Joseph Weston. ([\#4772](https://github.com/matrix-org/synapse/issues/4772))
    - Include a default configuration file in the 'docs' directory. ([\#4791](https://github.com/matrix-org/synapse/issues/4791), [\#4801](https://github.com/matrix-org/synapse/issues/4801))
    - Synapse is now permissive about trailing slashes on some of its federation endpoints, allowing zero or more to be present. ([\#4793](https://github.com/matrix-org/synapse/issues/4793))
    - Add support for /keys/query and /keys/changes REST endpoints to client_reader worker. ([\#4796](https://github.com/matrix-org/synapse/issues/4796))
    - Add checks to incoming events over federation for events evading auth (aka "soft fail"). ([\#4814](https://github.com/matrix-org/synapse/issues/4814))
    - Add configurable rate limiting to the /login endpoint. ([\#4821](https://github.com/matrix-org/synapse/issues/4821), [\#4865](https://github.com/matrix-org/synapse/issues/4865))
    - Remove trailing slashes from certain outbound federation requests. Retry if receiving a 404. Context: #3622. ([\#4840](https://github.com/matrix-org/synapse/issues/4840))
    - Allow passing --daemonize flags to workers in the same way as with master. ([\#4853](https://github.com/matrix-org/synapse/issues/4853))
    - Batch up outgoing read-receipts to reduce federation traffic. ([\#4890](https://github.com/matrix-org/synapse/issues/4890), [\#4927](https://github.com/matrix-org/synapse/issues/4927))
    - Add option to disable searching the user directory. ([\#4895](https://github.com/matrix-org/synapse/issues/4895))
    - Add option to disable searching of local and remote public room lists. ([\#4896](https://github.com/matrix-org/synapse/issues/4896))
    - Add ability for password providers to login/register a user via 3PID (email, phone). ([\#4931](https://github.com/matrix-org/synapse/issues/4931))
    
    Bugfixes
    --------
    
    - Fix a bug where media with spaces in the name would get a corrupted name. ([\#2090](https://github.com/matrix-org/synapse/issues/2090))
    - Fix attempting to paginate in rooms where server cannot see any events, to avoid unnecessarily pulling in lots of redacted events. ([\#4699](https://github.com/matrix-org/synapse/issues/4699))
    - 'event_id' is now a required parameter in federated state requests, as per the matrix spec. ([\#4740](https://github.com/matrix-org/synapse/issues/4740))
    - Fix tightloop over connecting to replication server. ([\#4749](https://github.com/matrix-org/synapse/issues/4749))
    - Fix parsing of Content-Disposition headers on remote media requests and URL previews. ([\#4763](https://github.com/matrix-org/synapse/issues/4763))
    - Fix incorrect log about not persisting duplicate state event. ([\#4776](https://github.com/matrix-org/synapse/issues/4776))
    - Fix v4v6 option in HAProxy example config. Contributed by Flakebi. ([\#4790](https://github.com/matrix-org/synapse/issues/4790))
    - Handle batch updates in worker replication protocol. ([\#4792](https://github.com/matrix-org/synapse/issues/4792))
    - Fix bug where we didn't correctly throttle sending of USER_IP commands over replication. ([\#4818](https://github.com/matrix-org/synapse/issues/4818))
    - Fix potential race in handling missing updates in device list updates. ([\#4829](https://github.com/matrix-org/synapse/issues/4829))
    - Fix bug where synapse expected an un-specced `prev_state` field on state events. ([\#4837](https://github.com/matrix-org/synapse/issues/4837))
    - Transfer a user's notification settings (push rules) on room upgrade. ([\#4838](https://github.com/matrix-org/synapse/issues/4838))
    - fix test_auto_create_auto_join_where_no_consent. ([\#4886](https://github.com/matrix-org/synapse/issues/4886))
    - Fix a bug where hs_disabled_message was sometimes not correctly enforced. ([\#4888](https://github.com/matrix-org/synapse/issues/4888))
    - Fix bug in shutdown room admin API where it would fail if a user in the room hadn't consented to the privacy policy. ([\#4904](https://github.com/matrix-org/synapse/issues/4904))
    - Fix bug where blocked world-readable rooms were still peekable. ([\#4908](https://github.com/matrix-org/synapse/issues/4908))
    
    Internal Changes
    ----------------
    
    - Add a systemd setup that supports synapse workers. Contributed by Luca Corbatto. ([\#4662](https://github.com/matrix-org/synapse/issues/4662))
    - Change from TravisCI to Buildkite for CI. ([\#4752](https://github.com/matrix-org/synapse/issues/4752))
    - When presence is disabled don't send over replication. ([\#4757](https://github.com/matrix-org/synapse/issues/4757))
    - Minor docstring fixes for MatrixFederationAgent. ([\#4765](https://github.com/matrix-org/synapse/issues/4765))
    - Optimise EDU transmission for the federation_sender worker. ([\#4770](https://github.com/matrix-org/synapse/issues/4770))
    - Update test_typing to use HomeserverTestCase. ([\#4771](https://github.com/matrix-org/synapse/issues/4771))
    - Update URLs for riot.im icons and logos in the default notification templates. ([\#4779](https://github.com/matrix-org/synapse/issues/4779))
    - Removed unnecessary $ from some federation endpoint path regexes. ([\#4794](https://github.com/matrix-org/synapse/issues/4794))
    - Remove link to deleted title in README. ([\#4795](https://github.com/matrix-org/synapse/issues/4795))
    - Clean up read-receipt handling. ([\#4797](https://github.com/matrix-org/synapse/issues/4797))
    - Add some debug about processing read receipts. ([\#4798](https://github.com/matrix-org/synapse/issues/4798))
    - Clean up some replication code. ([\#4799](https://github.com/matrix-org/synapse/issues/4799))
    - Add some docstrings. ([\#4815](https://github.com/matrix-org/synapse/issues/4815))
    - Add debug logger to try and track down #4422. ([\#4816](https://github.com/matrix-org/synapse/issues/4816))
    - Make shutdown API send explanation message to room after users have been forced joined. ([\#4817](https://github.com/matrix-org/synapse/issues/4817))
    - Update example_log_config.yaml. ([\#4820](https://github.com/matrix-org/synapse/issues/4820))
    - Document the `generate` option for the docker image. ([\#4824](https://github.com/matrix-org/synapse/issues/4824))
    - Fix check-newsfragment for debian-only changes. ([\#4825](https://github.com/matrix-org/synapse/issues/4825))
    - Add some debug logging for device list updates to help with #4828. ([\#4828](https://github.com/matrix-org/synapse/issues/4828))
    - Improve federation documentation, specifically .well-known support. Many thanks to @vaab. ([\#4832](https://github.com/matrix-org/synapse/issues/4832))
    - Disable captcha registration by default in unit tests. ([\#4839](https://github.com/matrix-org/synapse/issues/4839))
    - Add stuff back to the .gitignore. ([\#4843](https://github.com/matrix-org/synapse/issues/4843))
    - Clarify what registration_shared_secret allows for. ([\#4844](https://github.com/matrix-org/synapse/issues/4844))
    - Correctly log expected errors when fetching server keys. ([\#4847](https://github.com/matrix-org/synapse/issues/4847))
    - Update install docs to explicitly state a full-chain (not just the top-level) TLS certificate must be provided to Synapse. This caused some people's Synapse ports to appear correct in a browser but still (rightfully so) upset the federation tester. ([\#4849](https://github.com/matrix-org/synapse/issues/4849))
    - Move client read-receipt processing to federation sender worker. ([\#4852](https://github.com/matrix-org/synapse/issues/4852))
    - Refactor federation TransactionQueue. ([\#4855](https://github.com/matrix-org/synapse/issues/4855))
    - Comment out most options in the generated config. ([\#4863](https://github.com/matrix-org/synapse/issues/4863))
    - Fix yaml library warnings by using safe_load. ([\#4869](https://github.com/matrix-org/synapse/issues/4869))
    - Update Apache setup to remove location syntax. Thanks to @cwmke! ([\#4870](https://github.com/matrix-org/synapse/issues/4870))
    - Reinstate test case that runs unit tests against oldest supported dependencies. ([\#4879](https://github.com/matrix-org/synapse/issues/4879))
    - Update link to federation docs. ([\#4881](https://github.com/matrix-org/synapse/issues/4881))
    - fix test_auto_create_auto_join_where_no_consent. ([\#4886](https://github.com/matrix-org/synapse/issues/4886))
    - Use a regular HomeServerConfig object for unit tests rater than a Mock. ([\#4889](https://github.com/matrix-org/synapse/issues/4889))
    - Add some notes about tuning postgres for larger deployments. ([\#4895](https://github.com/matrix-org/synapse/issues/4895))
    - Add a config option for torture-testing worker replication. ([\#4902](https://github.com/matrix-org/synapse/issues/4902))
    - Log requests which are simulated by the unit tests. ([\#4905](https://github.com/matrix-org/synapse/issues/4905))
    - Allow newsfragments to end with exclamation marks. Exciting! ([\#4912](https://github.com/matrix-org/synapse/issues/4912))
    - Refactor some more tests to use HomeserverTestCase. ([\#4913](https://github.com/matrix-org/synapse/issues/4913))
    - Refactor out the state deltas portion of the user directory store and handler. ([\#4917](https://github.com/matrix-org/synapse/issues/4917))
    - Fix nginx example in ACME doc. ([\#4923](https://github.com/matrix-org/synapse/issues/4923))
    - Use an explicit dbname for postgres connections in the tests. ([\#4928](https://github.com/matrix-org/synapse/issues/4928))
    - Fix `ClientReplicationStreamProtocol.__str__()`. ([\#4929](https://github.com/matrix-org/synapse/issues/4929))
    
    
  • dinsic_2019-03-21
  • dinsic_2019-03-20
  • dinsic_2019-03-15
  • hhs-9
    2ca8af3f · Bump version ·
    This has special version 0.99.2.post1
    
  • v0.99.2
    ac6a0d72 · 0.99.2 ·
    Synapse 0.99.2 (2019-03-01)
    ===========================
    
    Features
    --------
    
    - Added an HAProxy example in the reverse proxy documentation. Contributed by Benoît S. (“Benpro”). ([\#4541](https://github.com/matrix-org/synapse/issues/4541))
    - Add basic optional sentry integration. ([\#4632](https://github.com/matrix-org/synapse/issues/4632), [\#4694](https://github.com/matrix-org/synapse/issues/4694))
    - Transfer bans on room upgrade. ([\#4642](https://github.com/matrix-org/synapse/issues/4642))
    - Add configurable room list publishing rules. ([\#4647](https://github.com/matrix-org/synapse/issues/4647))
    - Support .well-known delegation when issuing certificates through ACME. ([\#4652](https://github.com/matrix-org/synapse/issues/4652))
    - Allow registration and login to be handled by a worker instance. ([\#4666](https://github.com/matrix-org/synapse/issues/4666), [\#4670](https://github.com/matrix-org/synapse/issues/4670), [\#4682](https://github.com/matrix-org/synapse/issues/4682))
    - Reduce the overhead of creating outbound federation connections over TLS by caching the TLS client options. ([\#4674](https://github.com/matrix-org/synapse/issues/4674))
    - Add prometheus metrics for number of outgoing EDUs, by type. ([\#4695](https://github.com/matrix-org/synapse/issues/4695))
    - Return correct error code when inviting a remote user to a room whose homeserver does not support the room version. ([\#4721](https://github.com/matrix-org/synapse/issues/4721))
    - Prevent showing rooms to other servers that were set to not federate. ([\#4746](https://github.com/matrix-org/synapse/issues/4746))
    
    Bugfixes
    --------
    
    - Fix possible exception when paginating. ([\#4263](https://github.com/matrix-org/synapse/issues/4263))
    - The dependency checker now correctly reports a version mismatch for optional
      dependencies, instead of reporting the dependency missing. ([\#4450](https://github.com/matrix-org/synapse/issues/4450))
    - Set CORS headers on .well-known requests. ([\#4651](https://github.com/matrix-org/synapse/issues/4651))
    - Fix kicking guest users on guest access revocation in worker mode. ([\#4667](https://github.com/matrix-org/synapse/issues/4667))
    - Fix an issue in the database migration script where the
      `e2e_room_keys.is_verified` column wasn't considered as
      a boolean. ([\#4680](https://github.com/matrix-org/synapse/issues/4680))
    - Fix TaskStopped exceptions in logs when outbound requests time out. ([\#4690](https://github.com/matrix-org/synapse/issues/4690))
    - Fix ACME config for python 2. ([\#4717](https://github.com/matrix-org/synapse/issues/4717))
    - Fix paginating over federation persisting incorrect state. ([\#4718](https://github.com/matrix-org/synapse/issues/4718))
    
    Internal Changes
    ----------------
    
    - Run `black` to reformat user directory code. ([\#4635](https://github.com/matrix-org/synapse/issues/4635))
    - Reduce number of exceptions we log. ([\#4643](https://github.com/matrix-org/synapse/issues/4643), [\#4668](https://github.com/matrix-org/synapse/issues/4668))
    - Introduce upsert batching functionality in the database layer. ([\#4644](https://github.com/matrix-org/synapse/issues/4644))
    - Fix various spelling mistakes. ([\#4657](https://github.com/matrix-org/synapse/issues/4657))
    - Cleanup request exception logging. ([\#4669](https://github.com/matrix-org/synapse/issues/4669), [\#4737](https://github.com/matrix-org/synapse/issues/4737), [\#4738](https://github.com/matrix-org/synapse/issues/4738))
    - Improve replication performance by reducing cache invalidation traffic. ([\#4671](https://github.com/matrix-org/synapse/issues/4671), [\#4715](https://github.com/matrix-org/synapse/issues/4715), [\#4748](https://github.com/matrix-org/synapse/issues/4748))
    - Test against Postgres 9.5 as well as 9.4. ([\#4676](https://github.com/matrix-org/synapse/issues/4676))
    - Run unit tests against python 3.7. ([\#4677](https://github.com/matrix-org/synapse/issues/4677))
    - Attempt to clarify installation instructions/config. ([\#4681](https://github.com/matrix-org/synapse/issues/4681))
    - Clean up gitignores. ([\#4688](https://github.com/matrix-org/synapse/issues/4688))
    - Minor tweaks to acme docs. ([\#4689](https://github.com/matrix-org/synapse/issues/4689))
    - Improve the logging in the pusher process. ([\#4691](https://github.com/matrix-org/synapse/issues/4691))
    - Better checks on newsfragments. ([\#4698](https://github.com/matrix-org/synapse/issues/4698), [\#4750](https://github.com/matrix-org/synapse/issues/4750))
    - Avoid some redundant work when processing read receipts. ([\#4706](https://github.com/matrix-org/synapse/issues/4706))
    - Run `push_receipts_to_remotes` as background job. ([\#4707](https://github.com/matrix-org/synapse/issues/4707))
    - Add prometheus metrics for number of badge update pushes. ([\#4709](https://github.com/matrix-org/synapse/issues/4709))
    - Reduce pusher logging on startup ([\#4716](https://github.com/matrix-org/synapse/issues/4716))
    - Don't log exceptions when failing to fetch remote server keys. ([\#4722](https://github.com/matrix-org/synapse/issues/4722))
    - Correctly proxy exception in frontend_proxy worker. ([\#4723](https://github.com/matrix-org/synapse/issues/4723))
    - Add database version to phonehome stats. ([\#4753](https://github.com/matrix-org/synapse/issues/4753))
    
  • dinsic_2019-03-06
  • v0.99.2rc1
    44a4d655 · 0.99.2rc1 ·
    Synapse 0.99.2rc1 (2019-02-27)
    ==============================
    
    Features
    --------
    
    - Added an HAProxy example in the reverse proxy documentation. Contributed by Benoît S. (“Benpro”). ([\#4541](https://github.com/matrix-org/synapse/issues/4541))
    - Add basic optional sentry integration. ([\#4632](https://github.com/matrix-org/synapse/issues/4632), [\#4694](https://github.com/matrix-org/synapse/issues/4694))
    - Transfer bans on room upgrade. ([\#4642](https://github.com/matrix-org/synapse/issues/4642))
    - Add configurable room list publishing rules. ([\#4647](https://github.com/matrix-org/synapse/issues/4647))
    - Support .well-known delegation when issuing certificates through ACME. ([\#4652](https://github.com/matrix-org/synapse/issues/4652))
    - Allow registration and login to be handled by a worker instance. ([\#4666](https://github.com/matrix-org/synapse/issues/4666), [\#4670](https://github.com/matrix-org/synapse/issues/4670), [\#4682](https://github.com/matrix-org/synapse/issues/4682))
    - Reduce the overhead of creating outbound federation connections over TLS by caching the TLS client options. ([\#4674](https://github.com/matrix-org/synapse/issues/4674))
    - Add prometheus metrics for number of outgoing EDUs, by type. ([\#4695](https://github.com/matrix-org/synapse/issues/4695))
    - Return correct error code when inviting a remote user to a room whose homeserver does not support the room version. ([\#4721](https://github.com/matrix-org/synapse/issues/4721))
    - Prevent showing rooms to other servers that were set to not federate. ([\#4746](https://github.com/matrix-org/synapse/issues/4746))
    
    Bugfixes
    --------
    
    - Fix possible exception when paginating. ([\#4263](https://github.com/matrix-org/synapse/issues/4263))
    - The dependency checker now correctly reports a version mismatch for optional
      dependencies, instead of reporting the dependency missing. ([\#4450](https://github.com/matrix-org/synapse/issues/4450))
    - Set CORS headers on .well-known requests. ([\#4651](https://github.com/matrix-org/synapse/issues/4651))
    - Fix kicking guest users on guest access revocation in worker mode. ([\#4667](https://github.com/matrix-org/synapse/issues/4667))
    - Fix an issue in the database migration script where the
      `e2e_room_keys.is_verified` column wasn't considered as
      a boolean. ([\#4680](https://github.com/matrix-org/synapse/issues/4680))
    - Fix TaskStopped exceptions in logs when outbound requests time out. ([\#4690](https://github.com/matrix-org/synapse/issues/4690))
    - Fix ACME config for python 2. ([\#4717](https://github.com/matrix-org/synapse/issues/4717))
    - Fix paginating over federation persisting incorrect state. ([\#4718](https://github.com/matrix-org/synapse/issues/4718))
    
    Internal Changes
    ----------------
    
    - Run `black` to reformat user directory code. ([\#4635](https://github.com/matrix-org/synapse/issues/4635))
    - Reduce number of exceptions we log. ([\#4643](https://github.com/matrix-org/synapse/issues/4643), [\#4668](https://github.com/matrix-org/synapse/issues/4668))
    - Introduce upsert batching functionality in the database layer. ([\#4644](https://github.com/matrix-org/synapse/issues/4644))
    - Fix various spelling mistakes. ([\#4657](https://github.com/matrix-org/synapse/issues/4657))
    - Cleanup request exception logging. ([\#4669](https://github.com/matrix-org/synapse/issues/4669), [\#4737](https://github.com/matrix-org/synapse/issues/4737), [\#4738](https://github.com/matrix-org/synapse/issues/4738))
    - Improve replication performance by reducing cache invalidation traffic. ([\#4671](https://github.com/matrix-org/synapse/issues/4671), [\#4715](https://github.com/matrix-org/synapse/issues/4715), [\#4748](https://github.com/matrix-org/synapse/issues/4748))
    - Test against Postgres 9.5 as well as 9.4. ([\#4676](https://github.com/matrix-org/synapse/issues/4676))
    - Run unit tests against python 3.7. ([\#4677](https://github.com/matrix-org/synapse/issues/4677))
    - Attempt to clarify installation instructions/config. ([\#4681](https://github.com/matrix-org/synapse/issues/4681))
    - Clean up gitignores. ([\#4688](https://github.com/matrix-org/synapse/issues/4688))
    - Minor tweaks to acme docs. ([\#4689](https://github.com/matrix-org/synapse/issues/4689))
    - Improve the logging in the pusher process. ([\#4691](https://github.com/matrix-org/synapse/issues/4691))
    - Better checks on newsfragments. ([\#4698](https://github.com/matrix-org/synapse/issues/4698), [\#4750](https://github.com/matrix-org/synapse/issues/4750))
    - Avoid some redundant work when processing read receipts. ([\#4706](https://github.com/matrix-org/synapse/issues/4706))
    - Run `push_receipts_to_remotes` as background job. ([\#4707](https://github.com/matrix-org/synapse/issues/4707))
    - Add prometheus metrics for number of badge update pushes. ([\#4709](https://github.com/matrix-org/synapse/issues/4709))
    - Reduce pusher logging on startup ([\#4716](https://github.com/matrix-org/synapse/issues/4716))
    - Don't log exceptions when failing to fetch remote server keys. ([\#4722](https://github.com/matrix-org/synapse/issues/4722))
    - Correctly proxy exception in frontend_proxy worker. ([\#4723](https://github.com/matrix-org/synapse/issues/4723))
    - Add database version to phonehome stats. ([\#4753](https://github.com/matrix-org/synapse/issues/4753))
    
  • dinsic_2019-02-26
    Prevents non-federated rooms from appearing in federation requests to /publicRooms
  • dinsic_2019-02-22-beta14
    non-fed rooms over federation + info-api split
  • dinsic_2019-02-22-beta13
    non-fed rooms in /publicRooms option and internal-info change combined
  • dinsic_2019-02-22-beta12
    Non-federating rooms not in /publicRooms
  • dinsic_2019-02-19-beta11
  • v0.99.1.1
    f595d6ac · 0.99.1.1 ·
    Synapse 0.99.1.1 (2019-02-14)
    =============================
    
    Bugfixes
    --------
    
    - Fix "TypeError: '>' not supported" when starting without an existing certificate.
      Fix a bug where an existing certificate would be reprovisoned every day. ([\#4648](https://github.com/matrix-org/synapse/issues/4648))
    
  • v0.99.1
    06cd757a · 0.99.1 ·
    Synapse 0.99.1 (2019-02-14)
    ===========================
    
    Features
    --------
    
    - Include m.room.encryption on invites by default ([\#3902](https://github.com/matrix-org/synapse/issues/3902))
    - Federation OpenID listener resource can now be activated even if federation is disabled ([\#4420](https://github.com/matrix-org/synapse/issues/4420))
    - Synapse's ACME support will now correctly reprovision a certificate that approaches its expiry while Synapse is running. ([\#4522](https://github.com/matrix-org/synapse/issues/4522))
    - Add ability to update backup versions ([\#4580](https://github.com/matrix-org/synapse/issues/4580))
    - Allow the "unavailable" presence status for /sync.
      This change makes Synapse compliant with r0.4.0 of the Client-Server specification. ([\#4592](https://github.com/matrix-org/synapse/issues/4592))
    - There is no longer any need to specify `no_tls`: it is inferred from the absence of TLS listeners ([\#4613](https://github.com/matrix-org/synapse/issues/4613), [\#4615](https://github.com/matrix-org/synapse/issues/4615), [\#4617](https://github.com/matrix-org/synapse/issues/4617), [\#4636](https://github.com/matrix-org/synapse/issues/4636))
    - The default configuration no longer requires TLS certificates. ([\#4614](https://github.com/matrix-org/synapse/issues/4614))
    
    Bugfixes
    --------
    
    - Copy over room federation ability on room upgrade. ([\#4530](https://github.com/matrix-org/synapse/issues/4530))
    - Fix noisy "twisted.internet.task.TaskStopped" errors in logs ([\#4546](https://github.com/matrix-org/synapse/issues/4546))
    - Synapse is now tolerant of the `tls_fingerprints` option being None or not specified. ([\#4589](https://github.com/matrix-org/synapse/issues/4589))
    - Fix 'no unique or exclusion constraint' error ([\#4591](https://github.com/matrix-org/synapse/issues/4591))
    - Transfer Server ACLs on room upgrade. ([\#4608](https://github.com/matrix-org/synapse/issues/4608))
    - Fix failure to start when not TLS certificate was given even if TLS was disabled. ([\#4618](https://github.com/matrix-org/synapse/issues/4618))
    - Fix self-signed cert notice from generate-config. ([\#4625](https://github.com/matrix-org/synapse/issues/4625))
    - Fix performance of `user_ips` table deduplication background update ([\#4626](https://github.com/matrix-org/synapse/issues/4626), [\#4627](https://github.com/matrix-org/synapse/issues/4627))
    
    Internal Changes
    ----------------
    
    - Change the user directory state query to use a filtered call to the db instead of a generic one. ([\#4462](https://github.com/matrix-org/synapse/issues/4462))
    - Reject federation transactions if they include more than 50 PDUs or 100 EDUs. ([\#4513](https://github.com/matrix-org/synapse/issues/4513))
    - Reduce duplication of ``synapse.app`` code. ([\#4567](https://github.com/matrix-org/synapse/issues/4567))
    - Fix docker upload job to push -py2 images. ([\#4576](https://github.com/matrix-org/synapse/issues/4576))
    - Add port configuration information to ACME instructions. ([\#4578](https://github.com/matrix-org/synapse/issues/4578))
    - Update MSC1711 FAQ to calrify .well-known usage ([\#4584](https://github.com/matrix-org/synapse/issues/4584))
    - Clean up default listener configuration ([\#4586](https://github.com/matrix-org/synapse/issues/4586))
    - Clarifications for reverse proxy docs ([\#4607](https://github.com/matrix-org/synapse/issues/4607))
    - Move ClientTLSOptionsFactory init out of `refresh_certificates` ([\#4611](https://github.com/matrix-org/synapse/issues/4611))
    - Fail cleanly if listener config lacks a 'port' ([\#4616](https://github.com/matrix-org/synapse/issues/4616))
    - Remove redundant entries from docker config ([\#4619](https://github.com/matrix-org/synapse/issues/4619))
    - README updates ([\#4621](https://github.com/matrix-org/synapse/issues/4621))
    
  • v0.99.1rc2
    3bc23862 · 0.99.1rc2 ·
    Synapse 0.99.1rc2 (2019-02-13)
    ==============================
    
    Bugfixes
    --------
    
    - Fix errors when using default bind_addresses with replication/metrics listeners. ([\#4636](https://github.com/matrix-org/synapse/issues/4636))
    
  • v0.99.1rc1
    19818d66 · Fixup changelog ·
    Synapse 0.99.1rc1 (2019-02-12)
    ==============================
    
    Features
    --------
    
    - Include m.room.encryption on invites by default ([\#3902](https://github.com/matrix-org/synapse/issues/3902))
    - Federation OpenID listener resource can now be activated even if federation is disabled ([\#4420](https://github.com/matrix-org/synapse/issues/4420))
    - Synapse's ACME support will now correctly reprovision a certificate that approaches its expiry while Synapse is running. ([\#4522](https://github.com/matrix-org/synapse/issues/4522))
    - Add ability to update backup versions ([\#4580](https://github.com/matrix-org/synapse/issues/4580))
    - Allow the "unavailable" presence status for /sync.
      This change makes Synapse compliant with r0.4.0 of the Client-Server specification. ([\#4592](https://github.com/matrix-org/synapse/issues/4592))
    - There is no longer any need to specify `no_tls`: it is inferred from the absence of TLS listeners ([\#4613](https://github.com/matrix-org/synapse/issues/4613), [\#4615](https://github.com/matrix-org/synapse/issues/4615), [\#4617](https://github.com/matrix-org/synapse/issues/4617))
    - The default configuration no longer requires TLS certificates. ([\#4614](https://github.com/matrix-org/synapse/issues/4614))
    
    Bugfixes
    --------
    
    - Copy over room federation ability on room upgrade. ([\#4530](https://github.com/matrix-org/synapse/issues/4530))
    - Fix noisy "twisted.internet.task.TaskStopped" errors in logs ([\#4546](https://github.com/matrix-org/synapse/issues/4546))
    - Synapse is now tolerant of the `tls_fingerprints` option being None or not specified. ([\#4589](https://github.com/matrix-org/synapse/issues/4589))
    - Fix 'no unique or exclusion constraint' error ([\#4591](https://github.com/matrix-org/synapse/issues/4591))
    - Transfer Server ACLs on room upgrade. ([\#4608](https://github.com/matrix-org/synapse/issues/4608))
    - Fix failure to start when not TLS certificate was given even if TLS was disabled. ([\#4618](https://github.com/matrix-org/synapse/issues/4618))
    - Fix self-signed cert notice from generate-config. ([\#4625](https://github.com/matrix-org/synapse/issues/4625))
    - Fix performance of `user_ips` table deduplication background update ([\#4626](https://github.com/matrix-org/synapse/issues/4626), [\#4627](https://github.com/matrix-org/synapse/issues/4627))
    
    Internal Changes
    ----------------
    
    - Change the user directory state query to use a filtered call to the db instead of a generic one. ([\#4462](https://github.com/matrix-org/synapse/issues/4462))
    - Reject federation transactions if they include more than 50 PDUs or 100 EDUs. ([\#4513](https://github.com/matrix-org/synapse/issues/4513))
    - Reduce duplication of ``synapse.app`` code. ([\#4567](https://github.com/matrix-org/synapse/issues/4567))
    - Fix docker upload job to push -py2 images. ([\#4576](https://github.com/matrix-org/synapse/issues/4576))
    - Add port configuration information to ACME instructions. ([\#4578](https://github.com/matrix-org/synapse/issues/4578))
    - Update MSC1711 FAQ to calrify .well-known usage ([\#4584](https://github.com/matrix-org/synapse/issues/4584))
    - Clean up default listener configuration ([\#4586](https://github.com/matrix-org/synapse/issues/4586))
    - Clarifications for reverse proxy docs ([\#4607](https://github.com/matrix-org/synapse/issues/4607))
    - Move ClientTLSOptionsFactory init out of `refresh_certificates` ([\#4611](https://github.com/matrix-org/synapse/issues/4611))
    - Fail cleanly if listener config lacks a 'port' ([\#4616](https://github.com/matrix-org/synapse/issues/4616))
    - Remove redundant entries from docker config ([\#4619](https://github.com/matrix-org/synapse/issues/4619))
    - README updates ([\#4621](https://github.com/matrix-org/synapse/issues/4621))
    
  • v0.99.0
    3bd9daf4 · v0.99.0 ·
    Synapse 0.99.0 (2019-02-05)
    ===========================
    
    Synapse v0.99.x is a precursor to the upcoming Synapse v1.0 release. It contains foundational changes to room architecture and the federation security model necessary to support the upcoming r0 release of the Server to Server API.
    
    Features
    --------
    
    - Synapse's cipher string has been updated to require ECDH key exchange. Configuring and generating dh_params is no longer required, and they will be ignored. ([\#4229](https://github.com/matrix-org/synapse/issues/4229))
    - Synapse can now automatically provision TLS certificates via ACME (the protocol used by CAs like Let's Encrypt). ([\#4384](https://github.com/matrix-org/synapse/issues/4384), [\#4492](https://github.com/matrix-org/synapse/issues/4492), [\#4525](https://github.com/matrix-org/synapse/issues/4525), [\#4572](https://github.com/matrix-org/synapse/issues/4572), [\#4564](https://github.com/matrix-org/synapse/issues/4564), [\#4566](https://github.com/matrix-org/synapse/issues/4566), [\#4547](https://github.com/matrix-org/synapse/issues/4547), [\#4557](https://github.com/matrix-org/synapse/issues/4557))
    - Implement MSC1708 (.well-known routing for server-server federation) ([\#4408](https://github.com/matrix-org/synapse/issues/4408), [\#4409](https://github.com/matrix-org/synapse/issues/4409), [\#4426](https://github.com/matrix-org/synapse/issues/4426), [\#4427](https://github.com/matrix-org/synapse/issues/4427), [\#4428](https://github.com/matrix-org/synapse/issues/4428), [\#4464](https://github.com/matrix-org/synapse/issues/4464), [\#4468](https://github.com/matrix-org/synapse/issues/4468), [\#4487](https://github.com/matrix-org/synapse/issues/4487), [\#4488](https://github.com/matrix-org/synapse/issues/4488), [\#4489](https://github.com/matrix-org/synapse/issues/4489), [\#4497](https://github.com/matrix-org/synapse/issues/4497), [\#4511](https://github.com/matrix-org/synapse/issues/4511), [\#4516](https://github.com/matrix-org/synapse/issues/4516), [\#4520](https://github.com/matrix-org/synapse/issues/4520), [\#4521](https://github.com/matrix-org/synapse/issues/4521), [\#4539](https://github.com/matrix-org/synapse/issues/4539), [\#4542](https://github.com/matrix-org/synapse/issues/4542), [\#4544](https://github.com/matrix-org/synapse/issues/4544))
    - Search now includes results from predecessor rooms after a room upgrade. ([\#4415](https://github.com/matrix-org/synapse/issues/4415))
    - Config option to disable requesting MSISDN on registration. ([\#4423](https://github.com/matrix-org/synapse/issues/4423))
    - Add a metric for tracking event stream position of the user directory. ([\#4445](https://github.com/matrix-org/synapse/issues/4445))
    - Support exposing server capabilities in CS API (MSC1753, MSC1804) ([\#4472](https://github.com/matrix-org/synapse/issues/4472), [81b7e7eed](https://github.com/matrix-org/synapse/commit/81b7e7eed323f55d6550e7a270a9dc2c4c7b0fe0)))
    - Add support for room version 3 ([\#4483](https://github.com/matrix-org/synapse/issues/4483), [\#4499](https://github.com/matrix-org/synapse/issues/4499), [\#4515](https://github.com/matrix-org/synapse/issues/4515), [\#4523](https://github.com/matrix-org/synapse/issues/4523), [\#4535](https://github.com/matrix-org/synapse/issues/4535))
    - Synapse will now reload TLS certificates from disk upon SIGHUP. ([\#4495](https://github.com/matrix-org/synapse/issues/4495), [\#4524](https://github.com/matrix-org/synapse/issues/4524))
    - The matrixdotorg/synapse Docker images now use Python 3 by default. ([\#4558](https://github.com/matrix-org/synapse/issues/4558))
    
    Bugfixes
    --------
    
    - Prevent users with access tokens predating the introduction of device IDs from creating spurious entries in the user_ips table. ([\#4369](https://github.com/matrix-org/synapse/issues/4369))
    - Fix typo in ALL_USER_TYPES definition to ensure type is a tuple ([\#4392](https://github.com/matrix-org/synapse/issues/4392))
    - Fix high CPU usage due to remote devicelist updates ([\#4397](https://github.com/matrix-org/synapse/issues/4397))
    - Fix potential bug where creating or joining a room could fail ([\#4404](https://github.com/matrix-org/synapse/issues/4404))
    - Fix bug when rejecting remote invites ([\#4405](https://github.com/matrix-org/synapse/issues/4405), [\#4527](https://github.com/matrix-org/synapse/issues/4527))
    - Fix incorrect logcontexts after a Deferred was cancelled ([\#4407](https://github.com/matrix-org/synapse/issues/4407))
    - Ensure encrypted room state is persisted across room upgrades. ([\#4411](https://github.com/matrix-org/synapse/issues/4411))
    - Copy over whether a room is a direct message and any associated room tags on room upgrade. ([\#4412](https://github.com/matrix-org/synapse/issues/4412))
    - Fix None guard in calling config.server.is_threepid_reserved ([\#4435](https://github.com/matrix-org/synapse/issues/4435))
    - Don't send IP addresses as SNI ([\#4452](https://github.com/matrix-org/synapse/issues/4452))
    - Fix UnboundLocalError in post_urlencoded_get_json ([\#4460](https://github.com/matrix-org/synapse/issues/4460))
    - Add a timeout to filtered room directory queries. ([\#4461](https://github.com/matrix-org/synapse/issues/4461))
    - Workaround for login error when using both LDAP and internal authentication. ([\#4486](https://github.com/matrix-org/synapse/issues/4486))
    - Fix a bug where setting a relative consent directory path would cause a crash. ([\#4512](https://github.com/matrix-org/synapse/issues/4512))
    
    Deprecations and Removals
    -------------------------
    
    - Synapse no longer generates self-signed TLS certificates when generating a configuration file. ([\#4509](https://github.com/matrix-org/synapse/issues/4509))
    
    Improved Documentation
    ----------------------
    
    - Update debian installation instructions ([\#4526](https://github.com/matrix-org/synapse/issues/4526))
    
    Internal Changes
    ----------------
    
    - Synapse will now take advantage of native UPSERT functionality in PostgreSQL 9.5+ and SQLite 3.24+. ([\#4306](https://github.com/matrix-org/synapse/issues/4306), [\#4459](https://github.com/matrix-org/synapse/issues/4459), [\#4466](https://github.com/matrix-org/synapse/issues/4466), [\#4471](https://github.com/matrix-org/synapse/issues/4471), [\#4477](https://github.com/matrix-org/synapse/issues/4477), [\#4505](https://github.com/matrix-org/synapse/issues/4505))
    - Update README to use the new virtualenv everywhere ([\#4342](https://github.com/matrix-org/synapse/issues/4342))
    - Add better logging for unexpected errors while sending transactions ([\#4368](https://github.com/matrix-org/synapse/issues/4368))
    - Apply a unique index to the user_ips table, preventing duplicates. ([\#4370](https://github.com/matrix-org/synapse/issues/4370), [\#4432](https://github.com/matrix-org/synapse/issues/4432), [\#4434](https://github.com/matrix-org/synapse/issues/4434))
    - Silence travis-ci build warnings by removing non-functional python3.6 ([\#4377](https://github.com/matrix-org/synapse/issues/4377))
    - Fix a comment in the generated config file ([\#4387](https://github.com/matrix-org/synapse/issues/4387))
    - Add ground work for implementing future federation API versions ([\#4390](https://github.com/matrix-org/synapse/issues/4390))
    - Update dependencies on msgpack and pymacaroons to use the up-to-date packages. ([\#4399](https://github.com/matrix-org/synapse/issues/4399))
    - Tweak codecov settings to make them less loud. ([\#4400](https://github.com/matrix-org/synapse/issues/4400))
    - Implement server support for MSC1794 - Federation v2 Invite API ([\#4402](https://github.com/matrix-org/synapse/issues/4402))
    - debian package: symlink to explicit python version ([\#4433](https://github.com/matrix-org/synapse/issues/4433))
    - Add infrastructure to support different event formats ([\#4437](https://github.com/matrix-org/synapse/issues/4437), [\#4447](https://github.com/matrix-org/synapse/issues/4447), [\#4448](https://github.com/matrix-org/synapse/issues/4448), [\#4470](https://github.com/matrix-org/synapse/issues/4470), [\#4481](https://github.com/matrix-org/synapse/issues/4481), [\#4482](https://github.com/matrix-org/synapse/issues/4482), [\#4493](https://github.com/matrix-org/synapse/issues/4493), [\#4494](https://github.com/matrix-org/synapse/issues/4494), [\#4496](https://github.com/matrix-org/synapse/issues/4496), [\#4510](https://github.com/matrix-org/synapse/issues/4510), [\#4514](https://github.com/matrix-org/synapse/issues/4514))
    - Generate the debian config during build ([\#4444](https://github.com/matrix-org/synapse/issues/4444))
    - Clarify documentation for the `public_baseurl` config param ([\#4458](https://github.com/matrix-org/synapse/issues/4458), [\#4498](https://github.com/matrix-org/synapse/issues/4498))
    - Fix quoting for allowed_local_3pids example config ([\#4476](https://github.com/matrix-org/synapse/issues/4476))
    - Remove deprecated --process-dependency-links option from UPGRADE.rst ([\#4485](https://github.com/matrix-org/synapse/issues/4485))
    - Make it possible to set the log level for tests via an environment variable ([\#4506](https://github.com/matrix-org/synapse/issues/4506))
    - Reduce the log level of linearizer lock acquirement to DEBUG. ([\#4507](https://github.com/matrix-org/synapse/issues/4507))
    - Fix code to comply with linting in PyFlakes 3.7.1. ([\#4519](https://github.com/matrix-org/synapse/issues/4519))
    - Add some debug for membership syncing issues ([\#4538](https://github.com/matrix-org/synapse/issues/4538))
    - Docker: only copy what we need to the build image ([\#4562](https://github.com/matrix-org/synapse/issues/4562))