summary refs log tree commit diff
path: root/latest/upgrade.html
diff options
context:
space:
mode:
authorsquahtx <squahtx@users.noreply.github.com>2022-11-08 13:07:53 +0000
committersquahtx <squahtx@users.noreply.github.com>2022-11-08 13:07:53 +0000
commit7b75dabb1090d52ae383093d47feb557edc653c1 (patch)
tree012463ae16c8ac5eab01fa1de0c695fef1159a2c /latest/upgrade.html
parentdeploy: 69814eb2824daf846f869cb9579eb1008e61f8ad (diff)
downloadsynapse-7b75dabb1090d52ae383093d47feb557edc653c1.tar.xz
deploy: f0dec49f01a7071296bce74557fbd6996ccf5759
Diffstat (limited to 'latest/upgrade.html')
-rw-r--r--latest/upgrade.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/latest/upgrade.html b/latest/upgrade.html
index 00ca13a898..c1fbadfd57 100644
--- a/latest/upgrade.html
+++ b/latest/upgrade.html
@@ -231,6 +231,34 @@ dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
 </code></pre>
 </li>
 </ul>
+<h1 id="upgrading-to-v1710"><a class="header" href="#upgrading-to-v1710">Upgrading to v1.71.0</a></h1>
+<h2 id="removal-of-the-generate_short_term_login_token-module-api-method"><a class="header" href="#removal-of-the-generate_short_term_login_token-module-api-method">Removal of the <code>generate_short_term_login_token</code> module API method</a></h2>
+<p>As announced with the release of <a href="#deprecation-of-the-generate_short_term_login_token-module-api-method">Synapse 1.69.0</a>, the deprecated <code>generate_short_term_login_token</code> module method has been removed.</p>
+<p>Modules relying on it can instead use the <code>create_login_token</code> method.</p>
+<h2 id="changes-to-the-events-received-by-application-services-interest"><a class="header" href="#changes-to-the-events-received-by-application-services-interest">Changes to the events received by application services (interest)</a></h2>
+<p>To align with spec (changed in
+<a href="https://github.com/matrix-org/matrix-spec-proposals/pull/3905">MSC3905</a>), Synapse now
+only considers local users to be interesting. In other words, the <code>users</code> namespace
+regex is only be applied against local users of the homeserver.</p>
+<p>Please note, this probably doesn't affect the expected behavior of your application
+service, since an interesting local user in a room still means all messages in the room
+(from local or remote users) will still be considered interesting. And matching a room
+with the <code>rooms</code> or <code>aliases</code> namespace regex will still consider all events sent in the
+room to be interesting to the application service.</p>
+<p>If one of your application service's <code>users</code> regex was intending to match a remote user,
+this will no longer match as you expect. The behavioral mismatch between matching all
+local users and some remote users is why the spec was changed/clarified and this
+caveat is no longer supported.</p>
+<h2 id="legacy-prometheus-metric-names-are-now-disabled-by-default"><a class="header" href="#legacy-prometheus-metric-names-are-now-disabled-by-default">Legacy Prometheus metric names are now disabled by default</a></h2>
+<p>Synapse v1.71.0 disables legacy Prometheus metric names by default.
+For administrators that still rely on them and have not yet had chance to update their
+uses of the metrics, it's still possible to specify <code>enable_legacy_metrics: true</code> in
+the configuration to re-enable them temporarily.</p>
+<p>Synapse v1.73.0 will <strong>remove legacy metric names altogether</strong> and at that point,
+it will no longer be possible to re-enable them.</p>
+<p>If you do not use metrics or you have already updated your Grafana dashboard(s),
+Prometheus console(s) and alerting rule(s), there is no action needed.</p>
+<p>See <a href="#deprecation-of-legacy-prometheus-metric-names">v1.69.0: Deprecation of legacy Prometheus metric names</a>.</p>
 <h1 id="upgrading-to-v1690"><a class="header" href="#upgrading-to-v1690">Upgrading to v1.69.0</a></h1>
 <h2 id="changes-to-the-receipts-replication-streams"><a class="header" href="#changes-to-the-receipts-replication-streams">Changes to the receipts replication streams</a></h2>
 <p>Synapse now includes information indicating if a receipt applies to a thread when