Deploying#
When your changes are ready for the team, deploy a new version:
matter app deploy -m "Add renewal risk column and filter"
matter app deploy runs your build command, signs the bundle with your
signing key, uploads deploy.dir, reconciles the app's tables
and boards with matter.json in a single transaction, and makes the new version current. (The
first time you deploy, create a key with matter keys create.)
- Teammates who have the app open get the new version when it won't interrupt them: once the app is out of sight, or has gone untouched for two minutes with nothing typed in the field they're in. Until then, a New version button in the app header loads it now. Their workers restart on the new version automatically.
-
Any table and board changes are printed on lines starting with
Tables:. See How Deploys Evolve Your Tables and Boards. -
Static files are served as-is, and extensionless routes like
/deals/123fall back toindex.htmlso client-side routers work out of the box.
Previews#
A preview deployment uploads and signs a version without making it current for the rest of the space. Only people who explicitly open the preview see it:
matter app deploy --preview -m "Try the new Today page"
matter app open --preview <deploymentId>
You can also share a direct link—matter://app/<appId>?preview=<deploymentId>—with a
teammate. While viewing a preview, the app header shows a Preview pill.
On the database side, a preview is strictly additive: it creates any new tables, boards, fields, options,
statuses, and indexes declared in matter.json so your preview code can use them, while holding
off on renames, type changes, or removals until the preview is promoted to current with
matter app promote.
Versions and Rollbacks#
Open the app's ⋯ menu and choose Versions to see every deployment, newest first, along with who deployed it and its commit/deploy message. Each entry has Preview and Make current actions.
Choosing Make current on an earlier version rolls the app back immediately. Rolling back restores that version's code and the names and settings of its tables and boards, without removing any tables, boards, fields, options, statuses, or indexes that were added later.
From the terminal:
matter app deployments # list the 30 most recent versions (* marks current)
matter app promote <deploymentId>Matter retains the current version, the 20 versions before it, and any version deployed in the last 30 days. Older versions and previews older than 30 days are cleaned up automatically.
Managing Apps#
An app's owner sets who has it from the app's ⋯ menu, or its row's menu on the Apps page: Access (Private, or a space) and Published (in the sidebar of everyone it's for). The two are independent. See Share an app.
For the apps shared to a space, open the space's settings and select Apps (or choose Manage apps from the app's ⋯ menu):
| Action | What it does |
|---|---|
| Open / Versions | Open the app or inspect its deployment history. |
| Rename | Change the app's display name or icon. |
| Move to space | Move the app—and all tables and boards it declares—to another space. |
| Run app routines on this computer | Designate this computer as the runner for the app's app-scoped routines. |
| Archive | Hide the app from the sidebar, stop its processes, and pause its routines until you Unarchive it. |
| Delete | Delete the app, its versions, and its routines for everyone. Its tables and boards go to the trash and are purged after 30 days. |
Workspace guests cannot manage apps. Only an app's owner or a workspace admin can delete it.