github Power2All/nanotorrent v0.4.8
NanoTorrent 0.4.8

one hour ago

Changes since 0.4.7.

  • New, Add dialog: "Add to top of queue" puts the torrent first in the
    queue, and a Stop condition can pause it once its metadata has arrived or
    once its files have been checked. The size line also shows how much space
    is free on the disk the torrent will be saved to. All three are in the web
    interface's Add dialog as well.

  • New: Rename, in a torrent's right-click menu (and the pencil button in the
    web interface), gives a torrent a name of its own. For a torrent with a
    folder of its own it can rename that folder too; the torrent is stopped
    while the folder is renamed and checked in place afterwards. If the system
    refuses the rename, NanoTorrent shows why and asks whether to keep the new
    name or go back to the old one.

  • New: start NanoTorrent when you log in (Preferences > General), showing
    the window, minimized, or in the notification area only. Windows, Linux
    and macOS; not in the Microsoft Store version.

  • New: "Show speed in title bar" puts the download and upload speeds in
    front of the window title, and in the web interface's tab title.

  • New: the window opens at the size and position it had when it was
    closed. If it ever opens somewhere it cannot be seen, start NanoTorrent
    once with --reset-window.

  • New: Add magnet link fills itself in when there is a magnet link on the
    clipboard.

  • New: the window can be drawn on the graphics card instead of the
    processor (Preferences > General > Renderer, after a restart). It prefers
    the power-saving GPU where there are two, and falls back to the processor
    by itself if the GPU cannot be used. --renderer cpu or --renderer gpu
    picks one for a single run, from the command line.

  • Fixed (Windows): with the dark theme, the title bar of the window and of
    every dialog is dark as well, instead of staying light.

  • Engine: librqbit 9.1.0 (was 9.0.1), with all of NanoTorrent's patches
    carried over. Peers that send their handshake in more than one piece -
    common behind proxies - can now connect; an incoming connection reads the
    peer's capabilities from the peer's handshake rather than from our own; a
    piece that passed its check while its file was being ticked again is no
    longer queued to download a second time; and a 40-character download URL
    is no longer mistaken for an info hash.

  • Security, qBittorrent-compatible API: login attempts sent all at once from
    one address now count towards the lockout. Before, every one of them was
    checked before the first failure was recorded, so the five-try limit could
    be passed hundreds of times over. Logins are now checked one at a time.

  • Security, qBittorrent-compatible API: an upload with a very long multipart
    boundary could hold a web worker for tens of seconds, without logging in.
    The body is now searched in linear time.

  • Security: a web seed answering with more data than was asked for is cut
    off at the size it should have been, instead of being read into memory to
    the end.

  • Security: the qBittorrent API's login cookie is marked Secure when the web
    interface uses HTTPS, and a save path given to it (add, categories) must be
    absolute, as setLocation already required.

  • The local hand-off between a second launch and the running NanoTorrent
    gives up on a connection after 5 seconds and 1 MB, so one that never
    finishes cannot hold up the ones after it.

  • Updated: Slint 1.19 (the UI toolkit) and every other dependency to its
    newest compatible release. cargo audit reports no vulnerabilities.

  • Developers: patches/0021-release-write-handles.patch had been a diff
    against an earlier version of itself, so the patch chain could not be
    replayed past 0020. All patches are now re-cut against 9.1.0 and apply in
    order from the pristine crates.

Don't miss a new nanotorrent release

NewReleases is sending notifications on new releases.