Weaver 0.17.6 release notes
Everything below is new since 0.17.5.
Highlights
- Torrents need no environment variable. They are available on every
server and still stay off until you turn them on in Settings. - RAR and 7z sets that mix stored and compressed files stream. The
stored files are written straight into place as they download, and
only the compressed ones are unpacked. - SFV files no longer decide how a job ends. A mismatch is a note on
the job. - An MCP endpoint and operator skills, so an agent holding an API key
can help you run Weaver. - Terminal themes, with your own accent and progress colours.
- A Helm chart for Kubernetes.
- A reworked torrent GraphQL API. Clients of the old one must move;
see API changes.
Torrents
- Available by default.
WEAVER_TORRENTSnow turns torrents off.
Unset,1ortrueleaves them available; any other value makes them
unavailable. - A pinned listen port.
WEAVER_TORRENT_PORTsets the first route's
listen port. Settings shows it as fixed. The saved port is kept and
returns when the variable is removed. - DHT, PEX and LSD switches. Settings > Torrents can turn each peer
source off for every torrent, whatever its tracker rule says. All three
are on by default. A magnet with no tracker is refused while the DHT is
off. - A timed pause. Downloads can pause all torrents for 30 minutes to 8
hours, as it can pause Weaver. The timer is kept across a restart.
Resuming or pausing torrents again ends it. - Tracker rules apply at once. A saved or deleted rule reaches the
torrents already here, with no restart. A torrent whose rule names
another client stops under its old peer id and starts under the new
one, with the same key. - Removing is never refused for a seeding goal. A queue cancel you
ask for now removes a private torrent that has not met its goal, as
removeTorrentalready did. A cancel Weaver decides on itself is still
held. - Seeding and unpacking say more. A torrent reports each seeding goal
with how far it has come, whether its content is ready, and a code for
an unpacking that came out short. - Compressed torrents and magnets. An uploaded
.torrentor.magnet
file may be compressed, as an NZB may. The add dialog offers.gz,
.xzand.zst. - Priorities stick during a recheck. You can change file and piece
priorities while a torrent is checking its files. The changes apply
before it resumes downloading.
Archives and repair
- Mixed 7z archives. When a 7z stores some folders and compresses
others, the stored files stream and only the rest are decoded. This
covers split sets, AES, nested archives, repair and restart. - Mixed RAR sets. The same holds for RAR sets that are not solid. A
compressed file can be unpacked before the set's last volume arrives.
A solid set is unpacked as before. - A damaged or locked part costs only its own files. If a mixed set's
compressed files cannot be made, its stored files are still delivered.
The Partial text says how many files were not made, and whether damage,
a password or decode memory is why. - SFV. A listing no longer fails a job or vouches for a file. A file
whose CRC32 disagrees is a note on the job, with the event
SFV_MISMATCH. A file no entry names takes the name of the one entry
that states its CRC32. A PAR2 name comes first. - PAR2 sets with many slice sizes. A job whose PAR2 sets use more than
32 slice sizes now checks them all as it downloads. A file moved from
one set to another keeps the checksums it already has. .revfiles that PAR2 covers are downloaded, so the PAR2 set can
rule on every file it describes.- RAR4 volumes with no useful name are placed from their end record,
which is fetched early. With encrypted headers, the job's password
reads it. - Tracker lists in split RARs. Weaver finds the member's remaining
volumes using the filename recorded in the archive header.
Agents and API keys
- MCP endpoint.
/mcpruns the operations the skills ship, under the
key's own scope. Only API keys are accepted. Changes with lasting
effects need a confirmation call. Diagnostics and service logs need an
Admin key and come out redacted. - Turning it off. It is on by default. The switch is in Settings >
Security, andWEAVER_MCP_ENABLEDforces it. - Skills.
weaver-connect,weaver-troubleshoot,weaver-configure
andweaver-migrateare inskills/.
Web
- Themes. Weaver, Terminal, Phosphor and Amber, each light, dark or
following the system, with an accent. The picker is in the rail and in
Settings. The choice is the server's, so every browser shows it. - Progress colours. Each theme keeps its own colour for each stage.
Copying is now magenta by default. - Limits. The speed limit dialog is now Limits. It also holds each
egress's own limits and bandwidth caps. - Pause Weaver and Resume Weaver are the new names of Pause all and
Resume all. - Rail. Links to the docs, Reddit and Discord. Providers are listed
busiest first, four in view, and the list scrolls past that. - Torrent detail pages its files, and goes quiet while its tab is
hidden. Timed-pause countdowns also stop ticking in a hidden tab and
refresh when you return. - Phone and tablet layouts. Settings, job details, and the provider
dashboard fit better on narrow screens. - Torrent rate limits. The detail page saves edits in order so an
earlier response cannot replace a newer setting.
Networking
- A leg's public address. A torrent leg shows the address its trackers
and peers report. A server's or a torrent route's leg also has Check
public address, which sends one request through that leg to
Cloudflare's trace page. It is sent only when you ask. - WireGuard imports. Pasting a Proton WireGuard config uses its
port-forwarding comments to set NAT-PMP and show whether port
forwarding is enabled.
Helm chart
- The chart is in
charts/weaver. It runs one pod under Pod Security
restricted, on Kubernetes 1.27 or later. - It supports Ingress and Gateway API, several kinds of download storage,
an outside database, a ServiceMonitor and a torrent listen port.
Fixes
- The screen links stay in view with many servers. The left rail's
connection drawing grows with the servers and routes on it, and on a
short window it could leave one link or none in view. It is now held
to 30% of the rail. Picking it still shows all of it. - A torrent's active and seeding times are not counted twice. A save
that overlapped a regular update could count the same span again, so
the times shown and the seeding goals ran ahead until a restart. - Nested archives in a torrent unpack. An archive found inside another
after the torrent's last piece could wait to unpack with no end. - A failed file check reaches recovery. When a stored file's whole
checksum failed late, its volumes could be left unmarked, so nothing
repaired them. The right volumes are now marked. With a password still
on trial, the next one is tried. - A password offered later is tried on an encrypted zip file that
failed its check under an earlier one. - A stored RAR link is not delivered as a file.
- RAR volumes that arrive late or are given back no longer leave a set
with a false gap or a lost unpack. A job that stalls with files still
to move moves them before it delivers. - Two files never share one path. A file renamed again could take the
name of a file that was itself moving. updateServerkeeps the username when it is left out, as it keeps
the password. An empty one clears it.- Egress quota messages cover queued downloads. Weaver shows the
quota holding downloads back even when their articles are still queued. - DNS over HTTPS. A malformed chunked reply is reported as invalid.
Faster
- Checksums are not done twice. A file the RAR, 7z or zip decoder has
already checked is not hashed or read back again. - Large jobs. Work for each article and each PAR2 match no longer walks
all of a job's volumes, files or sets. - Smaller API reads.
jobDetailSnapshot,systemInfoand
torrentHistoryread only what a query selects. A torrent's files are
read a page at a time, including their live progress.
API changes
- Error codes. Every GraphQL error carries a code in
extensions.code, and/apirefusals name theirs. - New.
callerScope,mcpServer,setMcpEnabled,webAppearanceand
updateWebAppearance.pauseClasstakesresumeAfterSecs, andclassResumessays when
each timed pause lifts.basePortPinned,dht,lsdandpexon the torrent settings.legPublicAddress, andpublicAddresson a leg's flow.QueueItem.torrent.- Batches:
recheckTorrents,setTorrentsForced,
setTorrentsRateLimits,setTorrentsSeedingandremoveTorrents. - Subscriptions:
torrentRowUpdatesandtorrentFileUpdates.
- Changed, for torrents.
torrentsreturns aTorrentPagewithitemsandnextCursor.- A torrent's
files,peerConnectionsandunpacking.filesare read
ontorrent(id).filesandunpacking.filesare paged. torrentUpdates(id)follows one torrent.torrentRowUpdates(ids)
follows a list.submitTorrentandanalyzeTorrenttake asource:metainfoBase64,
metainfoUploadormagnet.submitTorrentreturns
SubmitTorrentResult, and a torrent already added is answered as
DUPLICATEorIDEMPOTENT_REPLAYinstead of refused.- Torrent actions return the
Torrent;removeTorrentreturns its id. - Read
trackersontorrent(id). Selecting it on
QueueItem.torrentortorrentRowUpdatesreturnsINVALID_INPUT. setTorrentRateLimitstakesuploadBpsanddownloadBpsand sets
both. Left out or null is no limit.- Fields are renamed, among them
infohashtoinfohashV1(now
nullable),statedto
stateReason,detailtostateDetail,peers,seedsand
leecherstoconnectedPeers,connectedSeedsand
connectedLeechers, androutetorouteKey. Dates areDateTime.
Torrent types and enums carry theTorrentprefix.
- Removed.
torrentPeersandtorrentTrackers: usetorrent(id).scheduleSeeding: usetorrentScheduleSeeding.pauseTorrent,resumeTorrentandsetTorrentCategory: use
pauseQueueItem,resumeQueueItemandsetQueueItemsCategory.Torrent.seedingLeft: useseedingGoalLeftorseedingGoals.- The code
SEEDING_GOAL_UNMET.
Upgrade notes
- Migrations 139 and 140 run automatically on SQLite and Postgres.
- Torrents become available on a server that never set
WEAVER_TORRENTS. To keep them unavailable, setWEAVER_TORRENTS=0. - The MCP endpoint is on after the upgrade. Turn it off in Settings >
Security if you do not want it. - Torrent API clients must move to the new shapes above.
Dependencies
- Archive and repair: sevenz-turbo 0.31.0, unrar-rs 0.16.9, ZIP
9.9.0, par2-rs 0.13.2, and par3-rs 0.8.4. - HTTP and database: Hyper 1.13.0 and SQLx 0.9.1.
- New: rmcp 3.12.0, server side only, for the MCP endpoint.
Tests and build
- The test that failed on the first 0.17.5 tag run. It failed on the
double-counted times above, which depended on timing. The fix comes
with a test that forces that order. - Chart checks. Pull requests that touch the chart lint it, template it
and install it on a kind cluster. - Regression cases cover mixed 7z and RAR sets, PAR2 repair across two
slice sizes, and a job with 34 PAR2 sets of different slice sizes. - Build tools: Rust 1.100.1, Node.js 26, and Vite 8.4.0.