From 1fc82477c5166cea244f124056961323c8ba5a07 Mon Sep 17 00:00:00 2001 From: Matthias Ahouansou Date: Mon, 12 May 2025 19:18:42 +0100 Subject: [PATCH 1/2] chore(/versions): declare support for matrix <= v1.12 this is required for Element-* to actually use the authenticated media endpoints --- src/api/client_server/unversioned.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/api/client_server/unversioned.rs b/src/api/client_server/unversioned.rs index 8f060b30..1c7018ba 100644 --- a/src/api/client_server/unversioned.rs +++ b/src/api/client_server/unversioned.rs @@ -26,6 +26,13 @@ pub async fn get_supported_versions_route( "v1.3".to_owned(), "v1.4".to_owned(), "v1.5".to_owned(), + "v1.6".to_owned(), + "v1.7".to_owned(), + "v1.8".to_owned(), + "v1.9".to_owned(), + "v1.10".to_owned(), + "v1.11".to_owned(), // Needed for Element-* to use authenticated media endpoints + "v1.12".to_owned(), // Clarifies that guests can use auth media, which Element-* might depend on support being declared ], unstable_features: BTreeMap::from_iter([ ("org.matrix.e2e_cross_signing".to_owned(), true), From ff7b2af80db5e5dd2dddc02e42e8fd27abb6955f Mon Sep 17 00:00:00 2001 From: Matthias Ahouansou Date: Mon, 12 May 2025 19:19:09 +0100 Subject: [PATCH 2/2] chore(release): 0.10.3 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a0b031ed..9bff2cb1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -460,7 +460,7 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" [[package]] name = "conduit" -version = "0.10.2" +version = "0.10.3" dependencies = [ "async-trait", "axum", diff --git a/Cargo.toml b/Cargo.toml index 52c63d91..3c710bfa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ license = "Apache-2.0" name = "conduit" readme = "README.md" repository = "https://gitlab.com/famedly/conduit" -version = "0.10.2" +version = "0.10.3" # See also `rust-toolchain.toml` rust-version = "1.83.0"