docs(docs): update supported room versions

Updates supported room version to state we support 6-12, and sets 12
as default.
This commit is contained in:
ezera
2026-04-06 23:00:19 -05:00
committed by Ellis Git
parent 1aa44f9834
commit 66be11a978
3 changed files with 8 additions and 7 deletions
+1
View File
@@ -0,0 +1 @@
Updated config docs to state we support room version 12, and set it as default. Contributed by @ezera.
+3 -3
View File
@@ -619,7 +619,7 @@
# Set to false to disable users from joining or creating room versions # Set to false to disable users from joining or creating room versions
# that aren't officially supported by continuwuity. # that aren't officially supported by continuwuity.
# #
# continuwuity officially supports room versions 6 - 11. # continuwuity officially supports room versions 6 - 12.
# #
# continuwuity has slightly experimental (though works fine in practice) # continuwuity has slightly experimental (though works fine in practice)
# support for versions 3 - 5. # support for versions 3 - 5.
@@ -631,9 +631,9 @@
# rather than an integer. Forgetting the quotes will make the server fail # rather than an integer. Forgetting the quotes will make the server fail
# to start! # to start!
# #
# Per spec, room version "11" is the default. # Per spec, room version "12" is the default.
# #
#default_room_version = "11" #default_room_version = "12"
# Enable OpenTelemetry OTLP tracing export. This replaces the deprecated # Enable OpenTelemetry OTLP tracing export. This replaces the deprecated
# Jaeger exporter. Traces will be sent via OTLP to a collector (such as # Jaeger exporter. Traces will be sent via OTLP to a collector (such as
+4 -4
View File
@@ -753,7 +753,7 @@ pub struct Config {
/// Set to false to disable users from joining or creating room versions /// Set to false to disable users from joining or creating room versions
/// that aren't officially supported by continuwuity. /// that aren't officially supported by continuwuity.
/// ///
/// continuwuity officially supports room versions 6 - 11. /// continuwuity officially supports room versions 6 - 12.
/// ///
/// continuwuity has slightly experimental (though works fine in practice) /// continuwuity has slightly experimental (though works fine in practice)
/// support for versions 3 - 5. /// support for versions 3 - 5.
@@ -765,9 +765,9 @@ pub struct Config {
/// rather than an integer. Forgetting the quotes will make the server fail /// rather than an integer. Forgetting the quotes will make the server fail
/// to start! /// to start!
/// ///
/// Per spec, room version "11" is the default. /// Per spec, room version "12" is the default.
/// ///
/// default: "11" /// default: "12"
#[serde(default = "default_default_room_version")] #[serde(default = "default_default_room_version")]
pub default_room_version: RoomVersionId, pub default_room_version: RoomVersionId,
@@ -2828,7 +2828,7 @@ fn default_rocksdb_stats_level() -> u8 { 1 }
// I know, it's a great name // I know, it's a great name
#[must_use] #[must_use]
#[inline] #[inline]
pub fn default_default_room_version() -> RoomVersionId { RoomVersionId::V11 } pub fn default_default_room_version() -> RoomVersionId { RoomVersionId::V12 }
fn default_ip_range_denylist() -> Vec<String> { fn default_ip_range_denylist() -> Vec<String> {
vec![ vec![