Skip to content

Compatibility

What Stable and Preview mean at 1.0, what the promise covers, and what may change in a 1.x release.

From 1.0.0 an App written against 1.0 keeps working, unchanged, until 2.0. Until then mistri keeps no compatibility: a 0.x release may rename or remove anything, and the changelog says what moved.

Stable: the documented shape holds, and a change is named in the changelog. A change to any of these is breaking, and does not happen before 2.0:

  • The App DSL: every non-preview key, helper and accepted value. A key may be added; its meaning, accepted values and default may not change.
  • The @mistriwork/mistri/* exports and their documented types, except the Preview names listed below.
  • The command line: commands, flags and the exit codes mistri check and the other commands document.
  • The HTTP and App API: routes, request and response shapes, error codes and a command’s contract and receipts.
  • MCP tools: name, arguments, result shape and read-only or writing annotation.
  • The canonical App addresses.
  • The published schemas under schema/, including the check codes.
  • The layouts of mistri’s own stores. Within a 1.x line, every minor release accepts the previous minor’s store layouts at startup (N-1 compatibility) so a rolling upgrade can start new processes before or after running mistri migrate stores up. mistri migrate stores up upgrades existing stores in place without data loss; serving never runs DDL.

Adding a key, a command, a flag, a tool, a route or an optional field is not breaking.

Node 24 or newer (every package’s engines; CI runs Node 24, and the container image pins a newer patch release for its security fixes: the floor is what mistri needs, not what it ships on). Optional peers are bounded to the majors mistri supports: React 19, Next.js 15.1 to 16 (the first to run React 19; Next 14 runs React 18), React Router 6.4 to 7, and TanStack Router 1. TypeScript 7 is required for mistri check and mistri build, which say so when it is missing or older; it is not declared as a peer, so a host on TypeScript 5 (Next.js needs 5.x) installs cleanly. A new major of a peer is a mistri release’s work to support, not a range you widen yourself.

A Preview feature works as documented and is enforced on the server, but its shape may change, or it may go, in any release. It is outside the promise until a release promotes it, and promotion is one-way. mistri check lists the Preview features an App uses, as information.

At 1.0 these stay Preview:

  • Feature flags, audiences and @mistriwork/mistri/openfeature.
  • Experiments.
  • The Suite Console.
  • Behavior analytics (including inspectFunnel and pruneAnalyticsEvents in @mistriwork/mistri/maintenance).
  • SCIM provisioning.
  • Control kits (uiKit), @mistriwork/mistri/behaviors, /views, /charts, and /primitives.
  • @mistriwork/mistri/agents, extended assistant keys (assistant.agents, defaultAgent, backgroundRuns, memory, knowledge, mcpServers, externalTools, skills, evals, customBlocks, presentations, defaultPresentation, provider, fallbackModels, reasoning, effort, effortPicker, roleInstructions, autoApproveCommands, webhooks) and useAssistantContext (core assistant() stays Stable).
  • Horizontal PostgreSQL sharding (sources.*.sharding, resources.*.placement, and provisionPostgresShardDirectory in @mistriwork/mistri/maintenance).
  • mistri deploy and @mistriwork/cloudflare.
  • The triggers a row-policy App names (resources.<t>.triggers), and the check codes that follow Preview features (command-trigger, trigger-double-write, trigger-lock, trigger-unknown).

A feature added in a 1.x release may ship as Preview too. The status page marks each one in its tables.

  • Preview features, above.
  • Internals: anything a package export does not name, the client’s modules, CSS class names and the DOM they draw.
  • Behavior no document states: the order of unordered results, log and error wording, the SQL a read issues and timing.
  • The assistant’s default model. A minor release may move it to a successor as the provider retires models; an App that must keep one names it in model.
  • Sample Apps and sibling tools: the sample Apps under examples/ are not starters, and tablewalk has its own repository and version.

A feature leaves in two steps. A minor release marks it deprecated: it keeps working, and mistri check and startup print a deprecated warning naming its replacement. It is removed no sooner than the next major version. A security fix may be the exception, and the changelog says so.

  • Active 1.x line: bug fixes and security patches ship as patch releases on the current 1.x minor. Because 1.x minors are backwards-compatible under the promise above, upgrading within 1.x requires no breaking App changes.
  • Major-version transition: when a future 2.0.0 ships, the final 1.x minor continues receiving security fixes for at least 12 months.
  • Runtime alignment: supported Node.js versions track active Node.js LTS releases (starting with Node 24).
  • Security advisories: vulnerability reporting, triage timelines, and CVE disclosure follow SECURITY.md.