Skip to content

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 23:47
· 8 commits to master since this release
5eb2352

Upgrading from 2.1

  • Install with go install github.com/pyed/transmission-telegram/v2@latest. The module path now ends in /v2, so tags install properly and the binary is named transmission-telegram.
  • The container image is ghcr.io/pyed/transmission-telegram, for five platforms. Mount a volume at /config, where the bot now keeps its state.
  • /deldata asks before deleting; /deldata <id…> confirm deletes at once.
  • /downlimit 0, /uplimit 0, and off remove a limit, instead of setting one of 0 KB/s.
  • In groups, commands addressed to another bot are ignored.
  • -transmission-logfile is ignored: notifications come from Transmission's RPC on every version.
  • Every other command, alias, flag, and environment variable works as before.

New

  • Buttons: lists come ten torrents a page, with a button per torrent that opens its card; cards pause, resume, verify, reannounce, list files, and remove torrents, with or without their data; /files skips files or changes their priority.
  • Notifications for completions (also those that finished while the bot was down), Transmission outages, torrent errors, and low disk space, chosen per chat with /notify and remembered across restarts.
  • /status, a pinned message that stays up to date, and /digest, a summary every day, week, or month.
  • /limit, /turtle schedule and limits, /queue, /port, /move, /labels and /setlabel, /whoami, and /add options for the folder, labels, and adding paused, also as a .torrent file's caption.
  • -config FILE, -install and -uninstall (systemd, launchd, or a Windows service), TT_MASTERS, and a setup mode, -master=1, that tells people their user ID.

Fixed

  • Usage errors and -h no longer print the token and passwords from the environment.
  • Replies showed raw Markdown and altered names and paths; they use HTML and show them exactly.
  • Long lists no longer flood the chat; messages with emoji no longer exceed Telegram's limit; Telegram's rate limits and server errors are retried; a chat's commands run in order.
  • The bot starts when Transmission is down, and says why it cannot reach it.
  • /add reports duplicates; /stop ALL works; /head 0 is refused; /stats shows ratios; /info's dates have the year; /start alone shows a welcome.
  • The log file is private and rotates at 10 MiB.
  • Built with Go 1.27.3, without the standard-library vulnerabilities in 2.1.1's binaries.

What's Changed

  • Revamp for 2.2: audit fixes, buttons, notifications, status and digests by @pyed in #57

Full Changelog: v2.1.1...v2.2.0