From 2f14b0bb9bc78164e1bb8773ac6b0c937f414474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sun, 26 Apr 2026 15:34:14 +0200 Subject: [PATCH 1/2] Upgrade Ruma --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 5 +++++ Cargo.toml | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df50360..3b83e7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,14 +26,14 @@ jobs: - name: Install MSRV toolchain uses: dtolnay/rust-toolchain@master with: - toolchain: "1.88" + toolchain: "1.89" - uses: Swatinem/rust-cache@v2 with: # A stable compiler update should automatically not reuse old caches. # Add the MSRV as a stable cache key too so bumping it also gets us a # fresh cache. - shared-key: msrv1.88 + shared-key: msrv1.89 - name: Run checks run: cargo check --all-features diff --git a/CHANGELOG.md b/CHANGELOG.md index 65ddf34..c6fe5dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [unreleased] +Breaking changes: + +- Upgrade Ruma to 0.15.0 + - Bump MSRV to 1.89. + ## 0.9.0 Breaking changes: diff --git a/Cargo.toml b/Cargo.toml index e477f53..4a31012 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["matrix", "chat", "messaging", "ruma"] license = "MIT" repository = "https://github.com/ruma/synapse-admin-api" edition = "2024" -rust-version = "1.88" +rust-version = "1.89" [features] client = [] @@ -19,7 +19,7 @@ shared-secret-registration-mac = ["dep:hex", "dep:hmac", "dep:sha1"] [dependencies] hex = { version = "0.4.3", optional = true } hmac = { version = "0.12.1", optional = true } -ruma = { version = "0.14.1", features = ["api", "events"] } +ruma = { version = "0.15.0", features = ["api", "events"] } serde = { version = "1.0.118", features = ["derive"] } sha1 = { version = "0.10.1", optional = true } From fe56d11111e5b183b12d5744e4b196d192ee7fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sun, 26 Apr 2026 15:34:26 +0200 Subject: [PATCH 2/2] Upgrade version of Rust nightly in CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b83e7c..0eb47cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI env: CARGO_TERM_COLOR: always CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse - NIGHTLY: nightly-2025-11-06 + NIGHTLY: nightly-2026-04-17 on: push: