Skip to content

V.0.2.0

Choose a tag to compare

@Mattress237 Mattress237 released this 07 Sep 20:21
· 17 commits to master since this release
v0.2.0
cb0d480

Minor changes and fixes:

  • log() API method will not set the LogType query parameters correctly 623084a
  • Pure text responses getting parsed as JSON and failing version(), webapi_version(), and default_save_path() 6924454
  • Fixed spelling using typos. by @dragmine149 in #2
  • private field can be null if metadata is false. Fix #11 issue #10
  • Replaced incorrect GET requests with POST requests for API torrent methods. 2f3036b
  • Renamed "Old" TorrentState to TorrentStateFilter for clarity by @dragmine149 in #23

Changes and new features:

  • Renamed TorrentInfo to Torrent 387a3d8
  • Torrent hash is now a String and not an Option<String> 88e88d7
  • Added missing fields in Torrent: comment, popularity, download_path, inactive_seeding_time_limit, infohash_v1, infohash_v2, root_path, and trackers_count. 314c3b9
  • Added TorrentMap struct to help with deserializing of maindata. 88e88d7
  • Validation of url input and better error handling using url creation with test cases. by @dragmine149 in #7
  • login() is now a dynamic method and takes credentials from the state object on the Api. 30e63f5
  • New static method new_login() and new_login_username_password() for creation of Api with credentials or username/password. 30e63f5
  • New static method new_from_cookie() for creation of Api with the cookie value. e079964 30e63f5
  • Login rework. Removed the use of cookie_store. 30e63f5 e079964
  • LoginState for Api to hold session ID cookie and credentials. 30e63f5
  • Added Serialize and Deserialize to all model structs. 7a130b9
  • The param attribute in torrents() is now an option and constructs its default. d6f56a0 8b2168d
  • alternative_speed_limit() returns bool, not u8. 817fba1
  • Renamed sequential_download() to toggle_sequential_download() for clarity. bee52c7
  • Renamed parameters struct constructor to new and added Default derive that would return an empty object by @dragmine149 in #8
  • Model Preferences struct to remove option fields and remove obsolete fields from an older version of the API. cdc25a9
  • Added support to add .torrent files b8cc159
  • Renamed TorrentAddUrls to AddTorrent b8cc159
  • Renamed error case HttpRequestError to ReqwestError 2d6d82c
  • Added new error cases InvalidRequest b8cc159
  • Error::authFailed has a string for better error handling. ea44896
  • Added error handling with error_for_status() to various API calls in search, sync, torrent, and transfer modules to ensure proper error propagation. a89a916
  • Added option to use builder for AddTorrent and TorrentListParam by @dragmine149 in #14
  • Implemented srd::error::Error for ``qbit::error` by @DrRac27 in #17 #18
  • Added derives of Clone, PartialEq, Default, Debug, serd::Deserialize, and serd::Serialize for everything by @DrRac27 in #20 #22
  • Added "New" TorrentState enum for the state field on the torrent struct, including all possible values @dragmine149 in #23.
  • Added more undocumented endpoints add/getDirectoryContent and torrentCreate/: addTask, status, torrentFile, and deleteTask by @dragmine149 in #24.

Documentation

Others: