1.28.0rc1

This commit is contained in:
Patrick Cloke 2021-02-18 12:32:49 -05:00
parent 84a7191410
commit 1381cd05b0
45 changed files with 73 additions and 46 deletions

View file

@ -1,5 +1,5 @@
Synapse 1.xx.0 (2021-xx-xx) Synapse 1.28.0rc1 (2021-02-18)
=========================== ==============================
Note that this release drops support for ARMv7 in the official Docker images, due to repeated problems building for ARMv7 (and the associated maintenance burden this entails). Note that this release drops support for ARMv7 in the official Docker images, due to repeated problems building for ARMv7 (and the associated maintenance burden this entails).
@ -17,6 +17,76 @@ Please check if you're using any scripts which use the admin API and replace
`GET /_synapse/admin/v1/users/<user_id>` with `GET /_synapse/admin/v2/users`. `GET /_synapse/admin/v1/users/<user_id>` with `GET /_synapse/admin/v2/users`.
Features
--------
- New API /_synapse/admin/rooms/{roomId}/context/{eventId}. ([\#9150](https://github.com/matrix-org/synapse/issues/9150))
- Further improvements to the user experience of registration via single sign-on. ([\#9300](https://github.com/matrix-org/synapse/issues/9300), [\#9301](https://github.com/matrix-org/synapse/issues/9301))
- Add hook to spam checker modules that allow checking file uploads and remote downloads. ([\#9311](https://github.com/matrix-org/synapse/issues/9311))
- Add support for receiving OpenID Connect authentication responses via form `POST`s rather than `GET`s. ([\#9376](https://github.com/matrix-org/synapse/issues/9376))
- Add the shadow-banning status to the display user admin API. ([\#9400](https://github.com/matrix-org/synapse/issues/9400))
Bugfixes
--------
- Fix long-standing bug where sending email push would fail for rooms that the server had since left. ([\#9257](https://github.com/matrix-org/synapse/issues/9257))
- Fix bug in Synapse 1.27.0rc1 which meant the "session expired" error page during SSO registration was badly formatted. ([\#9296](https://github.com/matrix-org/synapse/issues/9296))
- Assert a maximum length for some parameters for spec compliance. ([\#9321](https://github.com/matrix-org/synapse/issues/9321), [\#9393](https://github.com/matrix-org/synapse/issues/9393))
- Fix additional errors when previewing URLs: "AttributeError 'NoneType' object has no attribute 'xpath'" and "ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.". ([\#9333](https://github.com/matrix-org/synapse/issues/9333))
- Fix a bug causing Synapse to impose the wrong type constraints on fields when processing responses from appservices to `/_matrix/app/v1/thirdparty/user/{protocol}`. ([\#9361](https://github.com/matrix-org/synapse/issues/9361))
- Fix bug where Synapse would occaisonally stop reconnecting after the connection was lost. ([\#9391](https://github.com/matrix-org/synapse/issues/9391))
- Fix a long-standing bug when upgrading a room: "TypeError: '>' not supported between instances of 'NoneType' and 'int'". ([\#9395](https://github.com/matrix-org/synapse/issues/9395))
- Reduce the amount of memory used when generating the URL preview of a file that is larger than the `max_spider_size`. ([\#9421](https://github.com/matrix-org/synapse/issues/9421))
- Fix a long-standing bug in the deduplication of old presence, resulting in no deduplication. ([\#9425](https://github.com/matrix-org/synapse/issues/9425))
- The `ui_auth.session_timeout` configuration setting can now be specified in terms of number of seconds/minutes/etc/. Contributed by Rishabh Arya. ([\#9426](https://github.com/matrix-org/synapse/issues/9426))
- Fix a bug introduced in v1.27.0: "TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType." related to the user directory. ([\#9428](https://github.com/matrix-org/synapse/issues/9428))
Updates to the Docker image
---------------------------
- Drop support for ARMv7 in Docker images. ([\#9433](https://github.com/matrix-org/synapse/issues/9433))
Improved Documentation
----------------------
- Reorganizing CHANGELOG.md. ([\#9281](https://github.com/matrix-org/synapse/issues/9281))
- Add note to `auto_join_rooms` config option explaining existing rooms must be publicly joinable. ([\#9291](https://github.com/matrix-org/synapse/issues/9291))
- Correct name of Synapse's service file in TURN howto. ([\#9308](https://github.com/matrix-org/synapse/issues/9308))
- Fix the braces in the `oidc_providers` section of the sample config. ([\#9317](https://github.com/matrix-org/synapse/issues/9317))
- Update installation instructions on Fedora. ([\#9322](https://github.com/matrix-org/synapse/issues/9322))
- Add HTTP/2 support to the nginx example configuration. Contributed by David Vo. ([\#9390](https://github.com/matrix-org/synapse/issues/9390))
- Update docs for using Gitea as OpenID provider. ([\#9404](https://github.com/matrix-org/synapse/issues/9404))
- Document that pusher instances are shardable. ([\#9407](https://github.com/matrix-org/synapse/issues/9407))
- Fix erroneous documentation from v1.27.0 about updating the SAML2 callback URL. ([\#9434](https://github.com/matrix-org/synapse/issues/9434))
Deprecations and Removals
-------------------------
- Deprecate old admin API `GET /_synapse/admin/v1/users/<user_id>`. ([\#9429](https://github.com/matrix-org/synapse/issues/9429))
Internal Changes
----------------
- Fix 'object name reserved for internal use' errors with recent versions of SQLite. ([\#9003](https://github.com/matrix-org/synapse/issues/9003))
- Add experimental support for running Synapse with PyPy. ([\#9123](https://github.com/matrix-org/synapse/issues/9123))
- Deny access to additional IP addresses by default. ([\#9240](https://github.com/matrix-org/synapse/issues/9240))
- Update the `Cursor` type hints to better match PEP 249. ([\#9299](https://github.com/matrix-org/synapse/issues/9299))
- Add debug logging for SRV lookups. Contributed by @Bubu. ([\#9305](https://github.com/matrix-org/synapse/issues/9305))
- Improve logging for OIDC login flow. ([\#9307](https://github.com/matrix-org/synapse/issues/9307))
- Share the code for handling required attributes between the CAS and SAML handlers. ([\#9326](https://github.com/matrix-org/synapse/issues/9326))
- Clean up the code to load the metadata for OpenID Connect identity providers. ([\#9362](https://github.com/matrix-org/synapse/issues/9362))
- Convert tests to use `HomeserverTestCase`. ([\#9377](https://github.com/matrix-org/synapse/issues/9377), [\#9396](https://github.com/matrix-org/synapse/issues/9396))
- Update the version of black used to 20.8b1. ([\#9381](https://github.com/matrix-org/synapse/issues/9381))
- Allow OIDC config to override discovered values. ([\#9384](https://github.com/matrix-org/synapse/issues/9384))
- Remove some dead code from the acceptance of room invites path. ([\#9394](https://github.com/matrix-org/synapse/issues/9394))
- Clean up an unused method in the presence handler code. ([\#9408](https://github.com/matrix-org/synapse/issues/9408))
Synapse 1.27.0 (2021-02-16) Synapse 1.27.0 (2021-02-16)
=========================== ===========================

View file

@ -1 +0,0 @@
Fix 'object name reserved for internal use' errors with recent versions of SQLite.

View file

@ -1 +0,0 @@
Add experimental support for running Synapse with PyPy.

View file

@ -1 +0,0 @@
New API /_synapse/admin/rooms/{roomId}/context/{eventId}.

View file

@ -1 +0,0 @@
Deny access to additional IP addresses by default.

View file

@ -1 +0,0 @@
Fix long-standing bug where sending email push would fail for rooms that the server had since left.

View file

@ -1 +0,0 @@
Reorganizing CHANGELOG.md.

View file

@ -1 +0,0 @@
Add note to `auto_join_rooms` config option explaining existing rooms must be publicly joinable.

View file

@ -1 +0,0 @@
Fix bug in Synapse 1.27.0rc1 which meant the "session expired" error page during SSO registration was badly formatted.

View file

@ -1 +0,0 @@
Update the `Cursor` type hints to better match PEP 249.

View file

@ -1 +0,0 @@
Further improvements to the user experience of registration via single sign-on.

View file

@ -1 +0,0 @@
Further improvements to the user experience of registration via single sign-on.

View file

@ -1 +0,0 @@
Add debug logging for SRV lookups. Contributed by @Bubu.

View file

@ -1 +0,0 @@
Improve logging for OIDC login flow.

View file

@ -1 +0,0 @@
Correct name of Synapse's service file in TURN howto.

View file

@ -1 +0,0 @@
Add hook to spam checker modules that allow checking file uploads and remote downloads.

View file

@ -1 +0,0 @@
Fix the braces in the `oidc_providers` section of the sample config.

View file

@ -1 +0,0 @@
Assert a maximum length for some parameters for spec compliance.

View file

@ -1 +0,0 @@
Update installation instructions on Fedora.

View file

@ -1 +0,0 @@
Share the code for handling required attributes between the CAS and SAML handlers.

View file

@ -1 +0,0 @@
Fix additional errors when previewing URLs: "AttributeError 'NoneType' object has no attribute 'xpath'" and "ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.".

View file

@ -1 +0,0 @@
Fix a bug causing Synapse to impose the wrong type constraints on fields when processing responses from appservices to `/_matrix/app/v1/thirdparty/user/{protocol}`.

View file

@ -1 +0,0 @@
Clean up the code to load the metadata for OpenID Connect identity providers.

View file

@ -1 +0,0 @@
Add support for receiving OpenID Connect authentication responses via form `POST`s rather than `GET`s.

View file

@ -1 +0,0 @@
Convert tests to use `HomeserverTestCase`.

View file

@ -1 +0,0 @@
Update the version of black used to 20.8b1.

View file

@ -1 +0,0 @@
Allow OIDC config to override discovered values.

View file

@ -1 +0,0 @@
Add HTTP/2 support to the nginx example configuration. Contributed by David Vo.

View file

@ -1 +0,0 @@
Fix bug where Synapse would occaisonally stop reconnecting after the connection was lost.

View file

@ -1 +0,0 @@
Assert a maximum length for some parameters for spec compliance.

View file

@ -1 +0,0 @@
Remove some dead code from the acceptance of room invites path.

View file

@ -1 +0,0 @@
Fix a long-standing bug when upgrading a room: "TypeError: '>' not supported between instances of 'NoneType' and 'int'".

View file

@ -1 +0,0 @@
Convert tests to use `HomeserverTestCase`.

View file

@ -1 +0,0 @@
Add the shadow-banning status to the display user admin API.

View file

@ -1 +0,0 @@
Update docs for using Gitea as OpenID provider.

View file

@ -1 +0,0 @@
Document that pusher instances are shardable.

View file

@ -1 +0,0 @@
Clean up an unused method in the presence handler code.

View file

@ -1 +0,0 @@
Reduce the amount of memory used when generating the URL preview of a file that is larger than the `max_spider_size`.

View file

@ -1 +0,0 @@
Fix a long-standing bug in the deduplication of old presence, resulting in no deduplication.

View file

@ -1 +0,0 @@
The `ui_auth.session_timeout` configuration setting can now be specified in terms of number of seconds/minutes/etc/. Contributed by Rishabh Arya.

View file

@ -1 +0,0 @@
Fix a bug introduced in v1.27.0: "TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType." related to the user directory.

View file

@ -1 +0,0 @@
Deprecate old admin API `GET /_synapse/admin/v1/users/<user_id>`.

View file

@ -1 +0,0 @@
Drop support for ARMv7 in Docker images.

View file

@ -1 +0,0 @@
Fix erroneous documentation from v1.27.0 about updating the SAML2 callback URL.

View file

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