Skip to content

v5.0.0

Latest

Choose a tag to compare

@bobokun bobokun released this 29 Nov 02:32
· 0 commits to d9b4eaa4e48aa88f03c65ac46483494ab2d692e1 since this release
c38da45

qBit Manage v5.0.0

Important

v5.0.0 includes breaking security changes for the Web UI and Web API. Review the Upgrading to 5.0 guide before updating.

Breaking Changes

  • Web server off by default: Enable with --web-server or QBT_WEB_SERVER=true (enabled automatically by the desktop app).
  • Login always required: Removed bypass_auth_for_local and external mode (allowed_hosts is ignored). 4.x api_only migrates to local while keeping your API key.
  • Loopback bind by default: Non-Docker installs now bind to 127.0.0.1 (Docker remains 0.0.0.0). QBT_HOST / --host applies only to the web server; use qbt.host for qBittorrent.
  • API & endpoints: Disabled /docs, /redoc, and /openapi.json. /api/version and /api/get_base_url now require auth (/api/health stays public with status only). Security changes require re-authentication and sign out all browsers.
  • First-run credentials: Set QBT_WEB_USERNAME and QBT_WEB_PASSWORD, or read the generated password from qbm_initial_password.txt in your config folder.

Features

  • Authentication & OIDC: Added local (Argon2id + signed session cookies), single-user oidc (Authlib with PKCE S256, Discovery test, and in-UI account linking), and api_only modes, plus CSRF protection, trusted_proxies-aware rate limiting, secret redaction/log masking, and a themed login page + Logout button.
  • Desktop App: Added in-app first-run account setup, automatic fallback port selection (8182–8199), startup log capture with retry UI, and native Win32 shutdown handling.
  • Share Limits: Added group_upload_speed_exclude_stopped to exclude paused/stopped torrents when dividing limit_upload_speed.
  • Mover (scripts/mover.py): Added --resume-batch-size and --resume-batch-delay for batched torrent resumes.

Bug Fixes & Improvements

  • Prevented first-run crashes from empty/non-directory torrents_dir, individual webhook errors, and legacy share_limit_action: pause (now mapped to Stop with a warning).
  • Fixed recycle bin backup filenames to sanitize path separators, respect 255-byte UTF-8 filesystem limits, and avoid collisions.
  • Added cross-process locking and atomic 0600 writes for qbm_settings.yml, fixed base_url trailing-slash handling, preserved unsaved secrets during config validation, and fixed Web UI responsive breakpoints and Security tab UX issues.
  • Updated qbittorrent-api to 2026.11.0 and added authlib, filelock, httpx2, itsdangerous, and limits.

See the Security & Upgrading to 5.0 documentation for full migration and recovery instructions.