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:
- Better Community - Pull requests welcomed
- Resource Efficiency - Use less memory and fewer CPU cycles
- Code modernization - Rewritten in C++
- Web Client Refresh - With mobile support, dark mode, fullscreen. 68K gzipped.
- BitTorrent 2.0 .torrent Support - Now supports BitTorrent 2.0-style .torrent files
- New Features - What would a major release be without them?
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):
- anacrolix (Matt Joiner):
- Reject cancels when fast extension enabled (#2275)
- AndreyPavlenko (Andrey Pavlenko):
- use new environment variable
TR_CURL_PROXY_SSL_NO_VERIFY
(#2622)
- use new environment variable
- 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):
- Dan Walters:
- Apply optional peer socket TOS to UDP sockets (#1043)
- deepwell (Mark Deepwell):
- dgcampea:
- support DSCP classes in socket iptos (#2594)
- goldsteinn:
- 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:
- 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:
- razaq:
- add TR_TORRENT_TRACKERS env variable to script call (#2053)
- RobCrowston (Rob Crowston):
- 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):
- 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):
- macOS client icon improvements (#3250, #3224, #3094, #3065)
- Fix QuickLook (#3001)
- Support pasting multiple magnet links (#3087, #3086)
- Add "Verify Local Data" to context menu (#3025)\
- Fix build warnings, code cleanup (#3222, #3051, #3031, #3042, #3059, #3052, #3041, #2973)
- Adopt lightweight generics (#2974)
- Fix 3.00 bug where the display window was incorrectly enabled on start (#3056)
- Add ⌘C support (#3072)
- Documentation improvements (#2955, #2975, #2985, #2986)
- DevilDimon (Dmitry Serov):
- 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):
- GaryElshaw (Gary Elshaw):
- kvakvs (Dmytro Lytovchenko):
- MaddTheSane (Charles W. Betts):
- maxz (Max Zettlmeißl):
- nevack (Dzmitry Neviadomski):
- 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:
- 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)
- okias (David Heidelberg):
- Use metainfo folder instead of appdata (#2624)
- orbital-mango:
- 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):
Qt Client
code contributions:
- buckmelanoma:
- Set stock icon for speed, options and statistics buttons in Qt (#2179)
- dubhater:
- 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):
- 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):
- ToKe79 (Tomáš Kelemen):
- vchimishuk (Viacheslav Chimishuk):
- 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):
- 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)