transmission/news/news-4.0.0-beta-1.md

37 KiB

Transmission 4.0.0-beta.1 (2022-mm-dd)

Downloads: [Linux(https://TODO), [macOS(https://TODO), [Windows(https://TODO)

TODO (Pull Requests Welcome!)

  • update with commits added after 2022-06-10
  • credits for the website redesign
  • the whole thing needs some copyediting. It's not as focused as it could be.
  • benchmarks (@ckerr)

Highlights

Welcome to the first beta release of Transmission 4.0.0. This release has been in very active development for almost a year and has a very long list of changes that we hope you'll like! Some of the key highlights include:

Community

The project is more responsive to bug reports and code submissions than it has been in the past. Transmission 4.0.0-beta.1 includes over 250 new community commits (see the Thank You section below for a list) and is welcoming new contributors.

Resource Efficiency

libtransmission and the Qt client have been profiled and re-profiled to avoid unnecessary memory allocations and to fix inefficient code. For example, a stress test of starting transmission-daemon with 25,000 torrents is almost entirely IO-bound, using 50% fewer CPU cycles and 70% fewer temporary memory allocations than Transmission 3.00.

libtransmission now uses fast_float for faster floating-point parsing of JSON.

TODO(ckerr): benchmarks

The remote control GUIs (transmission-qt and transmission-web) now use the RPC API "table" mode, resulting in smaller payloads / less bandwidth use.

TODO(ckerr): benchmarks

RPC payloads are now compressed using libdeflate, a "heavily optimized [library that is] significantly faster than the zlib library."

Code modernization

  • The entire codebase has been migrated from C to C++. In the process, we were able to remove thousands of lines of custom code and use standard C++ libraries instead. libtransmission's source code size has shrunk by 15% compared to Transmission 3.00.
  • The GTK client has been ported to gtkmm.
  • The Web client no longer uses jQuery and uses modern JavaScript.
  • The unit tests have been ported to Google Test. Many new tests, including fuzz testing, have been added. CI has been improved to run sanitizer builds of the tests for new code.
  • Transmission now uses Sonarcloud, Coverity, and clang-tidy static analysis on new code. Hundreds of code warnings have been fixed compared to Transmission 3.00.

Web Client

The web client has been given a major overhaul. User-visible highlights include:

  • Mobile is now fully supported.
  • Added fullscreen support on mobile.
  • Better support for dark mode.
  • Added mime icons to the torrent list.
  • Improved theme consistency across the app.

Maintainer highlights include:

  • Updated code to use modern JavaScript.
  • No longer use jQuery UI.
  • No longer use jQuery.
  • Use Webpack to bundle the Javascript, CSS, and assets together -- the entire bundle size is now 68K gzipped.
  • Added eslint / prettier / stylelint tooling.
  • Uses torrent-get's 'table' mode for more efficient RPC calls.

BitTorrent 2.0 File Support

  • Transmission 4.0.0 now supports .torrent files that were created with the BitTorrent v2 spec. 4.0.0 users will be able to download and seed torrents created by both BitTorrent v1 and v2. Support for creating v2 torrents is slated for the next major release of Transmission.

New Features

  • Support setting "default" trackers that can be used for announcing all public torrents
  • Newly-added seeds can start immediately and verify pieces as needed, instead of requiring a full verify before seeding can begin (#2626)

Other Changes

  • The Transmission icon is now consistent across all platforms (Our thanks to Rodger Werner).

Core

TODO

  • Remove the 1024 open files limit previously required by how libcurl was used (#893)
  • Add configurable anti-brute force settings (#1447)
  • Fetch metadata of stopped magnets (#1080)
  • Stop logging excessive error messages after they repeat too many times. In some cases, repetitive messages had been spamming syslogs. (#2756)

Mac Client

  • The codebase has been rewritten to be universal for Intel and Apple Silicon chips.
  • MacOS Big Sur (macOS 11) offered some standardisation opportunities for the icons in the GUI.
  • Here are some of the baseline interface changes that were made for Big Sur, and of course, Monterey (macOS 12).
  • Remove deprecated toolbar items
  • Updated toolbar icons (using SF Symbol)
  • Fix main table view styling
  • Remove deprecated min/max toolbar item size
  • Set an app accent color on macOS 11
  • Update the main window to use SF Symbols
  • Update the preferences window to use SF Symbols
  • A new icon designed for Big Sur by Rodger Werner

In the last few months some of the last vestiges of the 'Aqua' era have also gone by the wayside. 'Groups' has been entirely rewritten to include native macOS colours and styling.

Right now, work is being done to modernise and refactor, at the very least, the Main Menu into auto-layout.

GTK Client

  • Internationalisation improvements for past, present, and future tense https://github.com/transmission/transmission/issues/3214#event-6809248892
  • The File menu now incorporates normal quick key operations
  • Piece size selection for individual torrents is now possible using a slider
  • Torrent added date/time is now in details dialog
  • Performance improvements: faster file-lists in the GTK client's details dialog
  • Refactor: remove tr_strip_positional_args()
  • Fix: file progress in GTK Details dialog

TODO

Qt Client

  • Support Qt5 and Qt6 (#2069)
  • Nicer error handling when duplicate torrents are added (#1410)
  • More efficient use of RPC (#1234, #1322, #1333)
  • More efficient state updates (#1334, #1335, #1336, #1428, #1430, #1432, #1433, #1234
  • Slightly more efficient RPC requests (#1373)
  • Better caching of tracker favicons (#1402)
  • Fix memory leaks (#1378)
  • Fix FreeSpaceLabel crash (#1604)
  • Add remote server version info in the About dialog (#1603)
  • Support TR_RPC_VERBOSE environment variable for debugging RPC calls (#1435)
  • Allow filtering by info hash [#1763]

Daemon

  • See this page for a list of updates to the RPC API.

Web Client

The web client has been given a major overhaul. (#1476)

User-visible highlights include:

  • Mobile is now fully supported.
  • Added fullscreen support on mobile.
  • Better support for dark mode.
  • Added mime icons to the torrent list.
  • Improved theme consistency across the app.

Maintainer highlights include:

  • Updated code to use ES6 APIs.
  • No longer use jQuery UI.
  • No longer use jQuery.
  • Use Webpack to bundle the Javascript, CSS, and assets together -- the entire bundle size is now 68K gzipped.
  • Added eslint / prettier / stylelint tooling.
  • Uses torrent-get's 'table' mode for more efficient RPC calls.

Utils

  • Allow webseed URLs when creating torrents in transmission-create
  • Display more progress information during torrent creation in transmission-create (#1405)

Thank You

Last but certainly not least, a big Thank You to the people who contributed to this release.

Code Contributions

libtransmission code contributions:

  • 1100101 (Frank Aurich):
    • Fix overflow bugs on 32bit platforms with torrents larger than 4GB (#2391, #2378)
    • Fix RPC 'table' mode not being properly activated (#2058)
    • Fix RPC response payload when removing torrents (#2040)
  • anacrolix (Matt Joiner):
    • Reject cancels when fast extension enabled (#2275)
  • AndreyPavlenko (Andrey Pavlenko):
    • use new environment variable TR_CURL_PROXY_SSL_NO_VERIFY (#2622)
  • lajp (Luukas Pörtfors):
    • Add renaming support in transmission-remote (#2905)
  • AndreyPavlenko (Andrey Pavlenko):
    • Use android logger on Android (#585)
  • bkkuhls:
    • Fix cross-compile build error (#2576)
  • cfpp2p:
    • add an option to run a script when a torrent is added (#1896)
  • Chrool
    • Make anti-brute force RPC server configurable (#1447)
  • clickyotomy (Srinidhi Kaushik):
    • magnet link improvements incl. regression tests for invalid magnets (#2483)
  • dbeinder (David Beinder):
    • Fix unreleased regression that broke RPC bitfield values (#2768)
    • Return correct bitfield when fully downloaded (#2799)
  • Dan Walters:
    • Apply optional peer socket TOS to UDP sockets (#1043)
  • deepwell (Mark Deepwell):
    • Support uTorrent Web with both azureus style and the one without the dash at the end (#1681)
    • Retain full BitLord build number (#1681)
    • Add unrecognized client names (#1363)
  • dgcampea:
    • support DSCP classes in socket iptos (#2594)
  • goldsteinn:
    • Performance improvements to bitfield.cc (#2933, #2950)
  • Ivella (Lucas Clemente Vella):
    • Implement latest version of BEP-7 for HTTP requests (#1661)
  • ile6695 (Ilkka):
    • Add more decimals for low wratios (#2508)
    • Add regression tests for tr_strlcpy
  • johman10 (Johan):
    • Add total disk space to free-space RPC request (#1682)
  • JP-Ellis (JP Ellis):
    • Fix detection of PSL library (#2812)
  • kakuhen:
    • Clarify documentation on torrent-add result on duplicate torrents (#2690)
  • LaserEyess:
    • Add labels to torrent-add RPC method (#2539)
    • Support binding RPC to a Unix socket (#2574)
    • Add bind-address-ipv4 to UPnP (#845)
  • MatanZ (Matan Ziv-Av):
  • mhadam (Michael Hadam):
    • Add support for torrent-get calls with the key percentComplete (#2615)
  • miickaelifs:
    • NAT-PMP private/public port and lifetime fix (#1602)
  • narthorn:
    • Don't follow symlinks when removing junk files (#1638)
  • neheb (Rosen Penev):
    • fix runtime with wolfSSL and fastmath (#1950)
  • noobsai:
    • Fix building for XFS (#2192)
  • npapke (Norbert Papke) and cfpp2p:
    • Fix "IPv4 DHT announce failed" error message (#1619)
  • pyrovski (Peter Bailey):
    • Allow stopping torrents in verification states (#715)
  • qu1ck:
    • Add label support to the core (#822, #868)
    • Fix unreleased fields handling regression in RPC (#2972)
  • razaq:
    • add TR_TORRENT_TRACKERS env variable to script call (#2053)
  • RobCrowston (Rob Crowston):
    • Add in-kernel file copying for several platforms. (#1092)
    • Allow the OS to set the size of the listen queue connection backlog. (#922)
    • Refactor tr_torrentFindFile2() (#921)
    • Don't set thet path attribute when setting a cookie. (#1893)
  • sandervankasteel (Sander van Kasteel):
    • Added primitive CORS header support (#1885)
  • sio (Vitaly Potyarkin):
    • Lift 1024 open files limit (switch to curl polling API) (#893)
  • stefantalpalaru (Ștefan Talpalaru):
    • Add support for default public trackers (#2668)
  • TimoPtr:
    • Add support for running a script when done seeding (#2621)
  • uprt (Kirill):
    • Replace NULL back with nullptr (mistake after auto-rebase) (#1933)
    • Slashes fixes (#857)
  • vjunk:
    • Add support for adding torrents by raw hash values (#2608)
  • vuori:
    • Fixed wrong ipv6 addr used in announces. (#265)

macOS Client code contributions:

GTK Client code contributions:

  • cpba (Carles Pastor Badosa):
    • Add content_rating to appdata (#1487)
  • jonasmalacofilho (Jonas Malaco):
    • Accept dropping URLs from browsers onto the main window (#2232)
  • meskoabalazs (Balázs Meskó):
    • Fix xgettext markup issues (#3210)
  • noobsai:
    • Fixed showing popup menu on RMB at tray icon (#1210)
  • okias (David Heidelberg):
    • Use metainfo folder instead of appdata (#2624)
  • orbital-mango:
    • Add missing accelerators in File menu (#3213)
    • Add piece size selection when creating torrents (#3145)
    • Show torrent-added date/time in Torrent Details dialog (#3124)
  • sir-sigurd (Sergey Fedoseev):
    • Add Sort by Queue menu item to popup menu (#1040)
  • stefantalpalaru (Ștefan Talpalaru):
    • Add support for default public trackers (#2668)
  • TimoPtr (Timothy Nibeaudeau):
    • Add support for running a script when done seeding (#2621)
  • xavery (Daniel Kamil Kozar):
    • Add a "Start Now" action for newly added torrent notifications (#849)
    • Add support for creating torrents with a source flag (#443)
    • Remove unnecessary "id" member of TrNotification in gtk/notify.c (#851)

Qt Client code contributions:

  • buckmelanoma:
    • Set stock icon for speed, options and statistics buttons in Qt (#2179)
  • dubhater:
    • Move icon after "Alternative Speed Limits" label (#503)
    • Use file selector in Set Location if session is local (#502)
    • Qt: Add tooltips for Options, Statistics buttons (#501)
  • saidinesh5 (Dinesh Manajipet):
    • Feature: Support Batch Adding Tracker Urls in Qt UI (#1161)
  • sewe2000 (Seweryn Pajor):
    • Show torrent-added date/time in Torrent Details dialog (#3121)
  • stefantalpalaru (Ștefan Talpalaru):
    • Add support for default public trackers (#2668)
  • TimoPtr:
    • Add support for running a script when done seeding (#2621)
  • xavery (Daniel Kamil Kozar):
    • Add a "Start Now" action for newly added torrent notifications (#849)
    • Add support for creating torrents with a source flag (#443)
  • varesa (Esa Varemo):
    • Add the option of auto-adding URLs from the clipboard on window focus (#1633)

Web Client code contributions:

  • 1100101 (Frank Aurich):
    • Fix display of size values in web interface (#2703)
  • CodeWitchBella (Isabella Skořepová):
    • Add magnet link support to transmission web (#2874)
  • deepwell (Mark Deepwell):
    • Fix webpack start dev server (#2579)
  • jfredrickson (Jeff Fredrickson):
    • Allow decimal values in seedRatioLimit input (#2618)
  • moben (Benedikt McMullin):
    • Fix sorting of renamed torrents by name (#1892)
  • stefantalpalaru (Ștefan Talpalaru):
    • Add support for default public trackers (#2668)
  • trainto (Hakjoon Sim):
    • CSS fixes (#2609)
    • Fix overflow menu should be closed when click it once again (#1485)
  • ToKe79 (Tomáš Kelemen):
    • Add support for incomplete-dir (#2183)
    • Add option to alter the download queue (#2071)
  • vchimishuk (Viacheslav Chimishuk):
    • Add label support (#2596, #1406, #3311)
    • Fix broken Cancel and Rename buttons on RenameDialog. (#2577)
  • xavery (Daniel Kamil Kozar):
    • Add support for creating torrents with a source flag (#443)

transmission-daemon code contributions:

  • candrews (Craig Andrews):
    • Deny memory wx in transmission-daemon.service (#2573)
  • catadropa:
    • Small fixes to i18n markup formatting (#2901)
  • ewtoombs:
    • Wrote a guide on headless usage. (#3049)
  • FallenWarrior2k:
    • Delay start of daemon systemd service until network is configured (#2721)
  • jelly (Jelle van der Waa):
    • Add ProtectSystem and PrivateTmp to systemd service (#1452)
  • piec (Pierre Carru):
    • add magnet file support to watchdir (#1328)
  • rsekman (Robin Seth Ekman):
    • fix daemon invocation regression: deprecated --log-error -> --log-level=error (#3201)
  • timtas (Tim Tassonis):
    • add pid-file to transmission-daemon manpage (#2784)

utils code contributions:

  • 1100101 (Frank Aurich):
    • Fix size display for torrents larger than 4GB (#2029)
  • BunioFH (Michal Kubiak):
    • Allow multiple calls to --tracker-add/or --tracker-remove in transmission-remote (#2284)
  • lajp (Luukas Pörtfors):
    • Add renaming support in transmission-remote (#2905)
  • MatanZ (Matan Ziv-Av):
    • Filtering torrents in transmission-remote (#3125)
    • Allow control of transmission-show output (#2825)
  • TimoPtr:
    • Add seeding-done script to transmission-remote (#2621)
  • vchimishuk (Viacheslav Chimishuk):
    • Fix Labels section in transmission-remote output. (#2597)
  • xavery (Daniel Kamil Kozar):
    • Add support for creating torrents with a source flag (#443)

Documentation

  • BENICHN (Nathan Benichou):
    • add status description to rpc-spec.txt (#1760)
  • evils:
    • man pages: remove commas in option listings (#2204
  • foobar-d (beizmos):
    • Updated Port Forwarding guide (#2847)
  • mlopezfm (Michael Lopez):
    • Fix man pages listing invalid cli options (#2549)
  • pedrinho (Pedro Scarapicchia Junior):
    • Remove unused html (#1313)
  • pborzenkov (Pavel Borzenkov):
    • fix typo in editDate arg description (#1251)i
  • sammarcus:
    • Update README.md (#459)
  • shelvacu:
    • Explain port-forwarding-enabled in documentation (#1900)
  • shenhanc78 (Han Shen):
    • Add instruction in README.md to config a release build.(#1282)
  • shric (Chris Young):
    • Fix typo in rpc-spec.txt (#1326)
  • tylergibbs2 (Tyler Gibbs):
    • document the Authentication header in rpc-spec.txt (#1808)
  • vchimishuk (Viacheslav Chimishuk):
    • Add argument description to --labels line option in transmission-remote manpage (#1364)