Skip to content

Commit 36127a7

Browse files
committed
meta: Prepare release v0.2
1 parent 52248dc commit 36127a7

File tree

5 files changed

+37
-7
lines changed

5 files changed

+37
-7
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## UNRELEASED (YYYY-MM-DD)
9+
10+
## Version 0.2.0 (2025-08-27)
11+
12+
This is a small release focusing on listing torrent files from API, and supporting the latest QBittorrent releases.
13+
14+
### Added
15+
16+
- `QBittorrentClient` now implements `Debug`
17+
- `QBittorrentClient::get_files` lists files in given torrent (only Bittorrent v1 supported at the moment)
18+
- the hightorrent crate is now directly re-exported to avoid version mismatch
19+
20+
### Changed
21+
22+
- **Breaking change:** QBittorrent API v2.12 is now the minimum supported API version, despite being still
23+
undocumented upstream at the time of writing ([upstream pull request](https://github.com/qbittorrent/wiki/pull/29))
24+
25+
## Version 0.1.0 (2025-03-23)
26+
27+
### Added
28+
29+
- Initial release

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[package]
22
name = "hightorrent_api"
33
description = "Highlevel torrent API client, supporting Bittorrent v1, v2 and hybrid torrents"
4-
version = "0.1.0"
4+
version = "0.2.0"
55
edition = "2024"
66
authors = [ "angrynode <[email protected]>" ]
77
documentation = "https://docs.rs/hightorrent_api"
88
keywords = [ "torrent", "magnet", "bittorrent", "qbittorrent" ]
99
readme = "README.md"
1010
license = "AGPL-3.0-only"
11+
repository = "https://github.com/angrynode/hightorrent_api"
1112

1213
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1314

@@ -16,7 +17,7 @@ default = [ "qbittorrent" ]
1617
qbittorrent = [ "reqwest" ]
1718

1819
[dependencies]
19-
# hightorrent = { version = "0.2", path = "../hightorrent" }
20+
# hightorrent = { version = "0.3", path = "../hightorrent-upstream" }
2021
hightorrent = { git = "https://github.com/angrynode/hightorrent" }
2122
tokio = { version = "1", features = [ "fs" ] }
2223
tokio-util = { version = "0.7" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ for torrent in client.list().await? {
3131

3232
### QBittorrent notes
3333

34-
The QBittorrent API exists, but is fragile...
34+
The QBittorrent API exists, but is fragile... As a result, only the latest versions of QBittorrent are supported for the moment.
3535

3636
- sometimes returns JSON, sometimes plaintext
3737
- may return HTTP 200 "Fails", or 400 "Bad Request"
3838
- does not return the same information in list/get endpoints (issue [#18188](https://github.com/qbittorrent/qBittorrent/issues/18188))
3939
- behaves unexpectedly with v2/hybrid hashes (issue [#18185](https://github.com/qbittorrent/qBittorrent/issues/18185))
4040
- [sometimes changes methods](https://github.com/qbittorrent/qBittorrent/issues/18097#issuecomment-1336194151) on endpoints without bumping the API version to a new major (semantic versioning)
41-
- may change form field names in API [without updating the docs](https://github.com/qbittorrent/qBittorrent/pull/20532)
41+
- may change form field names in API [without updating the docs](https://github.com/qbittorrent/qBittorrent/pull/20532) ([upstream docs PR](https://github.com/qbittorrent/wiki/pull/29))
4242

4343
Bittorrent v2 is only supported since v4.4.0 release (January 6th 2022).
4444

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
//!
3131
//! ## QBittorrent notes
3232
//!
33-
//! The QBittorrent API exists, but is fragile...
33+
//! The QBittorrent API exists, but is fragile... As a result, only the latest versions of QBittorrent are supported for the moment.
3434
//!
3535
//! - sometimes returns JSON, sometimes plaintext
3636
//! - may return HTTP 200 "Fails", or 400 "Bad Request"
3737
//! - does not return the same information in list/get endpoints (issue [#18188](https://github.com/qbittorrent/qBittorrent/issues/18188))
3838
//! - behaves unexpectedly with v2/hybrid hashes (issue [#18185](https://github.com/qbittorrent/qBittorrent/issues/18185))
3939
//! - [sometimes changes methods](https://github.com/qbittorrent/qBittorrent/issues/18097#issuecomment-1336194151) on endpoints without bumping the API version to a new major (semantic versioning)
40-
//! - may change form field names in API [without updating the docs](https://github.com/qbittorrent/qBittorrent/pull/20532)
40+
//! - may change form field names in API [without updating the docs](https://github.com/qbittorrent/qBittorrent/pull/20532) ([upstream docs PR](https://github.com/qbittorrent/wiki/pull/29))
4141
//!
4242
//! Bittorrent v2 is only supported since v4.4.0 release (January 6th 2022).
4343
//!

src/qbittorrent/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::{
1717
qbittorrent::{QBittorrentTorrent, QBittorrentTorrentContent, QBittorrentTracker},
1818
};
1919

20-
#[derive(Clone)]
20+
#[derive(Clone, Debug)]
2121
pub struct QBittorrentClient {
2222
host: String,
2323
user: String,

0 commit comments

Comments
 (0)