Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge commit 'f88c48f3b' into anoa/dinsic_release_1_18_x
Browse files Browse the repository at this point in the history
* commit 'f88c48f3b':
  1.18.0rc1
  Fix error reporting when using `opentracing.trace` (#7961)
  Fix typing replication not being handled on master (#7959)
  Remove hacky error handling for inlineDeferreds. (#7950)
  Convert tests/rest/admin/test_room.py to unix file endings (#7953)
  Support oEmbed for media previews. (#7920)
  Convert state resolution to async/await (#7942)
  Fix up types and comments that refer to Deferreds. (#7945)
  Do not convert async functions to Deferreds in the interactive_auth_handler (#7944)
  Convert more of the media code to async/await (#7873)
  Return an empty body for OPTIONS requests. (#7886)
  Downgrade warning on client disconnect to INFO (#7928)
  Convert presence handler helpers to async/await. (#7939)
  Update the auth providers to be async. (#7935)
  Put a cache on `/state_ids` (#7931)
  • Loading branch information
anoadragon453 committed Aug 4, 2020
2 parents c7fb21f + f88c48f commit 7f2e76b
Show file tree
Hide file tree
Showing 107 changed files with 2,535 additions and 2,228 deletions.
105 changes: 105 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,108 @@
Synapse 1.18.0rc1 (2020-07-27)
==============================

Features
--------

- Include room states on invite events that are sent to application services. Contributed by @Sorunome. ([\#6455](https://github.com/matrix-org/synapse/issues/6455))
- Add delete room admin endpoint (`POST /_synapse/admin/v1/rooms/<room_id>/delete`). Contributed by @dklimpel. ([\#7613](https://github.com/matrix-org/synapse/issues/7613), [\#7953](https://github.com/matrix-org/synapse/issues/7953))
- Add experimental support for running multiple federation sender processes. ([\#7798](https://github.com/matrix-org/synapse/issues/7798))
- Add the option to validate the `iss` and `aud` claims for JWT logins. ([\#7827](https://github.com/matrix-org/synapse/issues/7827))
- Add support for handling registration requests across multiple client reader workers. ([\#7830](https://github.com/matrix-org/synapse/issues/7830))
- Add an admin API to list the users in a room. Contributed by Awesome Technologies Innovationslabor GmbH. ([\#7842](https://github.com/matrix-org/synapse/issues/7842))
- Allow email subjects to be customised through Synapse's configuration. ([\#7846](https://github.com/matrix-org/synapse/issues/7846))
- Add the ability to re-activate an account from the admin API. ([\#7847](https://github.com/matrix-org/synapse/issues/7847), [\#7908](https://github.com/matrix-org/synapse/issues/7908))
- Add experimental support for running multiple pusher workers. ([\#7855](https://github.com/matrix-org/synapse/issues/7855))
- Add experimental support for moving typing off master. ([\#7869](https://github.com/matrix-org/synapse/issues/7869))
- Report CPU metrics to prometheus for time spent processing replication commands. ([\#7879](https://github.com/matrix-org/synapse/issues/7879))
- Support oEmbed for media previews. ([\#7920](https://github.com/matrix-org/synapse/issues/7920))
- Abort federation requests where the client disconnects before the ratelimiter expires. ([\#7930](https://github.com/matrix-org/synapse/issues/7930))
- Cache responses to `/_matrix/federation/v1/state_ids` to reduce duplicated work. ([\#7931](https://github.com/matrix-org/synapse/issues/7931))


Bugfixes
--------

- Fix detection of out of sync remote device lists when receiving events from remote users. ([\#7815](https://github.com/matrix-org/synapse/issues/7815))
- Fix bug where Synapse fails to process an incoming event over federation if the server is missing too much of the event's auth chain. ([\#7817](https://github.com/matrix-org/synapse/issues/7817))
- Fix a bug causing Synapse to misinterpret the value `off` for `encryption_enabled_by_default_for_room_type` in its configuration file(s) if that value isn't surrounded by quotes. This bug was introduced in v1.16.0. ([\#7822](https://github.com/matrix-org/synapse/issues/7822))
- Fix bug where we did not always pass in `app_name` or `server_name` to email templates, including e.g. for registration emails. ([\#7829](https://github.com/matrix-org/synapse/issues/7829))
- Errors which occur while using the non-standard JWT login now return the proper error: `403 Forbidden` with an error code of `M_FORBIDDEN`. ([\#7844](https://github.com/matrix-org/synapse/issues/7844))
- Fix "AttributeError: 'str' object has no attribute 'get'" error message when applying per-room message retention policies. The bug was introduced in Synapse 1.7.0. ([\#7850](https://github.com/matrix-org/synapse/issues/7850))
- Fix a bug introduced in Synapse 1.10.0 which could cause a "no create event in auth events" error during room creation. ([\#7854](https://github.com/matrix-org/synapse/issues/7854))
- Fix a bug which allowed empty rooms to be rejoined over federation. ([\#7859](https://github.com/matrix-org/synapse/issues/7859))
- Fix 'Unable to find a suitable guest user ID' error when using multiple client_reader workers. ([\#7866](https://github.com/matrix-org/synapse/issues/7866))
- Fix a long standing bug where the tracing of async functions with opentracing was broken. ([\#7872](https://github.com/matrix-org/synapse/issues/7872), [\#7961](https://github.com/matrix-org/synapse/issues/7961))
- Fix "TypeError in `synapse.notifier`" exceptions. ([\#7880](https://github.com/matrix-org/synapse/issues/7880))
- Fix deprecation warning due to invalid escape sequences. ([\#7895](https://github.com/matrix-org/synapse/issues/7895))
- Add experimental support for moving typing off master. ([\#7959](https://github.com/matrix-org/synapse/issues/7959))


Updates to the Docker image
---------------------------

- Base docker image on Debian Buster rather than Alpine Linux. Contributed by @maquis196. ([\#7839](https://github.com/matrix-org/synapse/issues/7839))


Improved Documentation
----------------------

- Provide instructions on using `register_new_matrix_user` via docker. ([\#7885](https://github.com/matrix-org/synapse/issues/7885))
- Change the sample config postgres user section to use `synapse_user` instead of `synapse` to align with the documentation. ([\#7889](https://github.com/matrix-org/synapse/issues/7889))
- Reorder database paragraphs to promote postgres over sqlite. ([\#7933](https://github.com/matrix-org/synapse/issues/7933))
- Update the dates of ACME v1's end of life in [`ACME.md`](https://github.com/matrix-org/synapse/blob/master/docs/ACME.md). ([\#7934](https://github.com/matrix-org/synapse/issues/7934))


Deprecations and Removals
-------------------------

- Remove unused `synapse_replication_tcp_resource_invalidate_cache` prometheus metric. ([\#7878](https://github.com/matrix-org/synapse/issues/7878))


Internal Changes
----------------

- Switch from simplejson to the standard library json. ([\#7802](https://github.com/matrix-org/synapse/issues/7802))
- Add type hints to the http server code and remove an unused parameter. ([\#7813](https://github.com/matrix-org/synapse/issues/7813))
- Add type hints to synapse.api.errors module. ([\#7820](https://github.com/matrix-org/synapse/issues/7820))
- Ensure that calls to `json.dumps` are compatible with the standard library json. ([\#7836](https://github.com/matrix-org/synapse/issues/7836))
- Remove redundant `retry_on_integrity_error` wrapper for event persistence code. ([\#7848](https://github.com/matrix-org/synapse/issues/7848))
- Consistently use `db_to_json` to convert from database values to JSON objects. ([\#7849](https://github.com/matrix-org/synapse/issues/7849))
- Convert E2E keys and room keys handlers to async/await. ([\#7851](https://github.com/matrix-org/synapse/issues/7851))
- Add support for handling registration requests across multiple client reader workers. ([\#7853](https://github.com/matrix-org/synapse/issues/7853))
- Small performance improvement in typing processing. ([\#7856](https://github.com/matrix-org/synapse/issues/7856))
- The default value of `filter_timeline_limit` was changed from -1 (no limit) to 100. ([\#7858](https://github.com/matrix-org/synapse/issues/7858))
- Convert _base, profile, and _receipts handlers to async/await. ([\#7860](https://github.com/matrix-org/synapse/issues/7860))
- Optimise queueing of inbound replication commands. ([\#7861](https://github.com/matrix-org/synapse/issues/7861))
- Convert synapse.app and federation client to async/await. ([\#7868](https://github.com/matrix-org/synapse/issues/7868))
- Add some type annotations to `HomeServer` and `BaseHandler`. ([\#7870](https://github.com/matrix-org/synapse/issues/7870))
- Convert device handler to async/await. ([\#7871](https://github.com/matrix-org/synapse/issues/7871))
- Convert more media code to async/await. ([\#7873](https://github.com/matrix-org/synapse/issues/7873))
- Convert the federation agent and related code to async/await. ([\#7874](https://github.com/matrix-org/synapse/issues/7874))
- Clean up `PreserveLoggingContext`. ([\#7877](https://github.com/matrix-org/synapse/issues/7877))
- Change "unknown room version" logging from 'error' to 'warning'. ([\#7881](https://github.com/matrix-org/synapse/issues/7881))
- Stop using `device_max_stream_id` table and just use `device_inbox.stream_id`. ([\#7882](https://github.com/matrix-org/synapse/issues/7882))
- Convert the message handler to async/await. ([\#7884](https://github.com/matrix-org/synapse/issues/7884))
- Return an empty body for OPTIONS requests. ([\#7886](https://github.com/matrix-org/synapse/issues/7886))
- Remove Ubuntu Eoan from the list of `.deb` packages that we build as it is now end-of-life. Contributed by @gary-kim. ([\#7888](https://github.com/matrix-org/synapse/issues/7888))
- Fix typo in generated config file. Contributed by @ThiefMaster. ([\#7890](https://github.com/matrix-org/synapse/issues/7890))
- Import ABC from `collections.abc` for Python 3.10 compatibility. ([\#7892](https://github.com/matrix-org/synapse/issues/7892))
- Remove unused functions `time_function`, `trace_function`, `get_previous_frames`
and `get_previous_frame` from `synapse.logging.utils` module. ([\#7897](https://github.com/matrix-org/synapse/issues/7897))
- Convert `RoomListHandler` to async/await. ([\#7912](https://github.com/matrix-org/synapse/issues/7912))
- Lint the `contrib/` directory in CI and linting scripts, add `synctl` to the linting script for consistency with CI. ([\#7914](https://github.com/matrix-org/synapse/issues/7914))
- Use Element CSS and logo in notification emails when app name is Element. ([\#7919](https://github.com/matrix-org/synapse/issues/7919))
- Optimisation to /sync handling: skip serializing the response if the client has already disconnected. ([\#7927](https://github.com/matrix-org/synapse/issues/7927))
- When a client disconnects, don't log it as 'Error processing request'. ([\#7928](https://github.com/matrix-org/synapse/issues/7928))
- Add debugging to `/sync` response generation (disabled by default). ([\#7929](https://github.com/matrix-org/synapse/issues/7929))
- Convert the auth providers to be async/await. ([\#7935](https://github.com/matrix-org/synapse/issues/7935))
- Convert presence handler helpers to async/await. ([\#7939](https://github.com/matrix-org/synapse/issues/7939))
- Convert state resolution to async/await. ([\#7942](https://github.com/matrix-org/synapse/issues/7942))
- Convert the interactive_auth_handler wrapper to async/await. ([\#7944](https://github.com/matrix-org/synapse/issues/7944))
- Update comments that refer to Deferreds for async functions. ([\#7945](https://github.com/matrix-org/synapse/issues/7945))
- Simplify error handling in federation handler. ([\#7950](https://github.com/matrix-org/synapse/issues/7950))


Synapse 1.17.0 (2020-07-13)
===========================

Expand Down
1 change: 0 additions & 1 deletion changelog.d/6455.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7613.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7798.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7802.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7813.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7815.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7817.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7820.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7822.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7827.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7829.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7830.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7836.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7839.docker

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7842.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7844.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7846.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7847.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7848.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7849.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7850.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7851.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7853.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7854.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7855.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7856.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7858.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7859.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7860.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7861.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7866.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7868.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7869.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7870.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7871.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7872.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7874.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7877.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7878.removal

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7879.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7880.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7881.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7882.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7884.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7885.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7888.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7889.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7890.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7892.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7895.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/7897.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7908.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7912.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7914.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7919.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7927.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7929.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7930.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7933.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/7934.doc

This file was deleted.

Loading

0 comments on commit 7f2e76b

Please sign in to comment.