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

42 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 newer than 8a77f571ec (Thu Aug 4)
  • the whole thing needs some copyediting. It's not as focused as it could be.

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 far more responsive to bug reports and code submissions than it has been in the past. It also has a new group of volunteer contributors who work on the project. Transmission 4.0.0-beta.1 includes over 250 (FIXME) new community commits (see the Thank You section below for a list) and is welcoming new contributors.

Resource Efficiency

  • Transmission has been extensively profiled and improved to avoid unnecessary memory use 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.
  • The remote control GUIs (transmission-qt and transmission-web) now use the RPC API "table" mode, resulting in smaller payloads / less bandwidth use.
  • 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 when testing new code.
  • Transmission now uses Sonarcloud, Coverity, LGTM, and clang-tidy static analysis on new code. Hundreds of code warnings have been fixed compared to Transmission 3.00.

New Features

  • 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.
  • 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)
  • Added transmission-create option to omit potentially-identifying information, such as User-Agent and date created, when creating torrents. (#3452)

Updated macOS UI

  • TODO

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.

Website Redesign

The Transmission website at https://transmissionbt.com/ has been redesigned. Thanks to @shatteredsite for doing the work, to @Oleg-Chashko for providing feedback, and to @GaryElshaw for feedback and for the initial suggestion!

Other Changes

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

Core

TODO

  • Fix small scrape/announce packet size that could trip SYN flood detection on some systems (#3236)
  • 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)
  • carandraug (David Miguel Susano Pinto):
    • Added transmission-create option to omit potentially-identifying information, such as User-Agent and date created, when creating torrents. (#3452)
  • 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 Kallioniemi):
    • Fix filename reserved prefix detection. (#3541)
    • Add more decimals for low wratios (#2508)
    • Add regression tests for tr_strlcpy (#2679)
  • 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)
  • lanzaa (Colin B):
    • Add basic support for BitTorrent v2 hashes (#3380, #3388a
    • Support single-file hybrid torrents (#3446)
  • 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)
    • Fix peer port change in session rpc (#3573)
  • 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)
  • vchimishuk (Viacheslav Chimishuk):
    • Add announce-ip and announce-ip-enabled parameters. (#3461
    • Fix broken tr_sessionSetPeerPortRandom() function. (#3569
  • vjunk:
    • Add support for adding torrents by raw hash values (#2608)
  • vuori:
    • Fixed wrong ipv6 addr used in announces. (#265)

macOS Client code contributions:

  • alimony ((Markus Amalthea Magnuson):
    • Added ability to filter on error status. (#19)
  • azy5030 (Ali):
    • Add ability to change piece size during torrent creation (#2416)
  • Coeur (A Cœur):
  • DevilDimon (Dmitry Serov):
    • Optimize framework imports (#3323)
    • Use standard macOS toolbar buttons (#3356)
    • macOS client code modernization (#2453, #509)
  • federicobond (Federico Bond):
    • Replace deprecated NSRunAlertPanel call in Controller.m (#1441)
  • floppym (Mike Gilbert):
    • Restore support for the INSTALL_LIB option (#1756)
  • fxcoudert (FX Coudert):
    • Update deprecated macOS code (#3330)
    • Update links in macOS credits (#3329)
    • Improve crash report debug information (#2471)
    • Change accent color to match macOS red choice
    • Mac client uses freed memory (#2234)
    • macOS: remove quitting badge (#2495)
    • fix build warnings (#3174)
  • GaryElshaw (Gary Elshaw):
  • kvakvs (Dmytro Lytovchenko):
  • MaddTheSane (Charles W. Betts):
    • Move private interfaces to interface extensions (#932)
    • macOS: use SDK's libCurl. (#1542)
  • maxz (Max Zettlmeißl):
  • nevack (Dzmitry Neviadomski):
    • Revamp Toolbar Segments (#3512)
    • Use NSAlert APIs to show alert suppression checkbox (#3360)
    • Apply ObjC modernization (#3358)
    • Hide NSPopover arrow for Torrent options (#3294)
    • Fix group auto-assigning based on NSPredicate (#3289)
    • Xcode wrangling (#2141, #3266, #3267)
    • Update info window (#2269)
    • Update blocklist downloader (#2101, #2191)
    • Fix macOS client deprecation warnings (#2038, #2074, #2090, #2113)
    • Fix CMake + Ninja builds on macOS (#2036)
    • Update Preferences window sizing for Russian locale (#3291)
    • Fix global popover clipping (#3264)
    • Use DDG favicons service and migrate to NSURLSession #3270)
  • Oleg-Chashko (Oleg Chashko):
  • rsekman (Robin Seth Ekman):
    • fix daemon invocation regression: deprecated --log-error -> --log-level=error (#3201)
  • SweetPPro SweetPPro:
    • Unify the margin between headers and content on the Activity tab and the Options tab in the Info Window (#3522)
    • macOS disable green maximize button on Inspector window (#3563)
    • macOS autolayout fixes on Inspector - Options tab (#3559)
    • macOS preference window localization autolayout fixes (#3472)
    • macOS fix some autolayout issues in Info window (#3497)
    • OS fix clipping and crashing on the Info Inspector Options tab (#3473)
    • macOS internationalization of xibs (#3409)
    • Use the default toolbar button size on macOS 11+ (#3433)
    • Remove gradient from PiecesView (#3342)
    • Use AutoLayout in utility bars (#3326)
    • macOS fix quicklook in the Torrent Inspector files view (#3321)
    • macOS fullscreen and autosize fixes (#3315)
    • macOS client icon improvements (#3221, #3113
    • Update macOS group indicators (#3183)
    • Fullscreen mode fixes (#195)
    • Fix for editing magnet links' tracker lists (#2793)
    • Fix some window drawing issuex #3278)
    • Replace Groups indicators with dots. #3268)
    • Fix a number of UI render issues in the torrent creator window #3205)
    • Magnet link improvements (#3205, #2702)
  • wiz78 (Simone Tellini):
    • Disable App Nap. (#874)
  • xavery (Daniel Kamil Kozar):
    • Add support for creating torrents with a source flag (#443)

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)
    • Use correct variable for uploading speed (#3560)
  • 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)
  • GaryElshaw (Gary Elshaw):
  • 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):
    • Fix broken state and labels filter (#3311)
    • 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