diff options
author | Erik Johnston <erik@matrix.org> | 2021-03-04 10:12:53 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-03-04 10:12:53 +0000 |
commit | 3f49d80dcf3043f6c5a06ca99aff3acb1fe1da22 (patch) | |
tree | 5010333446abf8fc3bc40fb87f7919e33f592c9c | |
parent | Fix additional type hints from Twisted upgrade. (#9518) (diff) | |
download | synapse-3f49d80dcf3043f6c5a06ca99aff3acb1fe1da22.tar.xz |
1.29.0rc1
42 files changed, 55 insertions, 41 deletions
diff --git a/CHANGES.md b/CHANGES.md index d9ecbac440..cd830e5178 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,57 @@ +Synapse 1.29.0rc1 (2021-03-04) +============================== + +Features +-------- + +- Add rate limiters to cross-user key sharing requests. ([\#8957](https://github.com/matrix-org/synapse/issues/8957)) +- Add `order_by` to the admin API `GET /_synapse/admin/v1/users/<user_id>/media`. Contributed by @dklimpel. ([\#8978](https://github.com/matrix-org/synapse/issues/8978)) +- Add some configuration settings to make users' profile data more private. ([\#9203](https://github.com/matrix-org/synapse/issues/9203)) +- The `no_proxy` and `NO_PROXY` environment variables are now respected in proxied HTTP clients with the lowercase form taking precedence if both are present. Additionally, the lowercase `https_proxy` environment variable is now respected in proxied HTTP clients on top of existing support for the uppercase `HTTPS_PROXY` form and takes precedence if both are present. Contributed by Timothy Leung. ([\#9372](https://github.com/matrix-org/synapse/issues/9372)) +- Add a configuration option, `user_directory.prefer_local_users`, which when enabled will make it more likely for users on the same server as you to appear above other users. ([\#9383](https://github.com/matrix-org/synapse/issues/9383), [\#9385](https://github.com/matrix-org/synapse/issues/9385)) +- Add support for regenerating thumbnails if they have been deleted but the original image is still stored. ([\#9438](https://github.com/matrix-org/synapse/issues/9438)) +- Add support for `X-Forwarded-Proto` header when using a reverse proxy. ([\#9472](https://github.com/matrix-org/synapse/issues/9472), [\#9501](https://github.com/matrix-org/synapse/issues/9501), [\#9512](https://github.com/matrix-org/synapse/issues/9512), [\#9539](https://github.com/matrix-org/synapse/issues/9539)) + + +Bugfixes +-------- + +- Fix a bug where users' pushers were not all deleted when they deactivated their account. ([\#9285](https://github.com/matrix-org/synapse/issues/9285), [\#9516](https://github.com/matrix-org/synapse/issues/9516)) +- Fix a bug where a lot of unnecessary presence updates were sent when joining a room. ([\#9402](https://github.com/matrix-org/synapse/issues/9402)) +- Fix a bug that caused multiple calls to the experimental `shared_rooms` endpoint to return stale results. ([\#9416](https://github.com/matrix-org/synapse/issues/9416)) +- Fix a bug in single sign-on which could cause a "No session cookie found" error. ([\#9436](https://github.com/matrix-org/synapse/issues/9436)) +- Fix bug introduced in v1.27.0 where allowing a user to choose their own username when logging in via single sign-on did not work unless an `idp_icon` was defined. ([\#9440](https://github.com/matrix-org/synapse/issues/9440)) +- Fix a bug introduced in v1.26.0 where some sequences were not properly configured when running `synapse_port_db`. ([\#9449](https://github.com/matrix-org/synapse/issues/9449)) +- Fix deleting pushers when using sharded pushers. ([\#9465](https://github.com/matrix-org/synapse/issues/9465), [\#9466](https://github.com/matrix-org/synapse/issues/9466), [\#9479](https://github.com/matrix-org/synapse/issues/9479), [\#9536](https://github.com/matrix-org/synapse/issues/9536)) +- Fix missing startup checks for the consistency of certain PostgreSQL sequences. ([\#9470](https://github.com/matrix-org/synapse/issues/9470)) +- Fix a long-standing bug where the media repository could leak file descriptors while previewing media. ([\#9497](https://github.com/matrix-org/synapse/issues/9497)) +- Properly purge the event chain cover index when purging history. ([\#9498](https://github.com/matrix-org/synapse/issues/9498)) +- Fix missing chain cover index due to a schema delta not being applied correctly. Only affected servers that ran development versions. ([\#9503](https://github.com/matrix-org/synapse/issues/9503)) +- Fix a bug introduced in v1.25.0 where `/_synapse/admin/join/` would fail when given a room alias. ([\#9506](https://github.com/matrix-org/synapse/issues/9506)) +- Prevent presence background jobs from running when presence is disabled. ([\#9530](https://github.com/matrix-org/synapse/issues/9530)) +- Fix rare edge case that caused a background update to fail if the server had rejected an event that had duplicate auth events. ([\#9537](https://github.com/matrix-org/synapse/issues/9537)) + + +Improved Documentation +---------------------- + +- Update the example systemd config to propagate reloads to individual units. ([\#9463](https://github.com/matrix-org/synapse/issues/9463)) + + +Internal Changes +---------------- + +- Add documentation and type hints to `parse_duration`. ([\#9432](https://github.com/matrix-org/synapse/issues/9432)) +- Remove vestiges of `uploads_path` configuration setting. ([\#9462](https://github.com/matrix-org/synapse/issues/9462)) +- Add a comment about systemd-python. ([\#9464](https://github.com/matrix-org/synapse/issues/9464)) +- Test that we require validated email for email pushers. ([\#9496](https://github.com/matrix-org/synapse/issues/9496)) +- Allow python to generate bytecode for synapse. ([\#9502](https://github.com/matrix-org/synapse/issues/9502)) +- Fix incorrect type hints. ([\#9515](https://github.com/matrix-org/synapse/issues/9515), [\#9518](https://github.com/matrix-org/synapse/issues/9518)) +- Add type hints to device and event report admin API. ([\#9519](https://github.com/matrix-org/synapse/issues/9519)) +- Add type hints to user admin API. ([\#9521](https://github.com/matrix-org/synapse/issues/9521)) +- Bump the versions of mypy and mypy-zope used for static type checking. ([\#9529](https://github.com/matrix-org/synapse/issues/9529)) + + Synapse 1.xx.0 ============== diff --git a/changelog.d/8957.feature b/changelog.d/8957.feature deleted file mode 100644 index fa8961f840..0000000000 --- a/changelog.d/8957.feature +++ /dev/null @@ -1 +0,0 @@ -Add rate limiters to cross-user key sharing requests. diff --git a/changelog.d/8978.feature b/changelog.d/8978.feature deleted file mode 100644 index 042e257bf0..0000000000 --- a/changelog.d/8978.feature +++ /dev/null @@ -1 +0,0 @@ -Add `order_by` to the admin API `GET /_synapse/admin/v1/users/<user_id>/media`. Contributed by @dklimpel. \ No newline at end of file diff --git a/changelog.d/9203.feature b/changelog.d/9203.feature deleted file mode 100644 index 36b66a47a8..0000000000 --- a/changelog.d/9203.feature +++ /dev/null @@ -1 +0,0 @@ -Add some configuration settings to make users' profile data more private. diff --git a/changelog.d/9285.bugfix b/changelog.d/9285.bugfix deleted file mode 100644 index 81188c5473..0000000000 --- a/changelog.d/9285.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug where users' pushers were not all deleted when they deactivated their account. diff --git a/changelog.d/9372.feature b/changelog.d/9372.feature deleted file mode 100644 index 3cb01004c9..0000000000 --- a/changelog.d/9372.feature +++ /dev/null @@ -1 +0,0 @@ -The `no_proxy` and `NO_PROXY` environment variables are now respected in proxied HTTP clients with the lowercase form taking precedence if both are present. Additionally, the lowercase `https_proxy` environment variable is now respected in proxied HTTP clients on top of existing support for the uppercase `HTTPS_PROXY` form and takes precedence if both are present. Contributed by Timothy Leung. diff --git a/changelog.d/9383.feature b/changelog.d/9383.feature deleted file mode 100644 index 8957c9cc5e..0000000000 --- a/changelog.d/9383.feature +++ /dev/null @@ -1 +0,0 @@ -Add a configuration option, `user_directory.prefer_local_users`, which when enabled will make it more likely for users on the same server as you to appear above other users. \ No newline at end of file diff --git a/changelog.d/9385.feature b/changelog.d/9385.feature deleted file mode 100644 index cbe3922de8..0000000000 --- a/changelog.d/9385.feature +++ /dev/null @@ -1 +0,0 @@ - Add a configuration option, `user_directory.prefer_local_users`, which when enabled will make it more likely for users on the same server as you to appear above other users. \ No newline at end of file diff --git a/changelog.d/9402.bugfix b/changelog.d/9402.bugfix deleted file mode 100644 index 7729225ba2..0000000000 --- a/changelog.d/9402.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug where a lot of unnecessary presence updates were sent when joining a room. diff --git a/changelog.d/9416.bugfix b/changelog.d/9416.bugfix deleted file mode 100644 index 4d79cb2228..0000000000 --- a/changelog.d/9416.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug that caused multiple calls to the experimental `shared_rooms` endpoint to return stale results. \ No newline at end of file diff --git a/changelog.d/9432.misc b/changelog.d/9432.misc deleted file mode 100644 index 1e07da2033..0000000000 --- a/changelog.d/9432.misc +++ /dev/null @@ -1 +0,0 @@ -Add documentation and type hints to `parse_duration`. diff --git a/changelog.d/9436.bugfix b/changelog.d/9436.bugfix deleted file mode 100644 index a530516eed..0000000000 --- a/changelog.d/9436.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug in single sign-on which could cause a "No session cookie found" error. diff --git a/changelog.d/9438.feature b/changelog.d/9438.feature deleted file mode 100644 index a1f6be5563..0000000000 --- a/changelog.d/9438.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for regenerating thumbnails if they have been deleted but the original image is still stored. diff --git a/changelog.d/9440.bugfix b/changelog.d/9440.bugfix deleted file mode 100644 index 47b9842b37..0000000000 --- a/changelog.d/9440.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix bug introduced in v1.27.0 where allowing a user to choose their own username when logging in via single sign-on did not work unless an `idp_icon` was defined. diff --git a/changelog.d/9449.bugfix b/changelog.d/9449.bugfix deleted file mode 100644 index 54214a7e4a..0000000000 --- a/changelog.d/9449.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.26.0 where some sequences were not properly configured when running `synapse_port_db`. diff --git a/changelog.d/9462.misc b/changelog.d/9462.misc deleted file mode 100644 index 1b245bf85d..0000000000 --- a/changelog.d/9462.misc +++ /dev/null @@ -1 +0,0 @@ -Remove vestiges of `uploads_path` configuration setting. diff --git a/changelog.d/9463.doc b/changelog.d/9463.doc deleted file mode 100644 index c9cedd147d..0000000000 --- a/changelog.d/9463.doc +++ /dev/null @@ -1 +0,0 @@ -Update the example systemd config to propagate reloads to individual units. diff --git a/changelog.d/9464.misc b/changelog.d/9464.misc deleted file mode 100644 index 39fcf85d40..0000000000 --- a/changelog.d/9464.misc +++ /dev/null @@ -1 +0,0 @@ -Add a comment about systemd-python. diff --git a/changelog.d/9465.bugfix b/changelog.d/9465.bugfix deleted file mode 100644 index 2ab4f315c1..0000000000 --- a/changelog.d/9465.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix deleting pushers when using sharded pushers. diff --git a/changelog.d/9466.bugfix b/changelog.d/9466.bugfix deleted file mode 100644 index 2ab4f315c1..0000000000 --- a/changelog.d/9466.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix deleting pushers when using sharded pushers. diff --git a/changelog.d/9470.bugfix b/changelog.d/9470.bugfix deleted file mode 100644 index c1b7dbb17d..0000000000 --- a/changelog.d/9470.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix missing startup checks for the consistency of certain PostgreSQL sequences. diff --git a/changelog.d/9472.feature b/changelog.d/9472.feature deleted file mode 100644 index 06cfd5d199..0000000000 --- a/changelog.d/9472.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for `X-Forwarded-Proto` header when using a reverse proxy. diff --git a/changelog.d/9479.bugfix b/changelog.d/9479.bugfix deleted file mode 100644 index 2ab4f315c1..0000000000 --- a/changelog.d/9479.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix deleting pushers when using sharded pushers. diff --git a/changelog.d/9496.misc b/changelog.d/9496.misc deleted file mode 100644 index d5866c56f7..0000000000 --- a/changelog.d/9496.misc +++ /dev/null @@ -1 +0,0 @@ -Test that we require validated email for email pushers. diff --git a/changelog.d/9497.bugfix b/changelog.d/9497.bugfix deleted file mode 100644 index 598bcaab67..0000000000 --- a/changelog.d/9497.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug where the media repository could leak file descriptors while previewing media. diff --git a/changelog.d/9498.bugfix b/changelog.d/9498.bugfix deleted file mode 100644 index dce0ad0920..0000000000 --- a/changelog.d/9498.bugfix +++ /dev/null @@ -1 +0,0 @@ -Properly purge the event chain cover index when purging history. diff --git a/changelog.d/9501.feature b/changelog.d/9501.feature deleted file mode 100644 index 06cfd5d199..0000000000 --- a/changelog.d/9501.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for `X-Forwarded-Proto` header when using a reverse proxy. diff --git a/changelog.d/9502.misc b/changelog.d/9502.misc deleted file mode 100644 index c5c29672b6..0000000000 --- a/changelog.d/9502.misc +++ /dev/null @@ -1 +0,0 @@ -Allow python to generate bytecode for synapse. \ No newline at end of file diff --git a/changelog.d/9503.bugfix b/changelog.d/9503.bugfix deleted file mode 100644 index 0868691389..0000000000 --- a/changelog.d/9503.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix missing chain cover index due to a schema delta not being applied correctly. Only affected servers that ran development versions. diff --git a/changelog.d/9506.bugfix b/changelog.d/9506.bugfix deleted file mode 100644 index cc0d410e0f..0000000000 --- a/changelog.d/9506.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug introduced in v1.25.0 where `/_synapse/admin/join/` would fail when given a room alias. diff --git a/changelog.d/9512.feature b/changelog.d/9512.feature deleted file mode 100644 index 06cfd5d199..0000000000 --- a/changelog.d/9512.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for `X-Forwarded-Proto` header when using a reverse proxy. diff --git a/changelog.d/9515.misc b/changelog.d/9515.misc deleted file mode 100644 index 14c7b78dd9..0000000000 --- a/changelog.d/9515.misc +++ /dev/null @@ -1 +0,0 @@ -Fix incorrect type hints. diff --git a/changelog.d/9516.bugfix b/changelog.d/9516.bugfix deleted file mode 100644 index 81188c5473..0000000000 --- a/changelog.d/9516.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug where users' pushers were not all deleted when they deactivated their account. diff --git a/changelog.d/9518.misc b/changelog.d/9518.misc deleted file mode 100644 index 14c7b78dd9..0000000000 --- a/changelog.d/9518.misc +++ /dev/null @@ -1 +0,0 @@ -Fix incorrect type hints. diff --git a/changelog.d/9519.misc b/changelog.d/9519.misc deleted file mode 100644 index caccc88a19..0000000000 --- a/changelog.d/9519.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to device and event report admin API. \ No newline at end of file diff --git a/changelog.d/9521.misc b/changelog.d/9521.misc deleted file mode 100644 index 1424d9c188..0000000000 --- a/changelog.d/9521.misc +++ /dev/null @@ -1 +0,0 @@ -Add type hints to user admin API. \ No newline at end of file diff --git a/changelog.d/9529.misc b/changelog.d/9529.misc deleted file mode 100644 index b9021a26b4..0000000000 --- a/changelog.d/9529.misc +++ /dev/null @@ -1 +0,0 @@ -Bump the versions of mypy and mypy-zope used for static type checking. diff --git a/changelog.d/9530.bugfix b/changelog.d/9530.bugfix deleted file mode 100644 index bb4db675d9..0000000000 --- a/changelog.d/9530.bugfix +++ /dev/null @@ -1 +0,0 @@ -Prevent presence background jobs from running when presence is disabled. \ No newline at end of file diff --git a/changelog.d/9536.bugfix b/changelog.d/9536.bugfix deleted file mode 100644 index 2ab4f315c1..0000000000 --- a/changelog.d/9536.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix deleting pushers when using sharded pushers. diff --git a/changelog.d/9537.bugfix b/changelog.d/9537.bugfix deleted file mode 100644 index 033ab1c939..0000000000 --- a/changelog.d/9537.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix rare edge case that caused a background update to fail if the server had rejected an event that had duplicate auth events. diff --git a/changelog.d/9539.feature b/changelog.d/9539.feature deleted file mode 100644 index 06cfd5d199..0000000000 --- a/changelog.d/9539.feature +++ /dev/null @@ -1 +0,0 @@ -Add support for `X-Forwarded-Proto` header when using a reverse proxy. diff --git a/synapse/__init__.py b/synapse/__init__.py index 869e860fb0..2c24d4ae03 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -48,7 +48,7 @@ try: except ImportError: pass -__version__ = "1.28.0" +__version__ = "1.29.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 |