Versions and drafts
How drafts, the live version and history work, and why you can only have one draft at a time.
Every state of your app is a version. One of them is live; the rest are history and a draft.
The version picker sits in the header, next to the publish button, and shows which one you're looking at.
The three kinds#
LiveThe version your visitors are on. It is marked LIVE, and it is read-only — the chat is locked and so is the code. A live version is a thing you have promised to people, and editing it in place would change their app without warning.
DraftThe one you work on. There is at most one at a time, and it is always the newest version. This is where your changes go.
HistoryVersions that were live before. They are kept so you can go back to one — see Publish and roll back.
Starting a draft#
If there is no draft, the version menu offers to create one, copied from a version you choose — usually the live one.
You pick how the number moves: a patch (1.0.0 → 1.0.1) for a fix, a minor (→ 1.1.0) for a new feature, a major (→ 2.0.0) for a rebuild. The number is yours; nothing in the platform depends on which you choose.
The limit#
An app keeps up to ten versions. At the limit, the menu stops offering a new one and asks you to delete some first.
Each version has a trash icon in the menu, and any version that isn't live can be deleted. In practice two or three old ones are enough to roll back to, and the rest are clutter.
What a version contains, and what it doesn't#
This distinction causes more surprises than anything else on this page.
| In the version | Shared by all versions |
|---|---|
| The pages | The collections and their fields |
| The layout, menu and footer | Every record |
| The theme — colors and fonts | Every user account |
| The code of the app | Your domains |
| Payment, email and webhook settings |
Switching version#
Pick one from the menu and the editor shows it: its pages, its code, its preview. The dashboard doesn't change, because the data behind it is the same.
You can't switch while a change is being built. Switching mid-build would leave the AI writing to a version you are no longer looking at.
Next#
- Publish and roll back Put a draft live, and go back if you need to.
- Domains Your address, and connecting your own.