summary refs log tree commit diff
path: root/develop/upgrade.html
diff options
context:
space:
mode:
authorbabolivier <babolivier@users.noreply.github.com>2021-11-01 09:46:34 +0000
committerbabolivier <babolivier@users.noreply.github.com>2021-11-01 09:46:34 +0000
commite5ae839f2ff36542b2a811ae6ddd6c4aefeabe50 (patch)
tree012d249b72c1c33b7522545fdef53e3375e47264 /develop/upgrade.html
parentdeploy: 3ed17ff651a39d64288c38cd56ecef3603a31d04 (diff)
downloadsynapse-e5ae839f2ff36542b2a811ae6ddd6c4aefeabe50.tar.xz
deploy: e320f5dba32f5b5818b6d5a0059ae388430b9a72
Diffstat (limited to 'develop/upgrade.html')
-rw-r--r--develop/upgrade.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/develop/upgrade.html b/develop/upgrade.html
index dfba3f66c8..819573d2d7 100644
--- a/develop/upgrade.html
+++ b/develop/upgrade.html
@@ -260,6 +260,15 @@ dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
 </code></pre>
 </li>
 </ul>
+<h1 id="upgrading-to-v1470"><a class="header" href="#upgrading-to-v1470">Upgrading to v1.47.0</a></h1>
+<h2 id="deprecation-of-the-user_may_create_room_with_invites-module-callback"><a class="header" href="#deprecation-of-the-user_may_create_room_with_invites-module-callback">Deprecation of the <code>user_may_create_room_with_invites</code> module callback</a></h2>
+<p>The <code>user_may_create_room_with_invites</code> is deprecated and will be removed in a future
+version of Synapse. Modules implementing this callback can instead implement
+<a href="https://matrix-org.github.io/synapse/latest/modules/spam_checker_callbacks.html#user_may_invite"><code>user_may_invite</code></a>
+and use the <a href="https://github.com/matrix-org/synapse/blob/872f23b95fa980a61b0866c1475e84491991fa20/synapse/module_api/__init__.py#L869-L876"><code>get_room_state</code></a>
+module API method to infer whether the invite is happening in the context of creating a
+room.</p>
+<p>We plan to remove this callback in January 2022.</p>
 <h1 id="upgrading-to-v1450"><a class="header" href="#upgrading-to-v1450">Upgrading to v1.45.0</a></h1>
 <h2 id="changes-required-to-media-storage-provider-modules-when-reading-from-the-synapse-configuration-object"><a class="header" href="#changes-required-to-media-storage-provider-modules-when-reading-from-the-synapse-configuration-object">Changes required to media storage provider modules when reading from the Synapse configuration object</a></h2>
 <p>Media storage provider modules that read from the Synapse configuration object (i.e. that