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

Commit 783a4c9

Browse files
committed
Merge tag 'v1.45.0' into babolivier/dinsic_1.48.0
Synapse 1.45.0 (2021-10-19) =========================== No functional changes since Synapse 1.45.0rc2. Known Issues ------------ - A suspected [performance regression](matrix-org/synapse#11049) which was first reported after the release of 1.44.0 remains unresolved. We have not been able to identify a probable cause. Affected users report that setting up a federation sender worker appears to alleviate symptoms of the regression. Improved Documentation ---------------------- - Reword changelog to clarify concerns about a suspected performance regression in 1.44.0. ([\#11117](matrix-org/synapse#11117)) Synapse 1.45.0rc2 (2021-10-14) ============================== This release candidate [fixes](matrix-org/synapse#11053) a user directory [bug](matrix-org/synapse#11025) present in 1.45.0rc1. Known Issues ------------ - A suspected [performance regression](matrix-org/synapse#11049) which was first reported after the release of 1.44.0 remains unresolved. We have not been able to identify a probable cause. Affected users report that setting up a federation sender worker appears to alleviate symptoms of the regression. Bugfixes -------- - Fix a long-standing bug when using multiple event persister workers where events were not correctly sent down `/sync` due to a race. ([\#11045](matrix-org/synapse#11045)) - Fix a bug introduced in Synapse 1.45.0rc1 where the user directory would stop updating if it processed an event from a user not in the `users` table. ([\#11053](matrix-org/synapse#11053)) - Fix a bug introduced in Synapse 1.44.0 when logging errors during oEmbed processing. ([\#11061](matrix-org/synapse#11061)) Internal Changes ---------------- - Add an 'approximate difference' method to `StateFilter`. ([\#10825](matrix-org/synapse#10825)) - Fix inconsistent behavior of `get_last_client_by_ip` when reporting data that has not been stored in the database yet. ([\#10970](matrix-org/synapse#10970)) - Fix a bug introduced in Synapse 1.21.0 that causes opentracing and Prometheus metrics for replication requests to be measured incorrectly. ([\#10996](matrix-org/synapse#10996)) - Ensure that cache config tests do not share state. ([\#11036](matrix-org/synapse#11036)) Synapse 1.45.0rc1 (2021-10-12) ============================== **Note:** Media storage providers module that read from Synapse's configuration need changes as of this version, see the [upgrade notes](https://matrix-org.github.io/synapse/develop/upgrade#upgrading-to-v1450) for more information. Known Issues ------------ - We are investigating [a performance issue](matrix-org/synapse#11049) which was reported after the release of 1.44.0. - We are aware of [a bug](matrix-org/synapse#11025) with the user directory when using application services. A second release candidate is expected which will resolve this. Features -------- - Add [MSC3069](matrix-org/matrix-spec-proposals#3069) support to `/account/whoami`. ([\#9655](matrix-org/synapse#9655)) - Support autodiscovery of oEmbed previews. ([\#10822](matrix-org/synapse#10822)) - Add a `user_may_send_3pid_invite` spam checker callback for modules to allow or deny 3PID invites. ([\#10894](matrix-org/synapse#10894)) - Add a spam checker callback to allow or deny room joins. ([\#10910](matrix-org/synapse#10910)) - Include an `update_synapse_database` script in the distribution. Contributed by @Fizzadar at Beeper. ([\#10954](matrix-org/synapse#10954)) - Include exception information in JSON logging output. Contributed by @Fizzadar at Beeper. ([\#11028](matrix-org/synapse#11028)) Bugfixes -------- - Fix a minor bug in the response to `/_matrix/client/r0/voip/turnServer`. Contributed by @lukaslihotzki. ([\#10922](matrix-org/synapse#10922)) - Fix a bug where empty `yyyy-mm-dd/` directories would be left behind in the media store's `url_cache_thumbnails/` directory. ([\#10924](matrix-org/synapse#10924)) - Fix a bug introduced in Synapse v1.40.0 where the signature checks for room version 8 and 9 could be applied to earlier room versions in some situations. ([\#10927](matrix-org/synapse#10927)) - Fix a long-standing bug wherein deactivated users still count towards the monthly active users limit. ([\#10947](matrix-org/synapse#10947)) - Fix a long-standing bug which meant that events received over federation were sometimes incorrectly accepted into the room state. ([\#10956](matrix-org/synapse#10956)) - Fix a long-standing bug where rebuilding the user directory wouldn't exclude support and deactivated users. ([\#10960](matrix-org/synapse#10960)) - Fix [MSC2716](matrix-org/matrix-spec-proposals#2716) `/batch_send` endpoint rejecting subsequent batches with unknown batch ID error in existing room versions from the room creator. ([\#10962](matrix-org/synapse#10962)) - Fix a bug that could leak local users' per-room nicknames and avatars when the user directory is rebuilt. ([\#10981](matrix-org/synapse#10981)) - Fix a long-standing bug where the remainder of a batch of user directory changes would be silently dropped if the server left a room early in the batch. ([\#10982](matrix-org/synapse#10982)) - Correct a bugfix introduced in Synapse v1.44.0 that would catch the wrong error if a connection is lost before a response could be written to it. ([\#10995](matrix-org/synapse#10995)) - Fix a long-standing bug where local users' per-room nicknames/avatars were visible to anyone who could see you in the user directory. ([\#11002](matrix-org/synapse#11002)) - Fix a long-standing bug where a user's per-room nickname/avatar would overwrite their profile in the user directory when a room was made public. ([\#11003](matrix-org/synapse#11003)) - Work around a regression, introduced in Synapse v1.39.0, that caused `SynapseError`s raised by the experimental third-party rules module callback `check_event_allowed` to be ignored. ([\#11042](matrix-org/synapse#11042)) - Fix a bug in [MSC2716](matrix-org/matrix-spec-proposals#2716) insertion events in rooms that could cause cross-talk/conflicts between batches. ([\#10877](matrix-org/synapse#10877)) Improved Documentation ---------------------- - Change wording ("reference homeserver") in Synapse repository documentation. Contributed by @maxkratz. ([\#10971](matrix-org/synapse#10971)) - Fix a dead URL in development documentation (SAML) and change wording from "Riot" to "Element". Contributed by @maxkratz. ([\#10973](matrix-org/synapse#10973)) - Add additional content to the Welcome and Overview page of the documentation. ([\#10990](matrix-org/synapse#10990)) - Update links to MSCs in documentation. Contributed by @dklimpel. ([\#10991](matrix-org/synapse#10991)) Internal Changes ---------------- - Improve type hinting in `synapse.util`. ([\#10888](matrix-org/synapse#10888)) - Add further type hints to `synapse.storage.util`. ([\#10892](matrix-org/synapse#10892)) - Fix type hints to be compatible with an upcoming change to Twisted. ([\#10895](matrix-org/synapse#10895)) - Update utility code to handle C implementations of frozendict. ([\#10902](matrix-org/synapse#10902)) - Drop old functionality which maintained database compatibility with Synapse versions before v1.31. ([\#10903](matrix-org/synapse#10903)) - Clean-up configuration helper classes for the `ServerConfig` class. ([\#10915](matrix-org/synapse#10915)) - Use direct references to config flags. ([\#10916](matrix-org/synapse#10916), [\#10959](matrix-org/synapse#10959), [\#10985](matrix-org/synapse#10985)) - Clean up some of the federation event authentication code for clarity. ([\#10926](matrix-org/synapse#10926), [\#10940](matrix-org/synapse#10940), [\#10986](matrix-org/synapse#10986), [\#10987](matrix-org/synapse#10987), [\#10988](matrix-org/synapse#10988), [\#11010](matrix-org/synapse#11010), [\#11011](matrix-org/synapse#11011)) - Refactor various parts of the codebase to use `RoomVersion` objects instead of room version identifier strings. ([\#10934](matrix-org/synapse#10934)) - Refactor user directory tests in preparation for upcoming changes. ([\#10935](matrix-org/synapse#10935)) - Include the event id in the logcontext when handling PDUs received over federation. ([\#10936](matrix-org/synapse#10936)) - Fix logged errors in unit tests. ([\#10939](matrix-org/synapse#10939)) - Fix a broken test to ensure that consent configuration works during registration. ([\#10945](matrix-org/synapse#10945)) - Add type hints to filtering classes. ([\#10958](matrix-org/synapse#10958)) - Add type-hint to `HomeserverTestcase.setup_test_homeserver`. ([\#10961](matrix-org/synapse#10961)) - Fix the test utility function `create_room_as` so that `is_public=True` will explicitly set the `visibility` parameter of room creation requests to `public`. Contributed by @AndrewFerr. ([\#10963](matrix-org/synapse#10963)) - Make the release script more robust and transparent. ([\#10966](matrix-org/synapse#10966)) - Refactor [MSC2716](matrix-org/matrix-spec-proposals#2716) `/batch_send` mega function into smaller handler functions. ([\#10974](matrix-org/synapse#10974)) - Log stack traces when a missing opentracing span is detected. ([\#10983](matrix-org/synapse#10983)) - Update GHA config to run tests against Python 3.10 and PostgreSQL 14. ([\#10992](matrix-org/synapse#10992)) - Fix a long-standing bug where `ReadWriteLock`s could drop logging contexts on exit. ([\#10993](matrix-org/synapse#10993)) - Add a `CODEOWNERS` file to automatically request reviews from the `@matrix-org/synapse-core` team on new pull requests. ([\#10994](matrix-org/synapse#10994)) - Add further type hints to `synapse.state`. ([\#11004](matrix-org/synapse#11004)) - Remove the deprecated `BaseHandler` object. ([\#11005](matrix-org/synapse#11005)) - Bump mypy version for CI to 0.910, and pull in new type stubs for dependencies. ([\#11006](matrix-org/synapse#11006)) - Fix CI to run the unit tests without optional deps. ([\#11017](matrix-org/synapse#11017)) - Ensure that cache config tests do not share state. ([\#11019](matrix-org/synapse#11019)) - Add additional type hints to `synapse.server_notices`. ([\#11021](matrix-org/synapse#11021)) - Add additional type hints for `synapse.push`. ([\#11023](matrix-org/synapse#11023)) - When installing the optional developer dependencies, also include the dependencies needed for type-checking and unit testing. ([\#11034](matrix-org/synapse#11034)) - Remove unnecessary list comprehension from `synapse_port_db` to satisfy code style requirements. ([\#11043](matrix-org/synapse#11043))
2 parents ad44369 + 95813ff commit 783a4c9

File tree

199 files changed

+4904
-2278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+4904
-2278
lines changed

.ci/scripts/test_synapse_port_db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ python -m synapse.app.homeserver --generate-keys -c .ci/sqlite-config.yaml
2525
echo "--- Prepare test database"
2626

2727
# Make sure the SQLite3 database is using the latest schema and has no pending background update.
28-
scripts-dev/update_database --database-config .ci/sqlite-config.yaml
28+
scripts/update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
2929

3030
# Create the PostgreSQL database.
3131
.ci/scripts/postgres_exec.py "CREATE DATABASE synapse"
@@ -46,7 +46,7 @@ echo "--- Prepare empty SQLite database"
4646
# we do this by deleting the sqlite db, and then doing the same again.
4747
rm .ci/test_db.db
4848

49-
scripts-dev/update_database --database-config .ci/sqlite-config.yaml
49+
scripts/update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
5050

5151
# re-create the PostgreSQL database.
5252
.ci/scripts/postgres_exec.py \

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Automatically request reviews from the synapse-core team when a pull request comes in.
2+
* @matrix-org/synapse-core

.github/workflows/tests.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,25 @@ jobs:
7676
runs-on: ubuntu-latest
7777
strategy:
7878
matrix:
79-
python-version: ["3.6", "3.7", "3.8", "3.9"]
79+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
8080
database: ["sqlite"]
81+
toxenv: ["py"]
8182
include:
8283
# Newest Python without optional deps
83-
- python-version: "3.9"
84-
toxenv: "py-noextras,combine"
84+
- python-version: "3.10"
85+
toxenv: "py-noextras"
8586

8687
# Oldest Python with PostgreSQL
8788
- python-version: "3.6"
8889
database: "postgres"
8990
postgres-version: "9.6"
91+
toxenv: "py"
9092

91-
# Newest Python with PostgreSQL
92-
- python-version: "3.9"
93+
# Newest Python with newest PostgreSQL
94+
- python-version: "3.10"
9395
database: "postgres"
94-
postgres-version: "13"
96+
postgres-version: "14"
97+
toxenv: "py"
9598

9699
steps:
97100
- uses: actions/checkout@v2
@@ -111,7 +114,7 @@ jobs:
111114
if: ${{ matrix.postgres-version }}
112115
timeout-minutes: 2
113116
run: until pg_isready -h localhost; do sleep 1; done
114-
- run: tox -e py,combine
117+
- run: tox -e ${{ matrix.toxenv }}
115118
env:
116119
TRIAL_FLAGS: "--jobs=2"
117120
SYNAPSE_POSTGRES: ${{ matrix.database == 'postgres' || '' }}
@@ -169,7 +172,7 @@ jobs:
169172
with:
170173
python-version: ${{ matrix.python-version }}
171174
- run: pip install tox
172-
- run: tox -e py,combine
175+
- run: tox -e py
173176
env:
174177
TRIAL_FLAGS: "--jobs=2"
175178
- name: Dump logs
@@ -249,8 +252,8 @@ jobs:
249252
- python-version: "3.6"
250253
postgres-version: "9.6"
251254

252-
- python-version: "3.9"
253-
postgres-version: "13"
255+
- python-version: "3.10"
256+
postgres-version: "14"
254257

255258
services:
256259
postgres:

CHANGES.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,137 @@
1+
Synapse 1.45.0 (2021-10-19)
2+
===========================
3+
4+
No functional changes since Synapse 1.45.0rc2.
5+
6+
Known Issues
7+
------------
8+
9+
- A suspected [performance regression](https://github.com/matrix-org/synapse/issues/11049) which was first reported after the release of 1.44.0 remains unresolved.
10+
11+
We have not been able to identify a probable cause. Affected users report that setting up a federation sender worker appears to alleviate symptoms of the regression.
12+
13+
Improved Documentation
14+
----------------------
15+
16+
- Reword changelog to clarify concerns about a suspected performance regression in 1.44.0. ([\#11117](https://github.com/matrix-org/synapse/issues/11117))
17+
18+
19+
Synapse 1.45.0rc2 (2021-10-14)
20+
==============================
21+
22+
This release candidate [fixes](https://github.com/matrix-org/synapse/issues/11053) a user directory [bug](https://github.com/matrix-org/synapse/issues/11025) present in 1.45.0rc1.
23+
24+
Known Issues
25+
------------
26+
27+
- A suspected [performance regression](https://github.com/matrix-org/synapse/issues/11049) which was first reported after the release of 1.44.0 remains unresolved.
28+
29+
We have not been able to identify a probable cause. Affected users report that setting up a federation sender worker appears to alleviate symptoms of the regression.
30+
31+
Bugfixes
32+
--------
33+
34+
- Fix a long-standing bug when using multiple event persister workers where events were not correctly sent down `/sync` due to a race. ([\#11045](https://github.com/matrix-org/synapse/issues/11045))
35+
- Fix a bug introduced in Synapse 1.45.0rc1 where the user directory would stop updating if it processed an event from a
36+
user not in the `users` table. ([\#11053](https://github.com/matrix-org/synapse/issues/11053))
37+
- Fix a bug introduced in Synapse 1.44.0 when logging errors during oEmbed processing. ([\#11061](https://github.com/matrix-org/synapse/issues/11061))
38+
39+
40+
Internal Changes
41+
----------------
42+
43+
- Add an 'approximate difference' method to `StateFilter`. ([\#10825](https://github.com/matrix-org/synapse/issues/10825))
44+
- Fix inconsistent behavior of `get_last_client_by_ip` when reporting data that has not been stored in the database yet. ([\#10970](https://github.com/matrix-org/synapse/issues/10970))
45+
- Fix a bug introduced in Synapse 1.21.0 that causes opentracing and Prometheus metrics for replication requests to be measured incorrectly. ([\#10996](https://github.com/matrix-org/synapse/issues/10996))
46+
- Ensure that cache config tests do not share state. ([\#11036](https://github.com/matrix-org/synapse/issues/11036))
47+
48+
49+
Synapse 1.45.0rc1 (2021-10-12)
50+
==============================
51+
52+
**Note:** Media storage providers module that read from Synapse's configuration need changes as of this version, see the [upgrade notes](https://matrix-org.github.io/synapse/develop/upgrade#upgrading-to-v1450) for more information.
53+
54+
Known Issues
55+
------------
56+
57+
- We are investigating [a performance issue](https://github.com/matrix-org/synapse/issues/11049) which was reported after the release of 1.44.0.
58+
- We are aware of [a bug](https://github.com/matrix-org/synapse/issues/11025) with the user directory when using application services. A second release candidate is expected which will resolve this.
59+
60+
Features
61+
--------
62+
63+
- Add [MSC3069](https://github.com/matrix-org/matrix-doc/pull/3069) support to `/account/whoami`. ([\#9655](https://github.com/matrix-org/synapse/issues/9655))
64+
- Support autodiscovery of oEmbed previews. ([\#10822](https://github.com/matrix-org/synapse/issues/10822))
65+
- Add a `user_may_send_3pid_invite` spam checker callback for modules to allow or deny 3PID invites. ([\#10894](https://github.com/matrix-org/synapse/issues/10894))
66+
- Add a spam checker callback to allow or deny room joins. ([\#10910](https://github.com/matrix-org/synapse/issues/10910))
67+
- Include an `update_synapse_database` script in the distribution. Contributed by @Fizzadar at Beeper. ([\#10954](https://github.com/matrix-org/synapse/issues/10954))
68+
- Include exception information in JSON logging output. Contributed by @Fizzadar at Beeper. ([\#11028](https://github.com/matrix-org/synapse/issues/11028))
69+
70+
71+
Bugfixes
72+
--------
73+
74+
- Fix a minor bug in the response to `/_matrix/client/r0/voip/turnServer`. Contributed by @lukaslihotzki. ([\#10922](https://github.com/matrix-org/synapse/issues/10922))
75+
- Fix a bug where empty `yyyy-mm-dd/` directories would be left behind in the media store's `url_cache_thumbnails/` directory. ([\#10924](https://github.com/matrix-org/synapse/issues/10924))
76+
- Fix a bug introduced in Synapse v1.40.0 where the signature checks for room version 8 and 9 could be applied to earlier room versions in some situations. ([\#10927](https://github.com/matrix-org/synapse/issues/10927))
77+
- Fix a long-standing bug wherein deactivated users still count towards the monthly active users limit. ([\#10947](https://github.com/matrix-org/synapse/issues/10947))
78+
- Fix a long-standing bug which meant that events received over federation were sometimes incorrectly accepted into the room state. ([\#10956](https://github.com/matrix-org/synapse/issues/10956))
79+
- Fix a long-standing bug where rebuilding the user directory wouldn't exclude support and deactivated users. ([\#10960](https://github.com/matrix-org/synapse/issues/10960))
80+
- Fix [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) `/batch_send` endpoint rejecting subsequent batches with unknown batch ID error in existing room versions from the room creator. ([\#10962](https://github.com/matrix-org/synapse/issues/10962))
81+
- Fix a bug that could leak local users' per-room nicknames and avatars when the user directory is rebuilt. ([\#10981](https://github.com/matrix-org/synapse/issues/10981))
82+
- Fix a long-standing bug where the remainder of a batch of user directory changes would be silently dropped if the server left a room early in the batch. ([\#10982](https://github.com/matrix-org/synapse/issues/10982))
83+
- Correct a bugfix introduced in Synapse v1.44.0 that would catch the wrong error if a connection is lost before a response could be written to it. ([\#10995](https://github.com/matrix-org/synapse/issues/10995))
84+
- Fix a long-standing bug where local users' per-room nicknames/avatars were visible to anyone who could see you in the user directory. ([\#11002](https://github.com/matrix-org/synapse/issues/11002))
85+
- Fix a long-standing bug where a user's per-room nickname/avatar would overwrite their profile in the user directory when a room was made public. ([\#11003](https://github.com/matrix-org/synapse/issues/11003))
86+
- Work around a regression, introduced in Synapse v1.39.0, that caused `SynapseError`s raised by the experimental third-party rules module callback `check_event_allowed` to be ignored. ([\#11042](https://github.com/matrix-org/synapse/issues/11042))
87+
- Fix a bug in [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) insertion events in rooms that could cause cross-talk/conflicts between batches. ([\#10877](https://github.com/matrix-org/synapse/issues/10877))
88+
89+
90+
Improved Documentation
91+
----------------------
92+
93+
- Change wording ("reference homeserver") in Synapse repository documentation. Contributed by @maxkratz. ([\#10971](https://github.com/matrix-org/synapse/issues/10971))
94+
- Fix a dead URL in development documentation (SAML) and change wording from "Riot" to "Element". Contributed by @maxkratz. ([\#10973](https://github.com/matrix-org/synapse/issues/10973))
95+
- Add additional content to the Welcome and Overview page of the documentation. ([\#10990](https://github.com/matrix-org/synapse/issues/10990))
96+
- Update links to MSCs in documentation. Contributed by @dklimpel. ([\#10991](https://github.com/matrix-org/synapse/issues/10991))
97+
98+
99+
Internal Changes
100+
----------------
101+
102+
- Improve type hinting in `synapse.util`. ([\#10888](https://github.com/matrix-org/synapse/issues/10888))
103+
- Add further type hints to `synapse.storage.util`. ([\#10892](https://github.com/matrix-org/synapse/issues/10892))
104+
- Fix type hints to be compatible with an upcoming change to Twisted. ([\#10895](https://github.com/matrix-org/synapse/issues/10895))
105+
- Update utility code to handle C implementations of frozendict. ([\#10902](https://github.com/matrix-org/synapse/issues/10902))
106+
- Drop old functionality which maintained database compatibility with Synapse versions before v1.31. ([\#10903](https://github.com/matrix-org/synapse/issues/10903))
107+
- Clean-up configuration helper classes for the `ServerConfig` class. ([\#10915](https://github.com/matrix-org/synapse/issues/10915))
108+
- Use direct references to config flags. ([\#10916](https://github.com/matrix-org/synapse/issues/10916), [\#10959](https://github.com/matrix-org/synapse/issues/10959), [\#10985](https://github.com/matrix-org/synapse/issues/10985))
109+
- Clean up some of the federation event authentication code for clarity. ([\#10926](https://github.com/matrix-org/synapse/issues/10926), [\#10940](https://github.com/matrix-org/synapse/issues/10940), [\#10986](https://github.com/matrix-org/synapse/issues/10986), [\#10987](https://github.com/matrix-org/synapse/issues/10987), [\#10988](https://github.com/matrix-org/synapse/issues/10988), [\#11010](https://github.com/matrix-org/synapse/issues/11010), [\#11011](https://github.com/matrix-org/synapse/issues/11011))
110+
- Refactor various parts of the codebase to use `RoomVersion` objects instead of room version identifier strings. ([\#10934](https://github.com/matrix-org/synapse/issues/10934))
111+
- Refactor user directory tests in preparation for upcoming changes. ([\#10935](https://github.com/matrix-org/synapse/issues/10935))
112+
- Include the event id in the logcontext when handling PDUs received over federation. ([\#10936](https://github.com/matrix-org/synapse/issues/10936))
113+
- Fix logged errors in unit tests. ([\#10939](https://github.com/matrix-org/synapse/issues/10939))
114+
- Fix a broken test to ensure that consent configuration works during registration. ([\#10945](https://github.com/matrix-org/synapse/issues/10945))
115+
- Add type hints to filtering classes. ([\#10958](https://github.com/matrix-org/synapse/issues/10958))
116+
- Add type-hint to `HomeserverTestcase.setup_test_homeserver`. ([\#10961](https://github.com/matrix-org/synapse/issues/10961))
117+
- Fix the test utility function `create_room_as` so that `is_public=True` will explicitly set the `visibility` parameter of room creation requests to `public`. Contributed by @AndrewFerr. ([\#10963](https://github.com/matrix-org/synapse/issues/10963))
118+
- Make the release script more robust and transparent. ([\#10966](https://github.com/matrix-org/synapse/issues/10966))
119+
- Refactor [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) `/batch_send` mega function into smaller handler functions. ([\#10974](https://github.com/matrix-org/synapse/issues/10974))
120+
- Log stack traces when a missing opentracing span is detected. ([\#10983](https://github.com/matrix-org/synapse/issues/10983))
121+
- Update GHA config to run tests against Python 3.10 and PostgreSQL 14. ([\#10992](https://github.com/matrix-org/synapse/issues/10992))
122+
- Fix a long-standing bug where `ReadWriteLock`s could drop logging contexts on exit. ([\#10993](https://github.com/matrix-org/synapse/issues/10993))
123+
- Add a `CODEOWNERS` file to automatically request reviews from the `@matrix-org/synapse-core` team on new pull requests. ([\#10994](https://github.com/matrix-org/synapse/issues/10994))
124+
- Add further type hints to `synapse.state`. ([\#11004](https://github.com/matrix-org/synapse/issues/11004))
125+
- Remove the deprecated `BaseHandler` object. ([\#11005](https://github.com/matrix-org/synapse/issues/11005))
126+
- Bump mypy version for CI to 0.910, and pull in new type stubs for dependencies. ([\#11006](https://github.com/matrix-org/synapse/issues/11006))
127+
- Fix CI to run the unit tests without optional deps. ([\#11017](https://github.com/matrix-org/synapse/issues/11017))
128+
- Ensure that cache config tests do not share state. ([\#11019](https://github.com/matrix-org/synapse/issues/11019))
129+
- Add additional type hints to `synapse.server_notices`. ([\#11021](https://github.com/matrix-org/synapse/issues/11021))
130+
- Add additional type hints for `synapse.push`. ([\#11023](https://github.com/matrix-org/synapse/issues/11023))
131+
- When installing the optional developer dependencies, also include the dependencies needed for type-checking and unit testing. ([\#11034](https://github.com/matrix-org/synapse/issues/11034))
132+
- Remove unnecessary list comprehension from `synapse_port_db` to satisfy code style requirements. ([\#11043](https://github.com/matrix-org/synapse/issues/11043))
133+
134+
1135
Synapse 1.44.0 (2021-10-05)
2136
===========================
3137

README.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,8 @@ solutions. The hope is for Matrix to act as the building blocks for a new
5555
generation of fully open and interoperable messaging and VoIP apps for the
5656
internet.
5757

58-
Synapse is a reference "homeserver" implementation of Matrix from the core
59-
development team at matrix.org, written in Python/Twisted. It is intended to
60-
showcase the concept of Matrix and let folks see the spec in the context of a
61-
codebase and let you run your own homeserver and generally help bootstrap the
62-
ecosystem.
58+
Synapse is a Matrix "homeserver" implementation developed by the matrix.org core
59+
team, written in Python 3/Twisted.
6360

6461
In Matrix, every user runs one or more Matrix clients, which connect through to
6562
a Matrix homeserver. The homeserver stores all their personal chat history and
@@ -301,7 +298,7 @@ to install using pip and a virtualenv::
301298

302299
python3 -m venv ./env
303300
source ./env/bin/activate
304-
pip install -e ".[all,test]"
301+
pip install -e ".[all,dev]"
305302

306303
This will run a process of downloading and installing all the needed
307304
dependencies into a virtual env. If any dependencies fail to install,

debian/changelog

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
matrix-synapse-py3 (1.45.0) stable; urgency=medium
2+
3+
* New synapse release 1.45.0.
4+
5+
-- Synapse Packaging team <[email protected]> Tue, 19 Oct 2021 11:18:53 +0100
6+
7+
matrix-synapse-py3 (1.45.0~rc2) stable; urgency=medium
8+
9+
* New synapse release 1.45.0~rc2.
10+
11+
-- Synapse Packaging team <[email protected]> Thu, 14 Oct 2021 10:58:24 +0100
12+
13+
matrix-synapse-py3 (1.45.0~rc1) stable; urgency=medium
14+
15+
[ Nick @ Beeper ]
16+
* Include an `update_synapse_database` script in the distribution.
17+
18+
[ Synapse Packaging team ]
19+
* New synapse release 1.45.0~rc1.
20+
21+
-- Synapse Packaging team <[email protected]> Tue, 12 Oct 2021 10:46:27 +0100
22+
123
matrix-synapse-py3 (1.44.0) stable; urgency=medium
224

325
* New synapse release 1.44.0.

debian/matrix-synapse-py3.links

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ opt/venvs/matrix-synapse/bin/register_new_matrix_user usr/bin/register_new_matri
33
opt/venvs/matrix-synapse/bin/synapse_port_db usr/bin/synapse_port_db
44
opt/venvs/matrix-synapse/bin/synapse_review_recent_signups usr/bin/synapse_review_recent_signups
55
opt/venvs/matrix-synapse/bin/synctl usr/bin/synctl
6+
opt/venvs/matrix-synapse/bin/update_synapse_database usr/bin/update_synapse_database

docs/MSC1711_certificates_FAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Historical Note
44
This document was originally written to guide server admins through the upgrade
55
path towards Synapse 1.0. Specifically,
6-
[MSC1711](https://github.com/matrix-org/matrix-doc/blob/master/proposals/1711-x509-for-federation.md)
6+
[MSC1711](https://github.com/matrix-org/matrix-doc/blob/main/proposals/1711-x509-for-federation.md)
77
required that all servers present valid TLS certificates on their federation
88
API. Admins were encouraged to achieve compliance from version 0.99.0 (released
99
in February 2019) ahead of version 1.0 (released June 2019) enforcing the
@@ -282,7 +282,7 @@ coffin of the Perspectives project (which was already pretty dead). So, the
282282
Spec Core Team decided that a better approach would be to mandate valid TLS
283283
certificates for federation alongside the rest of the Web. More details can be
284284
found in
285-
[MSC1711](https://github.com/matrix-org/matrix-doc/blob/master/proposals/1711-x509-for-federation.md#background-the-failure-of-the-perspectives-approach).
285+
[MSC1711](https://github.com/matrix-org/matrix-doc/blob/main/proposals/1711-x509-for-federation.md#background-the-failure-of-the-perspectives-approach).
286286
287287
This results in a breaking change, which is disruptive, but absolutely critical
288288
for the security model. However, the existence of Let's Encrypt as a trivial

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Please update any links to point to the new website instead.
66
## About
77

88
This directory currently holds a series of markdown files documenting how to install, use
9-
and develop Synapse, the reference Matrix homeserver. The documentation is readable directly
10-
from this repository, but it is recommended to instead browse through the
11-
[website](https://matrix-org.github.io/synapse) for easier discoverability.
9+
and develop Synapse. The documentation is readable directly from this repository, but it is
10+
recommended to instead browse through the [website](https://matrix-org.github.io/synapse) for
11+
easier discoverability.
1212

1313
## Adding to the documentation
1414

docs/development/contributing_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ setup a *virtualenv*, as follows:
5050
cd path/where/you/have/cloned/the/repository
5151
python3 -m venv ./env
5252
source ./env/bin/activate
53-
pip install -e ".[all,lint,mypy,test]"
53+
pip install -e ".[all,dev]"
5454
pip install tox
5555
```
5656

@@ -63,7 +63,7 @@ TBD
6363

6464
# 5. Get in touch.
6565

66-
Join our developer community on Matrix: #synapse-dev:matrix.org !
66+
Join our developer community on Matrix: [#synapse-dev:matrix.org](https://matrix.to/#/#synapse-dev:matrix.org)!
6767

6868

6969
# 6. Pick an issue.

0 commit comments

Comments
 (0)