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

Commit 2871546

Browse files
author
Tuomas Ojamies
authored
Merge branch 'develop' into tuojamie/ssl_workers
2 parents 2d14b26 + aa70556 commit 2871546

File tree

27 files changed

+723
-233
lines changed

27 files changed

+723
-233
lines changed

.github/workflows/twisted_trunk.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,11 @@ jobs:
151151
run: |
152152
set -x
153153
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yqq python3 pipx
154-
pipx install poetry==1.1.14
154+
pipx install poetry==1.2.0
155155
156156
poetry remove -n twisted
157157
poetry add -n --extras tls git+https://github.com/twisted/twisted.git#trunk
158158
poetry lock --no-update
159-
# NOT IN 1.1.14 poetry lock --check
160159
working-directory: synapse
161160

162161
- run: |

changelog.d/13958.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Check appservice user interest against the local users instead of all users in the room to align with [MSC3905](https://github.com/matrix-org/matrix-spec-proposals/pull/3905).

changelog.d/14086.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add workers settings to [configuration manual](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#individual-worker-configuration).

changelog.d/14096.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Refactor [MSC3030](https://github.com/matrix-org/matrix-spec-proposals/pull/3030) `/timestamp_to_event` endpoint to loop over federation destinations with standard pattern and error handling.

changelog.d/14243.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a bug introduced in Synapse 1.64.0 where presence updates could be missing from `/sync` responses.

changelog.d/14291.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Prevent history insertion ([MSC2716](https://github.com/matrix-org/matrix-spec-proposals/pull/2716)) during an partial join ([MSC3706](https://github.com/matrix-org/matrix-spec-proposals/pull/3706)).

changelog.d/14305.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use Poetry 1.2.0 in the Twisted Trunk CI job.

changelog.d/14310.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Allow use of postgres and sqllite full-text search operators in search queries.

docs/sample_log_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Synapse also supports structured logging for machine readable logs which can
77
# be ingested by ELK stacks. See [2] for details.
88
#
9-
# [1]: https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
9+
# [1]: https://docs.python.org/3/library/logging.config.html#configuration-dictionary-schema
1010
# [2]: https://matrix-org.github.io/synapse/latest/structured_logging.html
1111

1212
version: 1

docs/upgrade.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,25 @@ As announced with the release of [Synapse 1.69.0](#deprecation-of-the-generate_s
9797
Modules relying on it can instead use the `create_login_token` method.
9898
9999
100+
## Changes to the events received by application services (interest)
101+
102+
To align with spec (changed in
103+
[MSC3905](https://github.com/matrix-org/matrix-spec-proposals/pull/3905)), Synapse now
104+
only considers local users to be interesting. In other words, the `users` namespace
105+
regex is only be applied against local users of the homeserver.
106+
107+
Please note, this probably doesn't affect the expected behavior of your application
108+
service, since an interesting local user in a room still means all messages in the room
109+
(from local or remote users) will still be considered interesting. And matching a room
110+
with the `rooms` or `aliases` namespace regex will still consider all events sent in the
111+
room to be interesting to the application service.
112+
113+
If one of your application service's `users` regex was intending to match a remote user,
114+
this will no longer match as you expect. The behavioral mismatch between matching all
115+
local users and some remote users is why the spec was changed/clarified and this
116+
caveat is no longer supported.
117+
118+
100119
# Upgrading to v1.69.0
101120
102121
## Changes to the receipts replication streams

0 commit comments

Comments
 (0)