Repository navigation
v0.4.0
- Big builds. Agents can publish a built site, such as a Vite
dist/folder with hundreds of
files, in one step. The new MCP toolstart_upload(andPOST /api/v1/uploads) returns a
single-use, 30-minute upload ticket. Onecurlof a gzipped tar to itsupload_urlpublishes the
folder or updates the artifact. - Smaller updates. An asset can be sent as
{path, sha256}to reuse a file from the current
version, so an update sends and stores only what changed.get_artifactlists each asset's
sha256, and the storage quota counts each stored file once. - Safe retries.
GET /api/v1/uploads/:idtells an agent whether an upload whose response was
lost was published. A retry never creates a duplicate version or artifact. - CLI.
plinth login,logout,whoami,publish <dir>andupload <dir>publish a build
folder from any machine, with no checkout or wrangler.publish --idsends only the files that
changed and exits 3 on a conflict. - Publish warnings. Publish results list
warnings: missing files, root-absolute URLs, hosts
outside the CDN allowlist andhttp:URLs. - Higher limits, now settings.
MAX_VERSION_BYTESdefaults to 50 MB (from 25 MB) and
MAX_ASSETS_PER_VERSIONto 511 files (from 200).GET /api/v1/configreturns the instance's
limits and CDN allowlist. - Faster repeat views. Artifact files get ETags and 304 responses, and files under versioned
URLs are cached privately as immutable. - More reliable publishing. Files are stored before the version is committed, so an
interrupted publish no longer leaves a broken version. An hourly cleanup removes what
interrupted uploads leave behind. Instances without cron (local, tunnel, Docker) clean up when
the next upload starts. - Source link. The banner under every artifact links to Plinth's source code. Set
SHOW_SOURCE_LINK=falseto remove the link. - CLI behaviour change.
plinth publish --id --base-version Nnow exits 0 only when the
current version (N or N+1) already matches the folder. Any later version, even with the same
files, exits 3 as a conflict. - Admin.
sweep-orphansrequires--older-than-minutesof at least 45.erase-artifactalso
deletes the upload ticket that published the artifact. - Agent plugin 0.6.0. The skill covers built sites, reuse by hash and instance limits. Claude
Code install guidance lists the plugin first.
Upgrading
- Apply migrations
0006_stored_bytes.sqland0007_upload_tickets.sqlbefore deploying the
Worker.plinth deploydoes this for you. - Storage is forward-only. Once this release has written versions, don't roll the Worker back:
an older Worker answers 404 for reused files and cannot update or restore those artifacts. Fix
forward instead. - If you maintain your own wrangler config, add the
enable_request_signalcompatibility flag and
the hourly cron trigger"triggers": { "crons": ["0 * * * *"] }.plinth deploy,plinth startand the Docker image add both for you. From a checkout, deploy with
pnpm --filter @plinth/worker run deploy:production, which refuses a config that lacks them. On
Workers Free, the cron counts toward the account's 5 Cron Triggers. - Details: docs/deploy-checklist.md.
Install: npx @mr0b0t0/plinth@0.4.0 · Docker: ghcr.io/mr0b0t0/plinth:0.4.0