0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-13 08:08:57 +02:00

1.31.0rc1

This commit is contained in:
Erik Johnston 2021-03-30 11:19:21 +01:00
parent f380bb77d1
commit 78e48f61bf
45 changed files with 65 additions and 44 deletions

View file

@ -1,3 +1,67 @@
Synapse 1.31.0rc1 (2021-03-30)
==============================
Features
--------
- Add support to OpenID Connect login for requiring attributes on the `userinfo` response. Contributed by Hubbe King. ([\#9609](https://github.com/matrix-org/synapse/issues/9609))
- Add initial experimental support for a "space summary" API. ([\#9643](https://github.com/matrix-org/synapse/issues/9643), [\#9652](https://github.com/matrix-org/synapse/issues/9652), [\#9653](https://github.com/matrix-org/synapse/issues/9653))
- Add support for the busy presence state as described in [MSC3026](https://github.com/matrix-org/matrix-doc/pull/3026). ([\#9644](https://github.com/matrix-org/synapse/issues/9644))
- Add support for credentials for proxy authentication in the `HTTPS_PROXY` environment variable. ([\#9657](https://github.com/matrix-org/synapse/issues/9657))
Bugfixes
--------
- Fix a longstanding bug that could cause issues when editing a reply to a message. ([\#9585](https://github.com/matrix-org/synapse/issues/9585))
- Fix the `/capabilities` endpoint to return `m.change_password` as disabled if the local password database is not used for authentication. Contributed by @dklimpel. ([\#9588](https://github.com/matrix-org/synapse/issues/9588))
- Checks if passwords are allowed before setting it for the user. ([\#9636](https://github.com/matrix-org/synapse/issues/9636))
- Fix a bug where federation sending can stall due to `concurrent access` database exceptions when it falls behind. ([\#9639](https://github.com/matrix-org/synapse/issues/9639))
- Fix a bug introduced in Synapse 1.30.1 which meant the suggested `pip` incantation to install an updated `cryptography` was incorrect. ([\#9699](https://github.com/matrix-org/synapse/issues/9699))
Updates to the Docker image
---------------------------
- Speed up Docker builds and make it nicer to test against Complement while developing (install all dependencies before copying the project). ([\#9610](https://github.com/matrix-org/synapse/issues/9610))
- Include [opencontainers labels](https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys) in the Docker image. ([\#9612](https://github.com/matrix-org/synapse/issues/9612))
Improved Documentation
----------------------
- Clarify that `register_new_matrix_user` is present also when installed via non-pip package. ([\#9074](https://github.com/matrix-org/synapse/issues/9074))
- Update source install documentation to mention platform prerequisites before the source install steps. ([\#9667](https://github.com/matrix-org/synapse/issues/9667))
- Improve worker documentation for fallback/web auth endpoints. ([\#9679](https://github.com/matrix-org/synapse/issues/9679))
- Update the sample configuration for OIDC authentication. ([\#9695](https://github.com/matrix-org/synapse/issues/9695))
Internal Changes
----------------
- Preparatory steps for removing redundant `outlier` data from `event_json.internal_metadata` column. ([\#9411](https://github.com/matrix-org/synapse/issues/9411))
- Add type hints to the caching module. ([\#9442](https://github.com/matrix-org/synapse/issues/9442))
- Introduce flake8-bugbear to the test suite and fix some of its lint violations. ([\#9499](https://github.com/matrix-org/synapse/issues/9499), [\#9659](https://github.com/matrix-org/synapse/issues/9659))
- Add additional type hints to the Homeserver object. ([\#9631](https://github.com/matrix-org/synapse/issues/9631), [\#9638](https://github.com/matrix-org/synapse/issues/9638), [\#9675](https://github.com/matrix-org/synapse/issues/9675), [\#9681](https://github.com/matrix-org/synapse/issues/9681))
- Only save remote cross-signing and device keys if they're different from the current ones. ([\#9634](https://github.com/matrix-org/synapse/issues/9634))
- Rename storage function to fix spelling and not conflict with another functions name. ([\#9637](https://github.com/matrix-org/synapse/issues/9637))
- Improve performance of federation catch up by sending events the latest events in the room to the remote, rather than just the last event sent by the local server. ([\#9640](https://github.com/matrix-org/synapse/issues/9640), [\#9664](https://github.com/matrix-org/synapse/issues/9664))
- In the `federation_client` commandline client, stop automatically adding the URL prefix, so that servlets on other prefixes can be tested. ([\#9645](https://github.com/matrix-org/synapse/issues/9645))
- In the `federation_client` commandline client, handle inline `signing_key`s in `homeserver.yaml`. ([\#9647](https://github.com/matrix-org/synapse/issues/9647))
- Fixed some antipattern issues to improve code quality. ([\#9649](https://github.com/matrix-org/synapse/issues/9649))
- Add a storage method for pulling all current user presence state from the database. ([\#9650](https://github.com/matrix-org/synapse/issues/9650))
- Import `HomeServer` from the proper module. ([\#9665](https://github.com/matrix-org/synapse/issues/9665))
- Increase default join ratelimiting burst rate. ([\#9674](https://github.com/matrix-org/synapse/issues/9674))
- Add type hints to third party event rules and visibility modules. ([\#9676](https://github.com/matrix-org/synapse/issues/9676))
- Bump mypy-zope to 0.2.13 to fix "Cannot determine consistent method resolution order (MRO)" errors when running mypy a second time. ([\#9678](https://github.com/matrix-org/synapse/issues/9678))
- Use interpreter from `$PATH` via `/usr/bin/env` instead of absolute paths in various scripts. ([\#9689](https://github.com/matrix-org/synapse/issues/9689))
- Make it possible to use `dmypy`. ([\#9692](https://github.com/matrix-org/synapse/issues/9692))
- Suppress "CryptographyDeprecationWarning: int_from_bytes is deprecated". ([\#9698](https://github.com/matrix-org/synapse/issues/9698))
- Use `dmypy run` in lint script for improved performance in type-checking while developing. ([\#9701](https://github.com/matrix-org/synapse/issues/9701))
- Fix undetected mypy error when using Python 3.6. ([\#9703](https://github.com/matrix-org/synapse/issues/9703))
- Fix type-checking CI on develop. ([\#9709](https://github.com/matrix-org/synapse/issues/9709))
Synapse 1.30.1 (2021-03-26)
===========================

View file

@ -1 +0,0 @@
Clarify that register_new_matrix_user is present also when installed via non-pip package.

View file

@ -1 +0,0 @@
Preparatory steps for removing redundant `outlier` data from `event_json.internal_metadata` column.

View file

@ -1 +0,0 @@
Add type hints to the caching module.

View file

@ -1 +0,0 @@
Introduce flake8-bugbear to the test suite and fix some of its lint violations.

View file

@ -1 +0,0 @@
Fix a longstanding bug that could cause issues when editing a reply to a message.

View file

@ -1 +0,0 @@
Fix the `/capabilities` endpoint to return `m.change_password` as disabled if the local password database is not used for authentication. Contributed by @dklimpel.

View file

@ -1 +0,0 @@
Logins using OpenID Connect can require attributes on the `userinfo` response in order to login. Contributed by Hubbe King.

View file

@ -1 +0,0 @@
Speed up Docker builds and make it nicer to test against Complement while developing (install all dependencies before copying the project).

View file

@ -1 +0,0 @@
Include [opencontainers labels](https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys) in the Docker image.

View file

@ -1 +0,0 @@
Add additional type hints to the Homeserver object.

View file

@ -1 +0,0 @@
Only save remote cross-signing and device keys if they're different from the current ones.

View file

@ -1 +0,0 @@
Checks if passwords are allowed before setting it for the user.

View file

@ -1 +0,0 @@
Rename storage function to fix spelling and not conflict with another functions name.

View file

@ -1 +0,0 @@
Add additional type hints to the Homeserver object.

View file

@ -1 +0,0 @@
Fix bug where federation sending can stall due to `concurrent access` database exceptions when it falls behind.

View file

@ -1 +0,0 @@
Improve performance of federation catch up by sending events the latest events in the room to the remote, rather than just the last event sent by the local server.

View file

@ -1 +0,0 @@
Add initial experimental support for a "space summary" API.

View file

@ -1 +0,0 @@
Implement the busy presence state as described in [MSC3026](https://github.com/matrix-org/matrix-doc/pull/3026).

View file

@ -1 +0,0 @@
In the `federation_client` commandline client, stop automatically adding the URL prefix, so that servlets on other prefixes can be tested.

View file

@ -1 +0,0 @@
In the `federation_client` commandline client, handle inline `signing_key`s in `homeserver.yaml`.

View file

@ -1 +0,0 @@
Fixed some antipattern issues to improve code quality.

View file

@ -1 +0,0 @@
Add a storage method for pulling all current user presence state from the database.

View file

@ -1 +0,0 @@
Add initial experimental support for a "space summary" API.

View file

@ -1 +0,0 @@
Add initial experimental support for a "space summary" API.

View file

@ -1 +0,0 @@
Add support for credentials for proxy authentication in the `HTTPS_PROXY` environment variable.

View file

@ -1 +0,0 @@
Introduce flake8-bugbear to the test suite and fix some of its lint violations.

View file

@ -1 +0,0 @@
Improve performance of federation catch up by sending events the latest events in the room to the remote, rather than just the last event sent by the local server.

View file

@ -1 +0,0 @@
Import `HomeServer` from the proper module.

View file

@ -1 +0,0 @@
Update source install documentation to mention platform prerequisites before the source install steps.

View file

@ -1 +0,0 @@
Increase default join ratelimiting burst rate.

View file

@ -1 +0,0 @@
Add additional type hints to the Homeserver object.

View file

@ -1 +0,0 @@
Add type hints to third party event rules and visibility modules.

View file

@ -1 +0,0 @@
Bump mypy-zope to 0.2.13 to fix "Cannot determine consistent method resolution order (MRO)" errors when running mypy a second time.

View file

@ -1 +0,0 @@
Improve worker documentation for fallback/web auth endpoints.

View file

@ -1 +0,0 @@
Add additional type hints to the Homeserver object.

View file

@ -1 +0,0 @@
Use interpreter from `$PATH` via `/usr/bin/env` instead of absolute paths in various scripts.

View file

@ -1 +0,0 @@
Make it possible to use `dmypy`.

View file

@ -1 +0,0 @@
Update the sample configuration for OIDC authentication.

View file

@ -1 +0,0 @@
Suppress "CryptographyDeprecationWarning: int_from_bytes is deprecated".

View file

@ -1 +0,0 @@
Fix a bug introduced in Synapse 1.30.1 which meant the suggested `pip` incantation to install an updated `cryptography` was incorrect.

View file

@ -1 +0,0 @@
Use `dmypy run` in lint script for improved performance in type-checking while developing.

View file

@ -1 +0,0 @@
Fix undetected mypy error when using Python 3.6.

View file

@ -1 +0,0 @@
Fix type-checking CI on develop.

View file

@ -48,7 +48,7 @@ try:
except ImportError:
pass
__version__ = "1.30.1"
__version__ = "1.31.0rc1"
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
# We import here so that we don't have to install a bunch of deps when