Skip to content
Strata is pre-1.0. APIs, protocol, and storage format may change.

Compatibility and Upgrades

Strata is pre-1.0. Package APIs, protocol v0, and storage can change.

Use the same Strata commit or release for strata_protocol, strata_document, strata_client, the transport package, and strata_server. The shared protocol package reduces drift, but mixed commits can still have incompatible public APIs or behavior.

Every public frame has "v": 0. A decoder rejects another version. Strata does not negotiate versions. Upgrade the server and applications as one release when a change modifies the wire format.

Strata has no storage migration command. Before an upgrade:

  1. Stop the server.
  2. Back up both DETS files.
  3. Read the release notes and package changelogs.
  4. Start the new version with a copy of the data.
  5. Verify document snapshots and parent-child operations.

Keep the old binary and backup until the verification is complete.

Application schema versions are separate from the wire version. Use stamped schemas to detect incompatible document data. See Schema Design and Evolution.