v0.3.0: nothing goes live until you say so
Drafts, versions, scheduled publishing and a trash you can restore from, plus uploads, image sizes and storage on your own disk or bucket. And a long, honest list for upgraders.
Until today, every save in TachyonCMS went live the moment you made it. Fix a typo in a published post, and the fix was out there. Start a new one, and so was the half-written version. And whatever you were writing, it couldn’t have a picture in it.
v0.3.0 fixes both. You get drafts, versions, scheduled publishing and a trash you can get things back from. You get uploads too, with resized copies in WebP and AVIF, crops that follow a focal point, and storage on local disk, S3, Azure Blob or Google Cloud Storage. Those are the first two items on the roadmap, done.
Still pre-alpha
The admin screen doesn’t exist yet, so everything here goes through the API, and you should keep it off public networks for now.
Get it
docker pull ghcr.io/tachyon-cms/tachyoncms:v0.3.0
Set TACHYON_DATABASE_URL and TACHYON_PUBLIC_URL, and it serves on port 3000. Prefer a binary? The release page has them for Linux on x86_64 and arm64 (static) and macOS on Intel and Apple silicon. New to it? Install takes you from nothing to your first request.
Upgrading from v0.2.0? Read this first
This one isn’t a swap. Before the release, we went through the whole codebase looking for ways in and fixed everything we found, and a fair share of those fixes change what a caller can do or see. A few need something from you before you upgrade:
- Back up your database. Some migrations rewrite every row of tables you already have content in, and writes wait while they run. On a big install, plan a short window and run
tachyon migratein it. - Behind a reverse proxy or load balancer? Set
trusted_proxies. Sign-in lockouts now count per address, and without it all your users look like they come from the proxy. - A write rule of
truenow means anyone signed in. If a public form should stay open to visitors, say so with{"signedIn": false}. - Heading ids now start with
h-,/referencescomes in pages, and writes refuse query parameters they don’t know.
That’s the short version. The release notes have the whole list, and each item says what changed and what to do about it. Please read them before you upgrade, not after.
What you get
Drafts, so a save isn’t a publish
Turn drafts on and each document keeps two copies: the published one your readers see, and a draft that only people who may read drafts ever get. Edit the draft as often as you like. Nothing on your site moves until someone with the publish right publishes it.
{"slug": "posts", "versions": {"drafts": true, "maxVersions": 50}, "fields": [
{"name": "title", "type": "text", "required": true},
{"name": "body", "type": "richText"}
]}
Ask for ?draft=true and you get the draft, if you’re allowed readDrafts. Everyone else keeps reading what’s live. A draft save doesn’t even move the updatedAt that published readers see, so nobody can watch from outside which posts you’re working on.
Versions, scheduling and the trash
With versions on, every save and every publish keeps a copy. List them, read one, diff any two, restore the one you liked better, and keep as many as maxVersions says. History follows the document, too: someone who can’t see your unpublished post can’t read its versions either.
Want the post out at nine on Monday, with nobody awake to press the button? Schedule it:
curl -X PUT localhost:3000/api/posts/$ID/schedule \
-H "authorization: Bearer $TOKEN" \
-H 'content-type: application/json' \
-d '{"publishAt": "2026-12-07T09:00:00Z", "unpublishAt": "2026-12-31T23:59:00Z"}'
A jobs worker runs it when the time comes, and it runs once, even with several servers sharing the database.
And delete doesn’t have to mean gone. List what’s in the trash, restore it, or purge it for good. A restore is checked against your schema as it is today, not the one it was trashed under.
Uploads, and pictures that fit
Give a collection upload options and each document in it holds a file. For images, you list the sizes you want, and they’re made in the background, in WebP and AVIF if you like. Each crop sits around a focal point, and you can move that point later without uploading again.
Point at files from anywhere with an upload field, or drop an upload into rich text, where it renders as a <picture> with a srcset per format. Got the image at a URL already? Paste the URL and the server fetches it, refusing private and internal addresses on every redirect along the way.
Uploads are also where a CMS can hurt you, so these can’t. GPS and other metadata are stripped. A decompression bomb stops at max_pixels. Bytes hidden after an image ends are cut off. SVGs are sanitised, and anything that could run a script is served sandboxed or as a download.
Files where you want them
Local disk, S3 (R2 and MinIO included), Azure Blob or Google Cloud Storage. Credentials come only from the environment, never from a file you might commit. A public bucket can serve files directly, a private one hands out short-lived signed links, and a big file can go straight from the browser to the bucket without passing through your server. And for sorting it all, there’s a built-in folders collection.
Read it, change it, send it back
Small, but you’ll feel it. A document you read at the default depth, links populated, now saves straight back as it is. Populated links count as their IDs, and the id, createdAt and other fields a read adds go back unchanged.
The same goes for Markdown. A Markdown read leaves out links to documents you can’t see. Send it back, and those links go back in near where they were, so fixing a typo can’t delete a link an editor added that you never knew was there.
Thank you
To @foothillsdigital, who sent the first outside code to TachyonCMS in v0.2.0 and is a maintainer now. Every fix in this release’s last stretch went past their review before it went in. Thank you. It’s a better release for it, and a less lonely one.
To @jdotc1, for the security headers every answer now carries, no-store on new API key secrets and login answers, and a clearer README (#60, #61, #191). And to @bfs2021, for making lowering maxVersions say what it really does (#188).
There are more good first issues waiting, and the next release notes have room.
What’s next
Live preview, so you can look at a draft before it’s published. After it come authoring tools and then the admin screen, in the order Where TachyonCMS is headed sets out. The roadmap keeps it current.