mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 14:39:22 -05:00
1.25.0rc1
This commit is contained in:
parent
37eaf9c272
commit
2fe0fb21f6
91
CHANGES.md
91
CHANGES.md
@ -1,3 +1,94 @@
|
|||||||
|
Synapse 1.25.0rc1 (2021-01-06)
|
||||||
|
==============================
|
||||||
|
|
||||||
|
Features
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Add admin API that lets server admins get power in rooms in which local users have power. ([\#8756](https://github.com/matrix-org/synapse/issues/8756))
|
||||||
|
- Add optional HTTP authentication to replication endpoints. ([\#8853](https://github.com/matrix-org/synapse/issues/8853))
|
||||||
|
- Improve the error messages printed as a result of configuration problems for extension modules. ([\#8874](https://github.com/matrix-org/synapse/issues/8874))
|
||||||
|
- Add number of local devices to Room Details Admin API. Contributed by @dklimpel. ([\#8886](https://github.com/matrix-org/synapse/issues/8886))
|
||||||
|
- Add `X-Robots-Tag` header to stop web crawlers from indexing media. ([\#8887](https://github.com/matrix-org/synapse/issues/8887))
|
||||||
|
- Spam-checkers may now define their methods as `async`. ([\#8890](https://github.com/matrix-org/synapse/issues/8890))
|
||||||
|
- Add support for allowing users to pick their own user ID during a single-sign-on login. ([\#8897](https://github.com/matrix-org/synapse/issues/8897), [\#8900](https://github.com/matrix-org/synapse/issues/8900), [\#8911](https://github.com/matrix-org/synapse/issues/8911), [\#8938](https://github.com/matrix-org/synapse/issues/8938), [\#8941](https://github.com/matrix-org/synapse/issues/8941), [\#8942](https://github.com/matrix-org/synapse/issues/8942), [\#8951](https://github.com/matrix-org/synapse/issues/8951))
|
||||||
|
- Add an `email.invite_client_location` configuration option to send a web client location to the invite endpoint on the identity server which allows customisation of the email template. ([\#8930](https://github.com/matrix-org/synapse/issues/8930))
|
||||||
|
- Make search statement in List Room and List User Admin API case-insensitive. ([\#8931](https://github.com/matrix-org/synapse/issues/8931))
|
||||||
|
- Apply an IP range blacklist to push and key revocation requests. ([\#8954](https://github.com/matrix-org/synapse/issues/8954))
|
||||||
|
- Allow re-using an user-interactive authentication session for a period of time. ([\#8970](https://github.com/matrix-org/synapse/issues/8970))
|
||||||
|
- Allow running the redact endpoint on workers. ([\#8994](https://github.com/matrix-org/synapse/issues/8994))
|
||||||
|
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Apply an IP range blacklist to push and key revocation requests. ([\#8821](https://github.com/matrix-org/synapse/issues/8821), [\#8870](https://github.com/matrix-org/synapse/issues/8870))
|
||||||
|
- Fix bug where we might not correctly calculate the current state for rooms with multiple extremities. ([\#8827](https://github.com/matrix-org/synapse/issues/8827))
|
||||||
|
- Fix a long standing bug in the register admin endpoint (`/_synapse/admin/v1/register`) when the `mac` field was not provided. The endpoint now properly returns a 400 error. Contributed by @edwargix. ([\#8837](https://github.com/matrix-org/synapse/issues/8837))
|
||||||
|
- Fix a long-standing bug on Synapse instances supporting Single-Sign-On, where users would be prompted to enter their password to confirm certain actions, even though they have not set a password. ([\#8858](https://github.com/matrix-org/synapse/issues/8858))
|
||||||
|
- Fix a longstanding bug where a 500 error would be returned if the `Content-Length` header was not provided to the upload media resource. ([\#8862](https://github.com/matrix-org/synapse/issues/8862))
|
||||||
|
- Add additional validation to pusher URLs to be compliant with the specification. ([\#8865](https://github.com/matrix-org/synapse/issues/8865))
|
||||||
|
- Fix the error code that is returned when a user tries to register on a homeserver on which new-user registration has been disabled. ([\#8867](https://github.com/matrix-org/synapse/issues/8867))
|
||||||
|
- Fix a bug where `PUT /_synapse/admin/v2/users/<user_id>` failed to create a new user when `avatar_url` is specified. Bug introduced in Synapse v1.9.0. ([\#8872](https://github.com/matrix-org/synapse/issues/8872))
|
||||||
|
- Fix a 500 error when attempting to preview an empty HTML file. ([\#8883](https://github.com/matrix-org/synapse/issues/8883))
|
||||||
|
- Fix occasional deadlock when handling SIGHUP. ([\#8918](https://github.com/matrix-org/synapse/issues/8918))
|
||||||
|
- Fix login API to not ratelimit application services that have ratelimiting disabled. ([\#8920](https://github.com/matrix-org/synapse/issues/8920))
|
||||||
|
- Fix bug where we ratelimited auto joining of rooms on registration (using `auto_join_rooms` config). ([\#8921](https://github.com/matrix-org/synapse/issues/8921))
|
||||||
|
- Fix a bug where deactivated users appeared in the user directory when their profile information was updated. ([\#8933](https://github.com/matrix-org/synapse/issues/8933), [\#8964](https://github.com/matrix-org/synapse/issues/8964))
|
||||||
|
- Fix bug introduced in Synapse v1.24.0 which would cause an exception on startup if both `enabled` and `localdb_enabled` were set to `False` in the `password_config` setting of the configuration file. ([\#8937](https://github.com/matrix-org/synapse/issues/8937))
|
||||||
|
- Fix a bug where 500 errors would be returned if the `m.room_history_visibility` event had invalid content. ([\#8945](https://github.com/matrix-org/synapse/issues/8945))
|
||||||
|
- Fix a bug causing common English words to not be considered for a user directory search. ([\#8959](https://github.com/matrix-org/synapse/issues/8959))
|
||||||
|
- Fix bug where application services couldn't register new ghost users if the server had reached its MAU limit. ([\#8962](https://github.com/matrix-org/synapse/issues/8962))
|
||||||
|
- Fix a longstanding bug where a `m.image` event without a `url` would cause errors on push. ([\#8965](https://github.com/matrix-org/synapse/issues/8965))
|
||||||
|
- Fix small bug in v2 state resolution algorithm, which could also cause performance issues for rooms with large numbers of power levels. ([\#8971](https://github.com/matrix-org/synapse/issues/8971))
|
||||||
|
- Add validation to the `sendToDevice` API to raise a missing parameters error instead of a 500 error. ([\#8975](https://github.com/matrix-org/synapse/issues/8975))
|
||||||
|
- Properly return 400 errors on invalid group IDs. ([\#8977](https://github.com/matrix-org/synapse/issues/8977))
|
||||||
|
|
||||||
|
|
||||||
|
Improved Documentation
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
- Fix the "Event persist rate" section of the included grafana dashboard by adding missing prometheus rules. ([\#8802](https://github.com/matrix-org/synapse/issues/8802))
|
||||||
|
- Combine related media admin API docs. ([\#8839](https://github.com/matrix-org/synapse/issues/8839))
|
||||||
|
- Fix an error in the documentation for the SAML username mapping provider. ([\#8873](https://github.com/matrix-org/synapse/issues/8873))
|
||||||
|
- Clarify comments around template directories in `sample_config.yaml`. ([\#8891](https://github.com/matrix-org/synapse/issues/8891))
|
||||||
|
- Moved instructions for database setup, adjusted heading levels and improved syntax highlighting in [INSTALL.md](../INSTALL.md). Contributed by fossterer. ([\#8987](https://github.com/matrix-org/synapse/issues/8987))
|
||||||
|
- Update the example value of `group_creation_prefix` in the sample configuration. ([\#8992](https://github.com/matrix-org/synapse/issues/8992))
|
||||||
|
- Link the Synapse developer room to the development section in the docs. ([\#9002](https://github.com/matrix-org/synapse/issues/9002))
|
||||||
|
|
||||||
|
|
||||||
|
Deprecations and Removals
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
- Deprecate Shutdown Room and Purge Room Admin APIs. ([\#8829](https://github.com/matrix-org/synapse/issues/8829))
|
||||||
|
|
||||||
|
|
||||||
|
Internal Changes
|
||||||
|
----------------
|
||||||
|
|
||||||
|
- Properly store the mapping of external ID to Matrix ID for CAS users. ([\#8856](https://github.com/matrix-org/synapse/issues/8856), [\#8958](https://github.com/matrix-org/synapse/issues/8958))
|
||||||
|
- Remove some unnecessary stubbing from unit tests. ([\#8861](https://github.com/matrix-org/synapse/issues/8861))
|
||||||
|
- Remove unused `FakeResponse` class from unit tests. ([\#8864](https://github.com/matrix-org/synapse/issues/8864))
|
||||||
|
- Pass `room_id` to `get_auth_chain_difference`. ([\#8879](https://github.com/matrix-org/synapse/issues/8879))
|
||||||
|
- Add type hints to push module. ([\#8880](https://github.com/matrix-org/synapse/issues/8880), [\#8882](https://github.com/matrix-org/synapse/issues/8882), [\#8901](https://github.com/matrix-org/synapse/issues/8901), [\#8940](https://github.com/matrix-org/synapse/issues/8940), [\#8943](https://github.com/matrix-org/synapse/issues/8943), [\#9020](https://github.com/matrix-org/synapse/issues/9020))
|
||||||
|
- Simplify logic for handling user-interactive-auth via single-sign-on servers. ([\#8881](https://github.com/matrix-org/synapse/issues/8881))
|
||||||
|
- Skip the SAML tests if the requirements (`pysaml2` and `xmlsec1`) aren't available. ([\#8905](https://github.com/matrix-org/synapse/issues/8905))
|
||||||
|
- Fix multiarch docker image builds. ([\#8906](https://github.com/matrix-org/synapse/issues/8906))
|
||||||
|
- Don't publish `latest` docker image until all archs are built. ([\#8909](https://github.com/matrix-org/synapse/issues/8909))
|
||||||
|
- Various clean-ups to the structured logging and logging context code. ([\#8916](https://github.com/matrix-org/synapse/issues/8916), [\#8935](https://github.com/matrix-org/synapse/issues/8935))
|
||||||
|
- Automatically drop stale forward-extremities under some specific conditions. ([\#8929](https://github.com/matrix-org/synapse/issues/8929))
|
||||||
|
- Refactor test utilities for injecting HTTP requests. ([\#8946](https://github.com/matrix-org/synapse/issues/8946))
|
||||||
|
- Add a maximum size of 50 kilobytes to .well-known lookups. ([\#8950](https://github.com/matrix-org/synapse/issues/8950))
|
||||||
|
- Fix bug in `generate_log_config` script which made it write empty files. ([\#8952](https://github.com/matrix-org/synapse/issues/8952))
|
||||||
|
- Clean up tox.ini file; disable coverage checking for non-test runs. ([\#8963](https://github.com/matrix-org/synapse/issues/8963))
|
||||||
|
- Add type hints to the admin and room list handlers. ([\#8973](https://github.com/matrix-org/synapse/issues/8973))
|
||||||
|
- Add type hints to the receipts and user directory handlers. ([\#8976](https://github.com/matrix-org/synapse/issues/8976))
|
||||||
|
- Drop the unused `local_invites` table. ([\#8979](https://github.com/matrix-org/synapse/issues/8979))
|
||||||
|
- Add type hints to the base storage code. ([\#8980](https://github.com/matrix-org/synapse/issues/8980))
|
||||||
|
- Support using PyJWT v2.0.0 in the test suite. ([\#8986](https://github.com/matrix-org/synapse/issues/8986))
|
||||||
|
- Fix `tests.federation.transport.RoomDirectoryFederationTests` and ensure it runs in CI. ([\#8998](https://github.com/matrix-org/synapse/issues/8998))
|
||||||
|
- Add type hints to the crypto module. ([\#8999](https://github.com/matrix-org/synapse/issues/8999))
|
||||||
|
|
||||||
|
|
||||||
Synapse 1.25.0 (2020-xx-xx)
|
Synapse 1.25.0 (2020-xx-xx)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Add admin API that lets server admins get power in rooms in which local users have power.
|
|
@ -1 +0,0 @@
|
|||||||
Fix the "Event persist rate" section of the included grafana dashboard by adding missing prometheus rules.
|
|
@ -1 +0,0 @@
|
|||||||
Apply an IP range blacklist to push and key revocation requests.
|
|
@ -1 +0,0 @@
|
|||||||
Fix bug where we might not correctly calculate the current state for rooms with multiple extremities.
|
|
@ -1 +0,0 @@
|
|||||||
Deprecate Shutdown Room and Purge Room Admin APIs.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a long standing bug in the register admin endpoint (`/_synapse/admin/v1/register`) when the `mac` field was not provided. The endpoint now properly returns a 400 error. Contributed by @edwargix.
|
|
@ -1 +0,0 @@
|
|||||||
Combine related media admin API docs.
|
|
@ -1 +0,0 @@
|
|||||||
Add optional HTTP authentication to replication endpoints.
|
|
@ -1 +0,0 @@
|
|||||||
Properly store the mapping of external ID to Matrix ID for CAS users.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a long-standing bug on Synapse instances supporting Single-Sign-On, where users would be prompted to enter their password to confirm certain actions, even though they have not set a password.
|
|
@ -1 +0,0 @@
|
|||||||
Remove some unnecessary stubbing from unit tests.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a longstanding bug where a 500 error would be returned if the `Content-Length` header was not provided to the upload media resource.
|
|
@ -1 +0,0 @@
|
|||||||
Remove unused `FakeResponse` class from unit tests.
|
|
@ -1 +0,0 @@
|
|||||||
Add additional validation to pusher URLs to be compliant with the specification.
|
|
@ -1 +0,0 @@
|
|||||||
Fix the error code that is returned when a user tries to register on a homeserver on which new-user registration has been disabled.
|
|
@ -1 +0,0 @@
|
|||||||
Apply an IP range blacklist to push and key revocation requests.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a bug where `PUT /_synapse/admin/v2/users/<user_id>` failed to create a new user when `avatar_url` is specified. Bug introduced in Synapse v1.9.0.
|
|
@ -1 +0,0 @@
|
|||||||
Fix an error in the documentation for the SAML username mapping provider.
|
|
@ -1 +0,0 @@
|
|||||||
Improve the error messages printed as a result of configuration problems for extension modules.
|
|
@ -1 +0,0 @@
|
|||||||
Pass `room_id` to `get_auth_chain_difference`.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to push module.
|
|
@ -1 +0,0 @@
|
|||||||
Simplify logic for handling user-interactive-auth via single-sign-on servers.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to push module.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a 500 error when attempting to preview an empty HTML file.
|
|
@ -1 +0,0 @@
|
|||||||
Add number of local devices to Room Details Admin API. Contributed by @dklimpel.
|
|
@ -1 +0,0 @@
|
|||||||
Add `X-Robots-Tag` header to stop web crawlers from indexing media.
|
|
@ -1 +0,0 @@
|
|||||||
Spam-checkers may now define their methods as `async`.
|
|
@ -1 +0,0 @@
|
|||||||
Clarify comments around template directories in `sample_config.yaml`.
|
|
@ -1 +0,0 @@
|
|||||||
Add support for allowing users to pick their own user ID during a single-sign-on login.
|
|
@ -1 +0,0 @@
|
|||||||
Add support for allowing users to pick their own user ID during a single-sign-on login.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to push module.
|
|
@ -1 +0,0 @@
|
|||||||
Skip the SAML tests if the requirements (`pysaml2` and `xmlsec1`) aren't available.
|
|
@ -1 +0,0 @@
|
|||||||
Fix multiarch docker image builds.
|
|
@ -1 +0,0 @@
|
|||||||
Don't publish `latest` docker image until all archs are built.
|
|
@ -1 +0,0 @@
|
|||||||
Add support for allowing users to pick their own user ID during a single-sign-on login.
|
|
@ -1 +0,0 @@
|
|||||||
Various clean-ups to the structured logging and logging context code.
|
|
@ -1 +0,0 @@
|
|||||||
Fix occasional deadlock when handling SIGHUP.
|
|
@ -1 +0,0 @@
|
|||||||
Fix login API to not ratelimit application services that have ratelimiting disabled.
|
|
@ -1 +0,0 @@
|
|||||||
Fix bug where we ratelimited auto joining of rooms on registration (using `auto_join_rooms` config).
|
|
@ -1 +0,0 @@
|
|||||||
Automatically drop stale forward-extremities under some specific conditions.
|
|
@ -1 +0,0 @@
|
|||||||
Add an `email.invite_client_location` configuration option to send a web client location to the invite endpoint on the identity server which allows customisation of the email template.
|
|
@ -1 +0,0 @@
|
|||||||
Make search statement in List Room and List User Admin API case-insensitive.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a bug where deactivated users appeared in the user directory when their profile information was updated.
|
|
@ -1 +0,0 @@
|
|||||||
Various clean-ups to the structured logging and logging context code.
|
|
@ -1 +0,0 @@
|
|||||||
Fix bug introduced in Synapse v1.24.0 which would cause an exception on startup if both `enabled` and `localdb_enabled` were set to `False` in the `password_config` setting of the configuration file.
|
|
@ -1 +0,0 @@
|
|||||||
Add support for allowing users to pick their own user ID during a single-sign-on login.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to push module.
|
|
@ -1 +0,0 @@
|
|||||||
Add support for allowing users to pick their own user ID during a single-sign-on login.
|
|
@ -1 +0,0 @@
|
|||||||
Add support for allowing users to pick their own user ID during a single-sign-on login.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to push module.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a bug where 500 errors would be returned if the `m.room_history_visibility` event had invalid content.
|
|
@ -1 +0,0 @@
|
|||||||
Refactor test utilities for injecting HTTP requests.
|
|
@ -1 +0,0 @@
|
|||||||
Add a maximum size of 50 kilobytes to .well-known lookups.
|
|
@ -1 +0,0 @@
|
|||||||
Add support for allowing users to pick their own user ID during a single-sign-on login.
|
|
@ -1 +0,0 @@
|
|||||||
Fix bug in `generate_log_config` script which made it write empty files.
|
|
@ -1 +0,0 @@
|
|||||||
Apply an IP range blacklist to push and key revocation requests.
|
|
@ -1 +0,0 @@
|
|||||||
Properly store the mapping of external ID to Matrix ID for CAS users.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a bug causing common English words to not be considered for a user directory search.
|
|
@ -1 +0,0 @@
|
|||||||
Fix bug where application services couldn't register new ghost users if the server had reached its MAU limit.
|
|
@ -1 +0,0 @@
|
|||||||
Clean up tox.ini file; disable coverage checking for non-test runs.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a bug where deactivated users appeared in the user directory when their profile information was updated.
|
|
@ -1 +0,0 @@
|
|||||||
Fix a longstanding bug where a `m.image` event without a `url` would cause errors on push.
|
|
@ -1 +0,0 @@
|
|||||||
Allow re-using an user-interactive authentication session for a period of time.
|
|
@ -1 +0,0 @@
|
|||||||
Fix small bug in v2 state resolution algorithm, which could also cause performance issues for rooms with large numbers of power levels.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to the admin and room list handlers.
|
|
@ -1 +0,0 @@
|
|||||||
Add validation to the `sendToDevice` API to raise a missing parameters error instead of a 500 error.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to the receipts and user directory handlers.
|
|
@ -1 +0,0 @@
|
|||||||
Properly return 400 errors on invalid group IDs.
|
|
@ -1 +0,0 @@
|
|||||||
Drop the unused `local_invites` table.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to the base storage code.
|
|
@ -1 +0,0 @@
|
|||||||
Support using PyJWT v2.0.0 in the test suite.
|
|
@ -1 +0,0 @@
|
|||||||
Moved instructions for database setup, adjusted heading levels and improved syntax highlighting in [INSTALL.md](../INSTALL.md). Contributed by fossterer.
|
|
@ -1 +0,0 @@
|
|||||||
Update the example value of `group_creation_prefix` in the sample configuration.
|
|
@ -1 +0,0 @@
|
|||||||
Allow running the redact endpoint on workers.
|
|
@ -1 +0,0 @@
|
|||||||
Fix `tests.federation.transport.RoomDirectoryFederationTests` and ensure it runs in CI.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to the crypto module.
|
|
@ -1 +0,0 @@
|
|||||||
Link the Synapse developer room to the development section in the docs.
|
|
@ -1 +0,0 @@
|
|||||||
Add type hints to push module.
|
|
@ -48,7 +48,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
__version__ = "1.24.0"
|
__version__ = "1.25.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
|
||||||
|
Loading…
Reference in New Issue
Block a user