diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ec733c..a7ddbfb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,10 @@ jobs: strategy: matrix: version: - - qbt: 5.1.2 - libtorrent: 2.0.11 + - qbt: 5.2.1 + libtorrent: 2.0.12 + - qbt: 5.1.4 + libtorrent: 2.0.12 - qbt: 5.0.5 libtorrent: 2.0.11 # Broken because of field renaming in API since v5.0 diff --git a/README.md b/README.md index 8a5586a..42e8c65 100755 --- a/README.md +++ b/README.md @@ -26,13 +26,14 @@ for torrent in client.list().await? { ``` ## Supported backends -- [x] QBittorrent (v5.0.x, v5.1.x) +- [x] QBittorrent (v5.0.x, v5.1.x, v5.2.x) - [ ] Transmission ### qBittorrent notes Only the following qBittorrent releases are supported and tested in CI: +- v5.2.1 (25 May 2026) - v5.1.2 (2 July 2025) - v5.0.5 (13 April 2025) diff --git a/src/lib.rs b/src/lib.rs index dd46e56..54f40e7 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,13 +25,14 @@ //! ``` //! # Supported backends //! -//! - [x] QBittorrent (v5.0.x, v5.1.x) +//! - [x] QBittorrent (v5.0.x, v5.1.x, v5.2.x) //! - [ ] Transmission //! //! ## qBittorrent notes //! //! Only the following qBittorrent releases are supported and tested in CI: //! +//! - v5.2.1 (25 May 2026) //! - v5.1.2 (2 July 2025) //! - v5.0.5 (13 April 2025) //! diff --git a/tests/qbittorrent.rs b/tests/qbittorrent.rs index 0684b2e..14989e6 100644 --- a/tests/qbittorrent.rs +++ b/tests/qbittorrent.rs @@ -93,3 +93,13 @@ async fn magnet_v1() -> Result<(), ApiError> { Ok(()) } + +#[tokio::test] +async fn version() -> Result<(), ApiError> { + let api = client().await; + let version = api.qbittorrent_version().await?; + assert!( + version.starts_with("v5.0") || version.starts_with("v5.1") || version.starts_with("v5.2") + ); + Ok(()) +}