Repository navigation
Releases
Releases · SwordfishTrumpet/torbox-cli
v1.6.0
Added
--no-airlockedontorrents edit,usenet editandwebdl edit, so a file in permanent storage can be released again (closes #72). The option only had the positive spelling, so typer never accepted a negative one and the handler'sairlocked is Falsebranch was unreachable: a download could be locked into AirLock and kept consuming the plan's quota with no way to stop it from the CLI. Neither flag leaves the key out of the request, so an edit that does not mention Airlock cannot change it.npm run checkruns every check CI runs —uv run ruff check .,uv run ruff format --check .,uv run mypy --strict torboxanduv run pytest— and the quality gate can read them (closes #86). The commands existed only inside.github/workflows/ci.ymland in prose, so a tool had nothing to run and a contributor had no single command that matched CI.package.jsonandpackage-lock.jsononly name the commands (npm is a task runner here; there is no JavaScript), CI gained the ruff format check the local command runs, andtests/test_check_entry_point.pyfails when the two lists drift apart.
Changed
- A config file with several INI profiles now contributes only the section you select, and
[default]applies when you pass no--profile(closes #63). Keys written before the first section header are read as[default], so a file that mixes flat keys with profiles keeps them. See the Security entry below for what this fixes. - A profile is once again the lowest-priority source for every setting: an exported
TORBOX_BASE_URL,TORBOX_TIMEOUTorTORBOX_RETRIESwins over the profile's value instead of being overwritten by it (closes #70). .gitignorecovers.pipeline/*, so a blanketgit add -Acan no longer stage the pipeline's probe scripts and evidence captures; the tracked.pipeline/verify.tsvregistry stays visible (closes #85).- The release job installs the built wheel in a fresh venv and runs
torbox --versionandtorbox general --helpbefore it publishes, and deletes the release it created when the asset check fails, keeping the tag (closes #65). The job previously checked only asset file names, so a revision CI would have rejected could becomereleases/latestand users would install a CLI that cannot start. astral-sh/setup-uvmoved to v10.3.3 andsoftprops/action-gh-releaseto v3.0.4 in the workflows (Dependabot). Every reference stays pinned to a commit sha, and the uv binary stays at 0.12.19, souv lock --checkis unaffected.certifiis floored at 2026.10.19 (PYSEC-2026-4320) in[tool.uv] constraint-dependenciesand locked at 2026.10.23, alongside atyperandruffrefresh; CI gained apip-auditjob overuv export --frozenso a locked advisory is caught without waiting for a schedule.
Fixed
- A
--fieldpath the response does not carry no longer turns a completed write into a failure (closes #64). The envelope was printed after the request had gone out, and a missing path exited 1, so automation that retries on a nonzero exit wrote a second time — 39 mutating commands were affected, from torrents and usenet creates to notification tests and integration uploads. A miss after a mutation now printsnull, warns on stderr and exits 0; a read that asked for a field it did not get still exits 1. webdl editandusenet editsend an explicitly empty--tags,--alternative-hashesor--nameinstead of dropping it (closes #71). Their guards tested truthiness, so clearing tags reported success while the old tags stayed on the download and tag-based automation kept acting on stale metadata; all three edit commands now agree.user transactionsshows the payment id and date (closes #69). The table asked fortransaction_idandatwhile the API returnsidandcreated_at, so both cells were blank in human output.- The monitor reports Usenet and WebDL downloads with their real state (closes #66). Those list endpoints report
download_state, notstatus, so every such row rendered as UN, was left out of the Active count and could not be found with a status filter. - The monitor's header counts describe the rows on screen when
--filteris used (closes #67). Active and Items counted every fetched row while the DL total counted only visible rows, and each section header counted visible rows: three populations on one screen. - Sorting the monitor by status places metadata-fetching downloads at their declared rank, before seeding and paused (closes #68), instead of last. The order map kept the camel-case
metaDLkey while the lookup lowercased the item status, so the lookup always missed.
Security
- Choosing a profile no longer sends another account's API key (closes #63). A config file with several profiles was read twice: once as a flat
key=valuefile, where python-dotenv ignores section headers and keeps the last duplicate key, and again as INI. The flat read won, so every command — including creates and deletes — acted on the account in the file's last section while reporting success, and[default]never supplied its own key. A file with section headers is now detected before the merge and only the selected section is read.
v1.5.0
What's Changed
- build(deps): bump astral-sh/setup-uv from 5.4.2 to 10.2.0 in /.github/workflows by @dependabot[bot] in #54
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- build(deps): bump actions/setup-python from 5 to 7 in /.github/workflows by @dependabot[bot] in #7
- Fix uv lockfile so the lock check passes on a fresh checkout (#36) by @SwordfishTrumpet in #49
- Send each request in the media type and parameter shape its endpoint documents (#37) by @SwordfishTrumpet in #50
- Pin every action to a commit sha and keep CI read-only (#43) by @SwordfishTrumpet in #51
New Contributors
- @SwordfishTrumpet made their first contribution in #49
Full Changelog: v1.3.1...v1.4.0
v1.3.1
v1.3.0
v1.2.0
What's Changed
- build(deps): bump softprops/action-gh-release from 2 to 3 in /.github/workflows by @dependabot[bot] in #4
- build(deps): bump codecov/codecov-action from 4 to 7 in /.github/workflows by @dependabot[bot] in #5
- build(deps): bump actions/checkout from 4 to 7 in /.github/workflows by @dependabot[bot] in #6
New Contributors
- @dependabot[bot] made their first contribution in #4
Full Changelog: https://github.com/SwordfishTrumpet/torbox-cli/commits/v1.2.0
What's Changed
- build(deps): bump softprops/action-gh-release from 2 to 3 in /.github/workflows by @dependabot[bot] in #4
- build(deps): bump codecov/codecov-action from 4 to 7 in /.github/workflows by @dependabot[bot] in #5
- build(deps): bump actions/checkout from 4 to 7 in /.github/workflows by @dependabot[bot] in #6
New Contributors
- @dependabot[bot] made their first contribution in #4
Full Changelog: https://github.com/SwordfishTrumpet/torbox-cli/commits/v1.2.0