matter.work
Building Apps / Runtime & Shipping

Matter versions

Declare minMatterVersion and maxMatterVersion so clients outside the range fail gracefully.

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 create sets this to the version you're currently running, and matter app deploy stops 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.28 or newer.
  • boards and matter.board — 0.4.3 or newer.
  • Page badges that count a board’s tasks ("badge": { "board": … }) — 0.4.4 or newer.
  • Task fields ("type": "task") — 0.4.4 or newer.
  • webhooks and matter.webhooks — 0.5.15 or newer.
  • Slack webhooks ("verify": "slack") — 0.5.16 or newer.
  • skills — 0.5.22 or newer.
  • Private tables ("access": "private") — 0.5.31 or 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:

Choosing the Range#

  • Bump minMatterVersion whenever you adopt an SDK method or manifest feature introduced in a newer Matter release, and update your local types package with npm install @matter.work/app-sdk@latest.
  • matter app deploy warns 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.