Matter updates frequently, and the App SDK and local data API grow alongside it. Every app declares which
versions of Matter it supports in matter.json:
JSON
{
"minMatterVersion": "0.4.0",
"maxMatterVersion": "0.9.0"
}-
minMatterVersion(required) — The oldest version of Matter that can run the app.matter app createsets this to the version you're currently running, andmatter app deploystops if it's missing. -
maxMatterVersion(optional) — The newest version of Matter the app is known to run on. Omit this unless a newer Matter release introduces a breaking change that affects your app.
Versions always use three-part semantic version numbers like 0.4.0.
What Members See#
If a member's computer is running a version of Matter outside your app's declared range, Matter doesn't open the app or start its worker:
-
Older than
minMatterVersion— Shows "Update Matter to use App" along with the required version number. -
Newer than
maxMatterVersion— Explains that the app doesn't support this version of Matter yet.
Features by Version#
matter app deploy stops if minMatterVersion is older than a feature the manifest
uses:
-
tables—0.3.28or newer. -
boardsandmatter.board—0.4.3or newer. -
Page badges that count a board’s tasks (
"badge": { "board": … }) —0.4.4or newer. - Task fields (
"type": "task") —0.4.4or newer. -
webhooksandmatter.webhooks—0.5.15or newer. - Slack webhooks (
"verify": "slack") —0.5.16or newer. -
skills—0.5.22or newer. -
Private tables
(
"access": "private") —0.5.31or newer.
Other features don’t stop a deploy. Older versions skip them, so raise minMatterVersion when
your app depends on one, or check for it and fall back:
-
matter.panelsandmatter.page—0.4.6. -
matter.connectedApps—0.4.9. Check formatter.connectedAppsand fall back. -
"messageSignature": false—0.4.10. Older agents sign as the member set. -
transientpanels —0.4.11. -
A
slotonmatter.threads.start—0.5.6. Older versions use the member’s default model. -
matter.files, files’url,matter.docsanddata-matter-keep-clear—0.5.9. -
All-or-nothing
matter.batch, andifondeleteor the name field —0.5.11. Older versions run a batch’s writes one by one. -
steeronmatter.threads.send—0.5.16. Older versions queue the message. -
matter.docs.list, andmatter.files.readanddownload—0.5.27. -
widgetson Home andmatter.widget—0.5.30. Older versions ignorewidgetsinmatter.json; checkmatter.widget?.currentin shared routes. -
commandsin the command menu —0.5.31. Older versions ignore them. -
Declared tools, with their handlers in a tools file, and
matter.tools.callfrom a page —0.5.31. An app that declares its tools setsminMatterVersionto0.5.31at least. -
search, answered by two of the app’s tools —0.5.31. Older versions ignore it. -
A worker runs on one computer per member —
0.5.31. Older versions run it on every computer that opened the app.
Choosing the Range#
-
Bump
minMatterVersionwhenever you adopt an SDK method or manifest feature introduced in a newer Matter release, and update your local types package withnpm install @matter.work/app-sdk@latest. -
matter app deploywarns you if the computer you're deploying from is outside the app's version range, since you wouldn't be able to open the deployed app locally.